/*img_bloc*/
:root {
  --noir: #000;
  --blanc: #fff;
  --bordeau: #971f22;
  --gris: #868686;
  --gris-fonce: #414141;
  --shadow-color: 0 2px 6px  rgba(0,0,0,0.4);
  --shadow-color-hover: 0 4px 12px rgba(0,0,0,0.4);
}
.gris_logo{fill:var(--gris);}
.none_logo{fill:none;}
.blanc_logo{fill:var(--blanc);}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@media only screen and (min-width: 1200px) {
	.bloc_g, .bloc_c, .bloc_d {margin: 0 auto;}
	.bloc_c ul, .bloc_d ul {text-align:left;}
	.bloc_g {width:45%;text-align:center;}
	.bloc_c {width:30%;}
	.bloc_d {width:20%;}
	.bloc_gauche_accueil, .bloc_droit_accueil { width:35%;}
	.bloc_gauche_accueil { margin-right:4%;}
	.bloc_droit_accueil { margin-left:4%; }
	.bloc_gauche_accueil h1{font-size:3.5rem;}
	.page-accueil .header-background, 
	.page-contact .header-background, 
	.page-etancheites-statiques .header-background, 
	.page-qui-sommes-nous .header-background {height:785px;}
}
@media only screen and (min-width: 960px) and (max-width: 1199px) {
	.bloc_g, .bloc_c, .bloc_d {margin: 0 auto;}
	.bloc_g {width:45%;text-align:center;}
	.bloc_c {width:30%;}
	.bloc_d {width:20%;}
	.bloc_gauche_accueil, .bloc_droit_accueil { width:44%;}
	.bloc_gauche_accueil { margin-right:2%;}
	.bloc_droit_accueil { margin-left:2%; }
	.bloc_gauche_accueil h1{font-size:3rem;}
	.page-accueil .header-background, 
	.page-contact .header-background,
	.page-etancheites-statiques .header-background, 
	.page-qui-sommes-nous .header-background {height:670px;}
}
@media only screen and (min-width: 769px) and (max-width: 959px) {
	.bloc_g, .bloc_c, .bloc_d {margin: 0 auto;}
	.bloc_c ul, .bloc_d ul {text-align:left;}
	.bloc_g {width:45%;text-align:center;}
	.bloc_c {width:30%;}
	.bloc_d {width:20%;}
	.bloc_gauche_accueil { width:90%;}
	.bloc_droit_accueil { width:50%;}
	.bloc_gauche_accueil h1{font-size:2.5rem;}
	.page-accueil .header-background, 
	.page-contact .header-background,
	.page-etancheites-statiques .header-background, 
	.page-qui-sommes-nous .header-background {height:540px;}
}
@media only screen and (min-width: 480px) and (max-width: 768px) {
	.bloc_c ul, .bloc_d ul {text-align:left;}
	.bloc_g {width:100%;margin-bottom:25px;text-align:center;}
	.bloc_c {width:49%;margin-left:15%;}
	.bloc_d {width:35%;}
	.bloc_gauche_accueil { width:90%;}
	.bloc_droit_accueil { width:70%;}
	.bloc_gauche_accueil h1{font-size:2rem;}
	.page-accueil .header-background, 
	.page-contact .header-background,
	.page-etancheites-statiques .header-background, 
	.page-qui-sommes-nous .header-background {height:430px;}
}
@media only screen and (max-width: 479px) {
	.bloc_g, .bloc_c, .bloc_d {width:100%;margin:10px auto;text-align:center;}
	.bloc_g ul,.bloc_c ul, .bloc_d ul {text-align:center;}
	.bloc_gauche_accueil, .bloc_droit_accueil { width:90%;}
	.bloc_gauche_accueil h1{font-size:2rem;}
	.page-accueil .header-background, 
	.page-contact .header-background,
	.page-etancheites-statiques .header-background, 
	.page-qui-sommes-nous .header-background {height:260px;}
}
@font-face {
    font-family: 'Futura LT Pro';
    src: url('../font/FuturaLTPro-Book.eot');
    src: url('../font/FuturaLTPro-Book.eot?#iefix') format('embedded-opentype'),
        url('../font/FuturaLTPro-Book.woff2') format('woff2'),
        url('../font/FuturaLTPro-Book.woff') format('woff'),
        url('../font/FuturaLTPro-Book.ttf') format('truetype'),
        url('../font/FuturaLTPro-Book.svg#FuturaLTPro-Book') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Futura LT Pro';
    src: url('../font/FuturaLTPro-Medium.eot');
    src: url('../font/FuturaLTPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('../font/FuturaLTPro-Medium.woff2') format('woff2'),
        url('../font/FuturaLTPro-Medium.woff') format('woff'),
        url('../font/FuturaLTPro-Medium.ttf') format('truetype'),
        url('../font/FuturaLTPro-Medium.svg#FuturaLTPro-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
html {
	height: 100%;
	margin:0;
	padding:0;
	font-size:100%;
}
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
#conteneur_principal {
	width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
	font-family: 'Futura LT Pro';
    font-weight: normal;
    font-style: normal;
	font-size: 1.2rem;
	color: var(--gris);
}
.container {
	width:100%;
    max-width: 1600px;
    margin: 0 auto;
	/*margin-top:100px;*/
    padding:2% 5%;
}
.header-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}
.page-accueil .header-wrapper, 
.page-contact .header-wrapper,
.page-etancheites-statiques .header-wrapper,
.page-qui-sommes-nous .header-wrapper {
	margin-bottom:0;
}
.header-background {
    width: 100%;
    background-color: var(--blanc);
    position: relative;
}
.page-accueil .header-background, 
.page-contact .header-background, 
.page-etancheites-statiques .header-background,
.page-qui-sommes-nous .header-background {
    background-size: cover;
    background-position: center;
	z-index:10;
}
.icon-link {
    display: flex;
    align-items: center;
	fill:var(--gris-fonce);
}
/*.page-accueil .icon-link {
    fill:var(--gris-fonce);
}*/
.header-logo {
    height: 100px;
    width: auto;
}
.page-accueil .header-background {
    background-image: url('/images/fond/velkan-expert-en-maitrise-d-oeuvre.webp');
}
.page-contact .header-background {
    background-image: url('/images/fond/etancheite-statique-velkan.webp');
}
.page-etancheites-statiques .header-background {
    background-image: url('/images/fond/etancheite-statique-velkan-groupe.webp');
}
.page-qui-sommes-nous .header-background {
    background-image: url('/images/fond/maintenance-supervision–etancheite-velkan.webp');
}
.page-contact .header-background {
    background-color: var(--blanc);
}
.header-content {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
	z-index:100;
	background-color: rgba(255, 255, 255, 0.6);
	box-shadow: var(--shadow-color);
}
.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}
.header-top .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.header-top {
    padding:4% 0;
}
.icons-left {
    display: flex;
    align-items: center;
    margin-left: 40px;
    order: 1;
}
.header-icon {
    width:auto;
    height: 35px;
}
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
	margin-top: 2%;
    z-index: 2;
}
.header-bottom {
    margin-top: 20px;
}
.main-nav {
    width: 100%;
    transition: all 0.3s ease;
}
.main-nav.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--blanc);
    box-shadow: var(--shadow-color);
	opacity:1;
    z-index: 1000;
}
.menu-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    z-index: 2;
}
.menu-item {
    position: relative;
}
.menu-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.menu-button {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    transition: all 0.3s ease;
	color: var(--gris-fonce);
}
.page-accueil .menu-button, 
.page-contact .menu-button, 
.page-etancheites-statiques .menu-button, 
.page-qui-sommes-nous .menu-button {
	text-shadow:
  1px 1px 2px gris-fonce,
  0 0 1em var(--gris),
  1px 0 0.2em var(--gris);
}

