html {
  width: 100%;
  overflow-x: hidden;
  font-family: Helvetica, sans-serif;
  background-color: #FBFAFC;
  color: black;
  line-height: 1.6;
}

body {
  width: 100%;
  font-family: Helvetica, sans-serif;
  background-color: #FBFAFC;
  color: black;
  line-height: 1.6;
}

.skip-link {
	position: absolute;
	top: 3.5rem;
	left: 1rem;
	background: #2C20B3;
	color: white;
	padding: 8px 15px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 4px 4px 4px 4px;
	z-index: 1000;
	transition: top 0.3s ease;
	opacity: 0;              			 /* ← Invisible par défaut */
}

.skip-link:focus {
	top: 3.875rem;            /* ← Descend légèrement */
	opacity: 1;               /* ← Visible */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

	
header {
  position: sticky;
  top: 0;
  z-index: 100; /* ← reste au-dessus du contenu */
  background: #3C235E;
  padding: 0.75rem 1rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  width: 100%;
}

.logo {
	height: 2.5rem;
	flex-shrink: 0;    /* ← Logo ne rétrécit pas */ 
    margin-left: 0; /* ← s'assure qu'il colle à gauche */
	margin-right: 0;     /* ← À GAUCHE */      
}

.menu {
	display: flex;
	align-items: center;
	justify-content: space-between; /* logo gauche, liens droite */
	flex: 1;
	width: 100%;                      /* ← Prend l'espace restant */
}
	
.liens-menu {
	display: flex;
	gap: 5rem;
	list-style: none;
	padding: 0;
	margin :0;
	margin-right: 0;
	margin-top: 0.3rem;	
	padding-right: 5rem; 
}

.liens-menu a {
	color: white;
	text-decoration: none;
	font-size: 1.2rem;
}

.sous-bannière {
	margin-top: 0rem; 
	padding-top: 0;
	font-size: 1.2rem;
	color: #3C235E;
	text-shadow: 1.2px 1px 1px #9F98F5;
	font-style: italic;
	display: flex;
	justify-content: center;
}

main {
	width: 100%;
	max-width: 1200px;              /* Largeur max confortable */
	margin: 0 auto;                 /* Centre horizontalement */
	padding: 1rem;              	/* Marges latérales responsive */
	box-sizing: border-box;         /* Padding inclus dans largeur */
	text-align: left;
}

.accroche1 {							/* Sous-titre */
	color:#3C235E;
	text-align:center;
	font-size: 1.3rem;
	font-weight: bold; 
}	
	
h1 {
	color:#3C235E;
	text-align:center;
	font-size: 2rem;
}


h2 {
	color:#4E4899;
	background: linear-gradient(to right, #ffffff, #C1AFDA);
	text-align:left;
	margin-top: 2.5rem; 
	margin-bottom: 1.5rem; 
	font-size: 1.8rem;
}

h3 {
	color:#4E4899;
	font-family: 'Montserrat', sans-serif;
	text-align:left;
	margin-top: 2rem;
	font-size: 1.5rem;
}

p {
	padding: 0.1rem;
	font-size: 1rem;
	text-align: left;
}

div {
	text-align: left !important;
}

.idee-lumineuse::before {
	content: "💡";
	margin-left: 0; 
	margin-right: 0.4rem;
	font-weight: bold;
}


.exemple {
  color: #2C20B3;  /* violet */
  
}

.fleche::before {
	content: "➜";	
	margin-left: 3rem; 
	margin-right: 0.4rem;
	font-weight: bold;
}

.icone-i::before {
	content: "ℹ️";	
	margin-left: 0.5rem; 
	margin-right: 0.4rem;
	font-size: 1.1rem;
	vertical-align: middle;
}

.texte-suivi-lien a {
	display: inline;         /* Retour inline pour rester sur même ligne */
	white-space: nowrap;
}

.texte-image-ergo {
	display: flex;
	gap: 2rem;
	align-items: center;         /* ← Centre VERTICALEMENT enfants */
	text-align: left;
	width: 100%;              /*  Section = 100% largeur */
	max-width: 1200px;
	margin: 2rem auto;
	margin-top: 0.5rem !important; 
	padding: 0 1rem 0 0;
	box-sizing: border-box;   /* Padding inclus dans largeur */
	flex-wrap: nowrap;         /* interdit le passage en dessous */
	position: relative;        /* reset position */
	z-index: 1;
  }

.contenu-texte {
	flex: 0 0 58%;
	min-width: 0;
	text-align: left;
	margin-left: 0.5rem;
	position: relative;
	z-index: 1;
	max-width: 100%;
	/* CLÉ : conteneur flexible */
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;     /* ← Centre texte VERTICALEMENT */
}
	
.contenu-texte ul {
	margin-left: 0;
	padding-left: 2.5rem;     /* Décalage puces */
	text-align: left;
	margin-top: 0 !important;
	margin-bottom: 1rem;
}

.contenu-texte li {
	display: list-item;  /* Garde les puces */
	max-width: 100%;
	padding-left: 0.5rem; 
}

.contenu-texte a {
	display: inline;
	max-width: 100%;
	/* COMBO GAGNANT */
	overflow-wrap: anywhere !important;
	overflow-wrap: break-word !important;
	hyphens: auto;
}

.contenu-image {
	flex: 0 0 35%;               /* 35% largeur */
	position: relative;        /* reset */
	z-index: 1;
	display: flex;
	flex-direction: column;     /* Image → Texte (vertical) */
	align-items: center;     	/* Centre l'IMG dans la div */
	justify-content: center; 	/* Centre horizontalement (bonus) */
	text-align: center;         /* Texte centré */
	padding: 0.5rem;              /* Espacement interne */
	box-sizing: border-box;     /* CLÉ : inclut padding dans largeur */
	align-self: flex-start; 	/* ← l'image ne s'étire plus */
	width: 100%;
    margin: 0 auto;
}

.contenu-image img {
	width: 100%;
	height: auto;
	max-height: 100%;
	max-width: 300px;
	object-fit: contain; 		/* ← contain plutôt que cover pour ne pas couper */
	display: block;            /* supprime espace sous image */
	margin-bottom: 0.5rem;        /* Espace image ↔ texte */
}


.contenu-image #description-image {
	font-style: italic;
	font-weight: 500;
	margin: 0;
	font-size: 0.7rem;
}

.contenu-image-carafe {
	width : 100%;
	text-align: center; 
}

.contenu-image-carafe img {
	width : 3rem;
	height : auto;	
	display: block;       /* img devient block */
	margin: 0 auto 1rem;  /* Centre horizontalement */
}

.contenu-image-RGAA {
	display: block;
	width: 60%;
	max-width: 1200px;        /* Limite responsive */
	margin: 0 auto;
	box-sizing: border-box;  /* Padding/border DANS largeur */
	text-align: center;
	padding: 0.5rem;           /* rem = s'adapte à la taille police */
	padding-bottom: 1rem;
}

.contenu-image-RGAA img {
	display: block;         
	max-width: 100%;        /* ne dépasse JAMAIS */
	width: auto;            /* Garde proportions */
	height: auto;
	margin: 0 auto;         /* centre l'image */
}

.contenu-image-petites {
	flex: 0 0 15%;           
	display: flex;
	flex-direction: column;  /* Images empilées verticalement */
	justify-content: center;    /* ← CLÉ : centre VERTICALEMENT */
	align-items: center;     /* Centre images horizontalement */
	gap: 0.75rem;               /* Espace entre images */
	flex-wrap: nowrap;         /* interdit le passage en dessous */
	height: 100%; 
	position: relative;        /* reset position */
	z-index: 1;
}

.contenu-image-petites img {
	width: 100%;             /*  Remplit largeur conteneur */
	height: auto;            /*  Même hauteur que texte */
	max-width: 70px;            /* ← 70px desktop (visible) */
	max-height: 70px;
	object-fit: contain;        /* ← Garde proportions (pas cover) */
	display: block;
}

/* Images PETITES ET RESPONSIVE */
.contenu-image-petites img {
  width: 100%;
  height: auto;
  max-width: 60px;         /* ← MAX 60px (petit !) */
  max-height: 60px;
  object-fit: cover;
  object-position: center;
}

.contenu-texte-large {
	flex: 0 0 80%;
	min-width: 0;
	text-align: left;
	margin-left: 0.5rem;
	position: relative;
	z-index: 1;
	max-width: 100%;  	/* CLÉ : conteneur flexible */
	box-sizing: border-box;
	display: flex;           /* ✅ Flex pour hauteur uniforme */
	flex-direction: column;
	align-items: stretch;    /* Étire à même hauteur */
	justify-content: center;  /* ✅ Centre VERTICALEMENT le texte */
}

.texte-encadré {
	border: 2px solid;
	border-color: #4E4899;
	border-radius: 8px;        /* Échelle proportionnelle */
	padding: 0.5rem 0.1rem;    /* rem = s'adapte à la taille police */
	background: #f8f9fa;
	display: block;
	width: 80%;
	max-width: 1200px;        /* Limite responsive */
	margin: 0.75rem auto 2rem auto; 
	box-sizing: border-box;  /* Padding/border DANS largeur */
	text-align: center;
}

p .texte-gras {
	font-weight: bold;
}

.texte-gras {
	font-weight: bold !important;
}


.texte-encadré p {
	font-size: 1.2rem;
	color: #3C235E;
	text-align: center;
	margin: 0.25rem 0;               
}

main .btn {
	border-radius: 5px;	
	background-color: purple;
}

main .btn:active {
	border-radius: 5px;	
	background-color: purple;
}

.alert-box{
	background-color: yellow;
	border-radius: 10px;	
}
	

ul {
	color:black;
	margin-top: 0;           /* Colle au <p> */
	padding-left: 2.5rem;
}

a {
	display:block;
	color: #3C235E;
}

a:hover {
	font-weight: 700;
}

section {
	max-width: 1200px;           /* Largeur max uniforme */
	margin: 2rem auto;           /* Centre le conteneur */
	padding: 0 1rem;            /* Marges latérales responsive */
	text-align: left;           /* ✅ ALIGNE À GAUCHE */
	width: 100%;
}

section ul li {
	padding-top: 0.5rem;
	padding-left: 0;
	margin-left: 0;
}

/* Conteneur : sert uniquement à centrer */
.conteneur-btn {
    display: flex;
    justify-content: center;
    margin: 2rem auto;
}

/* Bouton : sert uniquement à styler le lien */
.btn-page {
    display: inline-block;
    background-color: #3C235E;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

.btn-page:hover {
    background-color: #4E4899;
    color: white;
}

footer {
	margin-top: 2rem;
	text-align: center;
	padding: 10px 10px 10px;
	background-color: #1C0C33;
}

footer p {
	color: white;
	font-size : 1rem;
	font-weight: bold;
	margin: 0.25rem 0;
	text-align: center;
}

footer a {
	color: white;
	font-size : 1rem;
}

.contact-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2rem;          /* ← INCREASEZ de 1rem → 2rem */
	font-size: 1rem;
	margin: 0.25rem 0;
}

.contact-line ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;        /* ← supprime le padding-left natif du <ul> */
}

