/* Fil & Encre : vêtements personnalisés. Bleu de chauffe, fil orange, encre de nuit.
   Direction artistique « Nexora » : titres sans-serif très gras (Outfit), grands panneaux arrondis,
   cartes flottantes, boutons pilule avec flèche dans un cercle. La couture pointillée orange reste la signature. */
/* Polices auto-hébergées (woff2 variables, sous-ensemble latin) : aucun appel à Google Fonts, donc rien n'est transmis
   à un tiers avant le consentement. Source : Google Fonts (licence SIL OFL). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("polices/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url("polices/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bleu: #24406B;          /* bleu de chauffe */
  --bleu-fonce: #1A3254;
  --ecru: #E9EDF2;          /* toile */
  --papier: #FBFCFD;        /* blanc */
  --blanc: #FFFFFF;
  --lin: #DCE3EB;
  --encre: #121A2B;         /* encre de nuit */
  --graphite: #2B3850;
  --gris: #55627A;
  --fil: #F2762E;           /* fil orange : accents, mot en couleur sur fond sombre */
  --fil-fonce: #D95F18;     /* mot en couleur des grands titres sur fond clair (contraste 3:1) */
  --fil-texte: #B04A0C;     /* orange lisible en petit texte sur fond clair */
  --sur-fil: #121A2B;
  --ligne: rgba(18, 26, 43, .14);
  --ligne-claire: rgba(251, 252, 253, .22);
  --titre: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --serif: "Figtree", "Helvetica Neue", Arial, sans-serif; /* ancien usage « serif » : citations, accroches */
  --texte: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --gouttiere: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --rayon-xl: 32px;
  --rayon: 24px;
  --rayon-s: 16px;
  --encart: max(clamp(8px, 1.4vw, 20px), calc((100% - var(--max)) / 2));
  --ombre: 0 18px 44px -16px rgba(18, 26, 43, .32), 0 2px 6px rgba(18, 26, 43, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--texte);
  font-size: 17px; line-height: 1.6;
  color: var(--encre); background-color: var(--papier);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--fil); color: var(--encre); }

h1, h2, h3, h4 {
  font-family: var(--titre); font-weight: 800;
  line-height: 1.02; letter-spacing: -.03em;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: inherit; color: var(--fil-fonce); }
.sombre :is(h1, h2, h3) em, .cta-final h2 em, .page-tete h1 em, .article-tete h1 em, .hero__panneau em { color: var(--fil); }
.label {
  display: inline-flex; align-items: center; gap: .8rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gris); margin-bottom: 1.4rem;
}
.label::before { content: ""; width: 28px; border-top: 2px dashed var(--fil); }
.label--clair { color: rgba(255, 255, 255, .75); }
.chapo { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--gris); max-width: 36rem; }
.sombre .chapo { color: rgba(255, 255, 255, .74); }
.conteneur { max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }

/* Couture : ligne pointillée qui revient partout */
.couture { border: 0; border-top: 2px dashed var(--fil); margin: 0; }

/* Boutons : pilule, flèche dans un cercle */
.btn {
  display: inline-flex; align-items: center; gap: .9rem;
  padding: .45rem .45rem .45rem 1.5rem; min-height: 3.1rem;
  font-weight: 700; font-size: .95rem; letter-spacing: .005em; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.btn::after {
  content: "→"; flex: none; display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--fil); color: var(--encre); font-size: 1rem; font-weight: 700;
  transition: transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(3px) rotate(-12deg); }
.btn--fil, .btn--encre { background: var(--encre); color: var(--papier); }
.btn--fil:hover, .btn--encre:hover { background: var(--graphite); }
.hero__panneau .btn--fil, .page-tete .btn--fil, .encart-cta .btn--fil { box-shadow: 0 0 0 1.5px rgba(251, 252, 253, .38); }
.btn--ligne { border-color: currentColor; }
.btn--ligne:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.sombre .btn--ligne:hover, .cta-final .btn--ligne:hover, .page-tete .btn--ligne:hover, .hero__panneau .btn--ligne:hover,
.article-tete .btn--ligne:hover { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.btn--ecru { background: var(--ecru); color: var(--encre); }
.btn--petit { padding: .3rem .3rem .3rem 1.1rem; min-height: 2.5rem; font-size: .86rem; gap: .7rem; }
.btn--petit::after { width: 1.85rem; height: 1.85rem; font-size: .9rem; }

/* Bandeau */
.bandeau { background: var(--bleu); color: var(--ecru); font-size: .78rem; letter-spacing: .08em; overflow: hidden; white-space: nowrap; }
.bandeau__piste { display: inline-flex; animation: defile 45s linear infinite; padding: .55rem 0; }
.bandeau__piste span { padding: 0 2rem; }
.bandeau__piste span::before { content: "✕"; color: var(--fil); margin-right: 2rem; font-size: .7rem; }
@keyframes defile { to { transform: translateX(-50%); } }

/* En-tête : liens à gauche, logo au centre, actions à droite */
.entete { position: sticky; top: 0; z-index: 60; }
/* Flou sur un pseudo-élément : un backdrop-filter sur .entete ferait de l'en-tête le bloc contenant du tiroir fixe */
.entete::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 252, 253, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
/* logo à gauche, menu au centre, devis à droite : le menu ne passe plus jamais sous le logo */
.entete__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); padding: .9rem var(--gouttiere); max-width: var(--max); margin: 0 auto; }
.nav { grid-column: 2; grid-row: 1; justify-self: center; display: flex; gap: clamp(.9rem, 1.6vw, 1.9rem); font-size: .94rem; font-weight: 600; }
.nav a { position: relative; padding: .3rem 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; border-top: 2px dashed var(--fil); transition: width .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.logo { grid-column: 1; grid-row: 1; justify-self: start; }
.logo img { height: 26px; width: auto; }
.entete__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 1rem; }
.burger { display: none; width: 28px; height: 20px; position: relative; }
.burger span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: .3s; }
.burger span:first-child { top: 4px; } .burger span:last-child { bottom: 4px; }