body:not(.page-accueil):not(.page-contact):not(.page-etancheites-statiques):not(.page-qui-sommes-nous) main {
    margin-top: 120px; /* adapte selon la hauteur du header */
}
.submenu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    outline: none;
}
.submenu-toggle .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gris-fonce);
    border-bottom: 2px solid var(--gris-fonce);
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}
.menu-item.active .submenu-toggle .arrow {
    transform: rotate(45deg);
}

.main-nav.fixed .menu-button {
    color: var(--gris-fonce);
	text-shadow: none;
}
.main-nav.fixed .icon-link {
	fill: var(--gris-fonce);
}
.menu-button:hover {
    transform: translateY(-3px);
}
.menu-button.active {
	color: var(--gris);
}
/*.page-accueil .menu-button.active, .page-etancheites-statiques .menu-button.active {
    color: var(--gris);
}*/
.sous-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--blanc);
    border-radius: 3px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: var(--shadow-color);
    z-index: 3;
}
.menu-item:hover .sous-menu {
    display: block;
}
.sous-menu-button {
    display: block;
    color: var(--noir);
    text-decoration: none;
    padding: 8px 20px;
    transition: all 0.3s ease;
    text-align: left;
    white-space: nowrap;
}
.sous-menu-button:hover {
    background-color: var(--bordeau);
    color: var(--blanc);
}
.burger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}
.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--gris-fonce);
    margin: 4px 0;
    transition: all 0.3s etext-shadow: none;
}
/*.page-accueil .burger-menu span {
    background-color: var(--blanc);
}*/
.backToTopBtn_fond{fill:var(--blanc);}
.backToTopBtn_flech{fill:var(--gris-fonce);}
#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 9999;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#backToTopBtn.visible {
    opacity: 1;
    visibility: visible;
}
#backToTopBtn:hover .backToTopBtn_fond {
    fill: var(--gris-fonce);
}
#backToTopBtn:hover .backToTopBtn_flech {
    fill: var(--blanc);
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Futura LT Pro';
    font-weight: 500;
    font-style: normal;
	color: var(--gris-fonce);
	margin-top:20px;
	margin-bottom:10px;
}
h1 {
	font-size: 2rem;
}
h2, h3, h4, h5, h6 {
	font-size: 1.5rem;
}
ul {
	margin-left:2%;
}
.centre { text-align: center; }
.centre ul {
    text-align: left;      /* aligne les li à gauche */
    display: inline-block; /* permet de les centrer en largeur */
    margin: 0 auto;        /* centre la liste entière */
}
.error-msg, .rouge {
  color: red;
}
.error-msg:empty {
    display: none;
}
.messages-container {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 1200px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}
.error-message, .success-message {
    padding: 15px;
    text-align: center;
	border-radius: 8px;
	box-shadow: var(--shadow-color);
    pointer-events: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;     
}
.error-message, .success-message {
    background-color:var(--bordeau);
    color: var(--blanc);
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    user-select: none;
}
.page-non-trouve img {
    max-width: 100%;
	width: auto;
    height: auto;
}
.bloc_accueil { /*accueil */
    width:100%;
    padding:0 auto;
	margin:0 auto;
	margin-top:100px;
	vertical-align:middle;
	text-align:center;
}
.bloc_gauche_accueil, .bloc_droit_accueil { 
    display:inline-block;
	vertical-align:middle;
}
.bloc_image img  {
    width:100%;
    height: auto;
}
.bloc_texte p, .bloc_image p {
    margin:20px;
}
.bloc_texte, .bloc_image {
    text-align:left;
}
form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }
.formulaire {
	width:100%;
	max-width:800px;
    margin: 2em auto 2em;
	padding:60px 20px;
    background-color: var(--blanc);
}
label {
	margin-bottom: 4px;
	padding: 0 20px;
	text-align:left;
}
input[type="text"], textarea, input[type="password"], input[type="email"], 
select,input[type="date"], input[type="number"], input[type="tel"] {
	width: 100%;
    padding: 10px;
    border: 1px solid var(--bordeau);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--blanc);
	cursor:pointer;
	margin-bottom:5px;
}
.quantite-controls input[type="number"] {
	width: 50px;
}
input[type="number"].quantite-admin {
	width:80px;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  background-color: var(--blanc);
  border: 1px solid var(--bordeau);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
}
input[type="checkbox"]:checked {
  background-color: var(--bordeau);
  border-color: var(--bordeau);
}
input[type="checkbox"]::after {
  content: "✓";
  color: var(--gris-fonce);
  font-size: 16px;
  position: absolute;
  top: 2px;
  left: 8px;
  display: none;
}
input[type="checkbox"]:checked::after {
  display: block;
}
select {
	color: var(--gris-fonce);
	appearance: none;
	background-size: 16px;
}
textarea {
	width: 100%;
	min-height: 200px;
}
input[type="date"], input[type="number"] {
    max-width: 200px;
  }