.contact-line ul li {
    display: flex;
    align-items: center;
}

.contact-link {
	display: inline-flex;
	align-items: center;
	padding: 0 0.5rem;
	text-decoration: none;   		 /* ← Pas de soulignement global */
}

footer .contact-link span.icon-phone[aria-hidden="true"] {
  color: white !important;
  font-size: 1.1rem !important;
  margin-right: 0.5rem;
  line-height: 1;
}

.num-tel {
  text-decoration: underline;   	/* ← SEULEMENT le numéro */
}

footer .contact-link .icon-email {
  color: white !important;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

.footer-email  {
  text-decoration: underline;   	/* ← SEULEMENT l'email */
}


.nav-footer {
	display: flex;
	justify-content: space-around; 
	flex-direction: row;
	gap: 0.5rem;
	align-items: center;
	list-style: none;
    width: 100%;  	
	box-sizing: border-box;       /* ← IMPORTANT : inclut le padding */
	margin: 0.25rem 0;                
}

.nav-footer li {           /* ← AJOUT IMPORTANT */
  text-align: center;
}

.liens-menu-footer {
	color: white;
	font-size: 1rem;
	list-style: none;
	display: flex;
	justify-content: center; 
	gap : 2rem;
	margin: 0;
    padding: 0;
}

.footer-p-droits {
	gap: 1rem;
    font-size: 0.8rem;
    flex-direction: column;
    font-weight: 400;
	font-style: italic; 
  }

.linkedin-text {
    text-decoration: underline;
}

/* par défaut : menu fermé */
.icon-close {
  display: none;
}

/* quand ouvert */
.hamburger.is-open .icon-open {
  display: none;
}

.hamburger.is-open .icon-close {
  display: inline;
}
	

/*======================== PAGE CONTACT ===================*/

.accroche2 {
	padding-top: 1rem;
	padding-bottom: 0;
	display: flex;
	align-items: center;
	font-weight: 500;
}


hr.separateur {
	display: block;
    background: linear-gradient(to right, #C1AFDA, #3C235E);
    height: 0.2rem; 
    width: 50%;
    margin: 1rem auto;
    border: none;
}

.bloc-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.contact-identite,
.contact-coordonnees {
    display: flex;
    flex-direction: column;
    align-items: center; /* ← centre les liens */
}

.contact-identite,
.contact-coordonnees ul{
    display: flex;
    flex-direction: column;
    align-items: center; /* ← centre les liens */
	list-style: none;
    padding: 0;
    margin: 0;
}

.contact {
	font-weight: 700;
	font-size: 22px;
	text-align: center;
	padding-top: 0.5rem;
	padding-bottom: 0;
}

.contact-Metier{
	font-weight: 500;
	font-size: 24px;
	color: #3C235E;
	text-align: center;
	padding-top: 0;
	padding-bottom: 0;
}

.contact1 {
	font-style: italic;
}

.contact-coordonnees {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* ← centre les liens */
}

.contact-coordonnees a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3C235E;
	font-weight: 600;
	font-size: 22px;
	text-decoration: underline;
}

.contact-coordonnees a:hover {
    font-weight: 700;
	text-shadow: 0 0 1px currentColor;
}

.contact-photo {
    flex: 0 0 auto;
}

.contact-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%; /* ← photo ronde, retirez si vous préférez carré */
}

