:root{
    --first-color2: #F1F1F1;
    --second-color2: #F1F1F1;
    --size2: 40px;
    --speed2: 6s;
}

head {
	background-color: #F1F1F1;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F1F1F1;
}

a {
    text-decoration: none !important; /* supprime le soulignement */
}

a:hover {
    text-decoration: none !important; /* optionnel : soulignement au survol */
	font-weight: 500 !important;
}

div {
    display: block;
    unicode-bidi: isolate;
}

header {
    text-align: center;
    padding: 18px 0 6px 0;
}

.logo {
    width: 80%;
    max-width: 300px;
	padding: 0;
}

main {
    text-align: center;
}

h1 {
	font-weight: 400;
	margin-block-start: 0;
	margin-block-end: 0;
}

.titre-h1 {
	min-height: 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	color: #832525;
    margin: 0;
    padding: 20px 0 60px 0;
	
}

.titre-h2 {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(20px, 2vw, 30px); /* min 20px, max 30px, taille adaptative */
	font-weight: 600;
	min-height: 30px;
	color: #832525;
}

.titre-h3 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(17px, 2vw, 20px); /* taille adaptative : min 20px, max 30px */
    font-weight: 600;
    color: #832525;
    margin: 0;      /* supprime tout espace autour */
    padding: 0;     /* supprime tout padding éventuel */
}

section {
    scroll-margin-top: 100px; /* décale de 100px du haut de l'écran */
}

section::before {
    content: "";
    display: block;
    height: 100px; /* hauteur de décalage */
    margin-top: -100px; /* même valeur en négatif */
    visibility: hidden;
}


.bouton {
	display: flex;
	flex-direction: column;   /* empile les éléments de haut en bas */
	align-items: center;     /* centre le conteneur verticalement */
	justify-content: center;
	padding: 20px 0 40px 0;
}

.btn-en-savoir-plus {
    display: inline-block;
    padding: 12px 60px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
	color: #242424;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 5em;
    transition: all 0.3s ease;
	background: #ECECEC;
    box-shadow: inset 4px 4px 10px #dfdfdf, inset -4px -4px 10px #fcfcfc;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 2px solid rgb(236, 236, 236);
}

.btn-en-savoir-plus:hover {
    box-shadow: inset 2px 2px 5px #dfdfdf, inset -2px -2px 5px #fcfcfc, 2px 2px 5px #dfdfdf, -2px -2px 5px #fcfcfc;
    border: 2px solid rgb(236, 236, 236, 0.01);
}

.btn-en-savoir-plus:focus {
     box-shadow: inset 2px 2px 5px #dfdfdf, inset -2px -2px 5px #fcfcfc, 2px 2px 5px #dfdfdf, -2px -2px 5px #fcfcfc;
}



/* === /////////////////////////////////   NAVBAR   ///////////////////////////////// === */
/* NAVBAR */
html {
    scroll-behavior: smooth;
}


.navbar {
	position: fixed;       /* reste fixe en haut quand elle apparaît */
    border-bottom: 0;

    top: 0;
	left: 0;
	
	width: 100%;
	
	transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(-100%); /* cache la navbar au départ */
    opacity: 0;               /* transparente au départ */
	
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
	height: 10px;
	padding: 10px;
}

.navbar.show {
    transform: translateY(0); /* fait apparaître la navbar */
    opacity: 1;
}


.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 98%;
    margin: auto;
	background: #7B7B7B82;
	border-radius: 12px;
	height: 100px;
	color: #F1F1F1 !important;
	-webkit-backdrop-filter: blur(10px); /* Support pour Safari */
			backdrop-filter: blur(10px);
}

.navbar-container:hover {
    color: #242424 !important;
    background-color: rgba(183,187,186,0.14) !important;
}

.navbar-container a {
	font-family: 'Poppins', sans-serif;
    font-size: clamp(0.8125rem, 0.7777rem + 0.1342vw, 1rem); /* ✅ taille fluide */
    color: #F1F1F1 !important;
    text-decoration: none;
	text-transform: uppercase; /* ✅ met le texte en majuscules */
    transition: color 0.3s ease;
}

.navbar-container:hover a {
    color: #242424 !important;
}

.navbar-container a.active {
    color: #242424 !important;
    font-weight: 600; /* petit accent visuel */
}

/* Style du bouton RDV */
.navbar-container a.btn-rdv {
	font-family: 'Poppins', sans-serif;
	font-size: clamp(0.8125rem, 0.7777rem + 0.1342vw, 1rem); /* ✅ taille fluide */
	text-transform: none; /* assure que le texte reste tel quel */
    background-color: #76767682;
    color: #F1F1F1!important;
    padding: 10px 30px;
	margin-right: 50px;
    border-radius: 7rem;
	border: 1px solid #76767682;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.3s ease;
	  /* Ombre nette verticale 3px */
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);
}

