/* 10bigp — site vitrine. Mobile d'abord. */
@font-face { font-family: "Playfair Display"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-700-italic.woff2) format("woff2"); }
/* Texte : Figtree (licence libre OFL), proche de la Polymath de Christie's */
@font-face { font-family: "Figtree"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/figtree-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/figtree-latin-500-normal.woff2) format("woff2"); }

:root {
  --fond: #FFFFFF;
  --encre: #1A1917;
  --texte-2: #48453F;   /* 9,6:1 sur blanc, 8,7:1 sur pierre */
  --filet: #E4E1DB;
  --pierre: #F4F2EE;
  --laiton: #856538;
  --laiton-clair: #D9C29A;   /* uniquement sur fond encre */

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --gouttiere: clamp(1.25rem, 5vw, 4rem);
  --largeur: 75rem;
  --section: clamp(6rem, 14vw, 11rem);
  --lent: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font: 300 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: 0; text-wrap: balance; }
h3 { line-height: 1.2; }
strong, b { font-weight: 500; }
h1 em, h2 em, h3 em { font-style: normal; font-weight: inherit; }
::selection { background: color-mix(in srgb, var(--laiton) 28%, var(--fond)); color: var(--encre); }
input, textarea { caret-color: var(--laiton); }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
p { margin: 0; text-wrap: pretty; }
li, summary { text-wrap: pretty; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--encre); color: #fff; padding: .6rem 1rem; }
.evitement:focus { top: 1rem; }

/* ——— Liens d'action : texte souligné ; flèche seulement vers ce qui s’ouvre ailleurs ——— */
.lien-action {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .65rem 0 .35rem; min-height: 44px;
  font: 400 .85rem/1.35 var(--sans); letter-spacing: .02em; text-transform: uppercase;
  text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  border: 0; cursor: pointer;
  transition: background-size .5s var(--lent), color .3s;
}
.lien-action .fl { display: none; }
.lien-action[target=_blank] .fl, .vignette .lien-action .fl { display: block; }
.lien-action .fl { width: .75em; height: .75em; flex: none; transition: transform .4s var(--lent); color: var(--laiton); }
.lien-action:hover .fl, .lien-action:focus-visible .fl { transform: translate(2px, -2px); }
@media (hover: hover) {
  .lien-action:hover { background-image: linear-gradient(var(--laiton), var(--laiton)); }
}

/* ——— En-tête ——— */
.entete {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--gouttiere); color: var(--encre); background: rgba(255, 255, 255, .97);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.js .entete { position: fixed; }
.entete.solide { background: rgba(255, 255, 255, .97); color: var(--encre); box-shadow: 0 1px 0 var(--filet); }
.entete .lien-action .fl { color: inherit; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font: 400 1.5rem/1 var(--serif); letter-spacing: -.01em; text-decoration: none; --logo-accent: var(--laiton); }
.logo .sceau, .logo > .cachet { width: 2.9rem; height: 2.9rem; flex: none; }
@media (min-width: 48rem) { .logo > .cachet { width: 3.4rem; height: 3.4rem; } }
.entete.solide .logo, .pied .logo, .page .logo { --logo-accent: var(--laiton); }
.logo-pied { gap: 1rem; margin: 0; }
/* 2026-11-25 : « 10bigp » de l'en-tête de l'accueil : chiffres alignés sur les lettres (classe posée dans index.html seulement ; la 21st garde l'ancien) */
.logo-italique span { font-weight: 600; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.logo-pied > .cachet { width: 5.5rem; height: 5.5rem; flex: none; }

/* ——— En-tête : navigation ——— */
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.bouton-plein) { font: 400 .85rem/1 var(--sans); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; padding: .75rem 0; }
.nav a:not(.bouton-plein):hover { text-decoration: underline; text-underline-offset: .35em; }

