/* Webcoyote — styles du thème (direction « Épuré », palette v2) */

@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
}

:root {
	--fond: #FFFFFF;
	--surface: #F2F3EF;
	--ligne: #CDD2CA;
	--encre: #10233F;
	--doux: #4A5A70;
	--orange: #F2601D;
	--orange-fonce: #C2410C;
	--peche: #FFE8DC;
	--todo: #C2410C;
	--tete: #10233F;
	--focus: #10233F;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
	font-family: "Schibsted Grotesk", system-ui, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	background: var(--fond);
	color: var(--encre);
}
svg { display: block; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Ancres (#offres, #estimation, #formulaire…) et focus clavier : jamais cachés sous l'en-tête fixe (72 px) */
html { scroll-padding-top: 80px; }

h1, h2, h3 { line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 6.8vw, 5.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; letter-spacing: -0.035em; max-width: 20ch; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
p { max-width: 62ch; }
.insecable { white-space: nowrap; }
.conteneur { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Ce qui reste à fournir : bien visible tant que ce n'est pas complété */
.todo { display: inline-block; padding: 0.05em 0.4em; border: 1.5px dashed currentColor; border-radius: 4px; color: var(--todo); font-size: 0.85em; font-weight: 600; line-height: 1.45; }

/* Accessibilité */
.lien-evitement { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--encre); color: #fff; border-radius: 6px; font-weight: 700; }
.lien-evitement:focus { top: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Boutons */
.bouton {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 24px;
	border: 2px solid transparent; border-radius: 6px;
	font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer;
}
.bouton-plein { background: var(--orange); color: var(--encre); }
.bouton-plein:hover { background: #FF7A3D; }
.bouton-contour { background: transparent; color: var(--encre); border-color: currentColor; }
.bouton-contour:hover { background: var(--encre); color: #fff; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 10; background: var(--fond); }
.admin-bar .entete { top: 32px; }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }

/* Le nom : « web » fin, « c●yote » gras, l'icône sert de « o » */
.logo { display: inline-block; padding-block: 11px; margin-block: -11px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; text-decoration: none; } /* zone cliquable de 44 px, sans changer la mise en page */
.logo .leger { font-weight: 500; letter-spacing: -0.03em; }
.logo svg { display: inline-block; width: 0.7em; height: 0.7em; margin: 0 0.03em 0 0.02em; vertical-align: baseline; }
.logo-lettre { margin: 0 0.04em 0 -0.62em; color: transparent; pointer-events: none; user-select: none; } /* vraie lettre « o », invisible, pour les lecteurs d’écran */

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.bouton) { font-size: 0.98rem; font-weight: 500; text-decoration: none; }
.nav a:not(.bouton):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-bouton { display: none; }

/* Haut de page : le texte, puis le coyote (photo animée par assets/js/coyote.js).
   Le dégradé reprend les couleurs du fond de la photo pour qu'elle se fonde dans la page. */
:root { --hero-fond: linear-gradient(90deg, #FFE3D4, #FFEAE0 15%, #FEEDDF 30%, #FFE6DB 45%, #F9E4DA 60%, #F5DED5 75%, #E2CCC5 90%, #E5D2C9); }
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--hero-fond); }
.home .entete:not(.entete-defile) { background: var(--hero-fond); }
.hero-contenu { padding-top: clamp(40px, 7vw, 72px); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero-scene {
	position: relative; aspect-ratio: 16 / 10; margin-top: clamp(16px, 4vw, 32px);
	-webkit-mask-image: linear-gradient(transparent, #000 8%); mask-image: linear-gradient(transparent, #000 8%);
}
.hero-scene img, .coyote-toile { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.coyote-toile { opacity: 0; transition: opacity 0.8s ease; }
.toile-prete .coyote-toile { opacity: 1; }
/* Vidéo d'entrée en scène. Elle a été créée à partir de la photo (étirée au format 16:9) : on lui redonne
   exactement les proportions et le cadrage de la photo, pour que sa dernière image tombe pile dessus.
   Pendant la vidéo, la photo est cachée ; à la fin, elle réapparaît d'un coup sous la vidéo, qui s'efface en fondu. */
.hero-scene { overflow: hidden; }
.coyote-video { position: absolute; top: 0; right: 0; z-index: 1; display: block; width: auto; height: 100%; aspect-ratio: 2752 / 1536; object-fit: fill; opacity: 0; transition: opacity 0.8s ease; }
.coyote-video.lecture { opacity: 1; }
.hero-scene.video-en-cours img, .hero-scene.video-en-cours .coyote-toile { opacity: 0; transition: none; }
@media (max-width: 599px) {
	.hero-scene { aspect-ratio: 1; }
	.hero-scene img { object-position: 60% 50%; }
	.coyote-video { right: auto; left: 60%; transform: translateX(-60%); aspect-ratio: 1596 / 1536; } /* comme la photo téléphone */
}
/* Téléphone et tablette : la photo apparaît en fondu dès qu'elle est chargée, au lieu de surgir d'un coup
   (le fond pêche de la scène est celui de la photo). Sans JavaScript, elle s'affiche normalement */
@media (max-width: 899px) {
	.js .hero-scene img { opacity: 0; transition: opacity 0.5s ease; }
	.js .hero-scene img.chargee { opacity: 1; }
}
/* Petits téléphones (iPhone SE…) : photo moins haute, recadrée sur les côtés (du fond seulement),
   pour que le titre apparaisse dès l'arrivée */
@media (max-width: 599px) and (max-height: 760px) {
	.hero-scene { aspect-ratio: auto; height: 46svh; }
	.hero-scene img { object-position: 60% 80%; } /* les pattes restent dans le cadre */
}
/* Ordinateur : le coyote occupe toute la hauteur à droite, le texte reste sur le fond crème */
@media (min-width: 1200px) {
	.hero { display: flex; align-items: center; min-height: min(55.8vw, calc(100svh - 72px), 980px); }
	.hero-contenu { padding-block: clamp(48px, 5vw, 80px); }
	.hero-texte { max-width: min(600px, 47vw); }
	.hero h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
	.hero-scene {
		position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; max-width: 100%; margin: 0; aspect-ratio: 2752 / 1536;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%), linear-gradient(transparent, #000 6%);
		-webkit-mask-composite: source-in;
		mask-image: linear-gradient(90deg, transparent, #000 14%), linear-gradient(transparent, #000 6%);
		mask-composite: intersect;
	}
}
.chapo { margin-top: 24px; max-width: 46ch; font-size: 1.1875rem; color: var(--doux); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Le coyote en particules (assets/js/particules.js) ; l'icône fixe sert de repli */
.scene-particules { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 0 34px auto; touch-action: pan-y; }
.scene-particules canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.particules-repli { position: absolute; inset: 12%; width: 76%; height: 76%; }
.particules-actives .particules-repli { display: none; }
.particules-legende { position: absolute; left: 0; right: 0; bottom: -34px; max-width: none; text-align: center; font-size: 1rem; font-weight: 700; color: var(--orange-fonce); opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.particules-legende.visible { opacity: 1; transform: none; }
/* Démonstration « Effet couleur » : le coyote photo (assets/js/coyote.js) */
.demo-coyote { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 6px; background: var(--peche); touch-action: pan-y; cursor: crosshair; }
.demo-coyote img, .demo-coyote .coyote-toile { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

/* Engagements */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-surface { background: var(--surface); }
.engagements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(56px, 8vw, 104px); }
.engagements h3 { max-width: 20ch; font-size: 1.25rem; font-weight: 800; letter-spacing: 0; line-height: 1.05; } /* aspect inchangé (anciens titres de niveau 2) */
.engagements h3::before { content: ""; display: block; width: 32px; height: 5px; margin-bottom: 18px; background: var(--orange); }
.engagements p { margin-top: 8px; font-size: 1rem; color: var(--doux); }

/* Offres : tableau de tarifs, façon boutique */
.intro p { margin-top: 12px; color: var(--doux); }
.tarifs { list-style: none; padding: 0; margin-top: 48px; border-top: 3px solid var(--encre); }
.tarif {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(180px, auto);
	gap: 32px;
	align-items: start;
	padding: 32px 0;
	border-bottom: 1.5px solid var(--ligne);
}
.tarif .desc { margin-top: 8px; font-size: 1rem; color: var(--doux); }
.inclus { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 1rem; }
.inclus li { display: flex; align-items: center; gap: 8px; }
.inclus li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--orange); }
.prix { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-align: right; white-space: nowrap; }
.prix small { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--doux); }
.prix .mois { font-size: 0.5em; letter-spacing: 0; }
.prix .plus { display: block; margin-top: 8px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--doux); white-space: normal; }
.note-tva { margin-top: 20px; font-size: 0.95rem; }

/* Méthode */
.etapes { list-style: none; padding: 0; margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.num { display: block; margin-bottom: 16px; font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--orange); }
.etapes p { margin-top: 8px; font-size: 1rem; color: var(--doux); }

/* Réalisation : la capture en grand */
.realisation-tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.realisation-tete h3 { font-size: 1.6rem; }
.realisation-tete p { margin: 10px 0 20px; color: var(--doux); }
.navigateur { margin-top: 40px; border: 1.5px solid var(--ligne); border-radius: 8px; overflow: hidden; }
.barre { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1.5px solid var(--ligne); font-size: 0.875rem; color: var(--doux); }
.barre i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: 0.45; }
.barre span { margin-left: 8px; }
/* Réalisation : capture ordinateur dans un navigateur, capture téléphone qui déborde en bas à droite */
.realisation-visuel { position: relative; margin-top: 40px; padding: 0 clamp(40px, 9vw, 120px) clamp(32px, 5vw, 64px) 0; }
.realisation-visuel .navigateur { margin-top: 0; background: var(--fond); box-shadow: 0 40px 80px -50px rgba(16, 35, 63, 0.5); }
.navigateur img { display: block; width: 100%; height: auto; }
.telephone { position: absolute; right: 0; bottom: 0; width: clamp(92px, 20%, 230px); padding: 6px; border-radius: 24px; background: var(--encre); box-shadow: 0 30px 60px -24px rgba(16, 35, 63, 0.6); }
.telephone img { display: block; width: 100%; height: auto; border-radius: 18px; }
/* Réalisation : résultats mesurés (jauges circulaires façon Lighthouse, aux couleurs du site) */
.realisation-scores { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border-radius: 12px; background: var(--peche); }
.realisation-scores h4 { font-size: 1.25rem; }
.scores { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.scores li { display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; font-weight: 600; }
.score { display: grid; place-items: center; width: 88px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--encre) calc(var(--valeur) * 1%), rgba(16, 35, 63, 0.12) 0); }
.score strong { display: grid; place-items: center; width: calc(100% - 14px); aspect-ratio: 1; border-radius: 50%; background: var(--peche); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.scores-note { margin-top: 20px; max-width: none; font-size: 0.9rem; }
@media (max-width: 599px) {
	.scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Réalisation : ce que comprend le site, puis trois autres pages sur téléphone */
.realisation-details { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.realisation-faits h4 { font-size: 1.25rem; }
.realisation-faits .inclus { flex-direction: column; gap: 12px; margin-top: 18px; }
.realisation-faits .inclus li { align-items: flex-start; }
.realisation-faits .inclus li::before { margin-top: 0.6em; }
.realisation-pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.realisation-page { margin: 0; }
.mini-telephone { padding: 5px; border-radius: 22px; background: var(--encre); box-shadow: 0 24px 48px -24px rgba(16, 35, 63, 0.55); }
.mini-telephone img { display: block; width: 100%; height: auto; border-radius: 17px; }
.realisation-page figcaption { margin-top: 12px; font-size: 0.95rem; font-weight: 600; text-align: center; }
@media (max-width: 900px) {
	.realisation-details { grid-template-columns: minmax(0, 1fr); }
}
/* Téléphone : les trois pages défilent de côté, au doigt */
@media (max-width: 599px) {
	.realisation-pages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: -20px; padding: 4px 20px 20px; } /* d'un bord à l'autre de l'écran */
	.realisation-page { flex: 0 0 58%; scroll-snap-align: center; }
}

/* Qui suis-je */
.apropos { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fiche { padding: 28px; border: 1.5px solid var(--ligne); border-radius: 8px; }
.fiche-icone { width: 64px; height: 64px; }
.fiche ul { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 18px; }
.fiche li { display: grid; gap: 2px; padding-top: 16px; border-top: 1.5px solid var(--ligne); }
.fiche strong { font-size: 1.05rem; }
.fiche span { font-size: 0.95rem; color: var(--doux); }
.apropos p { margin-top: 16px; }
.apropos-sous-titre { margin-top: 28px; font-size: 1.25rem; }
.apropos-liste { flex-direction: column; gap: 10px; margin-top: 12px; }
.apropos-liste li { align-items: flex-start; }
.apropos-liste li::before { margin-top: 0.6em; }
.encadre { margin-top: 32px; padding: 24px 28px; background: var(--peche); border-radius: 8px; }
.encadre h3 { font-size: 1.5rem; letter-spacing: -0.02em; }
.encadre p { margin-top: 8px; }

/* Contact */
.section-encre { background: var(--encre); color: #fff; --focus: #FFB08A; --todo: #FFB08A; }
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-intro p { margin-top: 12px; color: #B9C4D4; }
.contact-infos { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 8px; font-size: 1rem; }
.formulaire { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.champ { display: grid; gap: 6px; }
.large { grid-column: 1 / -1; }
.champ label { font-size: 0.95rem; font-weight: 600; }
.champ label span { font-weight: 400; color: #B9C4D4; }
.champ input, .champ select, .champ textarea {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1.5px solid #34507A; border-radius: 6px;
	background: #18304F; color: #fff; font: inherit; font-size: 1rem;
}
.champ textarea { resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 3px solid #FFB08A; outline-offset: 1px; }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rgpd { font-size: 0.875rem; color: #B9C4D4; }
.formulaire .bouton { justify-self: start; }
.message-envoi { grid-column: 1 / -1; padding: 14px 16px; border-radius: 6px; font-weight: 600; max-width: none; }
.message-ok { background: #D9F2E3; color: #0B3D2A; }
.message-erreur { background: var(--peche); color: #7A2A07; }
/* Champ à corriger après un envoi incomplet : bordure et message sous le champ */
.champ [aria-invalid="true"] { border: 2px solid #FFB08A; }
.champ-erreur { font-size: 0.9rem; font-weight: 600; color: #FFB08A; }

/* Pages (mentions légales, confidentialité, CGV…) */
.page-texte { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.page-texte .conteneur { max-width: 760px; }
.page-texte h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.contenu { margin-top: 32px; }
.contenu > * + * { margin-top: 16px; }
.contenu h2 { margin-top: 40px; font-size: 1.5rem; letter-spacing: -0.02em; }
.contenu h3 { margin-top: 28px; }
.contenu ul, .contenu ol { padding-left: 1.3em; }
.contenu li + li { margin-top: 6px; }
.contenu a { color: var(--orange-fonce); text-underline-offset: 3px; }

/* Pied de page */
.pied { padding: 28px 0 36px; background: var(--encre); color: #B9C4D4; border-top: 1px solid #34507A; font-size: 0.9rem; --todo: #FFB08A; --focus: #FFB08A; }
.pied .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.pied .logo { --tete: #FFFFFF; color: #fff; font-size: 1.35rem; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 899px) {
	/* Liens du pied de page : 44 px de haut, faciles à toucher du doigt */
	.pied nav { align-items: center; row-gap: 0; }
	.pied nav a { display: inline-block; padding-block: 11px; }
}
.pied-legal { width: 100%; max-width: none; }

/* ————— Animations : la classe « anim » est posée par le thème seulement si elles sont autorisées ————— */
/* Haut de page : l'entrée animée est réservée à l'ordinateur. Sur téléphone et tablette,
   le texte et le coyote s'affichent tout de suite (pas d'attente du JavaScript sur une connexion mobile) */
@media (min-width: 900px) {
	.anim .hero h1 { visibility: hidden; }
	.anim .hero .chapo, .anim .hero .actions { opacity: 0; }
	.anim .rassurance li { visibility: hidden; }
	.anim .hero-scene { visibility: hidden; }
}
/* Blocs qui apparaissent au défilement : seulement transparents (pas « visibility: hidden »),
   pour rester atteignables au clavier et lus par les lecteurs d'écran avant leur apparition */
.anim [data-reveal] { opacity: 0; }

/* En-tête : se cache en descendant, revient en remontant */
.entete { transition: transform 0.35s ease, box-shadow 0.3s ease; }
.entete-defile { box-shadow: 0 1px 0 var(--ligne); }
.entete-cachee { transform: translateY(-100%); }

/* Bandeau défilant */
.bandeau { overflow: hidden; padding: 20px 0; background: var(--encre); color: #fff; }
.bandeau-piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.bandeau:hover .bandeau-piste { animation-play-state: paused; }
.bandeau ul { display: flex; list-style: none; padding: 0; }
.bandeau li { display: flex; align-items: center; gap: 32px; padding-right: 32px; font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.bandeau li::after { content: ""; width: 1.3em; height: 1.3em; background: url("../img/favicon.svg") center / contain no-repeat; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Engagements : les barres orange se dessinent à l'apparition */
.engagements { padding-top: clamp(56px, 8vw, 104px); }
.anim .engagements h3::before { transform: scaleX(0); transform-origin: left; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s; }
.anim .engagements .vu h3::before { transform: scaleX(1); }

/* Tarifs : la ligne s'éclaire au survol */
.tarifs { isolation: isolate; }
.tarif { position: relative; }
.tarif::before { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background: var(--fond); border-radius: 8px; opacity: 0; transform: scaleY(0.85); transition: opacity 0.3s ease, transform 0.3s ease; }
.tarif:hover::before { opacity: 1; transform: none; }
.compteur { font-variant-numeric: tabular-nums; }

/* Méthode : ligne de progression */
.etapes-cadre { position: relative; }
.etapes-ligne { position: absolute; top: calc(48px + 1.7rem); left: 0; right: 0; height: 3px; background: var(--ligne); }
.etapes-ligne span { display: block; height: 100%; background: var(--orange); transform-origin: left; }
.etapes .num { position: relative; z-index: 1; display: inline-block; padding-right: 14px; background: var(--fond); }

/* Démonstrations de la section « Animations » */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.demo { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--fond); border: 1.5px solid var(--ligne); border-radius: 8px; }
.demo h3 { font-size: 1.15rem; }
.demo p { font-size: 1rem; color: var(--doux); }
.demo .demo-note { font-size: 0.85rem; font-weight: 600; color: var(--orange-fonce); }
.demo-scene { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 10px; overflow: hidden; background: var(--surface); border-radius: 6px; }
.demo-rejouer { display: none; align-self: flex-start; margin-top: auto; padding: 8px 14px; border: 1.5px solid var(--encre); border-radius: 6px; background: transparent; color: var(--encre); font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.demo-rejouer:hover { background: var(--encre); color: #fff; }
.anim .demo-rejouer { display: inline-flex; }

[data-demo="apparition"] .demo-scene { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px; }
[data-demo="apparition"] .demo-scene span { display: block; height: 18px; border-radius: 4px; background: var(--encre); }
[data-demo="apparition"] .demo-scene span:nth-child(2) { width: 75%; background: var(--orange); }
[data-demo="apparition"] .demo-scene span:nth-child(3) { width: 50%; }

.demo-nombre { display: block; font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
[data-demo="compteur"] small { display: block; margin-top: 6px; text-align: center; font-size: 0.85rem; color: var(--doux); }

.demo-phrase { max-width: 12ch; font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-align: center; color: var(--encre); }
.demo .demo-phrase { color: var(--encre); font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

.demo-bouton { display: inline-flex; padding: 14px 22px; border-radius: 999px; background: var(--orange); color: var(--encre); font-weight: 700; }

.demo-carte { display: grid; place-items: center; align-content: center; gap: 10px; width: 52%; aspect-ratio: 3 / 4; background: var(--fond); border: 1.5px solid var(--ligne); border-radius: 10px; box-shadow: 0 18px 40px -22px rgba(16, 35, 63, 0.45); font-weight: 700; font-size: 0.95rem; }
.demo-carte svg { width: 48%; --tete: var(--encre); }

.couche { position: absolute; display: block; }
.couche-1 { left: -10%; right: -10%; bottom: -18%; height: 55%; background: #E1E5DD; border-radius: 50% 50% 0 0; }
.couche-2 { left: 8%; right: 34%; bottom: -12%; height: 46%; background: #CDD3C8; border-radius: 50% 50% 0 0; }
.couche-3 { left: 34%; top: 14%; width: 32%; height: auto; --tete: var(--encre); }

/* ————— Vente : réassurance, avantages, appel à l'action, FAQ ————— */
:root { interpolate-size: allow-keywords; }




.rassurance { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 1rem; color: var(--doux); }
.rassurance li { display: flex; align-items: center; gap: 8px; }
.rassurance li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%2310233F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Avantages : 4 colonnes avec pictogramme (remplace la barre orange) */
.engagements { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.engagements h3::before, .anim .engagements h3::before { display: none; }
.picto { width: 52px; height: 52px; margin-bottom: 18px; padding: 12px; border-radius: 50%; background: var(--peche); fill: none; stroke: var(--encre); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.anim .engagements .picto { opacity: 0; transform: scale(0.5) rotate(-12deg); transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s, opacity 0.4s ease 0.15s; }
.anim .engagements .vu .picto { opacity: 1; transform: none; }

/* Bandeau d'appel à l'action */
.appel { padding: clamp(40px, 6vw, 64px) 0; background: var(--orange); color: var(--encre); }
.appel-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.appel h2 { max-width: none; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.appel p { margin-top: 8px; font-size: 1.1rem; font-weight: 500; }
.bouton-encre { background: var(--encre); color: #fff; }
.bouton-encre:hover { background: #1E3657; }

/* FAQ dépliante */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-tete { position: sticky; top: 100px; }
.faq-tete p { margin-top: 12px; color: var(--doux); }
.faq-tete a { color: var(--orange-fonce); text-underline-offset: 3px; }
.faq-liste { border-top: 3px solid var(--encre); }
.faq details { border-bottom: 1.5px solid var(--ligne); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 1.15rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-fonce); }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='%2310233F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.3s ease, background-color 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--orange); }
.faq details p { padding-bottom: 22px; color: var(--doux); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Offres en deux familles, avec un lien de devis par offre */
.famille + .famille { margin-top: 32px; }
.famille-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-top: 48px; padding-bottom: 16px; }
.famille-tete h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; }
.famille-tete p { color: var(--doux); }
.famille .tarifs { margin-top: 0; }
.tarif h4 { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.prix-col { display: grid; justify-items: end; gap: 14px; }
/* Colonne des prix de largeur fixe : toutes les lignes restent alignées */
.tarif { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 210px; }
.prix .plus { max-width: 24ch; margin-left: auto; }
.lien-devis { font-size: 0.95rem; font-weight: 700; color: var(--orange-fonce); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lien-devis:hover { color: var(--encre); }
.inclus-tous { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding: 20px 24px; background: var(--peche); border-radius: 8px; }
.inclus-tous ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.inclus-tous li { display: flex; align-items: center; gap: 8px; }
.inclus-tous li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%2310233F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Grand logo du pied de page */
.pied { overflow: hidden; }
.pied-geant { --tete: #24406A; padding: clamp(24px, 4vw, 48px) 0 clamp(16px, 2vw, 24px); font-size: clamp(3.6rem, 19vw, 17rem); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; color: #1E3657; text-align: center; white-space: nowrap; }
.pied-geant .leger { font-weight: 500; }
.pied-geant svg { display: inline-block; width: 0.7em; height: 0.7em; margin: 0 0.02em; vertical-align: baseline; }

/* Tablette et téléphone */
@media (max-width: 900px) {
	.menu-bouton {
		display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
		border: 2px solid currentColor; border-radius: 6px; background: transparent;
		color: var(--encre); font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
	}
	.nav {
		display: none; position: absolute; top: 72px; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px 20px 20px; background: var(--fond); border-bottom: 1.5px solid var(--ligne);
	}
	.nav.ouvert { display: flex; }
	.nav a:not(.bouton) { padding: 12px 0; }
	.nav .bouton { margin-top: 12px; }
	/* Sans JavaScript (classe « js » absente) : pas de bouton Menu, les liens restent affichés sous le logo */
	html:not(.js) .entete { position: relative; }
	html:not(.js) .entete-ligne { flex-wrap: wrap; height: auto; padding-block: 12px; row-gap: 4px; }
	html:not(.js) .menu-bouton { display: none; }
	html:not(.js) .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 18px; width: 100%; padding: 0; border: 0; background: none; }
	html:not(.js) .nav a:not(.bouton) { padding: 11px 0; }
	html:not(.js) .nav .bouton { margin: 8px 0 4px; }
	.realisation-tete, .apropos, .contact { grid-template-columns: minmax(0, 1fr); }
	.scene-particules { max-width: 340px; margin: 8px auto 34px; }
	.engagements { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tarif { grid-template-columns: minmax(0, 1fr) auto; }
	.inclus { grid-column: 1 / -1; grid-row: 2; }
	.realisation-tete { gap: 0; }
	.apropos .fiche { order: 2; }
}
@media (max-width: 782px) {
	.admin-bar .entete { top: 46px; }
}
@media (max-width: 600px) {
	.etapes, .formulaire { grid-template-columns: minmax(0, 1fr); }
	.tarif { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.inclus { grid-row: auto; }
	.prix { text-align: left; }
}
@media (min-width: 901px) {
	.anim .etapes .num { color: transparent; -webkit-text-stroke: 2px var(--orange); transition: color 0.4s ease; }
	.anim .etapes li.atteint .num { color: var(--orange); }
}
/* Écrans tactiles : les démonstrations qui se jouent à la souris sont retirées (impossibles au doigt) */
@media (hover: none) {
	[data-demo="aimant"], [data-demo="relief"], [data-demo="parallaxe"] { display: none; }
}
@media (max-width: 900px) {
	.tarif { grid-template-columns: minmax(0, 1fr) auto; }
	.demos, .engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.etapes-ligne { display: none; }
	.faq { grid-template-columns: minmax(0, 1fr); }
	.faq-tete { position: static; }
}
@media (max-width: 600px) {
	.demos, .engagements { grid-template-columns: minmax(0, 1fr); }
	.tarif { grid-template-columns: minmax(0, 1fr); }
	.prix-col { justify-items: start; }
	.prix .plus { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bandeau-piste { animation: none; }
	.entete { transition: none; }
	.faq details::details-content { transition: none; }
}

/* ————— Boutons flottants (accueil) : pause des animations et, sur téléphone, « Demander un devis » ————— */
.actions-flottantes { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.actions-flottantes > * { pointer-events: auto; }
.bouton-pause { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--encre); color: #fff; box-shadow: 0 6px 18px -6px rgba(16, 35, 63, 0.55); cursor: pointer; transition: transform 0.2s ease; }
.bouton-pause:hover { transform: scale(1.06); }
.bouton-pause:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.bouton-pause svg { width: 18px; height: 18px; fill: currentColor; }
.bouton-pause .icone-lecture, .bouton-pause[aria-pressed="true"] .icone-pause { display: none; }
.bouton-pause[aria-pressed="true"] .icone-lecture { display: block; }
.devis-flottant { display: none; }
.animations-en-pause .bandeau-piste { animation-play-state: paused; }
@media (max-width: 899px) {
	.devis-flottant { display: inline-flex; flex: 1; justify-content: center; box-shadow: 0 8px 22px -8px rgba(16, 35, 63, 0.5); opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
	.devis-flottant.visible { opacity: 1; transform: none; visibility: visible; }
	html { scroll-padding-bottom: 88px; } /* le focus clavier ne passe pas sous le bouton Devis flottant */
	.devis-flottant { padding-inline: 12px; white-space: nowrap; }
}
@media (max-width: 359px) {
	.devis-flottant { font-size: 0.9rem; } /* tient sur une ligne à côté du bouton pause */
}
@media (prefers-reduced-motion: reduce) {
	.bouton-pause { display: none; } /* rien ne bouge déjà : bouton inutile */
	.devis-flottant { transition: none; }
}

/* Téléphone : le coyote passe en haut, juste sous l'en-tête, visible dès l'arrivée */
@media (max-width: 599px) {
	.hero { display: flex; flex-direction: column; }
	.hero-scene { order: -1; margin-top: 0; }
	.hero-contenu { padding-top: 12px; padding-bottom: 36px; }
	/* Titre un peu plus petit : complet dès l'arrivée, même sur un petit écran, avec le début du texte.
	   Le coyote garde sa taille : la vidéo d'entrée est calée sur la photo carrée */
	.hero h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); }
	.hero .chapo { margin-top: 16px; }
}


/* ————— Section « Animations » : galerie sur fond bleu encre, chaque démo présentée dans un écran de site ————— */
.section-sombre { background: var(--encre); color: #fff; }
.section-sombre .intro h2 { color: #fff; }
.section-sombre .intro p { color: rgba(255, 255, 255, 0.72); }
.surtitre { margin-bottom: 10px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.vitrine-partie { margin-top: clamp(48px, 7vw, 88px); }
.vitrine-partie-titre { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; color: #fff; }
.vitrine-partie-titre span { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; color: var(--orange); }
.vitrines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) 28px; }
.demo.vitrine { gap: 18px; padding: 0; background: none; border: 0; border-radius: 0; }
.vitrine-large { grid-column: 1 / -1; }
.vitrine-ecran { position: relative; overflow: hidden; border-radius: 12px; background: #fff; container-type: inline-size; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.vitrine-barre { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #EEF0EA; }
.vitrine-barre i { width: 10px; height: 10px; border-radius: 50%; background: #D4D7CF; }
.vitrine-barre span { margin-left: 10px; padding: 3px 14px; border-radius: 999px; background: #fff; font-size: 0.72rem; color: var(--doux); }
.vitrine-legende { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 24px; }
.vitrine-legende .etiquette { grid-column: 1 / -1; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.vitrine-legende h4 { font-size: 1.3rem; letter-spacing: -0.02em; color: #fff; }
.vitrine-legende p { grid-column: 1; max-width: 62ch; font-size: 0.98rem; color: rgba(255, 255, 255, 0.72); }
.vitrine-legende .demo-rejouer { grid-column: 2; grid-row: 2 / span 2; align-self: center; margin: 0; }
.section-sombre .demo-rejouer { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.section-sombre .demo-rejouer:hover { background: #fff; color: var(--encre); }
/* Les petits détails : cartes sombres, scènes claires */
.section-sombre .details .demo { background: #172C4B; border-color: rgba(255, 255, 255, 0.08); }
.section-sombre .details .demo h4 { font-size: 1.1rem; color: #fff; }
.section-sombre .details .demo p { color: rgba(255, 255, 255, 0.7); }
.section-sombre .demo .demo-note { color: #FF9A66; }
.details { margin-top: 0; }
/* Effet couleur et particules : écran carré */
.vitrine .demo-coyote { max-width: none; border-radius: 0; }
.vitrine .scene-particules { max-width: none; margin: 0; background: radial-gradient(circle at 50% 45%, #fff, var(--surface)); }
.vitrine .particules-repli { inset: 18%; width: 64%; height: 64%; }
.vitrine .particules-legende { bottom: 18px; font-size: 1rem; color: var(--orange-fonce); }

/* « Produit en vedette » : le haut de page d'une boutique fictive (titre géant, profondeur de champ) */
.vedette { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 50% 58%, #FFEDE3 0%, #F9D9C6 55%, #EFC2A6 100%); color: #3A1A0B; }
.vedette-menu { position: absolute; top: 0; left: 0; right: 0; z-index: 6; display: flex; align-items: center; gap: 3.2cqw; padding: 2.4cqw 4cqw; font-size: max(9px, 1.2cqw); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.vedette-menu strong { margin-right: auto; font-size: max(13px, 1.9cqw); font-weight: 800; letter-spacing: -0.02em; text-transform: none; }
.vedette-panier { padding: 0.5em 1.1em; border: 1px solid currentColor; border-radius: 99px; }
.vedette-titre { position: absolute; left: 0; right: 0; top: 17%; z-index: 1; text-align: center; font-size: 26cqw; font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; color: #C2410C; }
.vedette-calque { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: 2; }
.vedette-calque.loin .vedette-element { opacity: 0.8; filter: blur(1.4px) saturate(0.85); }
.vedette-calque.net .vedette-element { filter: drop-shadow(0 1.2cqw 1.2cqw rgba(120, 50, 20, 0.22)); }
.vedette-calque.pres { z-index: 4; }
.vedette-calque.pres .vedette-element { filter: blur(6px); }
.vedette-calque-flacon { left: 41.7%; top: auto; bottom: 4%; width: 16.6%; z-index: 3; }
.vedette-flacon { filter: drop-shadow(0 2.4cqw 2cqw rgba(110, 45, 15, 0.35)); }
.vedette-flotte { display: block; animation: flotter var(--duree, 6s) ease-in-out var(--decalage, 0s) infinite; }
.vedette-calque-flacon .vedette-flotte { animation-name: flotter-flacon; animation-duration: 7s; }
.vedette-element, .vedette-flacon { display: block; width: 100%; height: auto; }
.vedette-fiche { position: absolute; left: 4cqw; bottom: 4.5cqw; z-index: 5; display: grid; gap: 0.5cqw; justify-items: start; }
.vedette-fiche small { font-size: max(8px, 1.1cqw); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.vedette-fiche strong { font-size: max(14px, 2.6cqw); letter-spacing: -0.02em; line-height: 1.1; }
.vedette-prix { font-size: max(11px, 1.7cqw); font-weight: 700; }
.vedette-bouton { margin-top: 0.8cqw; padding: 0.8em 1.8em; border-radius: 99px; background: #3A1A0B; color: #FFEDE3; font-size: max(9px, 1.15cqw); font-weight: 700; }
.vedette-pages { position: absolute; right: 4cqw; bottom: 5cqw; z-index: 5; display: flex; align-items: center; gap: 1cqw; font-size: max(9px, 1.15cqw); font-weight: 700; }
.vedette-pages i { width: 6cqw; height: 1px; background: currentColor; opacity: 0.5; }
@keyframes flotter { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9%) rotate(6deg); } }
@keyframes flotter-flacon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2%); } }
.animations-en-pause .vedette-flotte { animation-play-state: paused; }
/* Écran étroit (téléphone) : la boutique passe en format portrait */
@container (max-width: 560px) {
	.vedette { aspect-ratio: 4 / 5; }
	.vedette-menu { gap: 4cqw; padding: 4cqw 5cqw; }
	.vedette-menu span:not(.vedette-panier) { display: none; }
	.vedette-titre { top: 21%; font-size: 30cqw; }
	.vedette-calque-flacon { left: 35%; bottom: 22%; width: 30%; }
	.vedette-fiche { left: 5cqw; bottom: 5cqw; gap: 1cqw; }
	.vedette-pages { display: none; }
	.vedette-calque.pres .vedette-element { filter: blur(4px); }
}

/* « Changer de couleur » : la fiche produit d'une boutique fictive, vase recoloré en WebGL (assets/js/variantes.js) */
.fiche-produit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; background: #FAFAF8; color: var(--encre); }
.variantes-scene { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: #E6E7E2; }
.variantes-scene img, .variantes-toile { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.variantes-toile { opacity: 0; transition: opacity 0.5s ease; }
.toile-prete .variantes-toile { opacity: 1; }
.fiche-infos { display: grid; gap: 10px; justify-items: start; padding: clamp(24px, 5cqw, 64px); }
.fiche-infos .fiche-fil { font-size: 0.8rem; color: var(--doux); }
.fiche-infos .fiche-nom { font-size: clamp(1.6rem, 4.4cqw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--encre); }
.fiche-infos .fiche-desc { color: var(--doux); }
.fiche-infos .fiche-prix { font-size: 1.4rem; font-weight: 700; color: var(--encre); }
.fiche-infos .fiche-couleur { margin-top: 10px; font-size: 0.92rem; color: var(--encre); }
.fiche-couleur span { font-weight: 700; }
.variantes-choix { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 0; }
.pastille { width: 44px; height: 44px; padding: 5px; border: 0; border-radius: 50%; background: var(--c) content-box; box-shadow: inset 0 0 0 5px #FAFAF8, inset 0 0 0 6px rgba(16, 35, 63, 0.18); cursor: pointer; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.pastille:hover { transform: scale(1.08); }
.pastille[aria-pressed="true"] { box-shadow: inset 0 0 0 5px #FAFAF8, inset 0 0 0 6px rgba(16, 35, 63, 0.18), 0 0 0 2px var(--encre); }
.pastille:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.fiche-bouton { margin-top: 12px; padding: 14px 28px; border-radius: 99px; background: var(--encre); color: #fff; font-weight: 700; }
.sans-webgl .variantes-choix, .sans-webgl .fiche-couleur { display: none; }
@container (max-width: 640px) {
	.fiche-produit { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
	.vitrines { grid-template-columns: minmax(0, 1fr); }
	.vitrine-legende { grid-template-columns: minmax(0, 1fr); }
	.vitrine-legende .demo-rejouer { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.vedette-flotte { animation: none; }
}
/* Les scènes des petites démos restent claires : leur texte reste bleu encre */
.section-sombre .details .demo-scene, .section-sombre .details .demo-scene p, .section-sombre .details .demo-scene small { color: var(--encre); }

/* ————— Estimateur de prix (section Offres, assets/js/estimateur.js) ————— */
.estimateur { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 72px); padding: clamp(24px, 4vw, 48px); background: var(--fond); border: 1.5px solid var(--ligne); border-radius: 14px; box-shadow: 0 30px 60px -40px rgba(16, 35, 63, 0.35); }
.estimateur .surtitre { color: var(--orange-fonce); }
.estimateur-tete h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.estimateur-tete p:last-child { margin-top: 12px; color: var(--doux); }
.estimateur-progression { height: 4px; overflow: hidden; border-radius: 4px; background: var(--surface); }
.estimateur-progression span { display: block; height: 100%; background: var(--orange); transform: scaleX(0.2); transform-origin: left; transition: transform 0.4s ease; }
.estimateur-compteur { margin: 12px 0 6px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-fonce); }
.etape { min-width: 0; margin: 0; padding: 0; border: 0; }
.etape legend { margin-bottom: 16px; padding: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; outline: none; }
.etape legend small { display: block; margin-top: 4px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: var(--doux); }
.choix { display: grid; gap: 10px; }
.choix-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choix-titre { margin: 18px 0 8px; font-weight: 700; }
.tuile { position: relative; display: grid; align-content: start; gap: 4px; min-height: 44px; padding: 14px 16px; border: 1.5px solid var(--ligne); border-radius: 10px; background: var(--fond); cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.tuile input { position: absolute; width: 1px; height: 1px; opacity: 0; } /* caché mais utilisable au clavier */
.tuile:hover { border-color: var(--encre); }
.tuile:has(input:checked) { border-color: var(--encre); background: var(--peche); box-shadow: 0 0 0 1px var(--encre); }
.tuile:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.tuile::after { content: ""; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border: 1.5px solid #B9BDB3; border-radius: 50%; background: var(--fond); }
.tuile:has(input[type="checkbox"])::after { border-radius: 5px; }
.tuile:has(input:checked)::after { border-color: var(--encre); background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tuile-nom { padding-right: 26px; font-weight: 700; }
.tuile-detail { font-size: 0.9rem; color: var(--doux); }
.tuile-prix { margin-top: 2px; font-size: 0.9rem; font-weight: 700; color: var(--orange-fonce); }
.estimateur-nav { display: flex; gap: 12px; margin-top: 24px; }
.estim-suivant:disabled { cursor: not-allowed; opacity: 0.45; }
.estimateur-resultat { margin-top: 6px; padding: clamp(20px, 3vw, 32px); border-radius: 12px; background: var(--encre); color: #fff; outline: none; }
.resultat-titre { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.resultat-montant { margin-top: 6px; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; }
.resultat-montant strong { font-weight: 800; }
.resultat-mensuel { margin-top: 4px; color: rgba(255, 255, 255, 0.8); }
.resultat-mensuel:empty { display: none; }
.resultat-detail { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.resultat-detail li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.95rem; }
.resultat-delai { margin-top: 14px; font-weight: 600; }
.resultat-note { margin-top: 6px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.resultat-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.estimateur-resultat .bouton-contour { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.estimateur-resultat .bouton-contour:hover { background: #fff; color: var(--encre); }
@media (max-width: 900px) {
	.estimateur { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.choix-3 { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.estimateur-progression span, .tuile { transition: none; }
}
/* Un élément masqué (attribut hidden) le reste, même si son style lui donne un affichage (boutons, grilles) */
[hidden] { display: none !important; }

/* ————— Pages par métier (metier.php) ————— */
.metier-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); background: var(--hero-fond); }
.metier-hero .surtitre { color: var(--orange-fonce); }
.metier-hero h1 { max-width: 20ch; font-size: clamp(2.3rem, 5.2vw, 4rem); }
.metier-hero .chapo { max-width: 62ch; }
.besoins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.besoin { padding: 28px; border: 1.5px solid var(--ligne); border-radius: 12px; background: var(--fond); }
.besoin-num { display: block; margin-bottom: 14px; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; color: var(--orange-fonce); }
.besoin h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.besoin p { margin-top: 8px; color: var(--doux); }
.propositions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.proposition { display: grid; align-content: start; gap: 10px; padding: 28px; border: 1.5px solid var(--ligne); border-radius: 12px; background: var(--fond); }
.proposition h3 { font-size: 1.35rem; }
.proposition p { color: var(--doux); }
.proposition .proposition-prix { font-size: 1.05rem; color: var(--encre); }
.proposition-prix strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.proposition .inclus { flex-direction: column; gap: 6px; margin-top: 4px; font-size: 0.98rem; }
.proposition-option { border-color: transparent; background: var(--peche); }
.proposition .proposition-etiquette { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-fonce); }
.propositions-suite { margin-top: 24px; color: var(--doux); }
.propositions-suite a { color: var(--orange-fonce); text-underline-offset: 3px; }
@media (max-width: 900px) {
	.besoins, .propositions { grid-template-columns: minmax(0, 1fr); }
}

/* Liens vers les pages par métier : sous « Offres et tarifs » et dans le pied de page */
.pour-qui { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 6px; }
.pour-qui span { margin-right: 4px; font-weight: 700; }
.pour-qui a { padding: 9px 16px; border: 1.5px solid var(--encre); border-radius: 999px; font-size: 0.95rem; font-weight: 600; color: var(--encre); text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; }
.pour-qui a:hover { background: var(--encre); color: #fff; }
.pied-metiers { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; width: 100%; }
.pied-metiers strong { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.65; }
/* Grand logo décoratif du pied de page : lettres dessinées par le CSS (pur décor, pas un texte à lire) */
.pied-geant [data-txt]::before { content: attr(data-txt); }
/* Étiquette « Option utile » : bleu encre, contraste suffisant sur le fond pêche */
.proposition .proposition-etiquette { color: var(--encre); }
