/*
 * La vitrine du livret d'accueil — livret.sortonzici.fr.
 *
 * Un monde visuel à part du site des sorties : le vert d'ardoise et le sable
 * disent l'hébergement, les marais, la pierre ; l'orange reste l'accent de la
 * marque, réservé aux gestes. Un seul thème, clair, assumé : c'est une page de
 * vente qu'on lit en journée, pas une application qu'on consulte la nuit.
 *
 * Les polices sont servies par nous, comme sur le site principal : un appel à
 * fonts.googleapis.com enverrait l'adresse de chaque visiteur à Google avant
 * tout consentement. Fraunces et Inter sont variables — un fichier par jeu de
 * caractères porte toutes les graisses.
 */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(/fonts/fraunces-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: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-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: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --fond: #F6F3EC;
  --fond-2: #EFEADF;
  --surface: #FFFFFF;
  --encre: #23312C;
  --muet: #5E6B64;
  --ardoise: #2E4A3F;
  --ardoise-2: #3D5F51;
  --sable: #E8DFCE;
  --ligne: #E2DACB;
  --accent: #D24418;
  --accent-fonce: #B33A13;
  --vert-clair: #E4EEE6;
  --r: 14px;
  --r-l: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.65;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }

.largeur { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 760px; }
.sur { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.muet { color: var(--muet); }
.chapo { font-size: 18.5px; color: var(--muet); max-width: 60ch; }

/* ---------- L'en-tête du site ---------- */

.entete { position: sticky; top: 0; z-index: 10; background: rgba(246, 243, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.entete .largeur { display: flex; align-items: center; gap: 22px; height: 66px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; }
.marque i { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; font-family: Fraunces, serif; font-size: 18px; }
.marque small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muet); line-height: 1; }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muet); padding: 8px 12px; border-radius: 10px; }
.menu a[aria-current="page"] { color: var(--encre); background: var(--fond-2); }
.menu a:hover { color: var(--encre); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff; border: 0; border-radius: 12px;
  padding: 12px 20px; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.btn:hover { background: var(--accent-fonce); }
.btn-calme { background: var(--surface); color: var(--encre); border: 1px solid var(--ligne); }
.btn-calme:hover { background: var(--fond-2); }
.btn-petit { padding: 9px 15px; font-size: 14px; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--ligne); border-radius: 10px; padding: 7px 11px; cursor: pointer; }
@media (max-width: 900px) {
  .menu { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--fond); flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--ligne); }
  .menu.ouvert { display: flex; }
  .burger { display: block; }
  .entete .btn-entete { display: none; }
}

/* ---------- Les pages ---------- */