/* ===== Héros de l'accueil ===== */
.hero { position: relative; padding: clamp(1.6rem, 4vw, 3.2rem) var(--gouttiere) 0; max-width: var(--max); margin: 0 auto; }
.hero__tete { position: relative; z-index: 2; max-width: 62%; }
.hero__surtitre { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gris); margin-bottom: 1.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__surtitre span + span::before { content: "/"; margin-right: 1rem; color: var(--fil-texte); }
.hero h1 { font-weight: 800; }
.hero__cle { display: block; font-size: clamp(1.2rem, 2.1vw, 1.85rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; color: var(--graphite); margin-bottom: .5rem; }
.hero__geant { display: block; font-size: clamp(3.1rem, 8.2vw, 8rem); line-height: .9; letter-spacing: -.05em; }
.hero__geant em { display: block; text-transform: uppercase; letter-spacing: -.035em; color: var(--fil-fonce); }

.hero__panneau {
  position: relative; margin-top: clamp(1.6rem, 3vw, 2.6rem);
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 470px; background: var(--bleu); color: var(--papier); border-radius: var(--rayon-xl);
}
.hero__panneau::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(242, 118, 46, .45); border-radius: 24px; pointer-events: none; }
.hero__texte { position: relative; z-index: 2; padding: clamp(2rem, 4vw, 3.6rem); display: flex; flex-direction: column; justify-content: center; }
.hero__intro { font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 34rem; color: rgba(251, 252, 253, .86); margin-bottom: 2rem; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero__preuves { display: flex; gap: 1.2rem 2.2rem; flex-wrap: wrap; font-size: .84rem; color: rgba(251, 252, 253, .72); }
.hero__preuves div { max-width: 11rem; }
.hero__preuves strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.03em; color: var(--papier); margin-bottom: .2rem; }
.hero__visuel { position: relative; min-height: 100%; }
.hero__detoure {
  position: absolute; bottom: 0; left: 50%; z-index: 3;
  height: calc(100% + 290px); width: auto; max-width: none; transform: translateX(-50%);
  filter: drop-shadow(0 26px 30px rgba(18, 26, 43, .28));
  border-bottom-right-radius: var(--rayon-xl);
}
.flottante {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .75rem;
  background: var(--blanc); color: var(--encre); border-radius: 18px; box-shadow: var(--ombre);
  padding: .7rem .95rem; font-size: .84rem; font-weight: 600; line-height: 1.3;
}
.flottante--produit { left: 0; top: 16%; max-width: 17.5rem; padding: .6rem .9rem .6rem .6rem; align-items: center; }
.flottante--produit img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; flex: none; background: var(--ecru); }
.flottante--produit b { display: block; font-size: .86rem; margin-bottom: .15rem; }
.flottante--produit span { display: block; text-wrap: balance; font-weight: 500; font-size: .76rem; color: var(--gris); }
.flottante--puce { right: 2%; bottom: 14%; border-radius: 999px; padding: .5rem 1.1rem .5rem .5rem; }
.flottante__icone { width: 34px; height: 34px; border-radius: 50%; background: var(--fil); display: grid; place-items: center; flex: none; }
.flottante__icone svg { width: 18px; height: 18px; fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flottante--dix { right: 4%; top: -1.4rem; flex-direction: column; align-items: flex-start; gap: 0; padding: .8rem 1.1rem; }
.flottante--dix strong { font-family: var(--titre); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.flottante--dix span { font-size: .76rem; font-weight: 500; color: var(--gris); }

/* Ligne de trois arguments */
.arguments { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 2rem; padding: clamp(2rem, 4vw, 3.2rem) 0 clamp(2.6rem, 5vw, 4rem); }
.arguments li { display: flex; gap: 1rem; align-items: flex-start; }
.arguments__icone { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--ecru); display: grid; place-items: center; }
.arguments__icone svg { width: 24px; height: 24px; fill: none; stroke: var(--encre); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arguments b { display: block; font-family: var(--titre); font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.2; margin: .2rem 0 .25rem; }
.arguments span:not(.arguments__icone) { font-size: .9rem; color: var(--gris); }

/* Entrée du héros (discrète) */
.hero__tete > *, .hero__panneau, .arguments { animation: monte .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__tete > :nth-child(2) { animation-delay: .08s; }
.hero__panneau { animation-delay: .16s; }
.arguments { animation-delay: .34s; }
.hero__detoure { animation: surgit 1.1s .3s cubic-bezier(.2, .7, .2, 1) both; }
.flottante { animation: pose .7s cubic-bezier(.2, .7, .2, 1) both; }
.flottante--produit { animation-delay: .6s; }
.flottante--dix { animation-delay: .72s; }
.flottante--puce { animation-delay: .84s; }
@keyframes monte { from { opacity: 0; transform: translateY(24px); } }
@keyframes surgit { from { opacity: 0; translate: 0 36px; } }
@keyframes pose { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* Emplacement « Créez votre t-shirt en 3D » (rempli par la tâche 4) */
.bloc-3d {
  margin: 12px var(--encart); border-radius: var(--rayon-xl); background: var(--ecru);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem) max(var(--gouttiere), calc((100% - var(--max)) / 2 + var(--gouttiere)));
}
.bloc-3d__texte h2 { margin-bottom: 1.2rem; }
.bloc-3d__texte .btn { margin-top: 1.8rem; }
.bloc-3d__visuel { position: relative; min-height: 340px; border-radius: var(--rayon); overflow: hidden; background: var(--papier); box-shadow: var(--ombre); }

/* Défilé de mots */
.defile-mots { overflow: hidden; white-space: nowrap; background: var(--encre); color: var(--papier); margin: 0 var(--encart); border-radius: var(--rayon-xl); }
.defile-mots__piste { display: inline-flex; animation: defile 38s linear infinite; padding: 1.1rem 0; }
.defile-mots span { font-family: var(--titre); font-weight: 800; letter-spacing: -.03em; font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.1; padding: 0 1.6rem; }
.defile-mots span:nth-child(even) { color: var(--fil); }

/* Sections et panneaux arrondis */
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.section--ecru { background: var(--ecru); }
.sombre { background: var(--encre); color: var(--papier); }
.sombre--bleu { background: var(--bleu); }
.section--ecru, .sombre, .cta-final, .split { margin: 12px var(--encart); border-radius: var(--rayon-xl); }
.split { overflow: hidden; }
.sombre .label { color: rgba(251, 252, 253, .72); }
.section__tete { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__tete--seule { grid-template-columns: 1fr; max-width: 52rem; }

/* Techniques (accueil) */
.techniques { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.technique { position: relative; padding: .6rem .6rem 1.6rem; background: var(--ecru); border-radius: var(--rayon); }
.technique__num { font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: var(--fil-texte); padding: .8rem .8rem .8rem; display: block; }
.technique figure { aspect-ratio: 4/4.4; overflow: hidden; margin-bottom: 1.3rem; background: var(--lin); border-radius: 18px; }
.technique img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.technique:hover img { transform: scale(1.06); }
.technique > :not(figure):not(.technique__num) { margin-inline: .8rem; }
.technique h3 { margin-bottom: .7rem; }
.technique p { font-size: .95rem; color: var(--gris); margin-bottom: 1rem; }
.technique ul { list-style: none; font-size: .84rem; margin-bottom: 1.2rem; }
.technique li { padding: .35rem 0; border-bottom: 1px dashed var(--ligne); display: flex; justify-content: space-between; gap: 1rem; }
.technique li span:last-child { font-weight: 700; }
.lien-fleche { font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--fil); padding-bottom: .15rem; }
.lien-fleche::after { content: " →"; }
.technique .lien-fleche { display: inline-block; }

/* Sélecteur de technique */
.selecteur { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); }
.selecteur__q { margin-bottom: 2rem; }
.selecteur__q p { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; display: flex; gap: .7rem; align-items: center; }
.selecteur__q p b { width: 26px; height: 26px; border-radius: 50%; background: var(--fil); color: var(--sur-fil); display: grid; place-items: center; font-size: .75rem; letter-spacing: 0; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix button { padding: .7rem 1.1rem; border: 1px solid var(--ligne-claire); font-size: .9rem; transition: .2s; border-radius: 999px; }
.choix button:hover { border-color: var(--fil); }
.choix button.actif { background: var(--fil); color: var(--sur-fil); border-color: var(--fil); }
.resultat { position: relative; background: var(--ecru); color: var(--encre); padding: clamp(1.6rem, 3vw, 2.6rem); min-height: 100%; display: flex; flex-direction: column; border-radius: var(--rayon); }
.resultat::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed var(--fil); border-radius: 18px; pointer-events: none; }
.resultat__attente { margin: auto 0; font-family: var(--titre); font-weight: 700; font-size: 1.45rem; line-height: 1.3; letter-spacing: -.015em; color: var(--gris); }
.resultat__tag { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fil-texte); }
.resultat h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); margin: .6rem 0 1rem; }
.resultat__img { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 1.2rem; border-radius: var(--rayon-s); }
.resultat__img img { width: 100%; height: 100%; object-fit: cover; }
.resultat p { color: var(--graphite); margin-bottom: 1.4rem; }
.resultat .btn { align-self: flex-start; margin-top: auto; }

