/* Site de Timothée Aubourg : blanc, encre, un seul accent citron. Pensé d'abord pour le téléphone.
   Palette « citron doux et olive » choisie par Tim le 02/11/2026 : les variables --jaune gardent leur nom, elles portent le citron.
   --olive : l'accent quand il est un petit signe sur fond clair (le citron y est illisible) ; 5,3:1 sur blanc, 4,9:1 sur --fond-2. */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
/* Une police remplacée prend un nouveau nom de fichier : les polices sont en cache un an, sans empreinte (_headers, fabriquer.mjs).
   Polices de repli : Arial aux mesures d'Inter et de Bricolage (largeur, hauteurs ; mesurées dans Chrome le 27/10/2026),
   pour que le texte ne bouge pas quand la vraie police arrive. Bricolage sert aux titres, en gras : repli sur Arial gras. */
@font-face { font-family: "Inter repli"; src: local("Arial"), local("ArialMT"); size-adjust: 106.86%; ascent-override: 90.77%; descent-override: 22.46%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage repli"; src: local("Arial Bold"), local("Arial-BoldMT"); font-weight: 200 800; size-adjust: 100.61%; ascent-override: 92.44%; descent-override: 26.84%; line-gap-override: 0%; }

:root {
  --encre: #111111;
  --texte: #3A3A3A;
  --gris: #666666;
  --trait: #E5E5E0;
  --fond: #FFFFFF;
  --fond-2: #F5F5F0;
  --jaune: #C2EA55;
  --jaune-pale: #F1F9DC;
  --olive: #56750A;
  --rayon: 18px;
  --marge: 20px;
  --ombre: 0 1px 2px rgba(17, 17, 17, .04), 0 12px 32px -12px rgba(17, 17, 17, .14);
  --ombre-forte: 0 2px 4px rgba(17, 17, 17, .05), 0 28px 60px -20px rgba(17, 17, 17, .28);
  --titre: "Bricolage Grotesque", "Bricolage repli", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font-family: "Inter", "Inter repli", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); color: var(--encre); line-height: 1.06; letter-spacing: -0.025em; margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 9.5vw, 4.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
mark { background: var(--jaune-pale); color: var(--encre); padding: 1px 6px; border-radius: 4px; }

.conteneur { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--marge); }
.etroit { max-width: 780px; }
.lien-evitement { position: absolute; left: -9999px; }
.lien-evitement:focus { left: 12px; top: 12px; z-index: 50; background: var(--encre); color: #fff; padding: 10px 14px; border-radius: 8px; }

/* ---------- En-tête */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--trait); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: 11px; text-decoration: none; line-height: 1.15; }
.marque .perso { width: 44px; height: 44px; flex: none; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.marque:hover .perso { transform: rotate(-6deg); }
.perso-fond { fill: var(--jaune-pale); }
.logo circle { transition: fill .2s; }
.marque:hover .p1, .pied .nom:hover .p1 { fill: #FF5F57; }
.marque:hover .p2, .pied .nom:hover .p2 { fill: #FEBC2E; }
.marque:hover .p3, .pied .nom:hover .p3 { fill: #28C840; }
.pied .nom { display: flex; align-items: center; gap: 12px; }
.pied .nom .logo { width: 36px; height: 34px; flex: none; }
.marque strong { display: block; font-family: var(--titre); color: var(--encre); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.015em; }
.marque span span { display: block; font-size: .78rem; color: var(--gris); }
.bouton-menu { width: 44px; height: 44px; border: 1px solid var(--trait); border-radius: 12px; background: #fff; display: grid; place-content: center; gap: 5px; cursor: pointer; padding: 0; }
.bouton-menu span { display: block; width: 18px; height: 2px; background: var(--encre); border-radius: 2px; transition: transform .2s, opacity .2s; }
.bouton-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bouton-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bouton-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* téléphone : le menu s'ouvre sous l'en-tête, par-dessus la page (rien ne bouge, Tim, 03/11) ; l'en-tête collant le positionne */
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 0 var(--marge) 16px; border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); max-height: calc(100dvh - 66px); overflow-y: auto; }
.nav li:first-child a { border-top: 0; }
.nav.ouverte { display: block; }
.nav ul { display: grid; }
.nav a { display: block; padding: 13px 2px; text-decoration: none; font-weight: 550; border-top: 1px solid var(--trait); }
.nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--olive); padding-left: 12px; }
.nav a.bouton { margin-top: 12px; border-top: 0; text-align: center; padding: 13px 20px; }
.nav a.bouton[aria-current="page"] { box-shadow: none; padding-left: 20px; }

/* ---------- Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--encre); color: #fff; border: 2px solid var(--encre); border-radius: 999px; padding: 13px 24px; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.bouton:hover { background: var(--jaune); border-color: var(--jaune); color: var(--encre); transform: translateY(-1px); }
.bouton.second { background: #fff; color: var(--encre); border-color: var(--trait); }
.bouton.second:hover { background: #fff; border-color: var(--encre); color: var(--encre); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.boutons .bouton { flex: 1 1 100%; }
.fleche::after, .externe::after { display: inline-block; margin-left: .35em; transition: transform .15s; }
.fleche::after { content: "→"; }
.externe::after { content: "↗"; }
a.fleche:hover::after { transform: translateX(3px); }
a.externe:hover::after { transform: translate(2px, -2px); }

/* ---------- Sections */
section { padding: clamp(56px, 9vw, 112px) 0; }
.fond-2 { background: var(--fond-2); }
.fond-encre { background: var(--encre); color: #C3C8D2; position: relative; overflow: hidden; }
.fond-encre::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 70%); pointer-events: none; }
.fond-encre > * { position: relative; }
.fond-encre h2, .fond-encre h3 { color: #fff; }
.surtitre { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--encre); background: var(--jaune-pale); border: 1px solid #E1F1B6; border-radius: 999px; padding: 5px 13px 5px 11px; margin-bottom: 18px; }
.surtitre::before { content: ""; width: 6px; height: 6px; background: #56750A; border-radius: 50%; flex: none; }
.fond-encre .surtitre { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.fond-encre .surtitre::before { background: var(--jaune); }
.intro { font-size: clamp(1.12rem, 3.6vw, 1.32rem); line-height: 1.5; color: var(--texte); margin-top: 22px; max-width: 36em; }
.tete-section { margin-bottom: clamp(30px, 5vw, 52px); }
.tete-section.centre { text-align: center; }
.tete-section.centre p { margin-left: auto; margin-right: auto; }
.boutons.centre { justify-content: center; }
.tete-section p { margin-top: 16px; max-width: 40em; }
.surligne { background: linear-gradient(transparent 60%, var(--jaune) 60%, var(--jaune) 93%, transparent 93%); padding: 0 .06em; }

/* Première section de chaque page : trame de points qui s'efface vers le bas */
main > section:first-child { position: relative; padding-top: clamp(44px, 7vw, 88px); }
main > section:first-child::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(17, 17, 17, .13) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 0%, transparent 78%); pointer-events: none; }
main > section:first-child > * { position: relative; }

/* ---------- Accueil : héros */
.heros { padding-bottom: clamp(40px, 6vw, 72px); }
.heros-grille { display: grid; gap: 44px; align-items: center; }
.pastille { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--trait); border-radius: 999px; padding: 6px 14px 6px 11px; font-size: .86rem; font-weight: 550; color: var(--encre); margin: 0 0 22px; box-shadow: var(--ombre); }
.pastille::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 3px var(--jaune-pale); flex: none; }