.navbar-container a.btn-rdv:hover {
    background-color: #B7BBBA1F;
    color: #242424 !important;
	font-weight: 400;
	border: 1px solid #B7BBBA1F;
}

.navbar-logo img {
    height: 80px;
	padding: 5px 0 0 40px;
}

.navbar-menu {
	list-style: none; /* supprime les puces */
    display: flex;
	white-space: nowrap;       /* empêche les retours à la ligne */
    list-style: none;
    gap: 30px;
}

.navbar-menu li a.btn-rdv {
    list-style: none; /* ne devrait pas être nécessaire sur <a>, mais au cas où */
}




/* Burger menu par défaut caché */
.navbar-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive : mobile */
@media (max-width: 768px) {
	
	/* Cacher le logo sur mobile */
    .navbar-logo {
        display: none;
    }
	
	.navbar-container {
		position: absolute;
		width: 90%;
	}
	
    .navbar-container .navbar-menu {
		position: fixed;       /* fixe par rapport à l’écran */
		top: 100px; /* sous la navbar */
		left: 50%; /* position horizontale du centre */
		transform: translateX(-50%); /* recentre le menu par rapport au milieu de la page */
		background: #7B7B7B82;
		flex-direction: column;
		display: none; /* caché par défaut */
		padding: 20px;
        border-radius: 12px;
        box-shadow: 0 3px 6px rgba(0,0,0,0.3);
        z-index: 999;

        /* Centrage horizontal des liens */
        align-items: center; 
        text-align: center;
		width: 80%; /* limite la largeur pour ne pas dépasser l’écran */
        max-width: 400px; /* optionnel : largeur maximale */
    }
	
	.navbar-container .navbar-menu.active {
        display: flex;
    }

    .navbar-menu.active {
		background: rgba(123, 123, 123, 0.85); /* 85% opaque */
    }

    .navbar-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        margin-left: auto; /* centre dans le conteneur si besoin */
        margin-right: auto;
    }

    .navbar-container .navbar-menu li {
		margin-bottom: 8px;  /* réduit l’espace entre les liens */
		list-style: none;    /* supprime le point */
	}
	
	/* Liens du menu mobile */
	.navbar-container .navbar-menu li a {
		color: #F1F1F1 !important;      /* couleur blanche */
		display: inline-block;           /* pour centrer le texte avec margin auto */
		font-size: clamp(1rem, 1rem + 0.5vw, 1.2rem); /* taille fluide */
		font-weight: 500;
		text-decoration: none;           /* supprime le soulignement */
		text-align: center;              /* centre le texte à l’intérieur */
	}
	
	/* Liens du menu mobile, toutes situations */
	.navbar-container .navbar-menu li a:link,
	.navbar-container .navbar-menu li a:visited,
	.navbar-container .navbar-menu li a:hover,
	.navbar-container .navbar-menu li a:active {
		color: #F1F1F1 !important;  /* blanc */
		text-decoration: none;       /* pas de soulignement */
		text-align: center;
	}
	
	
	.navbar-container .navbar-menu li a.btn-rdv {
        display: block;       /* permet de prendre toute la largeur de son parent */
        margin: 0 auto;       /* centre horizontalement */
        text-align: center;   /* centre le texte à l’intérieur du bouton */
    }
}




/* === /////////////////////////////////////////////////////////////////////////////// === */

/* === /////////////////////////////////   PARTENAIRES   ///////////////////////////////// === */

/* Le wrapper couvre toute la largeur */
.partenaires-wrapper {
  width: 100%;
  background-color: #B7BBBA;
  display: flex;
  justify-content: center; /* centre le bloc 1050px */
  padding: 40px 0;
}

.conteneur-partenaires {
  width: 1050px;
  max-width: 100%;
}

.ligne-partenaires {
  display: flex;
  justify-content: center; /* centre les logos */
  align-items: center;
  gap: 20px; /* espace entre les logos */
}

.logo-partenaires {
  max-height: 60px;   /* limite la hauteur */
  max-width: 120px;   /* limite la largeur */
  height: auto;
  width: auto;
  object-fit: contain; /* garde les proportions */
}

/* === ////////////////////////////////////////////////////////////////////////// === */


/* === /////////////////////////////////   SERVICES   ///////////////////////////////// === */