/* Vêtements */
.gamme { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.piece { background: var(--ecru); padding: .6rem .6rem 1.3rem; display: flex; flex-direction: column; border-radius: var(--rayon); transition: background .3s, transform .3s; }
.piece:hover { background: var(--lin); }
.piece figure { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 18px; overflow: hidden; }
.piece img { width: 82%; height: 82%; object-fit: contain; transition: transform .5s; }
.piece:hover img { transform: scale(1.04); }
.piece h3, .piece p { padding-inline: .7rem; }
.piece h3 { font-size: 1.25rem; }
.piece p { font-size: .84rem; color: var(--gris); margin-top: .3rem; }

/* Bloc split photo / texte */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 72vh; }
.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split__texte { padding: clamp(3rem, 7vw, 6rem) var(--gouttiere); display: flex; flex-direction: column; justify-content: center; }
.split__texte h2 { margin-bottom: 1.6rem; }
.split__texte p + p { margin-top: 1rem; }
.split--inverse .split__media { order: 2; }
.certifs { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 2.4rem; }
.certifs img { height: 46px; width: auto; filter: grayscale(1); opacity: .85; }
.sombre .certifs img { filter: grayscale(1) invert(1); }

/* Secteurs */
.secteurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.secteur { position: relative; aspect-ratio: 3/4.2; overflow: hidden; color: var(--ecru); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; border-radius: var(--rayon); isolation: isolate; }
.secteur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.secteur::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(18, 26, 43, .86)); z-index: -1; }
.secteur:hover img { transform: scale(1.06); }
.secteur span { font-size: .72rem; font-weight: 700; letter-spacing: .2em; }
.secteur h3 { margin: .5rem 0; }
.secteur p { font-size: .88rem; color: rgba(255, 255, 255, .82); }

