/**
 * ETM — blocs de mise en page (plugin ETM Core) et contenu des pages.
 * Mobile d'abord. Paliers : 600 / 900 / 1100 px. Jetons définis dans main.css.
 */

[hidden] { display: none !important; }

/* ---------------------------------------------------------- contenu de page (blocs natifs) */
.etm-page-contenu > *:not(.etm-bloc-section):not(.etm-bandeau):not(.etm-slider):not(.etm-appel):not(.etm-marques):not(.alignfull) {
	width: 100%;
	max-width: var(--conteneur);
	margin-inline: auto;
	padding-inline: var(--gouttiere);
}
.etm-page-contenu > p, .etm-page-contenu > ul, .etm-page-contenu > ol { max-width: 780px !important; }

.etm-bloc-section .etm-conteneur > * + *,
.etm-colonne > * + *,
.etm-bandeau__texte > * + *,
.etm-slide__texte > * + * { margin-top: 14px; }

.etm-bloc-section .wp-block-heading, .etm-colonne .wp-block-heading { color: var(--navy); }
.etm-bloc-section h2.wp-block-heading, .is-style-etm-titre {
	font-family: var(--f-cond);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(26px, 4.2vw, 44px);
	line-height: 1.05;
	letter-spacing: -.005em;
}
.etm-bloc-section h3.wp-block-heading { font-size: clamp(18px, 2vw, 22px); line-height: 1.2; font-weight: 700; }
.etm-bloc-section p { line-height: 1.6; }
.etm-bloc-section .etm-surtitre + h2 { margin-top: 8px; }
.is-style-etm-surtitre {
	font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muet);
}
.is-style-etm-chapo { font-size: 17px; line-height: 1.6; color: var(--texte-2); max-width: 640px; }
.etm-clair .is-style-etm-chapo, .etm-clair p { color: #D9DCE8; }
.etm-clair h1, .etm-clair h2, .etm-clair h3, .etm-clair .wp-block-heading, .etm-clair strong { color: var(--blanc); }
.etm-clair .etm-surtitre { color: var(--acier); }
.etm-clair a:not(.etm-bouton):not(.wp-block-button__link) { color: var(--blanc); }

/* Sections */
.etm-bloc-section { padding-block: 48px; }
.etm-esp--serre { padding-block: 16px; }
.etm-esp--large { padding-block: 64px; }
.etm-fond--blanc { background: var(--blanc); }
.etm-fond--sable { background: var(--sable); }
.etm-fond--navy { background: var(--navy); color: var(--blanc); }
.etm-fond--nuit { background: var(--navy-900); color: var(--blanc); }
.etm-fond--sable + .etm-fond--sable.etm-esp--serre, .etm-fond--sable.etm-esp--serre + .etm-fond--sable { padding-top: 0; }

/* Boutons natifs (styles ETM) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 0;
	font-family: var(--f-sans); font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none;
	background: var(--orange-fond); color: var(--blanc);
	transition: background var(--transition), color var(--transition);
}
.wp-block-button__link::after {
	content: ''; width: 16px; height: 16px; flex: 0 0 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-button__link:hover { background: #B8341A; color: var(--blanc); }
.is-style-etm-navy .wp-block-button__link { background: var(--navy); }
.is-style-etm-navy .wp-block-button__link:hover { background: var(--navy-900); }
.is-style-etm-contour .wp-block-button__link { background: transparent; border-color: var(--navy); color: var(--navy); }
.is-style-etm-contour .wp-block-button__link:hover { background: var(--navy); color: var(--blanc); }
.etm-clair .is-style-etm-contour .wp-block-button__link { border-color: rgba(255,255,255,.7); color: var(--blanc); }
.is-style-etm-blanc .wp-block-button__link { background: var(--blanc); color: var(--navy); }
.is-style-etm-blanc .wp-block-button__link:hover { background: var(--sable); color: var(--navy); }
.is-style-etm-whatsapp .wp-block-button__link { background: var(--blanc); color: var(--navy); border-color: var(--navy); }
.is-style-etm-whatsapp .wp-block-button__link::after { display: none; }
.is-style-etm-whatsapp .wp-block-button__link::before {
	content: ''; width: 20px; height: 20px; flex: 0 0 20px; background: var(--whatsapp); border-radius: 50%;
}
.is-style-etm-lien .wp-block-button__link { min-height: 44px; padding: 0; background: none; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.is-style-etm-lien .wp-block-button__link::after { display: none; }
.etm-clair .is-style-etm-lien .wp-block-button__link { color: var(--blanc); }
@media (max-width: 599px) {
	.wp-block-buttons { flex-direction: column; align-items: stretch; }
	.wp-block-buttons > .wp-block-button, .wp-block-button__link { width: 100%; }
	.wp-block-button__link { justify-content: space-between; }
	.is-style-etm-lien .wp-block-button__link { justify-content: flex-start; }
}

/* Images, galeries */
.etm-photo-vide {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px;
	background: linear-gradient(to top right, transparent calc(50% - .5px), rgba(140,155,184,.35) 50%, transparent calc(50% + .5px)),
	            linear-gradient(to top left, transparent calc(50% - .5px), rgba(140,155,184,.35) 50%, transparent calc(50% + .5px)), #E2DDD1;
	font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muet);
}
.etm-clair .etm-photo-vide, .etm-bandeau .etm-photo-vide, .etm-slide .etm-photo-vide { background-color: #252B5C; color: var(--acier); }
.is-style-etm-cadre img { border: 8px solid var(--sable); }
.wp-block-image img { height: auto; }
.wp-block-image figcaption { margin-top: 6px; font-size: 13px; color: var(--muet); }
.is-style-etm-realisations.wp-block-gallery { display: flex; gap: 10px; }
@media (max-width: 899px) {
	.is-style-etm-realisations.wp-block-gallery {
		flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: calc(var(--gouttiere) * -1); padding-inline: var(--gouttiere);
	}
	.is-style-etm-realisations.wp-block-gallery::-webkit-scrollbar { display: none; }
	.is-style-etm-realisations.wp-block-gallery > .wp-block-image { flex: 0 0 82% !important; width: 82% !important; scroll-snap-align: start; }
}
.is-style-etm-realisations .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------------------------------------------------------- Colonnes */
.etm-colonnes__piste { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.etm-colonnes--ecart-serre .etm-colonnes__piste { gap: 10px; }
.etm-colonnes--m2 .etm-colonnes__piste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 899px) {
	.etm-colonnes--defile .etm-colonnes__piste {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px;
		margin-inline: calc(var(--gouttiere) * -1); padding-inline: var(--gouttiere); scroll-padding-inline: var(--gouttiere);
	}
	.etm-colonnes--defile .etm-colonnes__piste::-webkit-scrollbar { display: none; }
	.etm-colonnes--defile .etm-colonnes__piste > * { flex: 0 0 min(300px, 80%); scroll-snap-align: start; }
}
@media (min-width: 600px) {
	.etm-colonnes--3 .etm-colonnes__piste, .etm-colonnes--4 .etm-colonnes__piste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.etm-colonnes__piste { gap: 20px; }
	.etm-colonnes--2 .etm-colonnes__piste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.etm-colonnes--3 .etm-colonnes__piste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.etm-colonnes--4 .etm-colonnes__piste { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.etm-colonne { min-width: 0; }
.etm-carrousel__nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.etm-carrousel__points { flex: 1; display: flex; gap: 6px; }
.etm-carrousel__points span { flex: 1; height: 2px; background: #C9C3B6; transition: flex var(--transition), background var(--transition); }
.etm-carrousel__points span.est-actif { flex: 3; background: var(--orange); }
.etm-carrousel__compte { font-size: 12px; color: var(--muet); }
.etm-carrousel__fleche { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.etm-carrousel__fleche--suiv { background: var(--sable); }
.etm-fond--sable .etm-carrousel__fleche--suiv { background: var(--blanc); }
@media (min-width: 900px) { .etm-carrousel__nav { display: none !important; } }

/* ---------------------------------------------------------- Carte */
.etm-carte { display: flex; flex-direction: column; height: 100%; background: var(--sable); color: var(--encre); }
.etm-carte--blanc { background: var(--blanc); }
.etm-fond--blanc .etm-carte--blanc, .etm-carte--contour { background: var(--blanc); border: 1px solid var(--sable-200); }
.etm-carte--navy { background: var(--navy); color: var(--blanc); }
.etm-carte__media { position: relative; aspect-ratio: 3 / 2; background: #E2DDD1; overflow: hidden; }
.etm-carte__media img, .etm-carte__media .etm-photo-vide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.etm-carte--lien:hover .etm-carte__media img { transform: scale(1.03); }
.etm-carte__media img { transition: transform .4s ease; }
.etm-carte__texte { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 18px 20px; }
.etm-carte__contenu > * + * { margin-top: 6px; }
.etm-carte h3, .etm-carte__titre {
	font-family: var(--f-cond); font-size: 21px; font-weight: 700; text-transform: uppercase; line-height: 1.1; color: var(--navy);
}
.etm-carte--navy h3 { color: var(--blanc); }
.etm-carte p { font-size: 14px; line-height: 1.5; color: var(--muet); }
.etm-carte--navy p { color: #D9DCE8; }
.etm-carte__fleche { flex: 0 0 22px; color: var(--navy); transition: transform var(--transition); }
.etm-carte--navy .etm-carte__fleche { color: var(--blanc); }
.etm-carte--lien:hover .etm-carte__fleche { transform: translateX(4px); }
a.etm-carte:hover { color: inherit; }

/* ---------------------------------------------------------- Bandeau photo */
.etm-bandeau { position: relative; min-height: 460px; display: flex; align-items: flex-end; background: var(--navy-900); color: var(--blanc); overflow: hidden; }
.etm-bandeau--basse { min-height: 340px; }
.etm-bandeau--haute { min-height: 560px; }
.etm-bandeau__media, .etm-bandeau__voile { position: absolute; inset: 0; }
.etm-bandeau__media img, .etm-bandeau__media .etm-photo-vide { width: 100%; height: 100%; object-fit: cover; }
.etm-bandeau__voile { background: linear-gradient(180deg, rgba(18,21,46,.15) 0%, rgba(18,21,46,.55) 40%, rgba(18,21,46,.9) 100%); }
.etm-bandeau__texte { position: relative; padding-block: 120px 36px; }
.etm-bandeau h1 { font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 7vw, 64px); line-height: 1.02; color: var(--blanc); max-width: 900px; }
.etm-bandeau .etm-ariane ol, .etm-bandeau .etm-ariane a { color: #B9C1D6; }
.etm-bandeau .etm-ariane { margin-bottom: 18px; }
.etm-bandeau .wp-block-buttons { margin-top: 22px; }
@media (min-width: 900px) {
	.etm-bandeau { min-height: 520px; }
	.etm-bandeau--basse { min-height: 380px; }
	.etm-bandeau--haute { min-height: 640px; }
	.etm-bandeau__texte { padding-block: 140px 56px; }
	.etm-bandeau__voile { background: linear-gradient(90deg, rgba(18,21,46,.88) 0%, rgba(18,21,46,.6) 50%, rgba(18,21,46,.15) 100%); }
}

/* ---------------------------------------------------------- Slider */
.etm-slider { position: relative; height: 560px; background: var(--navy-900); color: var(--blanc); overflow: hidden; }
.etm-slider__slides { position: absolute; inset: 0; }
.etm-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.etm-slide.est-actif { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 1; }
.etm-slide__media, .etm-slide__voile { position: absolute; inset: 0; }
.etm-slide__media img, .etm-slide__media .etm-photo-vide { width: 100%; height: 100%; object-fit: cover; }
.etm-slide.est-actif .etm-slide__media img { animation: etm-zoom 8s ease-out forwards; }
.etm-slide__voile { background: linear-gradient(180deg, rgba(18,21,46,0) 30%, rgba(18,21,46,.82) 62%, rgba(18,21,46,.92) 100%); }
.etm-slide__texte { position: absolute; left: 0; right: 0; bottom: 104px; }
.etm-slide__texte h1, .etm-slide__texte h2, .etm-slide__titre {
	font-family: var(--f-cond); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em;
	font-size: clamp(36px, 6.4vw, 68px); line-height: 1.02; color: var(--blanc); max-width: 820px;
}
.etm-slide__texte p:not(.etm-surtitre) { font-size: 15px; line-height: 1.55; max-width: 560px; }
.etm-slide.est-actif .etm-slide__texte > * { animation: etm-monte .5s ease-out both; }
.etm-slide.est-actif .etm-slide__texte > *:nth-child(2) { animation-delay: .06s; }
.etm-slide.est-actif .etm-slide__texte > *:nth-child(3) { animation-delay: .12s; }
.etm-slide.est-actif .etm-slide__texte > *:nth-child(4) { animation-delay: .18s; }
.etm-slider__nav { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.etm-slider__onglets { flex: 1; display: flex; gap: 6px; min-width: 0; }
.etm-slider__onglet {
	flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--acier); cursor: pointer;
	display: flex; flex-direction: column; justify-content: center; gap: 8px; text-align: left; font: inherit;
}
.etm-slider__onglet-texte { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etm-slider__sous-onglet { display: none; }
.etm-slider__onglet.est-actif { color: var(--blanc); }
.etm-slider__barre { display: block; height: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.etm-slider__barre span { display: block; height: 100%; background: var(--blanc); transform: scaleX(0); transform-origin: left; }
.etm-slider__fleche { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--blanc); cursor: pointer; transition: background var(--transition), color var(--transition); }
.etm-slider__fleche:hover { background: var(--blanc); color: var(--navy); }
@media (min-width: 900px) {
	.etm-slider { height: min(680px, calc(100vh - var(--entete-h))); min-height: 560px; }
	.etm-slide__voile { background: linear-gradient(90deg, rgba(18,21,46,.9) 0%, rgba(18,21,46,.62) 45%, rgba(18,21,46,.1) 100%); }
	.etm-slide__texte { bottom: 130px; }
	.etm-slide__texte p:not(.etm-surtitre) { font-size: 17px; }
	.etm-slider__nav { bottom: 32px; gap: 14px; }
	.etm-slider__onglets { gap: 20px; }
	.etm-slider__onglet-texte { font-size: 12px; }
	.etm-slider__sous-onglet { display: block; margin-top: 4px; font-family: var(--f-sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: #B9C1D6; }
}
@keyframes etm-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes etm-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.etm-slide, .etm-slide.est-actif { transition: none; }
	.etm-slide.est-actif .etm-slide__media img, .etm-slide.est-actif .etm-slide__texte > * { animation: none; }
}

/* ---------------------------------------------------------- Familles */
.etm-familles__grille { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.etm-familles__tuile { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 10px 10px 14px; background: var(--sable); color: var(--navy); transition: background var(--transition); }
.etm-familles__tuile:hover { background: var(--sable-200); color: var(--navy); }
.etm-familles__media { display: block; aspect-ratio: 4 / 3; background: var(--sable-50); overflow: hidden; }
.etm-familles__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.etm-familles__image--illu { object-fit: contain !important; padding: 8%; }
.etm-familles__tuile:hover img { transform: scale(1.04); }
.etm-familles__nom { font-size: 14px; font-weight: 700; line-height: 1.25; }
.etm-familles__tout { margin-top: 16px; }
@media (min-width: 600px) { .etm-familles__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) {
	.etm-familles__nom { font-size: 16px; }
	.etm-familles__tout { width: auto; padding-inline: 32px; }
}

/* ---------------------------------------------------------- Produits filtrables */
.etm-bloc-produits .etm-h2 { margin-top: 8px; }
.etm-bloc-produits .etm-pastilles { margin-top: 18px; }
.etm-bloc-produits .etm-pastille-filtre[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--blanc); }
.etm-bloc-produits .etm-grille-produits { margin-top: 16px; }
.etm-bloc-produits__tout { margin-top: 18px; }
@media (min-width: 900px) { .etm-bloc-produits__tout { width: auto; padding-inline: 32px; } }

/* ---------------------------------------------------------- Marques */
.etm-marques { padding-block: 36px; background: var(--blanc); border-bottom: 1px solid var(--sable); }
.etm-marques .etm-surtitre { width: 100%; max-width: var(--conteneur); margin: 0 auto; padding-inline: var(--gouttiere); }
.etm-marques__fenetre {
	margin-top: 20px; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
	        mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.etm-marques__piste { display: flex; width: max-content; animation: etm-defile calc(var(--etm-marques-n, 8) * 3.5s) linear infinite; }
.etm-marques__fenetre:hover .etm-marques__piste { animation-play-state: paused; }
.etm-marques__liste { display: flex; align-items: center; gap: 48px; margin: 0; padding: 6px 24px; list-style: none; }
.etm-marques__liste li { flex: 0 0 auto; height: 40px; display: flex; align-items: center; }
.etm-marques__logo { height: 28px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter var(--transition), opacity var(--transition); }
.etm-marques__liste li:hover .etm-marques__logo { filter: none; opacity: 1; }
.etm-marques__nom { font-family: var(--f-cond); font-size: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8A8D9C; }
@keyframes etm-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .etm-marques__piste { animation: none; } .etm-marques__fenetre { overflow-x: auto; } }

/* ---------------------------------------------------------- Articles */
.etm-bloc-articles__entete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.etm-bloc-articles__entete .etm-h2 { margin-top: 8px; }
.etm-lien-fort { flex: 0 0 auto; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.etm-grille-articles--bloc { margin-top: 22px; }
.etm-bloc-vide { padding: 16px; border: 1px dashed var(--sable-300); font-size: 14px; color: var(--muet); }

/* ---------------------------------------------------------- Bandeau d'appel */
.etm-appel { padding-block: 44px; background: var(--navy-900); color: var(--blanc); }
.etm-appel__grille { display: grid; gap: 18px; }
.etm-appel .etm-h2 { color: var(--blanc); }
.etm-appel__numero { display: inline-block; font-size: clamp(28px, 4vw, 40px); font-weight: 600; color: var(--blanc) !important; }
.etm-appel__autres { margin-top: 4px; font-size: 13px; color: #B9C1D6; }
.etm-appel__autres a { color: #B9C1D6 !important; }
.etm-appel .etm-bouton--whatsapp { margin-top: 18px; width: auto; border-color: rgba(255,255,255,.7); background: transparent; color: var(--blanc); }
.etm-appel .etm-bouton--whatsapp:hover { background: var(--blanc); color: var(--navy); }
.etm-appel .etm-bouton--whatsapp .etm-icone { color: var(--whatsapp); }
@media (min-width: 900px) {
	.etm-appel { padding-block: 64px; }
	.etm-appel__grille { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
	.etm-appel__contacts { justify-self: end; text-align: right; }
}

/* ---------------------------------------------------------- Listes (symptômes, étapes, coches, lignes) */
.etm-liste { margin: 22px 0 0; padding: 0; list-style: none; }
.etm-liste__element { display: flex; gap: 14px; align-items: flex-start; }
.etm-liste__texte { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.etm-liste__titre { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--encre); }
.etm-liste__detail { font-size: 14px; line-height: 1.5; color: var(--muet); }
.etm-clair .etm-liste__titre { color: var(--blanc); }
.etm-clair .etm-liste__detail { color: #B9C1D6; }
.etm-liste__repere { flex: 0 0 auto; }

/* numéros : cartes blanches empilées */
.etm-liste--numeros { display: grid; gap: 8px; }
.etm-liste--numeros .etm-liste__element { padding: 16px; background: var(--blanc); }
.etm-fond--blanc .etm-liste--numeros .etm-liste__element { background: var(--sable); }
.etm-liste--numeros .etm-liste__repere { font-size: 13px; font-weight: 600; color: var(--orange-texte); padding-top: 2px; }
.etm-liste--numeros .etm-liste__titre { font-weight: 500; }

/* étapes : ligne verticale reliant les numéros */
.etm-liste--etapes .etm-liste__element { position: relative; padding-bottom: 22px; }
.etm-liste--etapes .etm-liste__element:not(:last-child)::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--sable-300); }
.etm-liste--etapes .etm-liste__repere { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--blanc); font-size: 13px; font-weight: 600; }
.etm-liste--etapes .etm-liste__texte { padding-top: 10px; }
.etm-liste--etapes .etm-liste__titre { font-family: var(--f-cond); font-size: 19px; font-weight: 700; text-transform: uppercase; color: var(--navy); }
.etm-clair .etm-liste--etapes .etm-liste__repere { background: var(--orange-fond); }
.etm-clair .etm-liste--etapes .etm-liste__titre { color: var(--blanc); }

/* coches */
.etm-liste--coches { display: grid; gap: 14px; }
.etm-liste--coches .etm-liste__repere { margin-top: 2px; color: var(--vert); }
.etm-clair .etm-liste--coches .etm-liste__repere { color: var(--orange); }

/* lignes séparées */
.etm-liste--lignes { border-top: 1px solid var(--sable-200); }
.etm-liste--lignes .etm-liste__element { padding: 14px 0; border-bottom: 1px solid var(--sable-200); }
.etm-clair .etm-liste--lignes, .etm-clair .etm-liste--lignes .etm-liste__element { border-color: rgba(140,155,184,.35); }

@media (min-width: 900px) {
	.etm-liste--numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.etm-liste--coches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
	.etm-liste--etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.etm-liste--etapes .etm-liste__element { flex-direction: column; padding-bottom: 0; }
	.etm-liste--etapes .etm-liste__element:not(:last-child)::before { left: 44px; right: -20px; top: 22px; bottom: auto; width: auto; height: 1px; }
	.etm-liste--etapes .etm-liste__texte { padding-top: 0; }
}

/* ---------------------------------------------------------- FAQ */
.etm-faq { margin-top: 22px; border-top: 1px solid var(--sable-200); }
.etm-faq__element { border-bottom: 1px solid var(--sable-200); }
.etm-faq__question {
	min-height: 60px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--navy); cursor: pointer; list-style: none;
}
.etm-faq__question::-webkit-details-marker { display: none; }
.etm-faq__signe { position: relative; flex: 0 0 20px; width: 20px; height: 20px; }
.etm-faq__signe::before, .etm-faq__signe::after { content: ''; position: absolute; left: 3px; right: 3px; top: 9px; height: 2px; background: var(--orange); transition: transform var(--transition); }
.etm-faq__signe::after { transform: rotate(90deg); }
.etm-faq__element[open] .etm-faq__signe::after { transform: rotate(0); }
.etm-faq__reponse { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--texte-2); }
.etm-faq__reponse > * + * { margin-top: 10px; }
.etm-clair .etm-faq, .etm-clair .etm-faq__element { border-color: rgba(140,155,184,.35); }
.etm-clair .etm-faq__question { color: var(--blanc); }

/* ---------------------------------------------------------- Formulaires (rappel, sur commande) */
.etm-formulaire { scroll-margin-top: calc(var(--entete-h) + 16px); }
.etm-formulaire--rappel { padding: 26px 20px 22px; background: var(--blanc); border-top: 4px solid var(--orange); }
.etm-fond--blanc .etm-formulaire--rappel { background: var(--sable); }
.etm-formulaire .etm-h2 { font-size: clamp(24px, 3.4vw, 34px); color: var(--navy); }
.etm-formulaire__service { margin-top: 8px; font-size: 14px; color: var(--muet); }
.etm-formulaire__service strong { color: var(--encre); }
.etm-formulaire__form { display: grid; gap: 14px; margin-top: 18px; }
.etm-champ { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.etm-champ label { font-size: 14px; font-weight: 600; color: var(--encre); }
.etm-champ__facultatif { font-weight: 400; color: var(--muet); }
.etm-champ input, .etm-champ select, .etm-champ textarea {
	width: 100%; height: 50px; padding: 0 12px; border: 1px solid var(--sable-300); border-radius: 0; background: var(--blanc);
	font: inherit; font-size: 16px; color: var(--encre);
}
.etm-champ select { appearance: none; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23222752' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 40px; }
.etm-champ input:focus, .etm-champ select:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.etm-champ input:user-invalid, .etm-champ select:user-invalid { border-color: var(--orange-texte); }
.etm-formulaire__etape { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-texte); }
.etm-formulaire__photo {
	display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 16px; border: 1.5px dashed var(--sable-300); background: var(--sable-50); color: var(--navy); cursor: pointer;
}
.etm-formulaire__photo > span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.etm-formulaire__photo > span > span { font-size: 13px; color: var(--muet); }
.etm-formulaire__photo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.etm-formulaire__photo:focus-within { outline: 2px solid var(--navy); }
.etm-formulaire__form .etm-bouton { margin-top: 4px; min-height: 54px; }
.etm-formulaire__mention { font-size: 12px; line-height: 1.5; color: var(--muet); }
.etm-formulaire__whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.etm-formulaire__whatsapp .etm-icone { color: var(--whatsapp); }
.etm-formulaire__erreur { margin-top: 14px; padding: 12px 14px; background: #FBE7E2; color: var(--orange-texte); font-size: 14px; font-weight: 600; }
.etm-formulaire__succes { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 20px; background: #E6F2EB; color: var(--encre); }
.etm-formulaire__succes .etm-icone { color: var(--vert); }
.etm-formulaire__succes .etm-h3 { color: var(--vert); }
.etm-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) {
	.etm-formulaire--rappel { padding: 36px 36px 30px; }
	.etm-formulaire--rappel .etm-formulaire__form { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
	.etm-formulaire--rappel .etm-formulaire__form > .etm-bouton,
	.etm-formulaire--rappel .etm-formulaire__mention,
	.etm-formulaire--rappel .etm-formulaire__whatsapp { grid-column: 1 / -1; }
	.etm-formulaire--rappel .etm-formulaire__form > .etm-bouton { justify-self: start; width: auto; padding-inline: 40px; }
	.etm-formulaire--rappel .etm-formulaire__whatsapp { justify-content: flex-start; }
	.etm-formulaire--commande { max-width: 680px; }
}

/* ---------------------------------------------------------- Bannière cookies */
.etm-cookies {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1200;
	padding: 16px; background: var(--blanc); box-shadow: var(--ombre); border-top: 3px solid var(--navy);
	display: grid; gap: 12px; font-size: 13px; line-height: 1.5; color: var(--texte-2);
	animation: etm-monte .3s ease-out;
}
.etm-cookies a { text-decoration: underline; }
.etm-cookies__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.etm-cookies__boutons .etm-bouton { min-height: 46px; font-size: 14px; }
@media (min-width: 900px) {
	.etm-cookies { left: 24px; right: auto; bottom: 24px; max-width: 460px; }
}
/* La bulle WhatsApp laisse la place à la bannière. */
body:has(.etm-cookies:not([hidden])) .etm-whatsapp { opacity: 0; pointer-events: none; }

/* Bouton « lien souligné » : toujours à gauche, largeur du texte. */
.wp-block-buttons:has(> .is-style-etm-lien:only-child) { align-items: flex-start; }
.is-style-etm-lien, .is-style-etm-lien .wp-block-button__link { width: auto !important; }
.wp-block-button__link { text-align: left; }
.etm-fond--sable .etm-carte--sable { background: var(--blanc); }

/* Familles sur fond sable : tuiles blanches. */
.etm-fond--sable .etm-familles__tuile { background: var(--blanc); }
.etm-fond--sable .etm-familles__tuile:hover { background: var(--sable-50); }

/* Champ message. */
.etm-champ textarea { height: auto; min-height: 130px; padding: 12px; resize: vertical; line-height: 1.5; }
.etm-formulaire--contact { padding: 26px 20px 22px; background: var(--sable); border-top: 4px solid var(--orange); }
@media (min-width: 900px) { .etm-formulaire--contact { padding: 36px; } }

/* Coordonnées (page Contact). */
.etm-coordonnees__liste { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.etm-coordonnees__liste li { display: flex; gap: 14px; align-items: flex-start; }
.etm-coordonnees__liste .etm-icone { flex: 0 0 auto; margin-top: 2px; color: var(--orange-texte); }
.etm-coordonnees__liste span { display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
.etm-coordonnees__liste strong { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muet); font-weight: 600; }
.etm-coordonnees__liste a { font-size: 17px; color: var(--navy); }
.etm-coordonnees__liste a.etm-mono { font-size: 19px; font-weight: 600; }
.etm-coordonnees__boutons { display: grid; gap: 10px; margin-top: 24px; }
.etm-coordonnees__boutons .etm-bouton { margin: 0; width: 100%; }
.etm-coordonnees__boutons .etm-bouton--whatsapp .etm-icone { color: var(--whatsapp); }
@media (min-width: 600px) { .etm-coordonnees__boutons { grid-template-columns: 1fr 1fr; } }

/* Mentions légales et textes longs dans une section. */
.etm-mentions h2 { font-size: 22px; }
.etm-mentions ul { list-style: none; padding: 0; }
.etm-bloc-section .etm-conteneur--etroit h2.wp-block-heading:not(.is-style-etm-titre) { font-family: var(--f-cond); font-size: 22px; margin-top: 32px; }

/* Champs obligatoires signalés par * */
.etm-champ:has(:required) > label::after { content: ' *'; color: var(--orange-texte); font-weight: 700; }
.etm-formulaire__obligatoire { font-size: 12px; color: var(--muet); }
.etm-formulaire__obligatoire { grid-column: 1 / -1; }
.etm-slide__media picture, .etm-bandeau__media picture { display: contents; }