.conteneur-services {
	display: flex;
	flex-direction: column;   /* empile les éléments de haut en bas */
	align-items: center;     /* centre le conteneur verticalement */
	justify-content: center;
 	width: 100%;
	background-color: #F1F1F1;
	gap: 15px 15px;
	padding:	40px 0 40px 0;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #242424;
}

.conteneur-bloc-services {
    display: flex;
    width: 100%;            /* prend 100% du parent par défaut */
    max-width: 1100px;      /* largeur max du bloc */
    flex-direction: column;
    margin: 0 auto;         /* centre horizontalement */
}

.container-bloc-services-1 {
	display: flex;
	width: 100%;
	flex-direction: column;   /* empile les éléments de haut en bas */
	justify-content: center;
	align-items: center;     /* centre le conteneur verticalement */
	gap: 12px 12px;
}

.container-bloc-services-horizontal {
	display: flex;
	width: 100%;
	flex-direction: row;       /* disposition horizontale : gauche → droite */
	justify-content: center;
	align-items: flex-start; /* contenu en haut des blocs */
	gap: 15px 15px;
}

/* Blocs 60% et 40% */
.bloc-services-60,
.bloc-services-40 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 250px;
    gap: 5px;
    padding: 24px;
    border-radius: 10px;
    background-color: #F1F1F1; /* couleur initiale */
    box-shadow: 
		inset 5px 5px 8px rgba(223, 223, 223, 0.5),  /* ombre claire semi-transparente */
		inset -5px -5px 8px rgba(252, 252, 252, 0.5); /* ombre claire semi-transparente opposée */
    transition: background-color 0.3s ease, transform 0.3s ease; /* transition définie */
}

/* Hover immédiat avec box-shadow plus foncé */
.bloc-services-60:hover,
.bloc-services-40:hover {
    background-color: rgba(224, 224, 224, 0.95); /* fond légèrement plus foncé */
    box-shadow: inset 5px 5px 8px rgba(180, 180, 180, 0.6), inset -5px -5px 8px rgba(220, 220, 220, 0.6); /* ombres plus foncées et plus visibles */
}

.bloc-services-60 {
	width: 60%;
}

.bloc-services-40 {
	width: 40%;
}

/* Titres et paragraphes à l’intérieur */
.bloc-services-60 h3,
.bloc-services-40 h3,
.bloc-services-60 p,
.bloc-services-40 p {
    margin: 0;
    padding: 0;
    line-height: 1.4; /* réduit l’espace entre lignes */
}

/* Espacement personnalisé si besoin */
.bloc-services-60 h3,
.bloc-services-40 h3 {
    margin: 0 0 10px 0; /* 15px sous chaque h3 */
    padding: 0;
}

.bloc-services-60 p,
.bloc-services-40 p {
	margin: 0 0 3px 0; /* 15px sous chaque paragraphe */
    padding: 0;
}

.h3-reduit-gap {
    display: flex;
    flex-direction: column;
    gap: 2px; /* espace entre les deux h3 uniquement */
}

.h3-reduit-gap h3 {
    margin: 0; /* supprime la marge globale */
}