/* Étapes : cartes arrondies */
.etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.etape { padding: 2rem; background: var(--ecru); border-radius: var(--rayon); position: relative; }
.section--ecru .etape { background: var(--papier); }
.sombre .etape { background: rgba(251, 252, 253, .06); border: 1px solid var(--ligne-claire); }
.etape__num { font-family: var(--titre); font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -.04em; color: var(--fil-fonce); }
.sombre .etape__num { color: var(--fil); }
.etape h3 { margin: 1rem 0 .8rem; }
.etape p { color: var(--gris); font-size: .96rem; }
.sombre .etape p { color: rgba(251, 252, 253, .74); }
.etape small { display: block; margin-top: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.etapes--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.colonnes--devis { grid-template-columns: 1.4fr 1fr; align-items: start; }
.fiche dd { overflow-wrap: anywhere; }

/* Avis */
.avis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.avis__carte { border: 1px solid var(--ligne-claire); padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem; border-radius: var(--rayon); }
.avis__carte--grande { grid-row: span 2; background: var(--bleu); border-color: var(--bleu); color: var(--papier); }
.avis__etoiles { color: var(--fil); letter-spacing: .2em; }
.avis__carte blockquote { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.45; }
.avis__carte--grande blockquote { font-size: clamp(1.4rem, 2.1vw, 1.9rem); }
.avis__carte cite { font-style: normal; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; margin-top: auto; }

/* Marques */
.marques { display: grid; grid-template-columns: repeat(9, 1fr); border-block: 1px solid var(--ligne); }
.marques div { display: grid; place-items: center; padding: 1.6rem 1rem; border-right: 1px dashed var(--ligne); }
.marques div:last-child { border-right: 0; }
.marques img { max-height: 26px; width: auto; opacity: .75; transition: opacity .3s; }
.marques img:hover { opacity: 1; }

/* Blog cartes */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.4rem; }
.article-carte figure { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 1.1rem; background: var(--lin); border-radius: var(--rayon); }
.article-carte img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.article-carte:hover img { transform: scale(1.05); }
.article-carte .meta { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fil-texte); }
.article-carte h3 { font-size: 1.5rem; margin: .5rem 0 .6rem; }
.article-carte p { font-size: .92rem; color: var(--gris); }

/* FAQ : questions en cartes */
.faq { max-width: 60rem; }
.faq details { background: var(--ecru); border-radius: var(--rayon-s); padding: 0 1.4rem; transition: background .25s; }
.faq details + details { margin-top: 10px; }
.section--ecru .faq details { background: var(--papier); }
.sombre .faq details { background: rgba(251, 252, 253, .06); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.6rem 1.25rem 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--encre); color: var(--papier); display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; line-height: 1; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--fil); color: var(--encre); }
.faq details p { padding: 0 2.6rem 1.4rem 0; color: var(--gris); border-top: 1px dashed var(--ligne); padding-top: 1rem; }

/* CTA final */
.cta-final { position: relative; overflow: hidden; background: var(--bleu); color: var(--papier); padding: clamp(4rem, 9vw, 7.5rem) 0; }
.cta-final::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(242, 118, 46, .45); border-radius: 24px; pointer-events: none; }
.cta-final h2 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); max-width: 16ch; line-height: .98; }
.cta-final .btn--encre { background: var(--papier); color: var(--encre); }
.cta-final .btn--encre:hover { background: var(--ecru); }
.cta-final__bas { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-top: 3rem; position: relative; }
.cta-final__bas p { max-width: 30rem; font-size: 1.1rem; }
.cta-final__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Pied de page */
.pied { background: var(--encre); color: var(--ecru); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; font-size: .92rem; margin: 12px var(--encart) var(--encart); border-radius: var(--rayon-xl); }
.pied__grille { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 2.4rem; }
.pied h4 { font-size: .74rem; font-family: var(--texte); text-transform: uppercase; letter-spacing: .2em; color: rgba(251, 252, 253, .62); margin-bottom: 1.1rem; font-weight: 700; }
.pied ul { list-style: none; }
.pied li { padding: .25rem 0; }
.pied a:hover { color: var(--fil); }
.pied__logo img { height: 28px; width: auto; margin-bottom: 1.2rem; }
.pied__bas { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 2px dashed var(--fil); font-size: .8rem; color: rgba(251, 252, 253, .66); }

/* WhatsApp flottant */
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: var(--fil); border: 0; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: transform .25s; }
.whatsapp:hover { transform: scale(1.08); }
.whatsapp svg { width: 28px; height: 28px; fill: var(--encre); }

/* ===== Pages intérieures ===== */
.fil-ariane { font-size: .78rem; letter-spacing: .06em; color: var(--gris); padding: 1.2rem 0 0; }
.fil-ariane a { text-decoration: underline; text-underline-offset: 3px; }
.fil-ariane span { margin: 0 .5rem; color: var(--fil-texte); }

/* Tête de page : panneau bleu arrondi */
.page-tete, .article-tete {
  position: relative; background: var(--bleu); color: var(--papier); border-radius: var(--rayon-xl);
  padding: clamp(1.8rem, 5vw, 4rem); margin: 1rem 0 clamp(1.6rem, 3vw, 2.6rem);
  animation: monte .8s cubic-bezier(.2, .7, .2, 1) both;
}
.page-tete::before, .article-tete::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(242, 118, 46, .45); border-radius: 24px; pointer-events: none; }
.page-tete > *, .article-tete > * { position: relative; }
.page-tete__grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-tete h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: .96; margin-bottom: 1.5rem; }
.page-tete h1 em { display: block; font-size: .56em; line-height: 1.08; letter-spacing: -.025em; margin-top: .3em; max-width: 22ch; }
.page-tete .label, .article-tete .label { color: rgba(251, 252, 253, .75); }
.page-tete .chapo, .article-tete .chapo { color: rgba(251, 252, 253, .86); }
.page-tete__media { aspect-ratio: 4/3.4; overflow: hidden; position: relative; border-radius: var(--rayon); }
.page-tete__media img { width: 100%; height: 100%; object-fit: cover; }
.page-tete .hero__cta { margin: 2rem 0 0; }
.page-tete a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }

.fiche { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fiche div { padding: 1.3rem 1.3rem; background: var(--ecru); border-radius: var(--rayon-s); }
.section--ecru .fiche div { background: var(--papier); }
.fiche dt { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); margin-bottom: .4rem; }
.fiche dd { font-family: var(--titre); font-weight: 700; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.015em; }

.colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.liste-pour { list-style: none; }
.liste-pour li { padding: .9rem 0 .9rem 2.2rem; border-bottom: 1px dashed var(--ligne); position: relative; }
.liste-pour li::before { content: "✓"; position: absolute; left: 0; top: .95rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--fil); color: var(--encre); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.liste-contre li::before { content: "×"; background: var(--lin); color: var(--gris); font-size: .95rem; }

.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.galerie figure { aspect-ratio: 3/4; overflow: hidden; background: var(--lin); border-radius: var(--rayon); }
.galerie img { width: 100%; height: 100%; object-fit: cover; }

/* Tableau comparatif */
.tableau-wrap { overflow-x: auto; border: 1px solid var(--ligne); border-radius: var(--rayon-s); background: var(--papier); }
.tableau { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .94rem; }
.tableau th, .tableau td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px dashed var(--ligne); vertical-align: top; }
.tableau thead th { background: var(--bleu); color: var(--ecru); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.tableau tbody th { font-weight: 700; width: 22%; }
.tableau tr:last-child td, .tableau tr:last-child th { border-bottom: 0; }

/* Article de blog */
.article-tete > * { max-width: 60rem; }
.article-tete h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; margin: 1rem 0 1.5rem; }
.article-tete .meta { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(251, 252, 253, .78); display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; }
.article-tete .meta span:first-child { color: var(--encre); background: var(--fil); padding: .15rem .7rem; border-radius: 999px; letter-spacing: .12em; }
.article-couverture { aspect-ratio: 21/9; overflow: hidden; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); background: var(--lin); border-radius: var(--rayon-xl); }
.article-couverture img { width: 100%; height: 100%; object-fit: cover; }
.article-corps { display: grid; grid-template-columns: 15rem minmax(0, 44rem); gap: clamp(2rem, 6vw, 6rem); justify-content: center; padding-bottom: clamp(4rem, 8vw, 7rem); }
.sommaire { position: sticky; top: 90px; align-self: start; font-size: .86rem; background: var(--ecru); border-radius: var(--rayon); padding: 1.3rem 1.3rem 1.1rem; }
.sommaire p { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); margin-bottom: .8rem; }
.sommaire ol { list-style: none; counter-reset: s; border-left: 2px dashed var(--fil); }
.sommaire li { counter-increment: s; padding: .4rem 0 .4rem 1rem; }
.sommaire li::before { content: counter(s, decimal-leading-zero) " "; color: var(--fil-texte); font-weight: 700; }
.sommaire a:hover { color: var(--fil-texte); }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.3rem; }
.prose .accroche { font-family: var(--serif); font-weight: 500; font-size: 1.28rem; line-height: 1.55; color: var(--graphite); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 3.4rem; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.3rem; margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .5rem; }
.prose li::marker { color: var(--fil-texte); font-weight: 700; }
.prose a { color: var(--fil-texte); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a.btn { text-decoration: none; color: var(--papier); }
.prose strong { font-weight: 700; }
.prose figure img { width: 100%; border-radius: var(--rayon); }
.prose figcaption { font-size: .82rem; color: var(--gris); margin-top: .5rem; }
.prose blockquote { border-left: 3px solid var(--fil); padding: .4rem 0 .4rem 1.4rem; font-family: var(--serif); font-weight: 500; font-size: 1.22rem; }
.encadre { position: relative; background: var(--ecru); padding: 1.6rem 1.8rem; border-radius: 20px; }
.encadre::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--fil); border-radius: 15px; pointer-events: none; }
.encadre strong:first-child { display: block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fil-texte); margin-bottom: .5rem; }
.prose .tableau-wrap { margin-top: 1.6rem; }
.encart-cta { background: var(--bleu); color: var(--ecru); padding: 1.8rem 1.8rem 1.8rem 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.4rem; flex-wrap: wrap; border-radius: var(--rayon); }
.encart-cta p { font-family: var(--titre); font-weight: 700; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; max-width: 24ch; }
.prose .encart-cta a { color: var(--papier); text-decoration: none; }

