/* Polices hébergées sur le site (licence SIL Open Font License, voir assets/fonts/LICENCE-*.txt) */
@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/im-fell-english-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IM Fell English"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/im-fell-english-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/figtree-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

/* Mise en page : un carnet de voyage. Une maison par bande, chaque lieu repéré sur la carte de l'île. Même famille visuelle que Cap Libertalia. */
:root {
  --bg: #F2F6F5;
  --surface: #FFFFFF;
  --ink: #11292F;
  --muted: #4F676B;
  --line: #D2DFDE;
  --accent: #9A5806;
  --accent-ink: #FFFFFF;
  --amber: #C98318;
  --emerald: #0F7A69;
  --sea: #DCEDEA;
  --land: #E8EEEC;
  --band: #0F2A30;
  --band-ink: #EAF2F0;
  --band-muted: #A9C2C0;
  --plan-bg: #F7E9D3;
  --plan-ink: #7A4504;
  --il-sky: #E4F0EE;
  --il-hill-far: #BFD6D0;
  --il-hill: #7FA898;
  --il-lake: #9CC7C4;
  --il-shine: #D9ECEA;
  --il-bird: #FFFFFF;
  --il-wall: #F6EBD9;
  --il-roof: #9A5806;
  --il-wood: #5B3A1E;
  --il-reed: #3F7A5E;
  --f-display: "IM Fell English", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1B20; --surface: #12262C; --ink: #E6EFED; --muted: #9FB6B4; --line: #24393F;
    --accent: #E9A23B; --accent-ink: #1A1206; --amber: #E9A23B; --emerald: #4CC0AA;
    --sea: #12303A; --land: #1C3238; --band: #071317; --band-ink: #E6EFED; --band-muted: #93ABA9; --plan-bg: #3A2A12; --plan-ink: #F2C277;
    --il-sky: #16333B; --il-hill-far: #1F4148; --il-hill: #2C5A50; --il-lake: #1B4A52; --il-shine: #2E6670;
    --il-bird: #EAF2F0; --il-wall: #D9C7A8; --il-roof: #B8731C; --il-wood: #3A2614; --il-reed: #4F9C78;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C1B20; --surface: #12262C; --ink: #E6EFED; --muted: #9FB6B4; --line: #24393F;
  --accent: #E9A23B; --accent-ink: #1A1206; --amber: #E9A23B; --emerald: #4CC0AA;
  --sea: #12303A; --land: #1C3238; --band: #071317; --band-ink: #E6EFED; --band-muted: #93ABA9; --plan-bg: #3A2A12; --plan-ink: #F2C277;
  --il-sky: #16333B; --il-hill-far: #1F4148; --il-hill: #2C5A50; --il-lake: #1B4A52; --il-shine: #2E6670;
  --il-bird: #EAF2F0; --il-wall: #D9C7A8; --il-roof: #B8731C; --il-wood: #3A2614; --il-reed: #4F9C78;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}
section { scroll-margin-top: 16px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.05; }
h3 { font-size: 1.6rem; line-height: 1.1; }
p { margin: 0; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.note { font-size: 0.875rem; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* En-tête */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.brand { font-family: var(--f-display); font-size: 1.45rem; text-decoration: none; white-space: nowrap; }
.brand em { color: var(--amber); }
.nav { display: flex; gap: 24px; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--accent); font-weight: 600; }
.top-right { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; }
.lang button { min-width: 36px; min-height: 32px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 0.78rem/1 var(--f-mono); letter-spacing: 0.04em; cursor: pointer; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 719px) { .nav { display: none; } .brand { font-size: 1.2rem; } }

/* Accueil */
.hero-banner { position: relative; height: clamp(340px, 64vh, 620px); overflow: hidden; background: var(--band); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.06); transition: transform 8s ease-out; }
.slide.is-active img { transform: scale(1); }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slide-tag { font: 500 0.75rem/1.35 var(--f-mono); letter-spacing: 0.04em; padding: 6px 10px; border-radius: 4px; background: rgba(8, 24, 28, 0.72); color: #F2F6F5; text-decoration: none; }
.slide-tag:hover { text-decoration: underline; text-underline-offset: 3px; }
.slide-dots { display: flex; gap: 2px; margin-left: auto; flex-shrink: 0; }
.slide-dots button { width: 30px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.slide-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(247, 250, 249, 0.6); box-shadow: 0 0 0 1px rgba(8, 24, 28, 0.35); transition: width 0.3s, background-color 0.3s; }
.slide-dots button[aria-current="true"]::before { width: 22px; background: #F7FAF9; }
.slide-dots button:focus-visible { outline: 2px solid #F7FAF9; outline-offset: -3px; border-radius: 999px; }
@media (max-width: 859px) { .slide img { object-position: var(--pos-m, var(--pos, 50% 50%)); } }
@media (max-width: 599px) {
  .t-place { display: none; }
  .slide-tag { font-size: 0.7rem; }
  .slide-dots button { width: 24px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide img { transition: none; } .slide img, .slide.is-active img { transform: none; } }
.hero-banner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(8, 24, 28, 0.76) 0%, rgba(8, 24, 28, 0.44) 40%, rgba(8, 24, 28, 0) 66%, rgba(8, 24, 28, 0) 76%, rgba(8, 24, 28, 0.5) 100%); }
.hero-over { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding-block: 48px; }
.hero-over .eyebrow { color: #CFE9E3; }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: start; padding-block: 40px 56px; }
.hero-side { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5rem); line-height: 0.98; letter-spacing: -0.01em; }
.hero h1 em { color: var(--amber); }
.hero-over h1 { color: #F7FAF9; max-width: 14ch; text-shadow: 0 2px 18px rgba(8, 24, 28, 0.45); }
.hero-over h1 em { color: #F2B451; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 600 1rem/1 var(--f-body);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.status-line { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.9rem; color: var(--muted); }
.status-line span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); margin-right: 8px; vertical-align: 1px; }
.tag {
  position: absolute; left: 10px; bottom: 10px;
  font: 500 0.75rem/1 var(--f-mono); letter-spacing: 0.04em;
  padding: 5px 8px; border-radius: 4px;
  background: rgba(8, 24, 28, 0.72); color: #F2F6F5;
}
@media (max-width: 859px) {
  .hero-banner { height: clamp(300px, 52vh, 440px); }
  .hero-over { padding-block: 28px; }
  .hero-intro { grid-template-columns: 1fr; gap: 24px; padding-block: 28px 40px; }
}

/* Sections */
.block .wrap { padding-block: 72px; display: flex; flex-direction: column; gap: 40px; }
.block + .block .wrap { border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
@media (max-width: 719px) { .block .wrap { padding-block: 48px; gap: 32px; } }

/* Maisons */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; min-height: 400px; }
.feature-media figure { margin: 0; position: relative; min-height: 0; min-width: 0; }
.feature-media .fm-main { grid-row: 1 / 3; }
.feature-media img, .feature-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-media.single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.feature-media.single .fm-main { grid-row: auto; }
.feature-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.feature-body h3 { font-size: 1.85rem; }
.feature-body > p:not(.coords):not(.eyebrow):not(.keyline) { color: var(--muted); }
.keyline { font-size: 1rem; }
.keyline b { font-weight: 600; }
.ar { font-style: normal; color: var(--muted); }
.more { border-top: 1px solid var(--line); padding-top: 12px; }
.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: var(--accent); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.more summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.more-body { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.more-body > p { color: var(--muted); }
.feature-body > p.sig { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--ink); }
.coords { font: 400 0.75rem/1.4 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.feature { scroll-margin-top: 16px; }
.feature-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.feature-rev .feature-media { order: 2; }
.facts { margin: 4px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font: 500 0.75rem/1.85 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.facts dd { margin: 0; font-size: 0.98rem; }
.facts strong { font-weight: 600; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.feature-body .logo { align-self: flex-start; height: 72px; width: auto; max-width: 150px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); }
.brand-logo { width: 100%; max-width: 220px; height: auto; border-radius: 8px; margin-top: 12px; }
.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.chip { font: 600 0.78rem/1 var(--f-body); padding: 6px 10px; border-radius: 999px; background: var(--plan-bg); color: var(--plan-ink); white-space: nowrap; }
@media (max-width: 939px) {
  .feature, .feature-rev { grid-template-columns: 1fr; }
  .feature-rev .feature-media { order: 0; }
  .feature-media { min-height: 0; aspect-ratio: 16 / 10; }
  .feature-body { padding: 22px; }
  .feature-body .logo { height: 60px; }
  .feature-media.single svg { height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 419px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 8px; } }

/* Illustration de Tana */
.il-sky { fill: var(--il-sky); }
.il-sun { fill: var(--amber); fill-opacity: 0.35; }
.il-far { fill: var(--il-hill-far); }
.il-hill { fill: var(--il-hill); }
.il-lake { fill: var(--il-lake); }
.il-shine { stroke: var(--il-shine); stroke-width: 3; stroke-linecap: round; fill: none; }
.il-bird { fill: var(--il-bird); }
.il-bird-line { stroke: var(--il-bird); stroke-width: 5; stroke-linecap: round; fill: none; }
.il-beak { stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
.il-leg { stroke: var(--il-wood); stroke-width: 2.5; stroke-linecap: round; }
.il-wall { fill: var(--il-wall); }
.il-roof { fill: var(--il-roof); }
.il-wood { fill: var(--il-wood); }
.il-reed { stroke: var(--il-reed); stroke-width: 3; stroke-linecap: round; fill: none; }

/* Carte */
.where { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.map { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.map svg { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.m-sea { fill: var(--sea); }
.m-land { fill: var(--land); stroke: var(--muted); stroke-width: 1.2; stroke-linejoin: round; }
.m-road { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-dasharray: 5 5; }
.m-flight { fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; }
.m-line { stroke: var(--muted); stroke-width: 1.1; }
.m-ink { fill: var(--ink); }
.m-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2.5; }
.m-soon { fill: var(--bg); stroke: var(--accent); stroke-width: 2.5; }
.m-strong { fill: var(--ink); font: 600 17px var(--f-body); }
.m-quiet { fill: var(--muted); font: 400 15px var(--f-body); }
.m-italic { fill: var(--muted); font: italic 400 15px var(--f-body); }
.m-amber { fill: var(--amber); fill-opacity: 0.22; stroke: var(--amber); stroke-width: 1.6; }
.m-amber-solid { fill: var(--amber); }
.m-green { fill: var(--emerald); fill-opacity: 0.16; stroke: var(--emerald); stroke-width: 1.6; }
.n-strong { fill: var(--ink); font: 600 22px var(--f-body); }
.n-quiet { fill: var(--muted); font: 400 18px var(--f-body); }
.n-italic { fill: var(--muted); font: italic 400 18px var(--f-body); }
.north { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.north .head { display: flex; flex-direction: column; gap: 16px; }
.north-left { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.m-inset { fill: var(--sea); stroke: var(--muted); stroke-width: 1; stroke-opacity: 0.6; }
.m-zoom { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.n-inset { fill: var(--ink); font: 600 22px var(--f-body); }
.north h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.stops { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; counter-reset: stop; }
.stops li { border-bottom: 1px dashed var(--line); }
.stops li:first-child { border-top: 1px dashed var(--line); }
.stops li { counter-increment: stop; }
.stops a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; padding: 12px 0; text-decoration: none; }
.stops a::before { content: counter(stop); grid-row: 1 / 3; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font: 700 0.85rem/1 var(--f-body); background: var(--accent); color: var(--accent-ink); }
.stops a.soon::before { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.stops strong { font-weight: 600; }
.stops a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.stops span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 859px) { .north { grid-template-columns: 1fr; gap: 28px; } .north .head { order: -1; } }
.distances { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; max-width: 560px; font-size: 0.98rem; }
.distances li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.distances li:first-child { border-top: 1px dashed var(--line); }
.distances li span:last-child { font-family: var(--f-mono); font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 859px) { .where { grid-template-columns: 1fr; gap: 32px; } .map { max-width: 560px; } }

/* Voyages */
.trips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.trip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.trip h3 { font-size: 1.5rem; }
.trip > p:not(.eyebrow) { color: var(--muted); font-size: 0.98rem; }
.legs { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.legs li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legs li:first-child { border-top: 1px solid var(--line); }
.legs li::before { content: attr(data-nuits); font: 500 0.8rem/1.9 var(--f-mono); color: var(--emerald); }
.legs strong { display: block; font-weight: 600; font-size: 0.98rem; }
.legs span { color: var(--muted); font-size: 0.92rem; }
.price { font-weight: 600; }
@media (max-width: 939px) { .trips { grid-template-columns: 1fr; max-width: 600px; } }

/* Hôte */
.host { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.host-text { display: flex; flex-direction: column; gap: 16px; max-width: 62ch; }
.host-text p { color: var(--muted); }
.host-text p.first { color: var(--ink); font-size: 1.15rem; }
.aside-note { border-left: 2px solid var(--amber); padding: 4px 0 4px 16px; }
.aside-note strong { color: var(--ink); }
@media (max-width: 859px) { .host { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--amber); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); max-width: 66ch; }

/* Réserver */
.contact { background: var(--band); color: var(--band-ink); }
.contact .wrap { padding-block: 72px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact .eyebrow { color: var(--amber); }
.contact .lead { color: var(--band-muted); }
.msg { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.msg fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.msg legend, .field label, .field-label { font: 500 0.75rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--band-muted); padding: 0; }
.msg legend { margin-bottom: 10px; }
.opt { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(169, 194, 192, 0.35); border-radius: 999px; cursor: pointer; font-size: 0.95rem; color: var(--band-ink); }
.opt:has(input:checked) { border-color: var(--amber); background: rgba(233, 162, 59, 0.14); }
.opt input { accent-color: var(--amber); margin: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.msg input[type="text"], .msg input[type="date"], .msg input[type="number"], .msg select, .msg textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--radius);
  border: 1px solid rgba(169, 194, 192, 0.35);
  background: rgba(255, 255, 255, 0.06); color: var(--band-ink);
  font: 400 1rem/1.5 var(--f-body);
  color-scheme: dark;
}
.msg textarea { min-height: 96px; resize: vertical; }
.msg select option { background: var(--band); color: var(--band-ink); }
.msg ::placeholder { color: var(--band-muted); opacity: 0.8; }
.preview { white-space: pre-line; font-size: 0.95rem; line-height: 1.5; color: var(--band-ink); padding: 14px 16px; border-left: 2px solid var(--amber); background: rgba(255, 255, 255, 0.04); border-radius: 0 var(--radius) var(--radius) 0; }
.form-note { font-size: 0.85rem; color: var(--band-muted); }
.msg .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.copy-state { font-size: 0.9rem; color: var(--band-muted); }
.btn-band { border-color: rgba(169, 194, 192, 0.45); color: var(--band-ink); background: transparent; }
.btn-band:hover { border-color: var(--band-ink); }
.channels { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.channels li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid rgba(169, 194, 192, 0.2); }
.channels .k { font: 500 0.75rem/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--band-muted); min-width: 92px; }
.channels a { color: var(--band-ink); font-weight: 600; }
.channels .v { user-select: all; }
.pay { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.pay h3 { font-size: 1.35rem; }
.pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pay li { font-size: 0.95rem; color: var(--band-muted); }
.pay strong, .pay .v { color: var(--band-ink); }
@media (max-width: 859px) { .contact .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; } }
@media (max-width: 639px) { .fields { grid-template-columns: 1fr 1fr; } }


/* En un coup d'œil */
.glance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.glance a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color 0.15s; }
.glance a:hover { border-color: var(--muted); }
.glance img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; min-width: 0; }
.g-body strong { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.15; }
.g-place { font: 400 0.75rem/1.4 var(--f-mono); color: var(--muted); }
.g-meta { font-size: 0.9rem; line-height: 1.4; margin-top: 4px; }
.g-meta b { font-weight: 600; }
@media (max-width: 939px) { .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .glance { grid-template-columns: 1fr; gap: 10px; }
  .glance a { flex-direction: row; }
  .glance img { width: 104px; flex: none; aspect-ratio: auto; height: auto; min-height: 104px; }
  .g-body { justify-content: center; }
}

/* Repères numérotés de la carte du Nord */
.pin { transform-box: fill-box; transform-origin: center; }
.pin-n { font: 700 17px var(--f-body); fill: var(--accent-ink); }
.pin-n.soon { fill: var(--accent); }
.map-north a { cursor: pointer; }
.map-north a:focus { outline: none; }
.map-north a:hover circle, .map-north a:focus-visible circle { stroke: var(--ink); stroke-width: 3; }
@media (max-width: 599px) {
  .map .sub { display: none; }
  .m-strong { font-size: 22px; }
  .map-north .lab, .map-north .ctx { display: none; }
  .pin { transform: scale(1.6); }
  .pin.pin-inset { transform: scale(1.25); }
  .n-inset { font-size: 28px; }
}

/* Estimation et bouton flottant */
.estimate { font-size: 0.95rem; line-height: 1.5; color: var(--band-ink); padding: 10px 14px; border: 1px dashed rgba(169, 194, 192, 0.45); border-radius: var(--radius); }
.fab { display: none; }
@media (max-width: 719px) {
  .fab {
    display: inline-flex; align-items: center; position: fixed; z-index: 20;
    right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    background: var(--accent); color: var(--accent-ink); font: 600 1rem/1 var(--f-body); text-decoration: none;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55);
    transition: opacity 0.2s, transform 0.2s;
  }
  .fab.away { opacity: 0; transform: translateY(12px); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .fab { transition: none; } }


/* Avis */
.review-top { margin: 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--amber); display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.review-top blockquote { margin: 0; }
.review-top p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.2; text-wrap: balance; }
.reviews { columns: 3 280px; column-gap: 20px; }
.review { break-inside: avoid; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.review[hidden] { display: none !important; }
.review blockquote { margin: 0; }
.review p { font-size: 1rem; line-height: 1.6; }
.review-top figcaption, .review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.r-name { font-weight: 600; }
.r-house, .r-date { font: 400 0.75rem/1.5 var(--f-mono); color: var(--muted); }
.r-house { color: var(--emerald); text-transform: uppercase; letter-spacing: 0.06em; }
.more-reviews { align-self: flex-start; }


/* L'écrivain */
.capitaine { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.cap-img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(8, 30, 34, 0.7); }
.cap-cover { aspect-ratio: 2 / 3; max-width: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 22px; background: var(--band); color: var(--band-ink); border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(8, 30, 34, 0.7); outline: 1px solid rgba(233, 162, 59, 0.5); outline-offset: -10px; }
.cap-kicker, .cap-author { font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-muted); }
.cap-title { font-family: var(--f-display); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; color: #E9A23B; text-wrap: balance; }
.cap-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: 62ch; }
.cap-body h3 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.cap-body > p:not(.eyebrow):not(.cap-quote) { color: var(--muted); }
.cap-quote { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--ink); }
.cap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.books-title { margin-bottom: -16px; }
@media (max-width: 759px) { .capitaine { grid-template-columns: 1fr; padding: 20px; gap: 24px; } .cap-cover, .cap-img { max-width: 140px; } }

.books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.book { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; height: 100%; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--amber); border-radius: var(--radius); text-decoration: none; transition: border-color 0.15s; }
.book:hover { border-color: var(--muted); border-top-color: var(--amber); }
.b-cover { width: 84px; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 3px; box-shadow: 0 8px 18px -10px rgba(8, 30, 34, 0.6); }
.b-cover-type { display: block; background: var(--band); outline: 1px solid rgba(233, 162, 59, 0.5); outline-offset: -5px; }
.b-text { display: flex; flex-direction: column; gap: 8px; height: 100%; min-width: 0; }
.b-title { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.15; }
.b-sub { font: 400 0.75rem/1.5 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.b-desc { font-size: 0.9rem; line-height: 1.4; color: var(--muted); font-style: italic; }
.b-go { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.soon-book { align-self: center; }
@media (max-width: 859px) { .books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .books { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  .books li { flex: 0 0 150px; scroll-snap-align: start; }
  .book { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .b-cover { width: 100%; }
  .b-title { font-size: 1.1rem; }
  .brand-logo { max-width: 150px; }
}
@media (max-width: 539px) { .books { grid-template-columns: 1fr; } }

/* Pied de page */
.foot .wrap { padding-block: 32px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 0.875rem; color: var(--muted); }
.foot .legal { max-width: 70ch; display: flex; flex-direction: column; gap: 6px; }
.foot .hello { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--ink); }

/* ---------- Version 2 : sélecteur de langue en liens, pages maisons, pages de texte ---------- */
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 32px; padding: 0 9px; border-radius: 999px; color: var(--muted); font: 600 0.78rem/1 var(--f-mono); letter-spacing: 0.04em; text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; padding: 10px 14px; border-radius: var(--radius); background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }
.foot-links a { color: var(--ink); }
.r-house { text-decoration: none; }
a.r-house:hover { text-decoration: underline; text-underline-offset: 3px; }
.m-scale { fill: none; stroke: var(--muted); stroke-width: 2; }
.m-ambre { fill: var(--emerald); fill-opacity: 0.55; }
.m-halo { paint-order: stroke; stroke: var(--land); stroke-width: 5px; stroke-linejoin: round; }
.map-north .m-italic { font-size: 17px; }

/* Réserver : étapes, services, lien conditions */
.steps-box { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid rgba(169, 194, 192, 0.25); border-radius: var(--radius); }
.steps-box h3 { font-size: 1.35rem; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
.steps li { counter-increment: step; position: relative; min-height: 26px; padding: 2px 0 0 38px; font-size: 0.95rem; color: var(--band-muted); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #1A1206; font: 700 0.8rem/1 var(--f-body); }
.steps strong { color: var(--band-ink); }
.pay a, .contact .pay-link a { color: var(--band-ink); font-weight: 600; }
.form-warn { font-size: 0.9rem; color: var(--band-ink); padding: 10px 14px; border-left: 2px solid var(--amber); background: rgba(233, 162, 59, 0.1); border-radius: 0 var(--radius) var(--radius) 0; }

/* Fil d'Ariane */
.crumbs { padding-block: 14px 0; font: 400 0.78rem/1.5 var(--f-mono); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Galerie */
.gal-wrap { padding-top: 14px; }
.gal { position: relative; display: grid; gap: 6px; height: clamp(320px, 58vh, 560px); border-radius: var(--radius); overflow: hidden; }
.gal > button:not(.gal-all) { all: unset; position: relative; display: block; min-width: 0; min-height: 0; cursor: zoom-in; background: var(--land); }
.gal > button:not(.gal-all):focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.2s; }
.gal > button:hover img { filter: brightness(1.06); }
.gal .gx { display: none !important; }
.gal.n5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gal.n5 .g0 { grid-row: 1 / 3; }
.gal.n4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gal.n4 .g0 { grid-row: 1 / 3; }
.gal.n4 .g1 { grid-row: 1 / 3; }
.gal.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gal.n3 .g0 { grid-row: 1 / 3; }
.gal.n2 { grid-template-columns: 2fr 1fr; }
.gal.n1 { grid-template-columns: 1fr; }
.gal-all { position: absolute; right: 14px; bottom: 14px; min-height: 40px; padding: 0 16px; font-size: 0.9rem; background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.45); }
.gal-all:hover { border-color: var(--muted); }
@media (max-width: 719px) {
  .gal-wrap { padding-left: 0; padding-right: 0; }
  .gal, .gal.n5, .gal.n4, .gal.n3, .gal.n2 { display: flex; height: auto; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; padding-inline: 16px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .gal::-webkit-scrollbar { display: none; }
  .gal > button:not(.gal-all), .gal .gx { display: block !important; flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; }
  .gal-all { display: none; }
}

/* Titre de la maison */
.h-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-block: 28px 8px; }
.h-title { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.h-title h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.02; }
.h-title .sig { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; line-height: 1.3; }
.h-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.h-chips li { font: 500 0.8rem/1 var(--f-mono); padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.h-logo { flex: none; height: 96px; width: auto; border-radius: 8px; border: 1px solid var(--line); }
@media (max-width: 599px) { .h-logo { height: 64px; } .h-top { padding-top: 20px; } }

/* Corps : texte et carte de prix */
.h-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 48px; align-items: start; padding-block: 24px 72px; }
.h-text { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.h-text section { display: flex; flex-direction: column; gap: 14px; }
.h-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); }
.h-text p { color: var(--muted); max-width: 64ch; }
.h-text .coords { color: var(--muted); }
.ext { color: var(--accent); font-weight: 600; }
.sheet { margin: 0; display: grid; grid-template-columns: minmax(130px, auto) minmax(0, 1fr); border-top: 1px solid var(--line); }
.sheet dt, .sheet dd { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet dt { font: 500 0.75rem/1.9 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-right: 16px; }
.sheet dd { margin: 0; }
.sheet ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sheet li { padding-left: 16px; position: relative; }
.sheet li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.h-aside { position: sticky; top: 16px; }
.price-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -30px rgba(8, 30, 34, 0.6); }
.pc-price { font-size: 1.05rem; }
.pc-price strong { font: 700 1.9rem/1 var(--f-body); letter-spacing: -0.01em; color: var(--ink); }
.pc-price .ar { display: block; font-size: 0.9rem; margin-top: 4px; }
.pc-sub { font-size: 0.95rem; color: var(--muted); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-t { grid-column: 1 / -1; font: 500 0.75rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.calc-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.calc-f:nth-of-type(3) { grid-column: 1 / -1; }
.calc label { font-size: 0.85rem; color: var(--muted); }
.calc input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: 400 1rem/1.4 var(--f-body); }
.calc-out { grid-column: 1 / -1; font-size: 0.95rem; line-height: 1.5; padding: 10px 12px; border-radius: var(--radius); background: var(--bg); }
.pc-actions { display: flex; flex-direction: column; gap: 10px; }
.pc-good { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.pc-good ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.pc-good li { padding-left: 22px; position: relative; }
.pc-good li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 10px; height: 6px; border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg); }
.pc-link { color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.pc-also { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.pc-also span { font: 500 0.75rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.pc-also a { color: var(--ink); font-weight: 600; }
@media (max-width: 939px) {
  .h-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .h-aside { position: static; order: -1; }
}
@media (max-width: 419px) { .sheet { grid-template-columns: 1fr; } .sheet dt { border-bottom: 0; padding-bottom: 0; } }
.rating a { font: 500 0.85rem/1.5 var(--f-mono); color: var(--emerald); }
.glance-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 599px) { .glance-2 { grid-template-columns: 1fr; } }
.cta-band .wrap { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta-band h2 { color: var(--band-ink); }

/* Visionneuse */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 16, 19, 0.96); color: #EAF2F0; }
.lb[open] { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.lb::backdrop { background: rgba(6, 16, 19, 0.96); }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: center; padding: 56px 0 20px; min-width: 0; }
.lb img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.lb figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: 0.92rem; text-align: center; padding-inline: 12px; color: #C9D8D6; }
.lb-n { font: 500 0.78rem/1.6 var(--f-mono); color: #93ABA9; }
.lb button { border: 0; background: rgba(255, 255, 255, 0.08); color: #EAF2F0; cursor: pointer; border-radius: 999px; font: 400 1.8rem/1 var(--f-body); }
.lb button:hover { background: rgba(255, 255, 255, 0.16); }
.lb-nav { width: 48px; height: 48px; justify-self: center; }
.lb-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; z-index: 2; }
@media (max-width: 599px) {
  .lb[open] { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .lb-nav { position: absolute; bottom: 16px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb figure { padding-bottom: 80px; }
}

/* Pages de texte */
.doc { display: flex; flex-direction: column; gap: 28px; max-width: 820px; padding-block: 32px 72px; }
.doc h1 { font-size: clamp(2.3rem, 5.4vw, 3.4rem); line-height: 1.04; }
.doc section { display: flex; flex-direction: column; gap: 10px; }
.doc h2 { font-size: 1.6rem; }
.doc p, .doc li { color: var(--muted); }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc a { color: var(--accent); font-weight: 600; }
.doc a.btn { color: var(--ink); }
.banner { padding: 12px 16px; border-left: 3px solid var(--amber); background: var(--plan-bg); color: var(--plan-ink) !important; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.95rem; }
.doc-404 section { padding-top: 20px; border-top: 1px solid var(--line); }
@media (min-width: 720px) and (max-width: 939px) { .nav { gap: 16px; font-size: 0.9rem; } .top-right { gap: 14px; } }