@media (max-width: 767px) {
	
	.conteneur-bloc-services {
		align-items: center; /* centre le conteneur verticalement */
	}
	
	.container-bloc-services-horizontal {
		flex-direction: column;   /* empile les éléments de haut en bas */
		justify-content: center;
		width: 100%; /* occupe toute la largeur dispo */
		max-width: 100%; /* sécurité */
		padding: 0 10px;
		box-sizing: border-box; /* ✅ inclut le padding dans la largeur */
		margin: 0 auto; /* ✅ centre le conteneur */
	}
	
	.bloc-services-60,
	.bloc-services-40 {
		width: 100%;
		box-sizing: border-box; /* évite les débordements */
	}
	
	.bloc-services-60 h3,
    .bloc-services-40 h3,
    .bloc-services-60 p,
    .bloc-services-40 p {
        text-align: center; /* ✅ centre le texte */
    }
	
	.hero {
		height: 450px;
}


/* === ////////////////////////////////////////////////////////////////////////// === */

/* === /////////////////////////////////   FOOTER   ///////////////////////////////// === */


footer {
	overflow-x: hidden; /* Empêche le débordement horizontal */
    width: 100%;
    background-color: #B7BBBA;
    color: #832525;
    display: flex;
	flex-direction: column;   /* empile les éléments de haut en bas */
    justify-content: flex-end; /* pousse le contenu vers le bas */
    align-items: center;     /* centre le conteneur verticalement */
    height: 700px;           /* hauteur totale du footer */
	padding: 0;
	margin: 0;
}

footer a {
    text-decoration: none !important; /* supprime le soulignement */
}

footer a:hover {
    text-decoration: none !important; /* supprime le soulignement */
	font-weight: 500 !important;
}

.footer-container {
    width: 100%;        /* largeur encadrée */
	background-color:#B7BBBA;
    display: flex;
	flex-direction: row;       /* disposition horizontale : gauche → droite */
    justify-content: center;   /* centre le contenu horizontalement */
    align-items: center;
    text-align: center;
	padding-top: 5px;
	padding-right:5px;
	padding-bottom:30px;
	padding-left:5px;
	margin: 0;
	white-space: nowrap;       /* empêche les retours à la ligne */
}

.footer-container-bloc1 {
	display: flex;
	width: 50%; 
	flex-direction: column;   /* empile les éléments de haut en bas */
	background-color:#B7BBBA;
	padding: 0;
	margin: 0;
}

.footer-bloc-logo {
	display: flex;
	width: 100%; 
	min-height: 250px;	
	align-items: center;
	padding: 0;
	margin: 0;
}

.logo-footer {
	width: 80%;
	padding-left: 50px;
	padding-right: 15px;
}

.mentions-legales {
	display: flex;
	flex-direction: column;   /* empile les éléments de haut en bas */
	justify-content: flex-start !important; /* aligne les éléments à gauche */
	gap: 5px;                 /* écart horizontal de 5px entre les éléments */
	width: 100%; 
	min-height: 100px;
	padding-top: 1rem;
	padding-right: 0;
	padding-bottom: 1rem;
	padding-left: 10rem;
}

.text-footer {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: #832525;
}
.text-footer a {
	text-decoration: none !important; /* supprime le soulignement */
	color: #832525;
}
.text-footer a:hover {
	text-decoration: none !important; /* supprime le soulignement */
	color: #832525;
	font-weight: 500 !important;
}

.alignement-gauche {
	text-align: left;      /* Aligne le texte à gauche */
	height: 22px;
	padding: 0;
}

.alignement-centre {
	text-align: center;      /* Aligne le texte au centre */
	height: 22px;
	padding: 0;
}

.copyright {
	display: flex;
	flex-direction: column;   /* empile les éléments de haut en bas */
	justify-content: flex-end;  /* pousse les éléments vers le bas */
	align-items: center;
	width: 100%; 
	min-height: 30px;
	padding: 0;
	margin: 0;
}


.footer-container-bloc2 {
	display: flex;
	width: 50%; 
	flex-direction: column-reverse; /* empile les éléments verticalement, du bas vers le haut */
	align-items: flex-end;        /* vertical : bas */
	background-color:;
	padding: 0;
	margin: 0;
}

.blocsocial {
	display: flex;
	width: 100%; 
	align-items: center;
	gap: 0;
}

.social-footer-boutons {
	display: flex;
	width: 100%; 
	flex-direction: row;       /* disposition horizontale : gauche → droite */
	justify-content: center;
	align-items: center;
	min-height: 70px;
	gap: 15px;                 /* écart horizontal de 5px entre les éléments */
	white-space: nowrap;       /* empêche les retours à la ligne */
	padding-top: 10px;
	padding-right:50px;
	padding-bottom:0;
	padding-left:50px;
}

.social-footer-boutons-bloc {
	display: flex;
	width: 50%; 
	flex-direction: row;       /* disposition horizontale : gauche → droite */
	justify-content: space-around; /* espace autour */
}

.icon i {
	font-size: 22px;               /* ajuste la taille de l’icône */
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;                /* supprime l’espace vertical supplémentaire */
}

.fab {
    font-family: "Font Awesome 5 Brands";
    font-weight: 300;
	font-size: 25px;                /* taille de l’icône */
	color: #832525;
	z-index:5;
}

.fa-ico {
	display: inline-flex;           /* conteneur flexible */
	justify-content: center;        /* centre horizontalement */
	align-items: center;            /* centre verticalement */
	width: 50px;                    /* largeur du cercle */
	height: 50px;                   /* hauteur du cercle */
	background: linear-gradient(to bottom, #a8aead, #B7BBBA);
	border-radius: 50%;             /* rend le cercle */
	text-align: center;
	margin: 5px;
	transition: all 0.3s ease;
	box-sizing: border-box;         /* important pour les bordures */
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(152, 156, 155, 0.7), 0 10px 20px rgba(152, 156, 155, 0.1);
    transition: transform 0.3s ease; /* Transition fluide pour l'effet scale */
}

/* Effet au survol */
.fa-ico:hover {
  transform: scale(1.1);          /* agrandit le bouton */
}

.fa-ico:hover .icon i {
	color: #F1F1F1;
}

.design-inter-text {
	display: flex;
	justify-content: flex-end; /* aligne tous les enfants à droite */
	align-items: flex-end;        /* vertical : bas */
	width: 100%; 
	min-height: 100px;
	margin: 0;
	padding: 0;
}
.text-designint {
	text-align: right;
	padding-right: 5rem;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(36px, 5vw, 70px); /* min 24px, max 70px, taille relative à la largeur de l’écran */
	font-weight: 600;
	color: #832525;
	letter-spacing: -0.5px;
}


.p1 {
    display: block;
    margin-block-start: 3px;
    margin-block-end: 3px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.bloc-service-footer {
	display: flex;
	flex-direction: column;    
	width: 100%; 
	min-height: 250px;
	align-items: flex-end;     
	padding-right: 5rem;
	margin: 0;                 /* supprime la marge du bloc */
}

.text-services-footer-h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 16px;      
	font-weight: 600;     
	color: #832525;
	margin: 0 0 0.1rem 0;   /* réduit l'espace sous le titre */
	text-align: right;
}

.text-services-footer {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #832525;	
    margin: 0;              /* supprime les marges externes */
    padding: 0;             /* supprime les paddings internes */
    line-height: 1.2;       /* réduit la hauteur des lignes */
    text-align: right;
}

/* === ////////////////////////////////////////////////////////////////////////// === */




/* === FOOTER Spécial mobile (smartphones) === */
@media (max-width: 767px) {
	
	.titre-h1 {
	font-size: 10px;
	padding: 10px 30px 60px 30px;
	}
	
	footer {
	height: 800px;           /* hauteur totale du footer */
}

	.footer-container {
    width: 100%;        /* largeur encadrée */
	flex-direction: column-reverse !important; /* empile les éléments verticalement, du bas vers le haut */
    justify-content: center;   /* centre le contenu horizontalement */
    align-items: center;
    text-align: center;
	padding-top: 0;
	padding-right:5px;
	padding-bottom:30px;
	padding-left:5px;
	}

	.footer-container-bloc1 {
	width: 100%; 
	}

	.footer-bloc-logo {
	min-height: 200px;
	align-items: center !important;	
	}

	.logo-footer {
	width: 90%;
	padding-left: 20px;
	padding-right: 20px;
	}

	.mentions-legales {
	display: flex;
	flex-direction: column;   /* empile les éléments de haut en bas */
	justify-content: center !important; /* centre les éléments */
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 1rem;
	padding-left: 0;
	}
	.alignement-gauche {
	text-align: center;      /* Aligne le texte au centre */
	}
	
	
	.footer-container-bloc2 {
	width: 100%; 
	flex-direction: column-reverse; /* empile les éléments verticalement, du bas vers le haut */
	}
	.social-footer-boutons {
	flex-direction: column;   /* empile les éléments de haut en bas */
	justify-content: center;
	align-items: center;
	gap: 15px 8px;   /* 1er = lignes, 2e = colonnes */
	white-space: nowrap;       /* empêche les retours à la ligne */
	padding-top: 10px;
	padding-right:0;
	padding-bottom:0;
	padding-left:0;
	}
	.social-footer-boutons-bloc {
	width: 100%; 
	justify-content: center;
	gap: 25px 25px;   /* 1er = lignes, 2e = colonnes */
	}
	
	.design-inter-text {
	min-height: 50px;
	justify-content: center;
	align-items: center;
	}
	.text-designint {
	text-align: center;
	padding: 0;
	font-size: 36px;
	}
	
	.bloc-service-footer {
	min-height: 100px;
	align-items: center;
	padding-right: 0;
	padding-top: 2rem;
	}
	
	.text-services-footer {
	text-align: center;
	}

	.text-services-footer-h3 {
    margin-bottom: 1rem; /* espace en dessous du titre */
	text-align: center;
	}
	
	
	/* ===================================================== */
	
	.conteneur-partenaires {
	width: 100%; 	
	}
	
	.ligne-partenaires {
    flex-direction: column; /* empile verticalement */
    justify-content: center; /* centre verticalement dans le conteneur */
    align-items: center;     /* centre horizontalement */
    gap: 15px;               /* espace entre les logos */
  }

  

	/* ===================================================== */
}





/* === ////////////////////////////////////////////////////////////////////////// === */


::-webkit-scrollbar {
    width: .7vw;
    height: .7vw;
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #832525;
    border-radius: 15px;
}

::-webkit-scrollbar-track {
    background-color: #b7bbba;
    border-radius: 100vw;
    margin-block: .5em;
    border: .05em solid #f1f1f1;
}

::selection {
    background-color: #832525;
    color: #f1f1f1;
}