/* Formulaire devis */
.formulaire { display: grid; gap: 1.6rem; }
.formulaire fieldset { border: 0; }
.formulaire legend, .formulaire label > span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .7rem; }
.formulaire input, .formulaire textarea, .formulaire select { width: 100%; font: inherit; padding: .95rem 1.1rem; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 14px; color: var(--encre); }
.formulaire input:focus, .formulaire textarea:focus, .formulaire select:focus { outline: 2px solid var(--fil); outline-offset: 1px; border-color: transparent; }
.formulaire .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.formulaire .aide { display: block; font-size: .84rem; line-height: 1.45; color: var(--gris); margin-top: .5rem; }
.puces { display: flex; flex-wrap: wrap; gap: .5rem; }
.puces label { cursor: pointer; position: relative; }
.puces input { position: absolute; opacity: 0; pointer-events: none; }
.puces span { display: inline-block; padding: .6rem 1.1rem; border: 1px solid var(--ligne); background: var(--blanc); border-radius: 999px; font-size: .9rem; transition: .2s; }
.puces input:checked + span { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.puces input:focus-visible + span { outline: 2px solid var(--fil); }

/* Révélations au défilement */
.revele { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.revele.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revele { opacity: 1; transform: none; }
  .hero__detoure { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 560px) {
  .hero__detoure { transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: 100vh; height: 100dvh; overflow-y: auto; width: min(86vw, 360px); box-shadow: -20px 0 60px rgba(18, 26, 43, .25); background: var(--encre); color: var(--ecru); flex-direction: column; padding: 6rem 2rem 2rem; gap: 1.4rem; font-size: 1.2rem; transform: translateX(100%); visibility: hidden; transition: transform .4s cubic-bezier(.2, .7, .2, 1), visibility .4s; z-index: 55; }
  .menu-ouvert .nav { transform: none; visibility: visible; }
  .burger { display: block; z-index: 61; }
  .menu-ouvert .burger { color: var(--ecru); }
  .burger:focus-visible, .nav a:focus-visible { outline: 2px solid var(--fil); outline-offset: 4px; border-radius: 4px; }
  .menu-ouvert .burger span:first-child { top: 9px; transform: rotate(45deg); }
  .menu-ouvert .burger span:last-child { bottom: 9px; transform: rotate(-45deg); }
  .entete__in { grid-template-columns: minmax(0, 1fr) auto; }
  .logo { grid-column: 1; justify-self: start; }
  .entete__actions { grid-column: 2; }
}
@media (max-width: 1080px) {
  .techniques { grid-template-columns: 1fr 1fr; }
  .gamme { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .secteurs { grid-template-columns: 1fr 1fr; }
  .marques { grid-template-columns: repeat(5, 1fr); }
  .marques div { border-bottom: 1px dashed var(--ligne); }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .article-corps { grid-template-columns: minmax(0, 1fr); }
  .sommaire { position: static; }
  .hero__tete { max-width: 70%; }
  .flottante--produit { left: -6%; }
}
@media (max-width: 860px) {
  .hero__tete { max-width: none; }
  .hero__panneau { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__visuel { order: -1; height: 420px; overflow: hidden; border-radius: var(--rayon-xl) var(--rayon-xl) 0 0; }
  .hero__detoure { height: 100%; top: auto; border-radius: 0; filter: none; }
  .hero__texte { padding-top: 1.4rem; }
  .flottante--produit { left: 14px; top: auto; bottom: 16px; max-width: 13.5rem; }
  .flottante--dix { right: 14px; top: 18px; }
  .flottante--puce { right: 14px; bottom: auto; top: 96px; }
  .arguments { grid-template-columns: minmax(0, 1fr); }
  .bloc-3d { grid-template-columns: minmax(0, 1fr); }
  .page-tete__grille, .section__tete, .selecteur, .split, .colonnes { grid-template-columns: minmax(0, 1fr); }
  h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
  .split { min-height: 0; }
  .split__media { aspect-ratio: 4/3.4; }
  .split--inverse .split__media { order: 0; }
  .etapes, .etapes--duo, .colonnes--devis { grid-template-columns: minmax(0, 1fr); }
  .fiche dd { font-size: 1.15rem; }
  .avis { grid-template-columns: 1fr; }
  .avis__carte--grande { grid-row: auto; }
  .articles { grid-template-columns: 1fr 1fr; }
  .fiche { grid-template-columns: 1fr 1fr; }
  .galerie { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .entete .btn { display: none; }
}
@media (max-width: 600px) {
  /* La carte produit chevaucherait le détouré : ses faits restent dans le panneau (preuves) et sur les autres pages */
  .flottante--produit { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .techniques, .secteurs, .articles, .pied__grille { grid-template-columns: minmax(0, 1fr); }
  .gamme { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .marques { grid-template-columns: repeat(3, 1fr); }
  .formulaire .duo { grid-template-columns: 1fr; }
  .secteur { aspect-ratio: 4/3.6; }
  .hero__visuel { height: 400px; }
  .hero__detoure { left: auto; right: 4%; transform: none; }
  .flottante { font-size: .78rem; }
  .flottante--dix { left: 14px; right: auto; top: 18px; }
  .flottante--puce { left: 14px; right: auto; top: 96px; padding-right: .9rem; }
  .flottante__icone { width: 28px; height: 28px; }
  .hero__surtitre { gap: .35rem 1.1rem; }
  .hero__surtitre span + span::before { content: none; }
  .hero__surtitre span { display: inline-flex; align-items: center; gap: .5rem; }
  .hero__surtitre span::before { content: "" !important; margin-right: 0 !important; width: 6px; height: 6px; border-radius: 50%; background: var(--fil); }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .page-tete, .article-tete { padding: 1.6rem 1.3rem 1.8rem; border-radius: var(--rayon); }
  .page-tete::before, .article-tete::before, .hero__panneau::before, .cta-final::before { inset: 7px; border-radius: 18px; }
  .section--ecru, .sombre, .cta-final, .split, .pied, .defile-mots, .bloc-3d { border-radius: var(--rayon); }
  .etape { padding: 1.5rem; }
  .faq details { padding: 0 1.1rem; }
}

/* ===== Simulateur 3D (page simulateur.html) ===== */
.simu { margin: 1rem var(--encart) 12px; border-radius: var(--rayon-xl); background: var(--ecru); padding: clamp(1.4rem, 3vw, 2.6rem) max(var(--gouttiere), calc((100% - var(--max)) / 2 + var(--gouttiere))); }
.simu__tete { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1rem clamp(1rem, 2.4vw, 2rem); align-items: end; margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.simu__tete .label { grid-column: 1 / -1; margin-bottom: 0; }
.simu__tete h1 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: .98; }
.simu__tete .chapo { font-size: 1.02rem; }
.simu__grille { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: clamp(1rem, 2.4vw, 2rem); align-items: start; }
.simu__colonne-scene { position: sticky; top: 84px; }
.simu__scene {
  position: relative; height: min(calc(100vh - 150px), 760px); min-height: 480px; overflow: hidden;
  border-radius: var(--rayon); box-shadow: var(--ombre); isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, var(--blanc) 0%, var(--papier) 55%, #EEF1F5 100%);
}
.simu__scene::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(242, 118, 46, .4); border-radius: 18px; pointer-events: none; z-index: 2; }
.simu__scene canvas { position: absolute; inset: 0; z-index: 1; cursor: grab; }
.simu__scene canvas:active { cursor: grabbing; }
.simu__attente { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; transition: opacity .5s; }
.simu__scene[data-etat="pret"] .simu__attente, .simu__scene[data-etat="repli"] .simu__attente, .simu__scene[data-etat="erreur"] .simu__attente { opacity: 0; visibility: hidden; }
.simu__silhouette { width: 150px; height: 150px; fill: var(--lin); stroke: var(--fil); stroke-width: 1.6; stroke-dasharray: 5 4; stroke-linejoin: round; animation: piqure 1.6s linear infinite; }
@keyframes piqure { to { stroke-dashoffset: -18; } }
.simu__attente-texte { font-family: var(--titre); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--graphite); }
.simu__barre { width: 180px; height: 6px; border-radius: 999px; background: var(--lin); overflow: hidden; }
.simu__barre span { display: block; height: 100%; width: 8%; background: var(--fil); border-radius: inherit; transition: width .3s; }
.simu__repli { position: absolute; inset: 0; z-index: 4; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--papier); }
.simu__repli[hidden] { display: none; }
.simu__repli img { width: 100%; height: 100%; object-fit: cover; }
.simu__repli-texte { padding: 1.4rem 1.6rem 1.6rem; display: grid; gap: 1rem; justify-items: start; }
.simu__repli-texte p { color: var(--graphite); }
.simu__vues { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; background: rgba(251, 252, 253, .92); border-radius: 999px; box-shadow: 0 6px 20px -8px rgba(18, 26, 43, .35); }
.simu__scene:not([data-etat="pret"]) .simu__vues, .simu__scene:not([data-etat="pret"]) .simu__geste { visibility: hidden; }
.simu__vues button { min-height: 44px; min-width: 72px; padding: 0 1.1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: background .2s, color .2s; }
.simu__vues button:hover { background: var(--ecru); }
.simu__vues button[aria-pressed="true"] { background: var(--encre); color: var(--papier); }
.simu__geste { position: absolute; z-index: 3; top: 22px; left: 50%; transform: translateX(-50%); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); white-space: nowrap; pointer-events: none; }
.simu__mention { margin-top: .8rem; font-size: .84rem; color: var(--gris); text-align: center; }

.simu__commandes { background: var(--papier); border-radius: var(--rayon); box-shadow: var(--ombre); padding: clamp(1.2rem, 2.2vw, 1.8rem); display: grid; gap: 1.4rem; }
.simu__commandes--inactif .simu__bloc { display: none; }
.simu__commandes--inactif .simu__envoi { padding-top: 0; border-top: 0; }
.simu__bloc + .simu__bloc, .simu__envoi { padding-top: 1.3rem; border-top: 1px dashed var(--ligne); }
.simu__etape { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.simu__etape b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fil); color: var(--sur-fil); display: grid; place-items: center; font-size: .75rem; letter-spacing: 0; }
.simu__valeur { margin-left: auto; letter-spacing: .04em; text-transform: none; font-size: .9rem; color: var(--gris); font-weight: 600; }
.simu :focus-visible { outline: 3px solid var(--fil); outline-offset: 3px; }

.simu__depot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: 1rem; border: 1.5px dashed rgba(18, 26, 43, .28); border-radius: var(--rayon-s); background: var(--ecru); transition: border-color .2s, background .2s; }
.simu__depot--survol { border-color: var(--fil); background: #FCEBDF; }
.simu__depot input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.simu__depot label { cursor: pointer; }
.simu__depot input:focus-visible + label { outline: 3px solid var(--fil); outline-offset: 3px; }
.simu__depot input:disabled + label { opacity: .5; cursor: default; }
.simu__depot-aide { font-size: .86rem; color: var(--gris); }
.simu__info { margin-top: .6rem; font-size: .86rem; color: var(--graphite); overflow-wrap: anywhere; }
.simu__retirer { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--fil-texte); padding: .2rem; }
.simu__erreur { margin-top: .6rem; padding: .7rem .9rem; border-radius: 12px; background: #FBE4E1; color: #8A1E16; font-size: .88rem; font-weight: 600; }
.simu__erreur[hidden] { display: none; }

.simu__pastilles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; max-width: 17.5rem; }
.simu__pastille { aspect-ratio: 1; min-width: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(18, 26, 43, .2); transition: transform .2s; position: relative; }
.simu__pastille:hover { transform: scale(1.07); }
.simu__pastille[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(18, 26, 43, .2), 0 0 0 3px var(--papier), 0 0 0 5px var(--encre); }

.simu__emplacements { display: grid; gap: .5rem; }
.simu__emp { display: grid; grid-template-columns: minmax(9.5rem, auto) minmax(0, 1fr) 3.4rem; align-items: center; gap: .8rem; padding: .25rem .25rem .25rem 0; }
.simu__bascule { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 1rem 0 .55rem; border-radius: 999px; border: 1px solid var(--ligne); background: var(--blanc); font-weight: 600; font-size: .9rem; text-align: left; transition: background .2s, color .2s, border-color .2s; }
.simu__coche { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ligne); flex: none; display: grid; place-items: center; font-size: .7rem; }
.simu__bascule[aria-pressed="true"] { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.simu__bascule[aria-pressed="true"] .simu__coche { background: var(--fil); border-color: var(--fil); color: var(--encre); }
.simu__bascule[aria-pressed="true"] .simu__coche::after { content: "\2713"; font-weight: 800; }
.simu__emp input[type="range"] { width: 100%; accent-color: var(--fil-fonce); min-height: 44px; opacity: .55; }
.simu__emp--actif input[type="range"] { opacity: 1; }
.simu__emp output { font-size: .86rem; font-weight: 700; color: var(--gris); text-align: right; font-variant-numeric: tabular-nums; }
.simu__astuce { font-size: .84rem; color: var(--fil-texte); font-weight: 600; margin-top: .4rem; }
.simu__astuce:empty { display: none; }

.simu__techniques { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.simu__techniques button { text-align: left; padding: .9rem 1rem; border-radius: var(--rayon-s); border: 1px solid var(--ligne); background: var(--blanc); display: grid; gap: .25rem; align-content: start; transition: background .2s, color .2s, border-color .2s; }
.simu__techniques b { font-family: var(--titre); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.simu__techniques span { font-size: .84rem; line-height: 1.4; color: var(--gris); }
.simu__techniques button[aria-pressed="true"] { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.simu__techniques button[aria-pressed="true"] span { color: rgba(251, 252, 253, .78); }
.simu__cta { width: 100%; justify-content: space-between; }
.simu__cta:disabled { opacity: .7; cursor: progress; }
.simu__note { margin-top: .8rem; font-size: .82rem; color: var(--gris); }

/* Accueil : visuel du bloc 3D */
.bloc-3d__visuel img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bloc-3d__pastilles { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: flex; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgba(251, 252, 253, .92); box-shadow: 0 6px 20px -8px rgba(18, 26, 43, .35); }
.bloc-3d__pastilles i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(18, 26, 43, .2); }

/* Devis : aperçu venu du simulateur */
.apercu-simu { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1rem; background: var(--ecru); border-radius: var(--rayon); scroll-margin-top: 100px; }
.apercu-simu[hidden] { display: none; }
.apercu-simu img { width: 150px; aspect-ratio: 4/5; object-fit: contain; border-radius: var(--rayon-s); background: var(--papier); }
.apercu-simu strong { display: block; font-family: var(--titre); font-weight: 800; font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: .3rem; }
.apercu-simu p { font-size: .9rem; color: var(--graphite); }
.apercu-simu p + p { margin-top: .4rem; }
.apercu-simu .alerte { color: var(--fil-texte); font-weight: 600; }
.apercu-simu a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.lien-simu { margin-top: 1.2rem; font-size: .95rem; }

@media (max-width: 960px) {
  .simu__tete { grid-template-columns: minmax(0, 1fr); }
  .simu__grille { grid-template-columns: minmax(0, 1fr); }
  .simu__colonne-scene { position: static; }
  .simu__scene { height: 60vh; height: 60svh; min-height: 340px; }
}
@media (max-width: 560px) {
  .simu { padding: 1.4rem 12px 12px; border-radius: var(--rayon); }
  .simu__tete { padding: 0 .4rem; }
  .simu__emp { grid-template-columns: minmax(0, 1fr) 3.2rem; gap: .2rem .6rem; }
  .simu__bascule { grid-column: 1 / -1; justify-self: start; }
  .simu__techniques { grid-template-columns: minmax(0, 1fr); }
  .simu__vues button { min-width: 0; padding: 0 .95rem; }
  .apercu-simu { grid-template-columns: 96px minmax(0, 1fr); }
  .apercu-simu img { width: 96px; }
}
.bloc-3d__visuel:has(img) { aspect-ratio: 4 / 3; min-height: 0; }

/* ===== Sous-menus de l'en-tête (Vêtements, Entreprises) ===== */
.nav__groupe { position: relative; display: flex; align-items: center; gap: .2rem; }
.nav__ouvrir { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: inherit; }
.nav__ouvrir svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.nav__ouvrir[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__ouvrir:hover { background: var(--ecru); }
.nav__ouvrir:focus-visible, .sous-menu a:focus-visible { outline: 2px solid var(--fil); outline-offset: 2px; }
.sous-menu { position: absolute; top: calc(100% + .8rem); left: -1rem; min-width: 15.5rem; list-style: none; background: var(--papier); color: var(--encre); border: 1px solid var(--ligne); border-radius: 18px; box-shadow: 0 18px 50px rgba(18, 26, 43, .16); padding: .55rem; z-index: 70; }
.sous-menu[hidden] { display: none; }
.sous-menu a { display: block; padding: .5rem .8rem; border-radius: 10px; font-weight: 600; }
.sous-menu a::after { content: none; }
.sous-menu a:hover { background: var(--ecru); }
.sous-menu li:last-child a { color: var(--fil-texte); }
@media (max-width: 1180px) {
  .nav__groupe { flex-wrap: wrap; }
  .nav__ouvrir { width: 34px; height: 34px; }
  .nav__ouvrir:hover { background: rgba(251, 252, 253, .1); }
  .sous-menu { position: static; flex-basis: 100%; min-width: 0; background: transparent; color: inherit; border: 0; border-left: 2px dashed var(--fil); border-radius: 0; box-shadow: none; padding: .2rem 0 0 1rem; margin-top: .5rem; font-size: 1rem; }
  .sous-menu a { padding: .45rem .4rem; }
  .sous-menu a:hover { background: rgba(251, 252, 253, .08); }
  .sous-menu li:last-child a { color: var(--fil); }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tableau caption.legende { caption-side: bottom; text-align: left; padding: .9rem 1.1rem; font-size: .82rem; color: var(--gris); }
/* Tableaux larges : indication de défilement sur petit écran (le cadre défile, pas la page) */
@media (max-width: 860px) {
  .tableau-wrap::before { content: "Faites défiler le tableau →"; display: block; position: sticky; left: 0; padding: .7rem 1.1rem 0; font-size: .78rem; font-weight: 600; color: var(--gris); }
}

/* Formulaire de devis : piège à robots et messages d'envoi (assets/js/devis.js) */
.fe-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.devis-message { padding: 1.1rem 1.3rem; border-radius: var(--rayon-s); font-size: .98rem; line-height: 1.55; border: 1px solid var(--ligne); background: var(--blanc); }
.devis-message:focus { outline: 2px solid var(--fil); outline-offset: 2px; }
.devis-message a { color: inherit; text-decoration: underline; }
.devis-message--envoi { color: var(--gris); }
.devis-message--ok { border-color: var(--bleu); background: var(--ecru); color: var(--encre); }
.devis-message--erreur { border-color: var(--fil-texte); color: var(--fil-texte); font-weight: 600; }
.formulaire button[disabled] { opacity: .65; cursor: progress; }

/* crédit AKHY Concept, en bas du pied de page */
.credit { display: inline-flex; align-items: center; gap: .6rem; }
.credit img { height: 28px; width: auto; opacity: .85; transition: opacity .3s; }
.credit a:hover img { opacity: 1; }