/* La vitrine : une fenêtre et un téléphone, avec de vraies captures */
.fenetre { display: block; background: #fff; border: 1px solid var(--trait); border-radius: 12px; overflow: hidden; box-shadow: var(--ombre); }
.fenetre::before { content: ""; display: block; height: 26px; border-bottom: 1px solid var(--trait); background: radial-gradient(circle at 14px 50%, #D5D5CD 4px, transparent 4.5px), radial-gradient(circle at 28px 50%, #D5D5CD 4px, transparent 4.5px), radial-gradient(circle at 42px 50%, #D5D5CD 4px, transparent 4.5px), var(--fond-2); }
.fenetre img { width: 100%; }
.cadre-telephone { display: block; border: 7px solid var(--encre); border-radius: 26px; overflow: hidden; background: var(--encre); box-shadow: var(--ombre-forte); }
.cadre-telephone img { width: 100%; border-radius: 19px; }
.vitrine { position: relative; padding: 0 0 9% 7%; }
.vitrine::before { content: ""; position: absolute; left: 0; right: 9%; top: 11%; bottom: 0; background: var(--jaune); border-radius: 22px; }
.vitrine .fenetre { position: relative; box-shadow: var(--ombre-forte); }
.vitrine .cadre-telephone { position: absolute; width: 27%; right: -2%; bottom: 0; border-width: 5px; border-radius: 18px; }
.vitrine .cadre-telephone img { border-radius: 13px; aspect-ratio: 600 / 1150; object-fit: cover; object-position: top; }

.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(40px, 6vw, 72px); }
.chiffres li { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px 18px 16px; font-size: .92rem; line-height: 1.4; box-shadow: var(--ombre); }
.chiffres strong { display: block; font-family: var(--titre); font-size: clamp(1.5rem, 5.5vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; color: var(--encre); line-height: 1.05; margin-bottom: 6px; white-space: nowrap; }

/* ---------- Grilles et cartes */
.grille { display: grid; gap: 18px; }
.carte { position: relative; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.carte h3 { margin-bottom: 10px; }
.carte .numero { font-size: .8rem; font-weight: 700; color: var(--gris); letter-spacing: .08em; display: block; margin-bottom: 14px; }
.puces li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.puces li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 4px; background: var(--olive); border-radius: 1px; }
.carte .suite { display: inline-block; margin-top: 16px; font-weight: 650; }

/* Carte de métier : icône, texte, étiquettes, toute la carte se clique */
.metier { display: flex; flex-direction: column; padding: 28px; }
.metier:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: #CFCFC6; }
.metier :is(h2, h3) { font-size: 1.5rem; }
.metier :is(h2, h3) a { text-decoration: none; }
.metier :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }
.metier p { font-size: .98rem; }
.metier .coin { position: absolute; top: 24px; right: 24px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--trait); display: grid; place-items: center; font-size: 1rem; color: var(--encre); transition: background .2s, border-color .2s, transform .2s; }
.metier:hover .coin { background: var(--encre); border-color: var(--encre); color: #fff; transform: rotate(-45deg); }
.etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.etiquettes li { font-size: .8rem; font-weight: 550; color: var(--texte); background: var(--fond-2); border: 1px solid var(--trait); border-radius: 999px; padding: 3px 11px; }

/* ---------- Réalisations */
.projet { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 12px 12px 0; transition: transform .2s, box-shadow .2s, border-color .2s; }
.projet:hover { transform: translateY(-3px); box-shadow: var(--ombre); border-color: #CFCFC6; }
.projet-image { box-shadow: none; }
.projet-image img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.projet-corps { padding: 20px 12px 22px; display: flex; flex-direction: column; flex: 1; }
.etiquette { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--encre); background: var(--jaune-pale); border-radius: 6px; padding: 4px 9px; margin-bottom: 12px; }
.projet h3 a { text-decoration: none; }
.projet h3 a:hover { text-decoration: underline; }
.projet p { margin: 10px 0 0; font-size: .98rem; }
.projet-liens { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: auto; padding-top: 20px; font-weight: 650; font-size: .98rem; }
.projet-liens .attente { color: var(--gris); font-weight: 500; }

.fil { font-size: .9rem; color: var(--gris); margin-bottom: 22px; }
.fil a { color: var(--gris); }
.fiche-tete { display: grid; gap: 36px; align-items: center; }
.fiche-blocs { display: grid; gap: 28px; margin-top: clamp(36px, 6vw, 64px); }
.fiche-blocs h2 { font-size: 1.5rem; margin-bottom: 12px; }
.avis-demo { background: var(--jaune-pale); border-left: 4px solid var(--jaune); border-radius: 0 12px 12px 0; padding: 16px 18px; color: var(--encre); font-size: .98rem; }
.captures { display: grid; gap: 22px; margin-top: 8px; }
.captures figure { margin: 0; }
.captures figure.telephone .cadre-telephone { max-width: 280px; margin: 0 auto; }
.captures figcaption { font-size: .88rem; color: var(--gris); margin-top: 10px; }
.captures figure.telephone figcaption { text-align: center; }
.outils { display: flex; flex-wrap: wrap; gap: 8px; }
.outils li { border: 1px solid var(--trait); border-radius: 999px; padding: 3px 12px; font-size: .9rem; }


/* ---------- Méthode */
.etapes { display: grid; gap: 14px; counter-reset: etape; }
.etapes li { counter-increment: etape; position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rayon); padding: 22px 22px 24px; }
.etapes li::before { content: "0" counter(etape); display: block; font-family: var(--titre); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--jaune); margin-bottom: 18px; }
.etapes h3 { margin-bottom: 8px; }
.etapes p { font-size: .98rem; }