section { padding: 72px 0; }
section.bande { background: var(--surface); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }
section.sombre { background: var(--ardoise); color: #E9EFEA; }
section.sombre h2, section.sombre h3 { color: #fff; }
section.sombre .muet, section.sombre .chapo { color: #C3D0C7; }
.titre-section { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 64ch; }

/* ---------- Le téléphone dessiné ---------- */

.tel { width: 270px; background: #141A17; border-radius: 38px; padding: 10px; box-shadow: 0 40px 80px -40px rgba(35, 49, 44, .6); flex: none; }
.tel-ecran { background: #FAFBFC; border-radius: 29px; overflow: hidden; height: 540px; font-size: 11.5px; }
.tel-barre { display: flex; justify-content: space-between; padding: 8px 18px 4px; font-size: 10px; font-weight: 600; color: #333; }
.couv { height: 128px; position: relative; background: linear-gradient(160deg, #9BAFA2 0%, #5E7B6C 50%, #34493F 100%); }
.couv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), transparent 65%); }
.couv b { position: absolute; left: 12px; bottom: 20px; color: #fff; font-family: Fraunces, serif; font-size: 16px; z-index: 1; }
.couv span { position: absolute; left: 12px; bottom: 7px; color: rgba(255,255,255,.9); font-size: 10px; z-index: 1; }
.couv em { position: absolute; right: 10px; bottom: 9px; z-index: 1; font-style: normal; color: #fff; font-size: 9px; font-weight: 700; border: 1.5px solid rgba(255,255,255,.8); border-radius: 99px; padding: 1px 6px; }
.mot-accueil { padding: 9px 12px; background: #fff; border-bottom: 1px solid #E6E9ED; font-size: 10.5px; }
.mot-accueil small { display: block; color: #6B7280; margin-top: 2px; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.tuile { background: #fff; border: 1px solid #E6E9ED; border-radius: 11px; padding: 8px 9px; }
.tuile i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #E3EEF3; color: #1E5470; font-style: normal; font-size: 10px; margin-bottom: 4px; }
.tuile b { display: block; font-size: 10.5px; }
.tuile span { font-size: 9.5px; color: #6B7280; }
.tuile.pleine { grid-column: span 2; background: #2D6E8E; border-color: #2D6E8E; color: #fff; }
.tuile.pleine span { color: rgba(255,255,255,.85); }
.tuile.pleine i { background: rgba(255,255,255,.2); color: #fff; }
.annonce { margin: 8px 8px 0; background: #FFF4E5; border: 1px solid #F5D3A6; border-radius: 10px; padding: 7px 9px; font-size: 10px; color: #7A4B10; }
.annonce b { display: block; font-size: 10.5px; }
.tel-titre { display: flex; align-items: center; gap: 8px; background: #2D6E8E; color: #fff; padding: 10px 12px; font-weight: 700; font-size: 12px; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px 10px 2px; }
.chips em { font-style: normal; font-size: 9px; font-weight: 600; padding: 3px 8px; border: 1px solid #E6E9ED; border-radius: 99px; color: #5C6474; background: #fff; }
.chips em.on { background: #2D6E8E; border-color: #2D6E8E; color: #fff; }
.jour { display: flex; justify-content: space-between; padding: 8px 11px 3px; font-weight: 800; font-size: 10.5px; }
.jour em { font-style: normal; font-weight: 500; font-size: 9px; color: #6B7280; }
.evt { display: flex; gap: 7px; margin: 0 11px; padding: 6px 0; border-top: 1px solid #EEF0F2; font-size: 10px; }
.evt:first-of-type { border-top: 0; }
.evt .h { min-width: 30px; font-weight: 700; color: #1E5470; font-size: 9.5px; }
.evt span { display: block; color: #6B7280; font-size: 9px; }

/* ---------- Accueil ---------- */

.hero { padding: 64px 0 56px; }
.hero .largeur { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .largeur { grid-template-columns: 1fr; } }
.hero .chapo { margin-top: 20px; }
.hero .actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero .rassure { display: flex; gap: 18px; margin-top: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muet); }
.hero .rassure span::before { content: "✓ "; color: var(--ardoise-2); font-weight: 700; }
.scene { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.affichette {
  position: absolute; left: 0; bottom: 36px; width: 150px; background: #fff; border-radius: 14px;
  padding: 12px; box-shadow: 0 24px 50px -28px rgba(35, 49, 44, .55); transform: rotate(-5deg);
  font-size: 10.5px; text-align: center; border: 1px solid var(--ligne);
}
.affichette b { display: block; font-family: Fraunces, serif; font-size: 13px; margin-bottom: 6px; }
.qr { width: 92px; height: 92px; margin: 0 auto 6px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.qr i { background: var(--encre); border-radius: 1.5px; }
.qr i.v { background: transparent; }
@media (max-width: 900px) { .affichette { left: calc(50% - 210px); } }
@media (max-width: 520px) { .scene .affichette { display: none; } }

.preuves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 760px) { .preuves { grid-template-columns: repeat(2, 1fr); } }
.preuves div { padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.15); }
.preuves div:first-child { border-left: 0; }
.preuves b { display: block; font-family: Fraunces, serif; font-size: 34px; font-weight: 600; color: #fff; line-height: 1.1; }
.preuves span { font-size: 14px; color: #C3D0C7; }

.cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .cartes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cartes { grid-template-columns: 1fr; } }
.carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.carte .vue { height: 150px; background: var(--fond-2); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding-top: 16px; }
.carte .vue .mini { width: 190px; background: #FAFBFC; border: 1px solid var(--ligne); border-bottom: 0; border-radius: 16px 16px 0 0; height: 134px; overflow: hidden; font-size: 10px; }
.carte .txt { padding: 18px 20px 22px; }
.carte h3 { font-size: 18px; margin-bottom: 6px; }
.carte p { font-size: 14.5px; color: var(--muet); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.colonne { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 28px; }
.colonne.ardoise { background: var(--ardoise); border-color: var(--ardoise); color: #E9EFEA; }
.colonne.ardoise h3 { color: #fff; }
.colonne h3 { margin-bottom: 14px; }
.colonne ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.colonne li { padding-left: 22px; position: relative; }
.colonne li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.colonne.ardoise li::before { background: #9FC0AE; }

.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: e; }
@media (max-width: 760px) { .etapes { grid-template-columns: 1fr; } }
.etape { counter-increment: e; }
.etape::before { content: counter(e); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--vert-clair); color: var(--ardoise); font-family: Fraunces, serif; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.etape h3 { font-size: 19px; margin-bottom: 6px; }
.etape p { font-size: 15px; color: var(--muet); }

.appel { text-align: center; }
.appel h2 { max-width: 22ch; margin: 0 auto; }
.appel p { margin: 14px auto 26px; max-width: 54ch; }

/* ---------- Tarifs ---------- */

.formules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .formules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .formules { grid-template-columns: 1fr; } }
.formule { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.formule.mise { border: 2px solid var(--accent); position: relative; }
.formule.mise::before { content: "Pour démarrer"; position: absolute; top: -12px; left: 20px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.formule h3 { font-size: 18px; }
.formule .prix { font-family: Fraunces, serif; font-size: 42px; font-weight: 600; line-height: 1; margin: 10px 0 2px; }
.formule .prix small { font-family: Inter, sans-serif; font-size: 14px; font-weight: 500; color: var(--muet); }
.formule .ttc { font-size: 13px; color: var(--muet); }
.formule p { font-size: 14.5px; color: var(--muet); margin-top: 8px; }
.formule .btn { margin-top: auto; justify-content: center; }
.inclus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 30px; margin-top: 10px; }
@media (max-width: 760px) { .inclus { grid-template-columns: 1fr; } }
.inclus div { display: flex; gap: 10px; font-size: 15px; }
.inclus div::before { content: "✓"; color: var(--ardoise-2); font-weight: 700; }

.engagements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .engagements { grid-template-columns: 1fr; } }
.engagement { border-top: 2px solid var(--ardoise); padding-top: 14px; }
.engagement h3 { font-size: 18px; margin-bottom: 6px; }
.engagement p { font-size: 15px; color: var(--muet); }

/* ---------- Le livret, page détaillée ---------- */

.fonction { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--ligne); }
.fonction:first-of-type { border-top: 0; padding-top: 20px; }
.fonction.inverse { grid-template-columns: 300px 1fr; }
.fonction.inverse .texte { order: 2; }
@media (max-width: 860px) {
  .fonction, .fonction.inverse { grid-template-columns: 1fr; gap: 28px; }
  .fonction.inverse .texte { order: 0; }
  .fonction .tel { margin: 0 auto; }
}
.fonction .texte { display: flex; flex-direction: column; gap: 14px; }
.fonction .texte p { color: var(--muet); font-size: 16.5px; }
.fonction .texte strong { color: var(--encre); }
.fonction .details { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.fonction .details span { font-size: 13px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 99px; padding: 4px 12px; }

.ne-fait-pas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .ne-fait-pas { grid-template-columns: 1fr; } }
.ne-fait-pas div { background: var(--fond-2); border-radius: var(--r); padding: 20px 22px; }
.ne-fait-pas h3 { font-size: 18px; margin-bottom: 6px; }
.ne-fait-pas p { font-size: 15px; color: var(--muet); }

/* ---------- Pour qui ---------- */

.profils { display: flex; flex-direction: column; gap: 18px; }
.profil { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 30px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: start; }
@media (max-width: 860px) { .profil { grid-template-columns: 1fr; gap: 14px; } }
.profil .qui b { display: block; font-family: Fraunces, serif; font-size: 22px; line-height: 1.2; }
.profil .qui span { font-size: 14px; color: var(--muet); }
.profil p { color: var(--muet); font-size: 15.5px; }
.profil p + p { margin-top: 8px; }
/* ---------- Questions ---------- */

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: Fraunces, serif; font-size: 22px; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muet); font-size: 15.5px; }
.faq details p + p { margin-top: -8px; }
.faq-groupe { margin-top: 30px; margin-bottom: 12px; font-family: Fraunces, serif; font-size: 20px; }

/* ---------- Demander un accès ---------- */

.formulaire { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .formulaire { grid-template-columns: 1fr; } }
.champs { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.champs label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.champs input, .champs select, .champs textarea {
  font: inherit; font-size: 15px; font-weight: 400; border: 1px solid var(--ligne); border-radius: 11px;
  padding: 11px 13px; background: var(--fond); color: var(--encre);
}
.champs .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .champs .deux { grid-template-columns: 1fr; } }
.champs small { font-weight: 400; color: var(--muet); font-size: 13px; }
.ensuite { display: flex; flex-direction: column; gap: 22px; }
.ensuite .etape::before { width: 32px; height: 32px; font-size: 15px; }

/* ---------- Pied ---------- */

.pied { background: var(--encre); color: #B9C2BC; font-size: 14px; padding: 48px 0 36px; }
.pied .largeur { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.2fr; gap: 28px; }
@media (max-width: 760px) { .pied .largeur { grid-template-columns: 1fr 1fr; } }
.pied h4 { margin: 0 0 10px; color: #fff; font-size: 14px; }
.pied a { display: block; text-decoration: none; margin-bottom: 6px; }
.pied a:hover { color: #fff; }
.pied .fin { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; }


:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Ajouts du site en service ---------- */

.evitement { position: absolute; left: -9999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.evitement:focus { left: 16px; }

.fil { font-size: 13.5px; color: var(--muet); padding-top: 26px; }
.fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fil li + li::before { content: "›"; margin-right: 6px; color: var(--ligne); }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }

.tete-page { padding: 36px 0 20px; }
.tete-page + section { padding-top: 24px; }

.profil .qui a { text-decoration: none; }
.profil .qui a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.profil .lire { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14.5px; color: var(--accent); text-decoration: none; }
.profil .lire:hover { text-decoration: underline; }

.cibles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 960px) { .cibles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cibles { grid-template-columns: 1fr; } }
.cibles a { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r); padding: 16px 18px; text-decoration: none; }
.cibles a:hover { border-color: var(--ardoise-2); }
.cibles b { font-family: Fraunces, Georgia, serif; font-size: 17px; line-height: 1.25; }
.cibles span { font-size: 13.5px; color: var(--muet); }

.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .moments { grid-template-columns: 1fr; } }
.moment { border-top: 2px solid var(--ardoise); padding-top: 14px; }
.moment h3 { font-size: 19px; margin-bottom: 8px; }
.moment p { color: var(--muet); font-size: 15.5px; }

.atouts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .atouts { grid-template-columns: 1fr; } }
.atout { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 24px; }
.atout h3 { font-size: 18px; margin-bottom: 6px; }
.atout p { color: var(--muet); font-size: 15px; }

.demo-vraie { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: center; }
@media (max-width: 860px) { .demo-vraie { grid-template-columns: 1fr; } .demo-vraie .tel { margin: 0 auto; } }
.demo-vraie .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.tel-vivant { width: 300px; }
.tel-vivant .tel-ecran { height: 600px; }
.tel-vivant iframe { width: 100%; height: 100%; border: 0; display: block; }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erreurs { background: #FCEDE7; border: 1px solid #F1C3B2; color: #8A2C0D; border-radius: var(--r); padding: 12px 16px; font-size: 14.5px; }
.erreurs ul { margin: 6px 0 0; padding-left: 18px; }
.champs [aria-invalid="true"] { border-color: var(--accent); }
.champs input:focus, .champs select:focus, .champs textarea:focus { outline: 2px solid var(--ardoise-2); outline-offset: 1px; border-color: transparent; }
.formule-choisie { background: var(--vert-clair); color: var(--ardoise); border-radius: 11px; padding: 10px 14px; font-size: 14px; }

.merci { max-width: 640px; }
.merci .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.prix-note { margin-top: 18px; font-size: 14px; color: var(--muet); }

/* ---------- Ajustements d'écran (relevés sur captures, 390 / 820 / 1280 px) ---------- */

/*
 * Un enfant de grille a pour largeur minimale celle de son contenu : un champ
 * de formulaire (environ vingt caractères par défaut) suffisait à pousser la
 * carte du formulaire hors de l'écran d'un téléphone. Zéro partout où une
 * grille porte du texte ou des champs.
 */
.hero .largeur > *, .formulaire > *, .champs .deux > *, .fonction > *,
.demo-vraie > *, .profil > *, .duo > *, .pied .largeur > * { min-width: 0; }
.champs input, .champs select, .champs textarea { width: 100%; min-width: 0; }

/* Le pied : la marque reste une ligne (le `display: block` des liens du pied
   la cassait en deux), et sur téléphone la présentation prend toute la largeur. */
.pied .marque { display: inline-flex; }
@media (max-width: 760px) { .pied .largeur > :first-child { grid-column: 1 / -1; } }

/* Les chiffres : un filet entre deux colonnes, jamais au bord gauche d'une ligne. */
@media (max-width: 760px) {
  .preuves div:nth-child(odd) { border-left: 0; }
  .preuves div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); }
}

/* L'affichette ne cache plus les tuiles : le téléphone se range à droite de
   sa colonne, l'affichette déborde à peine sur lui. */
@media (min-width: 901px) {
  .scene { justify-content: flex-end; padding-right: 24px; }
  .affichette { left: 20px; bottom: 30px; }
}
@media (max-width: 900px) { .affichette { left: calc(50% - 300px); bottom: 40px; } }
/* `.scene` : sans lui, « a.affichette { display: block } » plus bas l'emportait, et
   l'affichette dépassait du bord gauche d'un téléphone. */
@media (max-width: 680px) { .scene .affichette { display: none; } }

/* Les mini-aperçus s'effacent vers le bas au lieu de couper une ligne en deux. */
.carte .vue .mini {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

/* Le bouton de demande, dans le menu replié : l'en-tête d'un téléphone n'a pas
   la place de le porter à côté du menu. */
.menu .menu-demande { display: none; }
@media (max-width: 900px) {
  .menu .menu-demande { display: flex; justify-content: center; margin-top: 8px; color: #fff; background: var(--accent); }
  .menu .menu-demande:hover { color: #fff; background: var(--accent-fonce); }
}

@media (max-width: 520px) {
  section { padding: 56px 0; }
  .largeur { padding: 0 16px; }
  .hero { padding: 40px 0 44px; }
  .hero .actions .btn, .demo-vraie .actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero .rassure { gap: 6px 16px; }
  .tel { width: 244px; border-radius: 34px; }
  .tel-ecran { height: 470px; border-radius: 26px; }
  .tel-vivant { width: 100%; max-width: 300px; }
  .tel-vivant .tel-ecran { height: 560px; }
  .champs { padding: 22px 18px; }
  .profil, .colonne, .atout { padding: 22px; }
  .formule { padding: 24px 20px; }
}
/* Le fil d'Ariane garde son air sous l'en-tête : la marge réduite des
   téléphones, écrite en raccourci, remettait aussi son haut à zéro. */
@media (max-width: 520px) { .fil { padding-top: 18px; } }

/* ---------- La demande d'accès en quatre blocs ---------- */

.champs .bloc { border: 0; margin: 0; padding: 0 0 18px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--ligne); min-width: 0; }
.champs .bloc legend { font-family: Fraunces, Georgia, serif; font-size: 19px; font-weight: 600; padding: 0; margin-bottom: 12px; }
.champs .trois { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 14px; }
.champs .trois > * { min-width: 0; }
@media (max-width: 520px) { .champs .trois { grid-template-columns: 1fr 1fr; } .champs .trois > :first-child { grid-column: 1 / -1; } }
.champs .recherche { display: flex; gap: 8px; }
.champs .recherche input { flex: 1; }
.annuaire-resultats { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muet); }
.annuaire-resultats:empty { display: none; }
.annuaire-resultats .resultat { text-align: left; background: var(--fond); border: 1px solid var(--ligne); border-radius: 11px; padding: 9px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; color: var(--encre); font: inherit; font-size: 14px; }
.annuaire-resultats .resultat:hover { border-color: var(--ardoise-2); }
.annuaire-resultats .resultat span { color: var(--muet); font-size: 13px; }
.champs .sepa { background: var(--vert-clair); color: var(--ardoise); border-radius: 11px; padding: 12px 14px; font-size: 14.5px; }
.champs label.case { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14.5px; }
.champs label.case input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.champs label.case[aria-invalid="true"] { color: var(--accent-fonce); }
.encart { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.encart h3 { font-size: 19px; }
.encart p { color: var(--muet); font-size: 15px; }

/* Les vraies captures du livret de démo, dans le cadre du téléphone. */
.tel-capture { background: #FAFBFC; }
.tel-capture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.carte .vue .mini.mini-capture { padding: 0; }
.carte .vue .mini.mini-capture img { display: block; width: 100%; height: auto; }

/* L'affichette de l'accueil : un vrai code QR, et un lien. */
a.affichette { color: var(--encre); text-decoration: none; display: block; }
a.affichette:hover { box-shadow: 0 28px 60px -26px rgba(35, 49, 44, .7); }
.affichette .qr { display: block; width: 104px; height: 104px; margin: 0 auto 6px; }
.affichette .qr svg { display: block; width: 100%; height: 100%; }

/* Une capture garde ses proportions : le cadre à hauteur fixe des téléphones
   étroits coupait le bas — la barre du livret perdait ses libellés. */
.tel-ecran.tel-capture { height: auto; aspect-ratio: 390 / 844; }
.tel-capture img { height: 100%; }

/* ---------- Les écrans larges : le livret sur ordinateur, l'atelier ---------- */
.large { display: flex; flex-direction: column; gap: 28px; }
.ecran-large {
  position: relative; margin: 0; background: #141A17; border-radius: 14px; padding: 26px 8px 8px;
  box-shadow: 0 40px 80px -40px rgba(35, 49, 44, .6);
}
/* Les trois pastilles d'une fenêtre : c'est un écran d'ordinateur, pas une affiche. */
.ecran-large::before {
  content: ""; position: absolute; top: 10px; left: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: #E0664F; box-shadow: 14px 0 0 #E7B24A, 28px 0 0 #6FB38A;
}
.ecran-large img { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; }
.large .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.large .points h3 { font-size: 17px; margin-bottom: 4px; }
.large .points p { font-size: 15px; color: var(--muet); }
@media (max-width: 760px) {
  .large .points { grid-template-columns: 1fr; gap: 14px; }
  .ecran-large { padding: 20px 5px 5px; border-radius: 10px; }
  .ecran-large::before { top: 7px; left: 10px; width: 6px; height: 6px; box-shadow: 10px 0 0 #E7B24A, 20px 0 0 #6FB38A; }
}

/* Quatre étapes : de la demande d'accès à l'affichette. */
.etapes.etapes-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .etapes.etapes-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .etapes.etapes-4 { grid-template-columns: 1fr; } }

/* ---------- /visite : la page d'arrivée du courrier (29/09) ----------
   Téléphone d'abord : l'accroche et le bouton du livret sans défiler. */
.visite .v-tete { border-bottom: 1px solid var(--ligne); }
.visite .v-tete .largeur { height: 58px; display: flex; align-items: center; }
.v-haut { padding: 26px 0 30px; }
.v-haut-grille { display: grid; gap: 28px; align-items: center; }
.v-texte h1 { font-size: clamp(28px, 7.4vw, 46px); line-height: 1.12; }
.v-texte .chapo { margin-top: 12px; font-size: 17.5px; }
.v-ouvrir { margin-top: 22px; width: 100%; justify-content: center; min-height: 52px; font-size: 16.5px; }
.v-note { margin-top: 10px; font-size: 14px; color: var(--muet); }
.v-vers-rdv { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ardoise); }
.v-tel-place { display: none; }
.v-tel-ecran { display: grid; }
.v-tel-ecran iframe { width: 100%; height: 100%; border: 0; display: block; }
.v-tel-affiche { border: 0; cursor: pointer; text-decoration: none; display: grid; place-items: center; text-align: center; background: linear-gradient(160deg, #2D6E8E, #23312C); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.5; }
.v-reperes { padding: 8px 0 26px; }
.v-reperes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v-reperes li { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.v-reperes b { font-size: 16px; }
.v-reperes span { color: var(--muet); font-size: 15px; }
.v-rdv { background: var(--fond-2); padding: 34px 0 38px; }
.v-rdv .chapo { margin-top: 10px; font-size: 17px; }
.v-rdv-btn { margin-top: 20px; width: 100%; justify-content: center; min-height: 52px; font-size: 16.5px; }
.v-ecrire { margin-top: 18px; color: var(--muet); font-size: 15.5px; }
.v-ecrire a { font-weight: 600; color: var(--encre); }
.v-pied { background: var(--encre); color: #B9C2BC; font-size: 13.5px; padding: 22px 0 26px; }
.v-pied .largeur { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.v-pied a { color: #DDE3DF; }
@media (min-width: 900px) {
  .v-haut { padding: 48px 0 40px; }
  .v-haut-grille { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .v-ouvrir, .v-rdv-btn { width: auto; }
  .v-tel-place { display: block; }
  .v-reperes ul { grid-template-columns: repeat(3, 1fr); }
}
/* /visite, version enrichie : ce que voient les voyageurs, les étapes, les questions. */
.v-voir { padding: 10px 0 28px; }
.v-voir h2, .v-etapes h2, .v-questions h2 { font-size: clamp(24px, 6vw, 32px); }
.v-captures { display: flex; gap: 12px; overflow-x: auto; margin-top: 16px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.v-captures figure { margin: 0; flex: 0 0 62%; scroll-snap-align: start; }
.v-captures img { width: 100%; height: auto; display: block; border-radius: 18px; border: 6px solid #141A17; }
.v-captures figcaption { margin-top: 8px; font-size: 14.5px; color: var(--muet); }
.v-etapes { padding: 6px 0 30px; }
.v-etapes ol { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: e; display: grid; gap: 14px; }
.v-etapes li { counter-increment: e; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.v-etapes li::before { content: counter(e); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--ardoise); color: #fff; font-weight: 700; display: grid; place-items: center; }
.v-etapes b { font-size: 16.5px; }
.v-etapes span { color: var(--muet); font-size: 15px; }
.v-questions { padding: 30px 0 36px; }
.v-questions details { border-bottom: 1px solid var(--ligne); }
.v-questions summary { cursor: pointer; padding: 15px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.v-questions summary::-webkit-details-marker { display: none; }
.v-questions summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.v-questions details[open] summary::after { content: '–'; }
.v-questions details p { padding-bottom: 16px; color: var(--muet); font-size: 15.5px; }
.v-collant { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(246, 243, 236, .96); border-top: 1px solid var(--ligne); }
.v-collant[hidden] { display: none; }
.v-collant .btn { width: 100%; justify-content: center; min-height: 50px; font-size: 16px; }
@media (min-width: 900px) {
  .v-captures { overflow: visible; justify-content: flex-start; }
  .v-captures figure { flex: 0 0 240px; }
  .v-etapes ol { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}
/* Alignement : les sections du bas suivent la colonne du haut, le texte garde
   sa largeur de lecture. */
.visite .largeur.etroit { max-width: 1120px; }
.visite .etroit > * { max-width: 760px; }
.v-etapes li { align-content: start; }
.v-etapes li::before { grid-row: 1 / span 2; }
/* Le cadre du téléphone montre l'accueil du livret avant d'être ouvert —
   l'image ne se charge que sur ordinateur, où le cadre existe. */
@media (min-width: 900px) {
  .v-tel-affiche { background: linear-gradient(to top, rgba(20, 26, 23, .82), rgba(20, 26, 23, .1) 55%), url("/img/visite/accueil.jpg") top center / cover no-repeat; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 36px; }
  .v-tel-affiche span { background: var(--accent); padding: 10px 16px; border-radius: 12px; font-size: 14px; }
}
/* Ordinateur : chaque section du bas sur deux colonnes, le titre à gauche et
   son contenu à droite, pour occuper toute la largeur de l'accroche au lieu
   d'une colonne de lecture collée à gauche (Killian, 29/09). */
@media (min-width: 900px) {
  .v-voir .largeur, .v-etapes .largeur, .v-rdv .largeur, .v-questions .largeur { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 56px; row-gap: 0; align-items: start; }
  .v-voir h2, .v-etapes h2, .v-rdv h2, .v-questions h2 { grid-column: 1; grid-row: 1 / span 8; font-size: 30px; line-height: 1.15; }
  .v-voir .largeur > :not(h2), .v-etapes .largeur > :not(h2), .v-rdv .largeur > :not(h2), .v-questions .largeur > :not(h2) { grid-column: 2; max-width: none; }
  .v-voir h2 + *, .v-etapes h2 + *, .v-rdv h2 + *, .v-questions h2 + * { margin-top: 0; }
  .v-questions summary { padding-top: 0; }
  .v-questions details + details summary { padding-top: 15px; }
  .v-captures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .v-voir, .v-etapes { padding: 28px 0 40px; }
  .v-rdv { padding: 48px 0 52px; }
  .v-questions { padding: 44px 0 48px; }
  .v-rdv-btn { justify-self: start; }
}