/* MOBILE : empile verticalement */
@media (max-width: 899px) {
    .bloc-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-photo {
        order: -1; /* ← photo en haut sur mobile */
    }
}

[aria-current="page"] {
  font-weight: bold;
}

.epingle::before {
	content: "📍";
}

/*======================== PAGE CAS CONCRETS ===================*/

.Image-CasConcrets {
	display: block;
	margin: 0 auto;
	padding-bottom: 1rem;
	max-width: 80%;
}

.Exemples-Zoom-Surcouche {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.Exemples-Zoom-Surcouche p {
	text-align: center;
}


/*========================================================================*/
/* === BASE MOBILE === */
@media (max-width: 899px) {
	
	header {
	position: relative;
	}
  
	h3 {
	background: #ffffff;  /* Blanc pur mobile */
	}

/* Mobile : empile verticalement */
	.texte-image {
    flex-direction: column;
    text-align: center;
	}
	
	.texte-image-ergo {
    flex-direction: column;
    gap: 1rem;
	}
  
	.contenu-image {
    flex: none;             
	width: 100%;
	display: flex;
    justify-content: center; /* ← centre horizontalement */
	}  

	.contenu-image img{
	max-height: 200px;
	}  
	
	.contenu-image-petites {
	display: none;	
/*	flex: 0 0 10%;       /* ← 10% mobile */
	gap: 0.5rem;
	}

	.contenu-image-petites img {
	display: none;	
/*	max-width: 40px;     
	max-height: 40px;
	*/
	}
	
	.contact-line {
	gap: 0.25rem;
	font-size: 0.95rem;
	flex-direction: column;
	text-align: center;
	}
 
	.contact-line ul {
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
    }
	
	.contact-link {
	justify-content: center;
	width: 100%;
	max-width: 300px;
	}
  
	#Test-section .conteneur-service {
		padding: 100px;	
		display: flex;
		flex-direction: column;
		gap: 60px;
	}
	
	#Test-section .conteneur-service p {
		font-size: 10px;
		max-width: 100%;
		white-space: normal;
	}
	
	form {
		display: flex;
		flex-direction: column-reverse;
	}
	
	footer {
	padding: 0.5rem 1rem; /* ← réduit le padding du footer */
    }
	
	.nav-footer {
    gap: 0.5rem;               /* Moins d'espace sur mobile */
    padding-right: 2rem;          /* Supprime padding excessif */
    flex-direction: column;    /* ← Empile verticalement */
    align-items: center;       /* ← Centre les éléments */
	margin: 0.25rem 0;
  }
  
	.liens-menu-footer {
	font-size: 0.95rem;
	}
	
    .contact-line {
	gap: 0.5rem;          /* ← réduit l'espace entre téléphone/email/linkedin */
	margin: 0.25rem 0;
	}
	
	footer p {
	margin: 0.1rem 0;     /* ← réduit l'espace entre paragraphes */
    }
		
	.logo {
	height: 2.5rem;             /* ← Plus petit mobile */
	flex-shrink: 0;
	margin-left: 0.5rem;
	margin-right: auto;         /* ← À GAUCHE mobile */
	}

	.hamburger { 
	display: block; 
	font-size: 2rem;
	background-color: white;
	color: #3C235E;
	border-radius: 6px;
	margin-left: auto;
	width: 2.5rem;	
	height: 2.5rem;
	}        					/* ← Burger VISIBLE */
  
	#mobile-menu {
	display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
 	padding: 1rem;
    z-index: 1000;
}

	#mobile-menu.show {
    display: block;
	}
  
	.liens-menu {
	background: #3C235E;
	flex-direction: column;
	width: 100%;
	padding: 1rem;
	gap: 1rem;
	box-shadow: 0 2px 10px rgba(0,0,0,0.3);
	}
     
	.liens-menu li {
	width: 100%;
	text-align: center;
	border-bottom: 3rem solid rgba(255,255,255,0.2);
	height: 2rem;
	}

	.liens-menu a {
	display: block;
	width: 100%;
	padding: 0.75rem;
	color: white;
	}
  
	.sous-bannière {
	justify-content: center;
    text-align: center;
	}
	
	.Image-CasConcrets {
	max-width: 100%;
	}
	
	.Exemples-Zoom-Surcouche {
	flex-direction: column;
	align-items: center;
	}
	
	.contenu-image-RGAA{
	width: 100%;
	}
}


