/* ============================================================
   yanaweb · v3.css · socle partagé de toutes les pages (« Studio clair éditorial »)
   Contient : polices, tokens, base, cadre, menu + logo, boutons, titres, FAQ,
   formulaire, pied de page sombre, puis les composants des pages intérieures
   (.lp-*, .rlz-*). La home ajoute v3-home.css ; les Dossiers ajoutent dossiers.css.
   Règles : pas de filets de grille, jamais d'overflow-x sur html/body.
   ============================================================ */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url('fonts/dmsans-var-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: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url('fonts/dmsans-var-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: 'Montserrat'; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url('fonts/montserrat-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/poppins-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC; }
@font-face { font-family: 'DM Sans Fallback'; src: local('Arial'); size-adjust: 125.28%; ascent-override: 79.18%; descent-override: 24.74%; line-gap-override: 0%; }

:root {
  --ink: #0B1A11;            /* vert-noir de marque */
  --ink-2: rgba(11, 26, 17, .70);
  --ink-3: rgba(11, 26, 17, .66);
  --paper: #F4F1E8;          /* crème de marque éclairci */
  --tint: rgba(11, 26, 17, .045);
  --cream: #EDE8D9;
  --terra: #E34A1C;          /* orange : signal unique */
  --terra-ink: #B8360F;      /* orange foncé pour le texte sur clair */
  --line: rgba(11, 26, 17, .14);

  --max: 1360px;
  --gut: clamp(20px, 3.4vw, 48px);
  --cg: clamp(12px, 1.6vw, 24px);
  --nav-h: 64px;
  --font: 'DM Sans', 'DM Sans Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Poppins', 'DM Sans Fallback', system-ui, sans-serif;
  --vert: #0F3A28;           /* vert profond de marque (fond des visuels Yanacom) */
  --terra-lt: #FF7B47;       /* orange lisible sur vert/noir */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; accent-color: var(--terra); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--terra); color: var(--ink); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dot { color: var(--terra); }
.nw { white-space: nowrap; }
section[id] { scroll-margin-top: var(--nav-h); }

/* ── Cadre ─────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); }
.g > * { min-width: 0; }
main, .dark { position: relative; z-index: 1; }
.dark { background: var(--ink); color: var(--cream); overflow-x: clip; }
.dark > * { position: relative; z-index: 1; }

/* ── Titres : fins, en bas de casse, resserrés ─────────────── */
.h2 { font-weight: 300; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.026em; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }

/* ── Liens et boutons ──────────────────────────────────────── */
.btn, .btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; background: var(--terra); color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .005em; border: 1px solid var(--terra); transition: background .2s, color .2s, border-color .2s; }
.btn:hover, .btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.link { display: inline-block; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link:hover { color: var(--terra-ink); border-color: var(--terra); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-line, .btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .005em; border: 1px solid var(--ink); transition: background .2s, color .2s, border-color .2s; }
.btn-line:hover, .btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Navigation ────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* logo officiel : Poppins 800/700, « By Yanacom » en Montserrat capitales espacées SOUS le mot */
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; --tk-body: #16352a; --tk-wing: #0B1A11; }
.logo-txt { display: inline-flex; flex-direction: column; align-items: flex-start; }
.logo-mark { flex: none; height: 40px; width: auto; aspect-ratio: 206 / 128; }
.logo-lg .logo-mark { height: 52px; }
.dark .logo { --tk-body: #2F7A5F; --tk-wing: #1C5C52; }
.logo-word { font: 800 30px/1 var(--font-logo); letter-spacing: -.02em; color: var(--ink); }
.logo .web { font-weight: 700; color: var(--terra); }
.logo-by { margin: 5px 0 0 2px; font: 700 7.6px/1 'Montserrat', sans-serif; letter-spacing: .34em; text-transform: uppercase; color: #6E7176; }
.logo-lg .logo-word { font-size: 38px; }
.logo-lg .logo-by { font-size: 9.4px; margin-top: 6px; }
.foot-brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-where { font-size: 13.5px; color: rgba(237, 232, 217, .6); }
.dark .logo-word .yana { color: #fff; }
.dark .logo-by { color: #A3A7AB; }

/* étoile de la marque */
.spark { display: inline-block; width: .8em; height: .8em; flex-shrink: 0; color: var(--terra); vertical-align: -.02em; animation: sparkPulse 4.5s ease-in-out infinite; }
.spark path { fill: currentColor; }
@keyframes sparkPulse { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.25) rotate(22deg); opacity: .75; } }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: 14.5px; }
.nav-links a { padding-block: 6px; background: linear-gradient(var(--terra), var(--terra)) left bottom / 0 2px no-repeat; transition: background-size .25s; }
.nav-links a:hover { background-size: 100% 2px; }
.nav-links a.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--ink); color: var(--paper); font-weight: 500; transition: background .2s, color .2s; }
.nav-links a.nav-cta:hover { background: var(--terra); color: var(--ink); }
.nav-burger { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 26px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── Section courante ──────────────────────────────────────── */
.sec { padding-block: clamp(64px, 8vw, 112px); }

/* ── FAQ : questions et réponses, une ligne fine entre les deux ─ */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { padding-block: 26px; border-bottom: 1px solid var(--line); }
.faq-item h3, .faq-q { font-size: clamp(19px, 1.8vw, 24px); font-weight: 400; letter-spacing: -.018em; line-height: 1.25; }
.faq-item p, .faq-a { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }

/* ── Formulaire (sur fond sombre) ──────────────────────────── */
.contact-field { margin-bottom: 26px; }
.contact-field label { display: block; font-size: 13.5px; color: rgba(237, 232, 217, .66); margin-bottom: 6px; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; font: 400 17px/1.4 var(--font); color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid rgba(237, 232, 217, .38); border-radius: 0; padding: 10px 0; transition: border-color .2s; appearance: none; -webkit-appearance: none; }
.contact-field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EDE8D9' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0 center / 20px no-repeat; padding-right: 28px; }
.contact-field select option { color: #0B1A11; background: #F4F1E8; }
.contact-field textarea { resize: vertical; min-height: 96px; }
.contact-field ::placeholder { color: rgba(237, 232, 217, .42); }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: 0; border-color: var(--terra); }
.contact-field input:focus-visible, .contact-field select:focus-visible, .contact-field textarea:focus-visible { outline: 0; }
.msg-more { margin-bottom: 22px; }
.msg-more summary { cursor: pointer; width: max-content; font-size: 14.5px; color: rgba(237, 232, 217, .78); border-bottom: 1px solid rgba(237, 232, 217, .4); padding-bottom: 2px; list-style: none; }
.msg-more summary::-webkit-details-marker { display: none; }
.msg-more summary:hover { color: var(--terra-lt); }
.msg-more[open] summary { margin-bottom: 14px; }
.msg-more .contact-field { margin-bottom: 0; }
.form-reassure { margin-top: 12px; font-size: 14.5px; color: rgba(237, 232, 217, .86); }
.form-alt { margin-top: 18px; font-size: 14.5px; color: rgba(237, 232, 217, .72); }
.form-alt a { color: var(--cream); font-weight: 500; border-bottom: 1px solid rgba(237, 232, 217, .5); }
.form-alt a:hover { color: var(--terra-lt); border-color: var(--terra-lt); }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-msg { min-height: 1.4em; margin-bottom: 14px; font-size: 15px; }
#form-msg.ok { color: #9BD9B4; }
#form-msg.err { color: #FFB19A; }
.contact-submit { cursor: pointer; padding: 16px 28px; background: var(--terra); border-color: var(--terra); color: var(--ink); border: 1px solid var(--terra); font-size: 16px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.contact-submit:hover { background: var(--cream); border-color: var(--cream); }
.contact-submit:disabled { opacity: .6; cursor: wait; }

/* ── Pied de page sombre : plan du site + mentions ─────────── */
.dark :focus-visible { outline-color: var(--terra); }

.site-links { border-top: 1px solid rgba(237, 232, 217, .22); padding-block: 48px; }
.site-links-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 36px; }
.site-links-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-links-title { font-size: 13px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: rgba(237, 232, 217, .58); margin-bottom: 6px; }
.site-links a { font-size: 14.5px; color: rgba(237, 232, 217, .86); transition: color .2s; }
.site-links a:hover { color: var(--terra); }
.foot { border-top: 1px solid rgba(237, 232, 217, .22); padding-block: 28px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }
.foot-copy { font-size: 13.5px; color: rgba(237, 232, 217, .6); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; }
.foot-links a { color: rgba(237, 232, 217, .86); transition: color .2s; }
.foot-links a:hover { color: var(--terra); }

/* ── Tablette ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .site-links-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Mobile et tablette étroite ────────────────────────────── */
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .logo-word { font-size: 26px; }
  .logo-mark { height: 34px; }
  .logo { gap: 8px; }
  .logo-by { font-size: 6.4px; }
  .nav-burger { display: block; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 8px var(--gut) 20px; font-size: 18px; }
  .nav-links.open li { border-bottom: 1px solid var(--line); }
  .nav-links.open a { display: block; padding: 14px 0; background: none; }
  .nav-links.open li:last-child { border-bottom: 0; }
  .nav-links.open a.nav-cta { margin-top: 16px; padding: 14px 18px; text-align: center; justify-content: center; background: var(--ink); color: var(--paper); }
  html:not(.js) .nav-in { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
  .site-links-in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .site-links-in { grid-template-columns: 1fr; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .spark, .stamp-rotor { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ════════════════════════════════════════════════════════════
   PAGES INTÉRIEURES · composants .lp-*, .rlz-*
   Mêmes noms de classes que l'ancien pages.css : on change les feuilles,
   le menu et le pied de page, le balisage de la page ne bouge pas.
   Les blocs pleine largeur (hero, section, bandeau) se calent seuls sur la
   colonne de 1360 px via --pad-x : pas de .wrap à ajouter dans la page.
   ════════════════════════════════════════════════════════════ */
:root { --pad-x: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); }
.lp-hero, .lp-section, .lp-cta { overflow-x: clip; }

/* ── En-tête de page : fil d'Ariane, kicker, titre, chapô ───── */
.lp-hero { padding: clamp(28px, 4vw, 56px) var(--pad-x) clamp(24px, 3vw, 40px); }
.lp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: clamp(22px, 3vw, 36px); font-size: 14px; color: var(--ink-3); }
.lp-breadcrumb a { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.lp-breadcrumb a:hover { color: var(--terra-ink); border-color: var(--terra); }
.lp-breadcrumb span[aria-hidden] { opacity: .55; }
.lp-breadcrumb .current { color: var(--ink); }
.lp-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2vw, 24px); font-size: 16px; font-weight: 500; color: var(--ink-2); }
.lp-hero h1 { max-width: 15em; margin-bottom: clamp(22px, 2.6vw, 34px); font-weight: 300; font-size: clamp(34px, 5.8vw, 84px); line-height: 1.03; letter-spacing: -.032em; text-wrap: balance; overflow-wrap: break-word; }
.lp-hero h1 em { font-style: normal; color: var(--terra-ink); }
.lp-lead { max-width: 36em; margin-bottom: 32px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.lp-lead + .lp-lead { margin-top: -14px; }
.lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.lp-artmeta { margin-top: -10px; font-size: 14px; color: var(--ink-3); }
.lp-artmeta a { color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.lp-artmeta a:hover { color: var(--terra-ink); border-color: var(--terra); }
.lp-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(28px, 3.4vw, 44px); font-size: 14.5px; color: var(--ink-2); }
.lp-trust span { display: inline-flex; align-items: center; gap: 9px; }
.lp-trust span::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }

/* ── Section courante : kicker, titre fin, texte ───────────── */
.lp-section { padding: clamp(36px, 4.4vw, 64px) var(--pad-x); }
.lp-section.tight + .lp-section.tight { padding-top: 0; }
.lp-section.is-tint { background: var(--tint); }
.lp-sec-eyebrow { margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.lp-section h2 { max-width: 22em; margin-bottom: clamp(22px, 2.6vw, 32px); font-weight: 300; font-size: clamp(30px, 3.9vw, 54px); line-height: 1.06; letter-spacing: -.026em; text-wrap: balance; }
.lp-section h2 em { font-style: normal; font-weight: 500; }

/* ── Texte long (prose d'article) ──────────────────────────── */
.lp-prose > p { max-width: 42em; margin-bottom: 18px; font-size: 17px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.lp-prose strong { font-weight: 600; color: var(--ink); }
.lp-prose :is(p, li, td) a:where(:not(.btn, .btn-primary, .btn-ghost, .btn-line)) { color: var(--ink); border-bottom: 1px solid var(--terra); transition: color .2s; }
.lp-prose :is(p, li, td) a:where(:not(.btn, .btn-primary, .btn-ghost, .btn-line)):hover { color: var(--terra-ink); }
.lp-prose > h3 { max-width: 28em; margin: 34px 0 12px; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; }
.lp-prose > ul, .lp-prose > ol { max-width: 42em; margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.lp-prose > ol { list-style: decimal; }
.lp-prose li { margin-bottom: 8px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.lp-prose li::marker { color: var(--terra); }
.lp-prose.tight { padding-bottom: 0; }
.lp-prose blockquote { max-width: 34em; margin: 30px 0; padding-left: clamp(16px, 2.4vw, 30px); border-left: 2px solid var(--terra); font-size: clamp(21px, 2.2vw, 28px); font-weight: 300; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); }
.lp-prose blockquote p { margin: 0; }
.lp-prose figure { margin: 30px 0; }
.lp-prose img { width: 100%; border-radius: 18px; background: var(--tint); }
.lp-prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); }
.lp-table { margin: 24px 0; overflow-x: auto; }
.lp-prose table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15.5px; text-align: left; }
.lp-prose th { padding: 12px 16px; font-weight: 500; color: var(--ink); background: var(--cream); }
.lp-prose td { padding: 12px 16px; color: var(--ink-2); vertical-align: top; }
.lp-prose tbody tr:nth-child(even) td { background: var(--tint); }
.lp-prose th:first-child { border-radius: 12px 0 0 12px; }
.lp-prose th:last-child { border-radius: 0 12px 12px 0; }

/* ── Encadré « à retenir » ─────────────────────────────────── */
.lp-callout { max-width: 42em; margin: 8px 0 26px; padding: 20px 24px; border-radius: 18px; background: var(--cream); }
.lp-callout .label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--terra-ink); }
.lp-callout p { margin: 0; max-width: none; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.lp-callout ul, .lp-callout ol { margin: 6px 0 0; padding-left: 20px; list-style: disc; }
.lp-callout ol { list-style: decimal; }
.lp-callout li { margin-bottom: 4px; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.lp-callout li::marker { color: var(--terra); }
.lp-callout p + p, .lp-callout p + ul { margin-top: 10px; }

/* ── Grille de cartes : pas de boîtes égales, la colonne centrale descend ─ */
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cg); align-items: start; margin-top: 12px; }
.lp-grid > * { min-width: 0; }
.lp-grid > :nth-child(3n + 2) { margin-top: 28px; }
.lp-card { padding: clamp(22px, 2.2vw, 30px); border-radius: 22px; background: #FBF9F3; box-shadow: 0 14px 30px -24px rgba(11, 26, 17, .5); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.lp-card:hover { transform: translateY(-4px); }
.lp-card h3 { margin-bottom: 10px; font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; line-height: 1.2; letter-spacing: -.018em; }
.lp-card h3 a { background: linear-gradient(var(--terra), var(--terra)) left bottom / 0 2px no-repeat; transition: background-size .25s; }
.lp-card h3 a:hover { background-size: 100% 2px; }
.lp-card p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.lp-card .ic { display: block; width: 34px; height: 34px; margin-bottom: 16px; color: var(--vert); }
.lp-card .ic svg { display: block; width: 100%; height: 100%; }

/* ── Liste à pastilles ─────────────────────────────────────── */
.lp-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px var(--cg); margin-top: 10px; }
.lp-checks li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }

/* ── Bloc prix : l'aplat vert profond ──────────────────────── */
.lp-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; background: var(--vert); color: var(--cream); }
.lp-offer .price { min-width: 0; font-size: clamp(32px, 4.4vw, 60px); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; color: var(--cream); }
.lp-offer .price small { display: block; max-width: 34em; margin-top: 12px; font-size: 15px; font-weight: 400; line-height: 1.5; letter-spacing: 0; color: rgba(237, 232, 217, .78); }

/* ── Bandeau d'appel à l'action ────────────────────────────── */
.lp-cta { padding: clamp(56px, 7vw, 104px) var(--pad-x); background: var(--vert); color: var(--cream); }
.lp-cta h2 { max-width: 14em; margin-bottom: 20px; font-weight: 300; font-size: clamp(34px, 5vw, 72px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; color: var(--cream); }
.lp-cta p { max-width: 30em; margin-bottom: 32px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(237, 232, 217, .82); text-wrap: pretty; }
.lp-cta .btn-primary:hover, .lp-offer .btn-primary:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.lp-cta .btn-ghost, .lp-offer .btn-ghost { color: var(--cream); border-color: rgba(237, 232, 217, .7); }
.lp-cta .btn-ghost:hover, .lp-offer .btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* ── À voir aussi : liens en pastilles ─────────────────────── */
.lp-related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lp-related a { padding: 9px 18px; border-radius: 999px; background: var(--tint); font-size: 14.5px; color: var(--ink); transition: background .2s, color .2s; }
.lp-related a:hover { background: var(--ink); color: var(--paper); }
.lp-section .faq-list { max-width: 54em; }

/* ── Sommaire des articles longs ───────────────────────────── */
.lp-toc-wrap { padding-bottom: 0; }
.lp-toc { max-width: 52em; padding: 26px 30px; border-radius: 22px; background: var(--tint); }
.lp-toc-title { margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.lp-toc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; counter-reset: toc; }
.lp-toc-list li { counter-increment: toc; font-size: 15.5px; line-height: 1.4; }
.lp-toc-list li::before { content: counter(toc) "."; margin-right: 8px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--terra-ink); }
.lp-toc-list a { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.lp-toc-list a:hover { color: var(--terra-ink); border-color: var(--terra); }

/* ── Schéma du littoral (pages communes) ───────────────────── */
.lp-coast { margin-top: 30px; }
.lp-coast-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-coast-svg text { font-family: var(--font); font-size: 15px; fill: var(--ink); }
.lp-coast-svg .coast-cardinal { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-3); }
.lp-coast-svg .coast-line { fill: none; stroke: rgba(11, 26, 17, .3); stroke-width: 2; stroke-linecap: round; }
.lp-coast-svg .coast-stub { stroke-dasharray: 1 8; }
.lp-coast-svg .coast-point .dot { fill: var(--vert); transition: fill .2s; }
.lp-coast-svg .coast-point.is-hub .dot { fill: var(--terra); }
.lp-coast-svg .coast-point.is-muted text { fill: var(--ink-3); font-style: italic; }
.lp-coast-svg .coast-hit { fill: transparent; }
.lp-coast-svg a.coast-link { cursor: pointer; }
.lp-coast-svg a.coast-link text { transition: fill .2s; }
.lp-coast-svg a.coast-link:hover .dot, .lp-coast-svg a.coast-link:focus .dot { fill: var(--terra); }
.lp-coast-svg a.coast-link:hover text, .lp-coast-svg a.coast-link:focus text { fill: var(--terra-ink); }
.lp-coast-caption { margin-top: 16px; font-size: 13.5px; font-style: italic; color: var(--ink-3); }
.lp-coast-list { display: none; margin-top: 24px; }
.lp-coast-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 15.5px; }
.lp-coast-list li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--vert); }
.lp-coast-list li.is-hub::before { background: var(--terra); }
.lp-coast-list li.is-muted { color: var(--ink-3); font-style: italic; }
.lp-coast-list a:hover { color: var(--terra-ink); }