button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
.cta, .cta_detail, 
button[type="submit"].cta, .cta_detail {
    outline: none;
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
    text-decoration: none;
    color: var(--blanc);
    transition: all 0.3s ease;
    width: fit-content;
    font-size: 1.2rem;
    padding: 8px 20px;
    background-color: var(--bordeau);
}
.cta,
button[type="submit"].cta {
	margin:10px 4px;
    border-radius: 4px;
    box-shadow: var(--shadow-color);
	align-self: center;
	display: inline-flex;
    align-items: center; /* centre verticalement l'image et le texte */
    gap: 10px; 
}
.cta_detail {
	border: none;
	margin:40px 4px 10px 4px;
	align-self: left;
}
.cta:hover,
button[type="submit"].cta:hover, .cta_detail:hover {
    background-color: var(--gris-fonce);
    transform: translateY(-3px);
    box-shadow: var(--shadow-color-hover);
}
.cta:active,
button[type="submit"].cta:active, .cta_detail:active {
    background-color: var(--blanc);
    color: var(--noir);
    border-color: var(--bordeau);
    transform: translateY(0);
    box-shadow: var(--shadow-color);
}
.tpetit {font-size:0.9rem;}
.footer {
	background-color: var(--blanc);
    padding:2%;
    width: 100%;
	max-width: 1600px;
    margin: 0 auto;
	vertical-align:top;
}
.bloc_g, .bloc_c, .bloc_d {
	display:inline-block;
	vertical-align:top;
}
.bloc_g ul, .bloc_c ul, .bloc_d ul {
	list-style: none;
}
.bloc_g img {
	width: 160px;
    height: auto;
}
.bloc_c h3, .bloc_d h3 {
    font-size: 1.4rem;
    color: var(--gris-fonce);
	margin-bottom: 15px;
}
.bloc_g a, .bloc_c a, .bloc_d a {
    color: var(--noir);
    text-decoration: none;
    transition: color 0.3s ease;
}
.bloc_g a:hover, .bloc_c a:hover, .bloc_d a:hover {
    color: var(--bordeau);
}
.footer-bottom {
  margin-top:1%;
  text-align: center;
  line-height: 1.6;
  font-size: 0.9rem;
}
@media (max-width: 968px) {
	.icon-link {
        display: none;
    }
	.mobile-auth-links {
        display: flex !important;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
        border-top: 1px solid var(--gris);
        margin-top: 80px;
		margin-bottom: 80px;
    }
	.mobile-auth-links .icon-link {
        display: flex !important;
        align-items: center;
        color: var(--gris-fonce);
        text-decoration: none;
        padding: 10px 0;
    }
    .mobile-auth-links .header-icon {
        margin-right: 10px;
        height: 25px;
		fill: var(--gris-fonce);
    }
	.submenu-toggle {
        display: block;
    }
	.header-top .header-container {
        padding: 0 15px;
    }
    .icons-left {
        margin-left: 0;
    }
    .burger-menu {
        display: block;
		position: fixed;
        top: 40px;
        left: 15px;
        z-index: 1002;
    }
    .main-nav {
        position: relative;
    }
    .main-nav.fixed {
        position: relative !important;
        width: 100%;
        background-color: transparent;
        box-shadow: none;
    }
    .header-background {
        height: auto;
        min-height: 100px;
    }
    .header-top {
        padding: 40px 0;
    }
    .header-logo {
        height: 60px;
    }
    .menu-buttons {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        background-color: var(--blanc);
        padding-top: 120px; /* Augmenté pour laisser de l'espace pour le logo */
        z-index: 1000;
    }
    .menu-buttons.active {
		display: block;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 100px;
    }
    .menu-item {
        width: 100%;
		text-align: center;
        padding: 0;
        margin: 0;

    }
	.menu-button {
        color: var(--gris-fonce);
        text-align: left;
        padding: 15px 20px;
        font-size: 1.4rem;
        flex: 1;
        text-decoration: none;
		text-shadow:none;
    }
	.menu-button.active {
		color: var(--noir);
		font-weight:600;
	}
	.menu-button.has-submenu::after {
		content: '›';
		display: inline-block;
		font-size: 1.8rem;
		transition: transform 0.3s ease;
		transform: rotate(90deg);
		position: absolute;
		right: 20px;
	}
	.menu-item.active .menu-button.has-submenu::after {transform: rotate(270deg);}
	.sous-menu {
		position: relative;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease-out;
		background-color: var(--gris-clair);
		box-shadow: none;
		padding: 0;
		display: block !important;
	}
	.menu-item.active .sous-menu {
		max-height: 500px;
		padding: 10px 0;
	}
	.menu-item:hover .sous-menu {display: block !important;}
	.sous-menu-button {
		text-align: left;
		padding: 12px 40px;
		text-decoration: none;
	}
	.sous-menu-button:hover {background-color: var(--bordeau);}
	.burger-menu.active span {
		background-color: var(--noir);
	}
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}
@media (min-width: 969px) {
	.mobile-auth-links {
        display: none !important;
    }
    .submenu-toggle {
        display: none;
    }
    .menu-item:hover .sous-menu {
        display: block;
    }
}