/* ---------- Questions */
.faq details { border: 1px solid var(--trait); border-radius: 14px; background: #fff; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--encre); box-shadow: var(--ombre); }
.faq summary { cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 650; color: var(--encre); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--fond-2); display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; line-height: 1; transition: background .2s, transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--jaune); }
.faq details p { padding: 0 20px 20px; margin: 0; max-width: 44em; }
.faq-grille { display: grid; gap: 8px; }

/* ---------- Appel */
.appel { position: relative; overflow: hidden; background: var(--jaune); border-radius: 26px; padding: clamp(30px, 6vw, 64px); color: var(--encre); }
.appel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .35); pointer-events: none; }
.appel > * { position: relative; }
.appel h2 { max-width: 14em; }
.appel p { margin-top: 14px; max-width: 34em; font-size: 1.08rem; }
.appel .bouton:hover { background: #fff; border-color: #fff; }
.appel .bouton.second { background: transparent; border-color: var(--encre); }
.appel .bouton.second:hover { background: var(--encre); color: #fff; }

/* ---------- Tarifs */
.prix { font-family: var(--titre); font-size: clamp(2.6rem, 9vw, 3.4rem); font-weight: 700; color: var(--encre); letter-spacing: -0.04em; line-height: 1; margin: 8px 0 18px; }
.prix small { display: block; margin-top: 6px; font-family: "Inter", "Inter repli", sans-serif; font-size: .95rem; font-weight: 550; color: var(--gris); letter-spacing: 0; }
.prix.texte { font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.02em; }
.carte.vedette { border: 2px solid var(--encre); box-shadow: 8px 8px 0 var(--jaune); }
.encadre { border: 1px solid var(--trait); border-radius: var(--rayon); padding: 24px 26px; background: #fff; }
.encadre + .encadre { margin-top: 16px; }
.bandeau-local { display: grid; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 26px; box-shadow: var(--ombre); }
.bandeau-local h2 { font-size: 1.5rem; }
.bandeau-local p { margin: 8px 0 0; }

/* ---------- À propos */
.portrait { width: 100%; max-width: 340px; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--fond-2); border: 1px solid var(--trait); display: grid; place-items: center; box-shadow: 10px 10px 0 var(--jaune); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .sans-photo .logo { width: 120px; height: 115px; }
.deux-colonnes { display: grid; gap: 36px; }
.prose p { max-width: 38em; }
.prose h2 { margin: 36px 0 12px; font-size: 1.5rem; }

/* ---------- Contact */
.champ { margin-bottom: 18px; }
.champ label { display: block; font-weight: 650; color: var(--encre); margin-bottom: 6px; }
.champ input, .champ textarea { width: 100%; font: inherit; color: var(--encre); background: #fff; border: 1.5px solid #C9C9C2; border-radius: 12px; padding: 13px 14px; }
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: 3px solid var(--olive); border-color: var(--encre); }
.champ [aria-invalid="true"] { border-color: #B42318; }
.erreur { color: #B42318; font-size: .92rem; margin-top: 6px; min-height: 0; }
.mention { font-size: .9rem; color: var(--gris); }
.formulaire { background: #fff; border: 1px solid var(--trait); border-radius: 22px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--ombre); }
.apercu { border: 1.5px dashed #B9B9B0; border-radius: var(--rayon); padding: 20px; background: #fff; margin: 18px 0; overflow-wrap: anywhere; }
.apercu dl { margin: 0; display: grid; gap: 4px 14px; grid-template-columns: auto 1fr; font-size: .95rem; }
.apercu dt { color: var(--gris); }
.apercu dd { margin: 0; color: var(--encre); }
.apercu pre { font: inherit; white-space: pre-wrap; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--trait); color: var(--encre); }

/* ---------- Pied de page */
.pied { background: var(--encre); color: #A9AEBA; padding: 56px 0 28px; font-size: .96rem; }
.pied .conteneur { display: grid; gap: 32px; }
.pied h2 { font-family: "Inter", "Inter repli", sans-serif; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; font-weight: 650; margin-bottom: 14px; }
.pied a { color: #E6E8EC; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied li { margin-bottom: 7px; }
.pied .nom { font-family: var(--titre); color: #fff; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.pied .bas { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }

/* ---------- Accueil sombre : fond encre, quadrillage fin, accent jaune */
.heros { background: radial-gradient(900px 520px at 88% -10%, rgba(194, 234, 85, .2), transparent 62%), var(--encre); color: #C9CDD6; overflow: hidden; }
main > section.heros:first-child::before { background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000 20%, transparent 95%); }
.heros h1 { color: #fff; }
.heros h1 .accent { color: var(--jaune); }
.heros .intro { color: #C9CDD6; }
.heros .pastille { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.heros .bouton, .appel .bouton { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.heros .bouton:hover, .appel .bouton:hover { background: #fff; border-color: #fff; color: var(--encre); }
.heros .bouton.second, .appel .bouton.second { background: transparent; border-color: rgba(255, 255, 255, .38); color: #fff; }
.heros .bouton.second:hover, .appel .bouton.second:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.heros .fenetre { border-color: transparent; }
.heros .chiffres { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: clamp(26px, 4vw, 40px); gap: 26px 20px; }
.heros .chiffres li { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; color: #A9AEBA; }
.heros .chiffres strong { color: var(--jaune); }
.heros :focus-visible, .appel :focus-visible, .pourquoi :focus-visible { outline-color: #fff; }

/* Appel final : même famille que le haut de l'accueil */
.appel { background: radial-gradient(640px 320px at 92% -10%, rgba(194, 234, 85, .24), transparent 62%), var(--encre); color: #C9CDD6; text-align: center; }
.appel::after { display: none; }
.appel h2 { color: #fff; margin-left: auto; margin-right: auto; }
.appel p { margin-left: auto; margin-right: auto; }
.appel .boutons { justify-content: center; }

/* Méthode : encadré sombre et étapes numérotées */
.methode { display: grid; gap: 36px; align-items: center; }
.pourquoi { position: relative; overflow: hidden; background: radial-gradient(420px 260px at 100% 0%, rgba(194, 234, 85, .2), transparent 62%), var(--encre); color: #E6E8EC; border-radius: 24px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--ombre-forte); }
.pourquoi h3 { color: #fff; font-size: 1.5rem; margin-bottom: 20px; }
.coches li { position: relative; padding-left: 34px; margin-bottom: 13px; font-weight: 550; }
.coches li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: var(--jaune); color: var(--encre); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.etapes-liste { counter-reset: etape; display: grid; gap: 22px; }
.etapes-liste li { counter-increment: etape; display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; }
.etapes-liste li::before { content: "0" counter(etape); grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--jaune-pale); border: 1px solid #E1F1B6; color: var(--encre); font-family: var(--titre); font-weight: 700; display: grid; place-items: center; }
.etapes-liste h3 { font-size: 1.15rem; align-self: end; }
.etapes-liste p { grid-column: 2; margin: 0; font-size: .98rem; }

/* Questions : cartes ouvertes */
.questions { display: grid; gap: 14px; max-width: 780px; margin-inline: auto; } /* une colonne : les réponses n'ont pas la même longueur (audit du 03/11) */
.question { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 22px 22px 24px; box-shadow: var(--ombre); }
.question h3 { font-size: 1.08rem; line-height: 1.3; margin-bottom: 10px; }
.question p { font-size: .96rem; margin: 0; }

/* ---------- Apparition au défilement (posée par site.js, jamais sans lui) */
.anime .apparait { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.anime .apparait.vu { opacity: 1; transform: none; }

/* ---------- Écrans plus larges */
@media (min-width: 640px) {
  :root { --marge: 32px; }
  .boutons .bouton { flex: 0 0 auto; }
  .grille.deux, .grille.trois, .grille.quatre { grid-template-columns: repeat(2, 1fr); }
  .chiffres { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .chiffres li { padding: 22px; }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .captures { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .bandeau-local { grid-template-columns: 1fr auto; padding: 30px 34px; }
  .pied .conteneur { grid-template-columns: 1.4fr 1fr 1fr; }
  .pied .bas { grid-column: 1 / -1; }
}
@media (min-width: 940px) {
  body { font-size: 18px; }
  .bouton-menu { display: none; }
  .nav { display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .nav ul { display: flex; align-items: center; gap: 4px; }
  .nav a { border: 0; padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
  .nav a:hover { background: var(--fond-2); }
  .nav a[aria-current="page"] { box-shadow: none; padding-left: 14px; background: var(--jaune-pale); }
  .nav a.bouton { margin: 0 0 0 10px; padding: 10px 20px; border: 2px solid var(--encre); }
  .nav a.bouton:hover { background: var(--jaune); border-color: var(--jaune); }
  .nav a.bouton[aria-current="page"] { padding-left: 20px; background: var(--encre); }
  .heros-grille { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .grille.trois { grid-template-columns: repeat(6, 1fr); }
  .grille.trois > * { grid-column: span 2; }
  /* dernière rangée incomplète centrée, plutôt qu'une case vide (audit du 03/11) ; pas pendant un filtre, qui cache des cartes que nth-child compte */
  .grille.trois:not(:has(> [hidden])) > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .grille.trois:not(:has(> [hidden])) > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
  .grille.quatre { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .deux-colonnes { grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
  .deux-colonnes.contact { grid-template-columns: 1fr 1fr; }
  .fiche-tete { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .fiche-blocs.cote-a-cote { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .methode { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .faq-grille { grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
  .faq-grille .tete-section { position: sticky; top: 100px; }
}
/* ---------- Pages intérieures : haut de page sombre et blocs */
.heros-page { padding-bottom: clamp(52px, 8vw, 96px); }
.heros-page h1 { font-size: clamp(2.2rem, 7.5vw, 3.9rem); }
/* titre de l'accueil, plus long depuis le 03/11 (B5) : trois lignes sans couper « full-stack », mesuré de 320 à 1 440 px, FR et EN */
.heros:not(.heros-page) h1 { font-size: clamp(1.9rem, 9vw, 3.2rem); }
@media (min-width: 940px) { .heros:not(.heros-page) h1 { font-size: clamp(2.4rem, 4.2vw, 3.5rem); } }
.heros .fil, .heros .fil a { color: #A9AEBA; }
.heros .fil { margin-bottom: 20px; }
.heros .etiquette { background: rgba(194, 234, 85, .14); color: var(--jaune); border: 1px solid rgba(194, 234, 85, .3); margin-bottom: 16px; }
.heros .coches li { color: #E6E8EC; }
.heros .portrait { border-color: transparent; margin: 0 auto; }
.heros .formulaire { color: var(--texte); box-shadow: var(--ombre-forte); border-color: transparent; }
.heros .formulaire .bouton { background: var(--encre); border-color: var(--encre); color: #fff; }
.heros .formulaire .bouton:hover { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.raccourcis { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.raccourcis a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.raccourcis a:hover { background: rgba(194, 234, 85, .12); border-color: var(--jaune); transform: translateY(-2px); }
.raccourcis svg { width: 20px; height: 20px; color: var(--jaune); }

.carte:hover { border-color: #CFE892; }
.bloc-fiche { padding: clamp(24px, 4vw, 34px); }
.bloc-fiche h2 { font-size: 1.55rem; margin-bottom: 12px; }
.avis-demo { margin: 24px 0 0; }
.outils-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.outils-ligne > span { font-weight: 650; color: var(--encre); }

.voisins { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
.voisin { display: block; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 18px 22px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.voisin span { display: block; font-size: .82rem; font-weight: 600; color: var(--gris); margin-bottom: 4px; }
.voisin strong { font-family: var(--titre); font-size: 1.15rem; letter-spacing: -0.015em; color: var(--encre); }
.voisin.suivant { text-align: right; }
.voisin:hover { transform: translateY(-2px); box-shadow: var(--ombre); border-color: #CFE892; }

.service-grille { display: grid; gap: 44px; align-items: center; }
.service-grille h2 { margin-bottom: 18px; }
.pour-qui { font-size: 1.05rem; }
.sous-titre { font-family: "Inter", "Inter repli", sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin: 26px 0 14px; }
.coches li { color: var(--texte); }
.pourquoi .coches li, .heros .coches li { color: #E6E8EC; }
.prix-ligne { display: inline-block; margin-top: 14px; padding: 12px 18px; background: var(--jaune-pale); border: 1px solid #E1F1B6; border-radius: 12px; color: var(--encre); }
.exemples-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; font-weight: 600; font-size: .95rem; }
.exemples-liens > span { width: 100%; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }

.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.filtres[hidden] { display: none; }
.filtres button { font: inherit; font-size: .92rem; font-weight: 600; color: var(--encre); background: #fff; border: 1px solid var(--trait); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.filtres button:hover { border-color: var(--encre); }
.filtres button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }
.projet[hidden] { display: none; }

@media (min-width: 640px) {
  .captures figure.large { grid-column: 1 / -1; }
  .voisins { grid-template-columns: 1fr 1fr; }
  .voisin.suivant:first-child { grid-column: 2; }
}
@media (min-width: 940px) {
  .heros .portrait { margin: 0 0 0 auto; }
  .service-grille { grid-template-columns: 1fr 1.05fr; gap: 72px; }
  .service-grille.inverse > :first-child { order: 2; }
}

/* ---------- Fiches : essai, réel et simulé, vérification */
.essais { counter-reset: essai; display: grid; gap: 14px; }
.essais li { counter-increment: essai; position: relative; padding-left: 40px; color: #E6E8EC; }
.essais li::before { content: counter(essai); position: absolute; left: 0; top: .05em; width: 26px; height: 26px; border-radius: 8px; background: var(--jaune); color: var(--encre); font-family: var(--titre); font-weight: 700; font-size: .9rem; display: grid; place-items: center; }
.essais a, .pourquoi a:not(.bouton) { color: var(--jaune); }
.pourquoi .boutons { margin-top: 26px; }
.pourquoi .bouton { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.pourquoi .bouton:hover { background: #fff; border-color: #fff; color: var(--encre); }
.coches.simule li::before { content: "–"; background: #fff; border: 1px solid var(--trait); color: var(--gris); }
.note-fiche { margin-top: 18px; font-weight: 550; color: var(--encre); }
.verifie { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 16px 18px; background: #fff; border: 1px solid var(--trait); border-radius: 14px; color: var(--encre); font-size: .96rem; }
.verifie svg { flex: none; width: 24px; height: 24px; color: #1F8A4C; }

/* ---------- Effets au survol et au défilement (effets qui suivent la souris, mots qui s'écrivent et compteur retirés le 03/11 : ils faisaient « modèle », audit du 03/11) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête : ombre au défilement, barre de lecture jaune */
.entete { transition: box-shadow .25s; }
.entete.defile { box-shadow: 0 10px 30px -18px rgba(17, 17, 17, .4); }
@supports (animation-timeline: scroll()) {
  .entete::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--olive); transform-origin: 0 50%; transform: scaleX(0); animation: lecture linear both; animation-timeline: scroll(root); }
  @keyframes lecture { to { transform: scaleX(1); } }
}

/* Menu : trait qui se dessine sous le lien */
@media (min-width: 940px) {
  .nav a:not(.bouton) { position: relative; }
  .nav a:not(.bouton)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--encre); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
  .nav a:not(.bouton):hover::after { transform: scaleX(1); }
  .nav a[aria-current="page"]::after { display: none; }
}

/* Cartes : bord qui se réchauffe */
.metier:hover, .projet:hover { border-color: #CFE892; }
.question { transition: transform .2s, border-color .2s; }
.question:hover { transform: translateY(-3px); border-color: #CFE892; }
.etapes-liste li::before { transition: background .2s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.etapes-liste li:hover::before { background: var(--jaune); transform: scale(1.1) rotate(-6deg); }
.coches li::before { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.coches li:hover::before { transform: scale(1.18); }

/* Fenêtres : les trois points prennent leurs couleurs, la capture avance un peu */
.projet:hover .fenetre::before, .vitrine:hover .fenetre::before, .captures figure:hover .fenetre::before, .fiche-tete .fenetre:hover::before { background: radial-gradient(circle at 14px 50%, #FF5F57 4px, transparent 4.5px), radial-gradient(circle at 28px 50%, #FEBC2E 4px, transparent 4.5px), radial-gradient(circle at 42px 50%, #28C840 4px, transparent 4.5px), var(--fond-2); }
.projet .fenetre img, .captures .fenetre img { transform-origin: 50% 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.projet:hover .fenetre img, .captures figure:hover .fenetre img { transform: scale(1.045); }
.cadre-telephone { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.captures figure:hover .cadre-telephone { transform: translateY(-6px) rotate(-1.5deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .anime .apparait { opacity: 1; transform: none; }
  .entete::after { animation: none !important; display: none; }
}
/* Transition entre pages (Chrome, Edge ; coupée dans WebKit par site.js ; ailleurs, la page change comme avant). L'en-tête reste en place ;
   la capture d'une carte cliquée (nommée par site.js, événement pageswap) devient la capture du haut de la fiche. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.entete { view-transition-name: entete; }
.heros-page .vitrine .fenetre { view-transition-name: capture; }
.heros-page .vitrine .cadre-telephone { view-transition-name: capture-telephone; } /* sinon la capture passe devant lui pendant le trajet */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
::view-transition-group(capture) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }

/* Remplacent les attributs style="" des pages : la CSP n'autorise aucun style en ligne. !important : la priorité d'un style en ligne. */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-14 { margin-top: 14px !important; }
.mt-18 { margin-top: 18px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-28 { margin-top: 28px !important; }
.mb-6 { margin-bottom: 6px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-24 { margin-bottom: 24px !important; }
.fs-110 { font-size: 1.1rem !important; }
.fs-115 { font-size: 1.15rem !important; }
.fs-120 { font-size: 1.2rem !important; }
.fs-130 { font-size: 1.3rem !important; }
.fs-140 { font-size: 1.4rem !important; }
.sans-haut { padding-top: 0 !important; }

/* Formulaire de contact : champ piège pour les robots, hors de l'écran (pas display:none, que certains robots repèrent) */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sur fond encre, l'accent reste citron (l'olive y serait trop sombre). */
.heros .pastille::before, .fond-encre .pastille::before, .heros .puces li::before, .fond-encre .puces li::before, .pourquoi .puces li::before { background: var(--jaune); }
.heros .champ input:focus, .heros .champ textarea:focus { outline-color: var(--jaune); }
.heros .formulaire .puces li::before { background: var(--olive); } /* panneau blanc dans le haut sombre */