/* ── Frise en étapes (budget, délai) ───────────────────────── */
.lp-timeline { display: flex; gap: 28px; margin: 34px 0 40px; }
.lp-timeline .tl-step { flex: 1; min-width: 0; }
.lp-timeline .tl-head { display: flex; align-items: center; margin-bottom: 16px; }
.lp-timeline .tl-num { flex: none; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--vert); color: var(--cream); font-size: 15px; font-weight: 500; }
.lp-timeline .tl-line { flex: 1; height: 1px; margin-left: 10px; background: var(--line); }
.lp-timeline h3 { margin: 0 0 8px; font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; }
.lp-timeline p { max-width: none; margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ── Fiche réalisation ─────────────────────────────────────── */
.rlz-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.rlz-hero-text { min-width: 0; }
.rlz-sector { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.rlz-sector::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--rlz-acc, var(--terra)); }
.rlz-frame { min-width: 0; overflow: hidden; border-radius: 24px; background: var(--rlz-bg, var(--vert)); box-shadow: 0 30px 60px -32px rgba(11, 26, 17, .6); }
.rlz-frame img { display: block; width: 100%; max-width: 100%; height: auto; }
.rlz-brick .ic { color: var(--vert); }
.rlz-scope { max-width: 42em; margin-top: 10px; padding: 24px 28px; border-radius: 18px; background: var(--tint); }
.rlz-scope p { max-width: none; margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.rlz-visit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }

/* ── Pages intérieures : tablette et mobile ────────────────── */
@media (max-width: 880px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-grid > :nth-child(3n + 2) { margin-top: 0; }
  .lp-checks, .lp-toc-list { grid-template-columns: minmax(0, 1fr); }
  .lp-toc { padding: 22px 22px; }
  .lp-timeline { flex-direction: column; gap: 0; }
  .lp-timeline .tl-step { position: relative; display: flex; gap: 16px; align-items: flex-start; padding-bottom: 28px; }
  .lp-timeline .tl-step:not(.tl-last)::before { content: ""; position: absolute; left: 18px; top: 36px; bottom: -2px; width: 1px; background: var(--line); }
  .lp-timeline .tl-head { flex-direction: column; margin-bottom: 0; }
  .lp-timeline .tl-line { display: none; }
  .rlz-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .rlz-frame { max-width: 260px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .lp-coast-svg, .lp-coast-caption { display: none; }
  .lp-coast-list { display: block; }
  .lp-actions > .btn-primary, .lp-actions > .btn-ghost { flex: 1 1 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════
   MENU PAR OFFRES : quatre entrées, chacune lien + sous-menu
   (en-tête numéro / besoin / prix d'entrée, puis les offres avec leur prix).
   Balisage statique dans _partials/nav.html ; v3.js n'ajoute que l'ouverture.
   ════════════════════════════════════════════════════════════ */
.nav-in > .nav-links { align-self: stretch; }
.nav-links > li { position: relative; }
.nav-links > li.has-sub { align-self: stretch; display: flex; align-items: center; }
.nav-sub-toggle { display: none; }
.nav-links a.nav-top.active { background-size: 100% 2px; }
.nav-sub { position: absolute; top: 100%; left: -20px; z-index: 60; width: max-content; min-width: 300px; max-width: min(380px, calc(100vw - 24px)); padding: 8px; border-radius: 18px; background: #FBF9F3; box-shadow: 0 0 0 1px var(--line), 0 28px 56px -26px rgba(11, 26, 17, .5); font-size: 14.5px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-sub.is-flip, .has-sub.is-flip > .nav-sub { left: auto; right: -20px; }
.has-sub.is-open > .nav-sub, html:not(.js) .has-sub:is(:hover, :focus-within) > .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub-head { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; padding: 12px 14px; border-radius: 12px; background: var(--tint); }
.ns-num { font-size: 34px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--terra); }
.ns-need { font-size: 15px; font-weight: 500; line-height: 1.25; }
.ns-need small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.nav-sub li a, .nav-links .nav-sub a { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 11px 14px; border-radius: 12px; background: none; transition: background-color .15s; }
.nav-links .nav-sub a:hover, .nav-links .nav-sub a:focus-visible { background: var(--tint); }
.ns-l { font-weight: 500; }
.ns-p { flex: none; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 1100px) and (min-width: 861px) {
  .nav-in { gap: 16px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .nav-links a.nav-cta { padding: 9px 12px; font-size: 13.5px; }
}
@media (max-width: 860px) {
  .nav-links.open { max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.open > li.has-sub { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-self: auto; align-items: center; }
  .nav-sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
  .nav-sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
  .has-sub.is-open > .nav-sub-toggle svg { transform: rotate(180deg); }
  html:not(.js) .nav-sub-toggle { display: none; }
  .nav-sub { position: static; grid-column: 1 / -1; display: none; width: auto; min-width: 0; max-width: none; padding: 0 0 14px; border-radius: 0; background: none; box-shadow: none; font-size: 16px; opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-sub.is-open > .nav-sub { display: block; }
  .nav-links.open .nav-sub li { border-bottom: 0; }
  .nav-links.open .nav-sub a { display: flex; padding: 10px 14px; }
  .nav-sub-head { margin-bottom: 6px; padding: 10px 14px; }
  .ns-num { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .nav-sub { transition: none; } }

/* Bulle de chat (chat.js) : seul le bouton et le panneau captent les clics, pas la bande transparente du conteneur. */
.yana-chat{pointer-events:none}
.yana-chat__toggle,.yana-chat__panel{pointer-events:auto}
/* Lien « Gérer les cookies » injecté par tracking.js dans le pied de page */
.foot-links [data-yana-consent]{cursor:pointer}

/* ── FAQ en accordéon : chaque question est un bouton, la réponse se déplie au clic.
   Sans JS (ou si v3.js ne tourne pas), tout reste ouvert et lisible. */
.faq-ready .faq-item { padding-block: 0; }
.faq-btn { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 0; margin: 0; background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; text-align: left; cursor: pointer; }
.faq-btn::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .2s, color .2s, border-color .2s; }
.faq-btn:hover::after { border-color: var(--terra); color: var(--terra-ink); }
.faq-item.is-open .faq-btn::after { transform: rotate(45deg); background-color: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-btn:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }
.faq-panel { padding: 0 54px 24px 0; }
.faq-panel > :first-child { margin-top: 0; }
.faq-ready .faq-item:not(.is-open) > .faq-panel { display: none; }
.dark .faq-btn::after { border-color: rgba(237, 232, 217, .3); }
@media (max-width: 860px) { .faq-btn { padding: 18px 0; gap: 14px; } .faq-btn::after { width: 30px; height: 30px; } .faq-panel { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .faq-btn::after { transition: none; } }

/* ════════════════════════════════════════════════════════════
   RYTHME ET COMPOSITION DES PAGES INTÉRIEURES
   1) Échelle d'espacements (5 pas) : on n'écrit plus de valeurs éparses.
   2) Desktop (>= 1000 px) : titre de section à gauche, contenu à droite ;
      hero en grille (titre pleine largeur, chapô à gauche, réassurance à droite) ;
      bandeau final texte à gauche, boutons à droite. Mobile et tablette étroite : une colonne.
   Les sections qui contiennent autre chose que du texte (cartes, prix, frise, preuves...) restent
   empilées : la composition ne s'applique qu'aux sections 100 % texte (liste blanche dans :has()).
   ════════════════════════════════════════════════════════════ */
:root {
  --sp-xs: 14px;                          /* kicker -> titre, titre -> chapô */
  --sp-s: clamp(20px, 2.2vw, 28px);       /* titre -> texte, texte -> texte de nature voisine */
  --sp-m: clamp(32px, 3.6vw, 52px);       /* titre -> cartes, texte -> bloc, bloc -> note */
  --sp-l: clamp(44px, 5vw, 72px);         /* entre deux blocs de nature différente */
  --sp-sec: clamp(64px, 7.2vw, 104px);    /* marge intérieure d'une section */
  --sp-sec-2: calc(var(--sp-sec) * .65);  /* haut d'une section qui suit une section de même fond */
}

/* ── Rythme entre sections ─────────────────────────────────── */
.lp-hero { padding: clamp(36px, 4.4vw, 64px) var(--pad-x) var(--sp-sec-2); }
.lp-section { padding-block: var(--sp-sec); }
.lp-section:not(.is-tint) + .lp-section:not(.is-tint) { padding-top: var(--sp-sec-2); }
.lp-hero + .lp-section:not(.is-tint) { padding-top: var(--sp-sec-2); }
.lp-cta { padding-block: clamp(72px, 8.4vw, 120px); }

/* ── Rythme à l'intérieur d'une section ────────────────────── */
.lp-hero h1 { margin-bottom: var(--sp-s); }
.lp-lead { margin-bottom: var(--sp-s); }
.lp-trust { margin-top: var(--sp-m); }
.lp-sec-eyebrow { margin-bottom: var(--sp-xs); }
.lp-section h2 { margin-bottom: var(--sp-s); }
.lp-cta h2 { margin-bottom: var(--sp-s); }
.lp-cta p { margin-bottom: var(--sp-m); }
.lp-prose > p { margin-bottom: 1.1em; }
.lp-prose > h3 { margin: var(--sp-m) 0 14px; }
.lp-callout { margin: var(--sp-s) 0; }
.lp-section > :is(.lp-grid, .lp-timeline, .lp-offer, .lp-coast, .lp-checks, .lp-table, .rlz-scope) { margin-top: var(--sp-m); }
.lp-section > :is(.lp-grid, .lp-timeline, .lp-offer, .lp-coast, .lp-checks) + :not(.lp-sec-eyebrow, h2) { margin-top: var(--sp-m); }
.lp-section > .lp-grid + :is(.lp-grid, .lp-offer, .lp-timeline, .lp-related, .lp-checks, p) { margin-top: var(--sp-l); }
.lp-section > .lp-related { margin-top: var(--sp-m); }
.lp-offer .pg-note { margin-top: var(--sp-s); }
.lp-timeline { margin-bottom: 0; }

@media (min-width: 1000px) {
  /* ── Sections 100 % texte : titre à gauche, contenu à droite ── */
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) { display: flow-root; }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > :is(.lp-sec-eyebrow, h2) { float: left; clear: left; width: 30%; max-width: none; margin-bottom: 0; }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > .lp-sec-eyebrow { margin-bottom: var(--sp-xs); }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > h2 { margin-top: 0; font-size: clamp(26px, 2.9vw, 42px); }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > :not(.lp-sec-eyebrow, h2) { margin-left: 34%; }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > .lp-sec-eyebrow + h2 + * { margin-top: 36px; }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > :is(p, ul, ol, .lp-callout) { max-width: 35em; }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > .faq-list { max-width: none; }
  .lp-section:not(:has(> :not(.lp-sec-eyebrow, h2, h3, p, ul, ol, blockquote, figure, .lp-callout, .faq-list, .lp-related, .lp-checks, .lp-table))) > .lp-related { margin-top: var(--sp-m); }
  .lp-toc-wrap > .lp-toc { max-width: none; margin-left: 34%; }
  .lp-prose > p, .lp-prose > ul, .lp-prose > ol { max-width: 35em; }

  /* ── Hero : titre pleine largeur, chapô à gauche, réassurance à droite ── */
  .lp-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); grid-auto-flow: row dense; align-items: start; }
  .lp-hero > * { grid-column: 1 / span 7; min-width: 0; }
  .lp-hero > :is(.lp-breadcrumb, .lp-eyebrow, h1, .rlz-hero-inner, .lp-artmeta) { grid-column: 1 / -1; }
  .lp-hero > .lp-trust { grid-column: 9 / -1; grid-row: span 3; flex-direction: column; flex-wrap: nowrap; gap: 14px; margin-top: 6px; font-size: 15px; }
  .lp-hero > .lp-trust span { align-items: baseline; }
  .lp-hero > .lp-trust span::before { margin-top: .1em; transform: translateY(-.15em); }

  /* ── Bandeau final : texte à gauche, boutons à droite ── */
  .lp-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 80px); align-items: end; }
  .lp-cta > * { grid-column: 1; }
  .lp-cta > .lp-actions { grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-content: flex-end; margin-bottom: var(--sp-m); }
  .lp-cta h2 { max-width: 16em; font-size: clamp(34px, 4.6vw, 66px); }
  .lp-cta > p { margin-bottom: 0; }
  .lp-cta > p.pg-tel { margin-top: var(--sp-m); }
}