/* ——— Boutons et liens ——— */
.bouton-plein {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .95rem 1.75rem;
  background: var(--encre); color: #fff; border: 0; border-radius: 0; cursor: pointer;
  font: 400 .85rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: center;
  transition: background-color .3s var(--lent), transform .2s var(--lent);
}
.bouton-plein:hover { background: #000; }
.bouton-plein:active { transform: translateY(1px); }
.bouton-petit { min-height: 44px; padding: .7rem 1.1rem; }
.lien { display: inline-flex; align-items: center; min-height: 44px; font: 400 .85rem/1.2 var(--sans); letter-spacing: .02em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .45em; }
.lien:hover { text-decoration-color: var(--laiton); }

/* ——— Ouverture : blanche, texte à gauche, la newsletter telle qu'on la reçoit ——— */
.ouverture {
  display: grid; gap: 3rem; align-items: center;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto;
  padding: 7.5rem var(--gouttiere) 1rem;
}
.ouverture h1 { font-size: clamp(2.25rem, 4.4vw, 3rem); max-width: 15ch; }
/* 2026-11-25 : dire en haut de page que c'est pour les agences immobilières */
.surtitre { margin: 0 0 1.25rem; font: 400 .85rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--texte-2); }
.chapo { max-width: 32rem; margin-top: 1.5rem; font-size: 1.125rem; color: var(--texte-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.faits { max-width: 30rem; margin-top: 1.5rem; font-size: .9375rem; color: var(--texte-2); }
.ouverture-ecran { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.telephone {
  width: min(19rem, 70vw); aspect-ratio: 1000 / 2050; overflow: hidden;
  border: .55rem solid var(--encre); border-radius: 2.4rem; background: #fff;
  box-shadow: 0 2rem 3rem -1.5rem rgba(26,25,23,.35);
}
.telephone img { width: 100%; height: auto; }
/* 2026-11-25 : l'écran du téléphone défile (la newsletter en entier), comme dans la version 21st */
.telephone-ecran { height: 100%; overflow-y: auto; overscroll-behavior-y: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.telephone-ecran::-webkit-scrollbar { display: none; }
.telephone-ecran img { display: block; }
.telephone-ecran:focus-visible { outline: none; }
.telephone:has(.telephone-ecran:focus-visible) { outline: 2px solid var(--laiton); outline-offset: 4px; }
.ouverture-ecran .mention { font-size: .875rem; text-align: center; }

/* ——— Fonctionnement : le constat, le mois type, le démarrage ——— */
.fonctionnement-tete { max-width: 46rem; }
.fonctionnement-tete p { margin-top: 1.5rem; font-size: 1.125rem; color: var(--texte-2); }
.fonctionnement-corps { display: grid; gap: 3rem; margin-top: 3.5rem; align-items: start; }
.fonctionnement h3 { font-size: 1.5rem; }
.mois-note { margin-top: 1.5rem; max-width: 54ch; color: var(--texte-2); }
.verifie-tete { max-width: 46rem; }
.verifie-tete p { margin-top: 1.5rem; font-size: 1.125rem; color: var(--texte-2); }
.verifie-liste { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; column-gap: 4rem; }
.verifie-liste li { padding: 1.5rem 0; border-top: 1px solid var(--filet); }
.verifie-liste strong { display: block; font: 400 1.375rem/1.3 var(--serif); color: var(--encre); }
.verifie-liste p { margin-top: .5rem; max-width: 46ch; color: var(--texte-2); }
.mois { list-style: none; margin: 1.25rem 0 0; padding: 0; counter-reset: mois; }
.mois li { counter-increment: mois; position: relative; padding: 1.1rem 0 1.1rem 2.25rem; border-top: 1px solid var(--filet); color: var(--texte-2); }
.mois li::before { content: counter(mois); position: absolute; left: 0; top: 1.1rem; color: var(--laiton); font-variant-numeric: tabular-nums; }
.mois strong { color: var(--encre); }
.demarrer { background: var(--pierre); padding: clamp(1.5rem, 3vw, 2.25rem); }
.demarrer p { margin-top: .9rem; color: var(--texte-2); }

/* ——— Offre : un seul encadré fort, puis le détail ——— */
.offre { display: grid; gap: 3rem; align-items: start; }
.offre-prix { background: var(--encre); color: #fff; padding: clamp(1.75rem, 4vw, 3rem); }
.offre-prix h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.prix { margin-top: 1.75rem; }
.prix-montant { display: block; font: 400 clamp(3.5rem, 9vw, 5.5rem)/1 var(--serif); }
.prix-unite { display: block; margin-top: .6rem; color: rgba(255,255,255,.8); }
.offre-places { margin-top: 1.25rem; color: var(--laiton-clair); }
.offre-prix .bouton-plein { margin-top: 2rem; background: #fff; color: var(--encre); }
.offre-prix .bouton-plein:hover { background: var(--laiton-clair); }
.petites-lignes { margin-top: 1.5rem; font-size: .9375rem; line-height: 1.6; color: rgba(255,255,255,.75); }
.offre-details { display: grid; gap: 2.5rem; }
.offre-details h3 { font-size: 1.5rem; }
.offre-details ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.offre-details li { padding: .9rem 0; border-top: 1px solid var(--filet); color: var(--texte-2); }

.faq-contact { margin-top: 2rem; color: var(--texte-2); }
.faq-contact a { color: var(--encre); }


/* ——— Sections ——— */
.exemples, .fonctionnement, .verifie, .offre, .fondateur, .demande, .faq {
  padding: var(--section) var(--gouttiere) 0;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.375rem; }



/* Exemples : la seule bande de couleur */
.exemples { max-width: none; background: var(--pierre); margin-top: var(--section); padding-bottom: var(--section); }
.exemples > * { max-width: var(--largeur); margin-left: auto; margin-right: auto; }
.exemples-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; }
.mention { font-size: 1rem; font-style: normal; color: var(--texte-2); }
.rapport-image { margin: 0; }
.rapport-image figcaption { margin-top: 1rem; }
.versions-intro { margin-top: 1.5rem; }
.versions-intro p { max-width: 40rem; color: var(--texte-2); }
.sommaire-versions { display: grid; margin-top: 2.5rem; }
.sommaire-versions a { display: grid; gap: .25rem; padding: 1.25rem 0; border-top: 1px solid var(--laiton); text-decoration: none; color: var(--encre); }
.sommaire-nom { font: 400 1.5rem/1.2 var(--serif); }
.sommaire-texte { color: var(--texte-2); }
.sommaire-nb { display: inline-flex; align-items: center; gap: .4em; margin-top: .25rem; color: var(--laiton); font-size: .9375rem; }
.sommaire-nb .fl { display: block; width: .8em; height: .8em; transform: rotate(135deg); transition: translate .3s var(--lent); }
.sommaire-versions a:hover .sommaire-nom { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sommaire-versions a:hover .fl { translate: 0 .15em; }
.versions { display: grid; gap: 4rem; margin-top: 4rem; }
.version { scroll-margin-top: 7.5rem; }
.version > h3 { padding-top: 1.25rem; border-top: 1px solid var(--laiton); font-size: 1.75rem; }
.version > p { margin-top: .5rem; max-width: 22rem; color: var(--texte-2); }
.galerie { list-style: none; margin-top: 2rem; padding: 0; display: grid; gap: 2rem; }
.vignette a { display: block; text-decoration: none; }
.vignette-image { display: block; overflow: hidden; aspect-ratio: 3 / 4; background: var(--fond); box-shadow: 0 1px 2px rgba(26,25,23,.06), 0 1.5rem 3rem -1.5rem rgba(26,25,23,.25); }
.vignette-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--lent); }
.vignette a:hover .vignette-image img { transform: translateY(-2%); }
.vignette-nom { display: block; margin-top: 1.5rem; font: 400 1.5rem/1.2 var(--serif); }
.vignette-lieu { display: block; margin-top: .25rem; color: var(--texte-2); font-size: 1rem; }
.vignette-style { display: block; margin-top: .25rem; color: var(--laiton); font-size: .9375rem; }
.vignette .lien-action { margin-top: .75rem; }

/* Un exemple par version, les autres styles en dépliant */
.version-exemple { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 22rem; }
.autres-styles { margin-top: 1.5rem; border-top: 1px solid var(--filet); }
.autres-styles summary { display: flex; align-items: center; gap: .5em; min-height: 44px; padding-top: .75rem; cursor: pointer; list-style: none; color: var(--texte-2); font-size: .9375rem; }
.autres-styles summary::-webkit-details-marker { display: none; }
.autres-styles summary::after { content: ""; width: .45em; height: .45em; margin-top: -.2em; border-right: 1px solid var(--laiton); border-bottom: 1px solid var(--laiton); transform: rotate(45deg); transition: transform .3s var(--lent); }
.autres-styles[open] summary::after { margin-top: .2em; transform: rotate(-135deg); }
.autres-styles summary:hover { color: var(--encre); text-decoration: underline; text-underline-offset: .25em; }
.autres-styles summary:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
/* 2026-11-18 : lien « Voir les 4 autres styles → » plus visible (index.html seulement, classe .voir-styles) */
.autres-styles summary.voir-styles { color: var(--encre); font-size: 1rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--laiton); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.autres-styles summary.voir-styles::after { display: none; }
.autres-styles summary.voir-styles:hover { text-decoration-thickness: 2px; }
.voir-fleche { display: inline-block; color: var(--laiton); transition: transform .3s var(--lent); }
.autres-styles summary.voir-styles:hover .voir-fleche { transform: translateX(.2em); }
.autres-styles[open] summary.voir-styles .voir-fleche { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .voir-fleche { transition: none; } }
.autres-liste { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.autres-liste .vignette-nom { margin-top: .75rem; font-size: 1.125rem; }
.autres-liste .vignette-lieu, .autres-liste .vignette-style { font-size: .875rem; }
.autres-liste .lien-action { font-size: .75rem; }
/* 2026-11-19 : un seul exemple, en avant-goût (l'agence découvre sa version et son style dans sa démo) */
.apercu { display: grid; gap: 2.5rem; margin-top: 2.5rem; align-items: center; }
.apercu-exemple { max-width: 18rem; }
.apercu-phrase { font: 400 clamp(1.375rem, 2.6vw, 1.875rem)/1.3 var(--serif); max-width: 30rem; margin-bottom: 1.75rem; }
.apercu-texte .mention { margin-top: 1rem; }
/* 2026-11-20 : les 3 versions reviennent (une newsletter chacune, sans style affiché) */
.versions-intro p { font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.4 var(--serif); max-width: 40rem; color: var(--encre); }
.versions { margin-top: 3rem; gap: 3.5rem; }
.version > .vignette { margin-top: 1.75rem; }
.versions-suite { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--filet); }
.versions-styles { font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.4 var(--serif); max-width: 40rem; margin-bottom: 1.75rem; color: var(--encre); }
.versions-suite .mention { margin-top: 1rem; }
/* Le travail derrière chaque exemple */
.exemples-note { margin-top: 3.5rem; }
.exemples-note p { font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.35 var(--serif); max-width: 36rem; }
.service { display: grid; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--laiton); }
.service h3 { font-size: clamp(1.5rem, 2.6vw, 1.75rem); }
.service-liste { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.service-liste li { position: relative; padding-left: 1.5rem; }
.service-liste li::before { content: ""; position: absolute; left: 0; top: .8em; width: .75rem; height: 1px; background: var(--laiton); }
.service-vous { margin-top: 1.5rem; color: var(--texte-2); max-width: 36rem; }
.service-vous a { color: var(--encre); text-underline-offset: .2em; white-space: nowrap; }
.service-appel { background: var(--fond); padding: 2rem; box-shadow: 0 1px 2px rgba(26,25,23,.06); }
.service-appel p:first-child { font: 400 clamp(1.375rem, 2.4vw, 1.625rem)/1.3 var(--serif); margin-bottom: 1.5rem; }
.service-appel .bouton-plein { width: 100%; }
.service-appel .mention { margin-top: 1rem; }
.rapport { display: grid; gap: 2.5rem; margin-top: var(--section); align-items: center; }
.rapport h3 { font-size: clamp(1.75rem, 3vw, 2rem); }
.rapport p { margin: 1.25rem 0 1.5rem; color: var(--texte-2); max-width: 30rem; }
.rapport-image img { box-shadow: 0 1px 2px rgba(26,25,23,.06), 0 1.5rem 3rem -1.5rem rgba(26,25,23,.25); }


/* Fondateur : texte seul pour l’instant ; la colonne photo s’active quand .fondateur-photo est présente */
.fondateur-texte { max-width: 40rem; }
.fondateur-texte p { margin-top: 1.25rem; color: var(--texte-2); }
.fondateur-texte h2 + p { margin-top: 2rem; }
.fondateur-texte .interlocuteur { margin-top: 2.25rem; font: 400 clamp(1.625rem, 3.4vw, 2.25rem)/1.2 var(--serif); color: var(--encre); }
.interlocuteur + p { margin-top: .75rem; }
.fondateur-photo { margin: 0 0 2.5rem; }
.fondateur-photo img { width: 100%; height: auto; }

/* Démarrage : mêmes repères que « Comment ça marche » */

/* Vos hésitations */

/* Sans risque */

.delai { margin-top: 1rem; font-size: 1rem; color: var(--texte-2); }
.delai-pied { color: var(--texte-2); }

/* ——— Formulaire ——— */
.demande { scroll-margin-top: 5rem; }
.demande-tete { max-width: 40rem; }
.demande-tete p { margin-top: 1.25rem; color: var(--texte-2); }
.formulaire { margin-top: 3rem; display: grid; gap: 1.75rem 3rem; max-width: 56rem; }
.champ { display: grid; gap: .4rem; min-width: 0; }
.champ > label, .champ legend { font-size: 1rem; color: var(--encre); }
.facultatif { color: var(--texte-2); }
/* 2026-11-20 : champs obligatoires signalés par * (lu « obligatoire » par les lecteurs d'écran) */
.note-requis { margin: 0; color: var(--texte-2); font-size: .9375rem; }
.requis, .note-requis span { color: #A3352B; }
.lecteur { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.champ input[type=text], .champ input[type=email], .champ textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--encre); background: transparent;
  border: 0; border-bottom: 1px solid #8C877E; border-radius: 0; padding: .55rem 0; transition: border-color .3s;
}
.champ textarea { border: 1px solid #8C877E; padding: .75rem; resize: vertical; min-height: 7rem; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--laiton); box-shadow: 0 1px 0 var(--laiton); }
.champ textarea:focus { box-shadow: 0 0 0 1px var(--laiton); }
.champ [aria-invalid=true] { border-color: #A3352B; }
.champ-choix { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.champ-choix legend { margin-bottom: .5rem; padding: 0; }
.champ-choix label, .champ-case label { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.champ-choix input, .champ-case input { flex: none; width: 1.15rem; height: 1.15rem; margin: .3rem 0 0; accent-color: var(--encre); }
.erreur { color: #A3352B; font-size: 1rem; }
.champ-vedette { padding: clamp(1.25rem, 3vw, 2rem); background: var(--pierre); border-top: 2px solid var(--laiton); }
.champ-vedette > label { font: 400 clamp(1.375rem, 2.6vw, 1.75rem)/1.2 var(--serif); }
/* Question facultative « Quelle ambiance vous ressemble ? » : choix en mots seulement (boutons radio) */
.champ-ambiance { border: 0; margin: 0; padding: 0; }
.champ-ambiance legend { padding: 0; margin-bottom: .75rem; }
.ambiances { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.ambiance { position: relative; cursor: pointer; line-height: 1.3; }
.ambiance input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ambiance { display: flex; align-items: center; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--filet); background: var(--fond); font-size: .9375rem; color: var(--texte-2); transition: border-color .2s, color .2s; }
.ambiance:hover { border-color: var(--texte-2); color: var(--encre); }
.ambiance:has(input:checked) { color: var(--encre); border-color: var(--laiton); box-shadow: inset 0 0 0 1px var(--laiton); }
.ambiance:has(input:checked) .ambiance-nom::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .5em; border-radius: 50%; background: var(--laiton); vertical-align: .1em; }
.ambiance:has(input:focus-visible) { outline: 2px solid var(--encre); outline-offset: 2px; }
.champ-ambiance .aide { margin-top: .75rem; color: var(--texte-2); font-size: .9375rem; }
@media (min-width: 52rem) { .ambiances { grid-template-columns: repeat(3, 1fr); } }
.champ-vedette .aide { color: var(--texte-2); font-size: 1rem; margin-bottom: .5rem; }
.champ-vedette input[type=text] { font-size: 1.25rem; }
.rgpd { font-size: 1rem; line-height: 1.6; color: var(--texte-2); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.bouton { background: none; border: 0; padding-top: .25rem; cursor: pointer; font-family: var(--sans); }
.bouton[disabled] { opacity: .5; cursor: progress; }
.statut { color: var(--texte-2); }
.statut.erreur { color: #A3352B; }
.confirmation { margin-top: 3rem; max-width: 40rem; padding: clamp(1.75rem, 4vw, 3rem); background: var(--pierre); border-top: 2px solid var(--laiton); }
.confirmation:focus { outline: none; }
.confirmation h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.confirmation p { margin-top: 1rem; color: var(--texte-2); }

.faq-liste { margin-top: 3rem; border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; min-height: 44px; font: 400 1.25rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .75rem; height: .75rem; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .4s var(--lent); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.75rem; color: var(--texte-2); max-width: 40rem; }


/* ——— Pied de page ——— */
.pied {
  border-top: 1px solid var(--filet); padding: 3rem var(--gouttiere);
  display: grid; gap: 1.25rem; font-size: 1rem; color: var(--texte-2);
  max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto;
}
.pied .logo { color: var(--encre); }
.pied ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 2rem; }
.pied a { text-decoration: none; display: inline-block; padding: .5rem 0; }
.pied a:hover { text-decoration: underline; text-underline-offset: .25em; }

/* ——— Pages secondaires (légales, sources) ——— */
.page { max-width: 46rem; margin: 0 auto; padding: 3rem var(--gouttiere) 5rem; }
.page > .logo { margin-bottom: 3rem; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 1rem; }
.page .maj { color: var(--texte-2); }
.page h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); margin: 3rem 0 1rem; }
.page h3 { font-size: 1.1875rem; margin: 1.75rem 0 .5rem; }
.page p, .page li { color: var(--texte-2); }
.page p + p { margin-top: 1rem; }
.page ul { margin: .75rem 0 0; padding-left: 1.25rem; }
.page li + li { margin-top: .4rem; }
.page a { text-underline-offset: .2em; }
.page dl { margin: 1rem 0 0; display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: .5rem 1.5rem; }
.page dt { color: var(--encre); }
.page dd { margin: 0; color: var(--texte-2); }
.projet { margin: 2rem 0 0; padding: 1.25rem 1.5rem; border: 1px solid var(--laiton); background: var(--pierre); color: var(--encre) !important; }
.projet strong { font-weight: 400; color: var(--laiton); font-size: 1rem; display: block; margin-bottom: .35rem; }
mark.ac { background: #F3E9D6; color: #5E4520; padding: 0 .25em; }
.tableau { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 1rem; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: .65rem .75rem .65rem 0; border-bottom: 1px solid var(--filet); color: var(--texte-2); }
.tableau th { color: var(--encre); font-weight: 400; }
.page .retour { margin-top: 3.5rem; }
.code-404 { margin: 0 0 1.25rem; font: 400 clamp(5rem, 18vw, 9rem)/1 var(--serif); color: var(--laiton); }
.champ input::placeholder, .champ textarea::placeholder { color: #6B675F; opacity: 1; }
@media (max-width: 30rem) { .page dl { grid-template-columns: 1fr; gap: .1rem; } .page dd { margin-bottom: .6rem; } .tableau { font-size: .9375rem; } }

/* ——— Visionneuse ——— */
.visionneuse { width: min(100vw, 46rem); height: 100%; max-height: 100dvh; max-width: 100vw; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--fond); color: var(--encre); }
.visionneuse[open] { display: flex; flex-direction: column; }
.visionneuse::backdrop { background: rgba(26,25,23,.55); }
.visionneuse-barre { display: flex; align-items: center; gap: 1.5rem; padding: .5rem var(--gouttiere); border-bottom: 1px solid var(--filet); }
.visionneuse-barre p { flex: 1; font: 400 1.125rem/1.3 var(--serif); }
.visionneuse iframe { flex: 1; width: 100%; border: 0; background: var(--pierre); }
/* Ouverture et fermeture du panneau : il glisse depuis la droite, le voile s'éclaircit ou s'assombrit */
.visionneuse[open] { animation: panneau-entre .5s var(--lent); }
.visionneuse[open]::backdrop { animation: voile-entre .4s ease-out; }
.visionneuse.ferme { animation: panneau-sort .28s cubic-bezier(.4, 0, 1, 1) forwards; }
.visionneuse.ferme::backdrop { animation: voile-sort .28s ease-in forwards; }
.visionneuse iframe { transition: opacity .45s var(--lent) .1s; }
.visionneuse.charge iframe { opacity: 0; }
@keyframes panneau-entre { from { transform: translateX(3rem); opacity: 0; } }
@keyframes panneau-sort { to { transform: translateX(3rem); opacity: 0; } }
@keyframes voile-entre { from { opacity: 0; } }
@keyframes voile-sort { to { opacity: 0; } }

/* ——— Tablette et plus ——— */
/* ——— Téléphone : page plus courte, même contenu ——— */
@media (max-width: 47.99rem) {
  :root { --section: 4rem; }
  .nav a:not(.bouton-plein) { display: none; }
  .entete { padding-top: .75rem; padding-bottom: .75rem; }
  .bouton-petit { white-space: nowrap; font-size: .75rem; padding: .6rem .85rem; }
  .ouverture { padding-top: 6.5rem; gap: 2.5rem; }
  .actions .bouton-plein { width: 100%; }
  /* Exemples : carrousel horizontal, au doigt */
  .galerie {
    display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gouttiere);
    margin: 2rem calc(-1 * var(--gouttiere)) 0; padding: 0 var(--gouttiere) 1rem;
    scrollbar-width: none;
  }
  .galerie::-webkit-scrollbar { display: none; }
  .vignette { flex: 0 0 74%; scroll-snap-align: start; }
  .version-exemple .vignette, .autres-liste .vignette, .apercu .vignette, .version > .vignette { flex: none; max-width: 18rem; }
  .version-exemple { max-width: 18rem; }
  .service-appel { padding: 1.5rem; }
  .vignette-nom { margin-top: 1rem; font-size: 1.25rem; }
  .vignette .lien-action { margin-top: .25rem; }
  .exemples .galerie-aide { display: block; }
  .exemples .galerie-points { display: flex; }
  .rapport { gap: 1.75rem; }
  .rapport-image img { aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
  /* Listes plus compactes */
  .formulaire { margin-top: 2rem; gap: 1.25rem; }
  .faq-liste { margin-top: 2rem; }
  .fondateur-texte h2 + p { margin-top: 1.5rem; }
}
.galerie-aide { display: none; margin-top: 1.5rem; font-size: 1rem; color: var(--texte-2); }
.galerie-aide .fl { display: inline-block; width: .8em; height: .8em; margin-left: .35em; color: var(--laiton); transform: rotate(45deg); vertical-align: -.05em; animation: glisser 1.6s var(--lent) 3; }
@keyframes glisser { 0%, 100% { translate: 0 0; } 50% { translate: .4em 0; } }
.galerie-points { display: none; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.galerie-points span { width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--laiton); transition: background-color .3s; }
.galerie-points span.actif { background: var(--laiton); }

@media (min-width: 48rem) {
  .ouverture { grid-template-columns: 7fr 5fr; padding-top: 9rem; }
  .fonctionnement-corps { grid-template-columns: 3fr 2fr; gap: 4rem; }
  .offre { grid-template-columns: 2fr 3fr; gap: 4rem; }
  .verifie-liste { grid-template-columns: 1fr 1fr; }
  /* Exemples : les trois versions côte à côte, un exemple chacune */
  .sommaire-versions { grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
  .versions { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; align-items: start; }
  .version-exemple { max-width: none; }
  /* 2026-11-20 : nom + phrase alignés d'une carte à l'autre, vignettes à la même hauteur */
  .version { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .version > p { margin-top: .5rem; }
  .apercu { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: 5rem; }
  .apercu-exemple { max-width: none; }
  .service-liste { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .rapport { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .rapport-image { max-width: 30rem; justify-self: end; }
  .formulaire { grid-template-columns: 1fr 1fr; }
  .champ-choix, .champ-large { grid-column: 1 / -1; }
  .fondateur:has(.fondateur-photo) { display: grid; grid-template-columns: 2fr 3fr; column-gap: 4rem; align-items: start; }
  .pied { grid-template-columns: auto 1fr auto; align-items: center; }
  .pied ul { justify-content: center; }
}
@media (min-width: 64rem) {
  .offre-details { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .faq-contact { grid-column: 2; }
  .faq { display: grid; grid-template-columns: 1fr 2fr; column-gap: 4rem; }
  .faq-liste { margin-top: 0; }
  .fondateur-texte { margin-left: calc(100% / 3 + 4rem / 3); }
}

@media (prefers-reduced-motion: reduce) {
  .galerie-aide .fl { animation: none; }
  .visionneuse[open], .visionneuse[open]::backdrop, .visionneuse.ferme, .visionneuse.ferme::backdrop { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}
.fonctionnement-tete p, .fondateur-texte p, .demande-tete p, .rgpd, .faits, .faq details p, .chapo { max-width: 54ch; }