/* Très petit écran */
@media (max-width: 480px) {
  .contenu-image-petites {
    flex: 0 0 8%;        /* ← 8% mini-écran */
  }
  
  .contenu-image-petites img {
    max-width: 30px;     /* ← 30px très petit */
    max-height: 30px;
  }

  .nav-footer {
    gap: 1rem;
  }

	header {
	  background-color: #3C235E;
	  padding: 0.75rem 1rem;      /* ← Padding normal mobile */
	  min-height: 3.5rem;
	  display: flex;
	  align-items: center;
	  gap: 1rem;
	}
}

 

/* === DESKTOP 900px+ === */
@media (min-width: 900px) {
	header {
	padding: 0.375rem 1rem;
	}

	.hamburger { 
	margin-left: auto;
	display: none;			/* ← Burger caché */
	background: none;
	border: 0;
	color: white;
	font-size: 2rem;
	line-height: 1;
	width: 2.5rem;
	padding: 0.25rem 0.5rem;
	}         

	 /* AJOUT : force l'affichage du menu sur desktop */
    #mobile-menu {
        display: block !important;
    }

    #mobile-menu .liens-menu {
        display: flex !important;
        flex-direction: row !important;
        gap: 5rem !important;
        padding-right: 5rem !important;
        background: none !important;
        box-shadow: none !important;
        padding-top: 0 !important;
        padding-left: 0 !important;
        width: auto !important;
    }   
}

/* ============================= */
/* FOCUS VISIBLE RGAA PROPRE */
/* ============================= */

:focus {
  outline: none; /* on remplace proprement */
}

:focus-visible {
  outline: 5px solid white;
   box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.6); /* halo noir */
  outline-offset: 3px;
  border-radius: 4px;
}

/* Focus spécifique menu mobile */
.liens-menu a:focus-visible {
  color: white;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.6); /* halo noir */
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

/* Focus burger */
.hamburger:focus-visible {
  outline: 5px solid white;
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.6); /* halo noir */
  outline-offset: 4px;
  border-radius: 6px;
}

/* Focus skip link (déjà bon mais on sécurise) */
.skip-link:focus-visible {
	outline: 3px solid #000;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #fff;
}

.btn-page:focus-visible {
	outline: 3px solid #000;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #fff;
}