/* aubea.app — feuille de style unique. Polices auto-hébergées (aucun appel externe). */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #0F1B3D;
  --navy-deep: #0A1330;
  --gold: #C9A961;
  --gold-soft: #E6D5A8;
  --cream: #F6F1E8;
  --paper: #FCFAF5;
  --ink: #16203D;
  --muted: #5A6075;
  --line: rgba(15, 27, 61, 0.14);
  --line-gold: rgba(201, 169, 97, 0.55);
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; }
h3 { font-size: 1.4rem; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-color: var(--line-gold); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }

/* ─── En-tête ─── */
.site-header { padding: 26px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand span::after { content: "."; color: var(--gold); }
.site-nav { display: flex; gap: 28px; font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--navy); text-decoration: underline; }
.site-nav a { white-space: nowrap; }
@media (max-width: 560px) { .site-nav { gap: 16px; font-size: 0.9rem; } .site-nav a:first-child { display: none; } .brand img { width: 28px; height: 28px; } .brand span { font-size: 1.5rem; } }

/* ─── Hero ─── */
.hero { padding: clamp(32px, 7vw, 96px) 0 clamp(40px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { max-width: 36rem; }
.hero-copy h1 { margin-bottom: 24px; color: var(--navy); }
.hero-copy .lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink); max-width: 32rem; }
.hero-copy .lead strong { font-weight: 600; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--navy); color: var(--navy); text-decoration: none;
  font-size: 0.95rem; line-height: 1.15; background: transparent;
}
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 0.72rem; color: var(--muted); }
.store b { font-weight: 600; }
.store[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.hero-note { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* La rose des vents : l'élément mémorable, posée sur deux anneaux gradués. */
.compass { position: relative; aspect-ratio: 1; width: min(100%, 440px); margin-inline: auto; }
.compass .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-gold); }
.compass .ring.inner { inset: 13%; border-color: var(--line); }
.compass .ticks { position: absolute; inset: 0; border-radius: 50%;
  background:
    conic-gradient(from -0.4deg, var(--gold) 0 0.8deg, transparent 0 90deg),
    conic-gradient(from 89.6deg, var(--gold) 0 0.8deg, transparent 0 90deg),
    conic-gradient(from 179.6deg, var(--gold) 0 0.8deg, transparent 0 90deg),
    conic-gradient(from 269.6deg, var(--gold) 0 0.8deg, transparent 0 90deg);
  -webkit-mask: radial-gradient(circle, transparent 0 46%, #000 46.5% 50%, transparent 50.5%);
          mask: radial-gradient(circle, transparent 0 46%, #000 46.5% 50%, transparent 50.5%);
}
.compass img { position: absolute; inset: 24%; width: 52%; height: 52%; object-fit: contain; }
.compass .pt { position: absolute; font-family: var(--serif); font-size: 0.95rem; color: var(--muted); letter-spacing: 0.04em; }
.compass .pt.n { top: 2.5%; left: 50%; transform: translateX(-50%); }
.compass .pt.s { bottom: 2.5%; left: 50%; transform: translateX(-50%); }
.compass .pt.e { right: 3%; top: 50%; transform: translateY(-50%); }
.compass .pt.w { left: 3%; top: 50%; transform: translateY(-50%); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .compass { width: min(72vw, 340px); order: -1; }
}

/* ─── Sections ─── */
.section { padding: clamp(48px, 8vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { color: var(--navy); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.prose { max-width: var(--measure); }
.prose h2, .limits h2 { color: var(--navy); margin-bottom: 18px; }
.prose p { font-size: 1.08rem; }
.prose .pull { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.35; color: var(--navy); margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--gold); }

/* Les cinq phases : une vraie séquence, donc numérotée. */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--navy); }
.phases li { padding: 22px 18px 26px 0; border-right: 1px solid var(--line); margin-right: 18px; }
.phases li:last-child { border-right: 0; margin-right: 0; }
.phases .num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.phases h3 { margin: 10px 0 4px; font-size: 1.35rem; color: var(--navy); }
.phases .count { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.phases p { font-size: 0.95rem; color: var(--ink); margin: 0; }
.phases .opt { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 960px) { .phases { grid-template-columns: repeat(2, 1fr); border-top: 0; } .phases li { border-right: 0; margin-right: 0; border-top: 1px solid var(--navy); padding-right: 18px; } }
@media (max-width: 520px) { .phases { grid-template-columns: 1fr; } }

/* Trois colonnes « comment ça marche » : sans cartes, colonnes séparées par des filets. */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.how > div { padding-top: 18px; border-top: 2px solid var(--gold); }
.how h3 { color: var(--navy); margin-bottom: 10px; }
.how p { font-size: 0.98rem; margin: 0 0 10px; }
.how ul { margin: 0; padding-left: 18px; font-size: 0.95rem; color: var(--ink); }
.how li { margin-bottom: 4px; }
@media (max-width: 800px) { .how { grid-template-columns: 1fr; } }

/* ─── Aperçu sombre avec la maquette téléphone ─── */
.dark { background: var(--navy-deep); color: #fff; }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: rgba(255,255,255,0.7); }
.preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.preview .section-head { margin-bottom: 0; }
.preview .section-head p + p { margin-top: 12px; }
.phone { width: min(100%, 360px); margin-inline: auto; background: var(--cream); color: var(--ink); border-radius: 36px; padding: 18px 16px 22px; box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 8px #1C2749, 0 0 0 9px rgba(255,255,255,0.08); }
.phone .bar { width: 96px; height: 5px; border-radius: 3px; background: rgba(15,27,61,0.18); margin: 0 auto 18px; }
.phone .kicker { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.phone .ttl { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin: 6px 0 12px; }
.phone .progress { height: 6px; border-radius: 3px; background: rgba(15,27,61,0.12); overflow: hidden; margin-bottom: 16px; }
.phone .progress i { display: block; height: 100%; width: 43%; background: var(--gold); }
.phone ul { list-style: none; margin: 0; padding: 0; }
.phone li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 11px 12px; margin-bottom: 8px; font-size: 0.9rem; box-shadow: 0 1px 2px rgba(15,27,61,0.06); }
.phone li .chk { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(15,27,61,0.25); flex: none; }
.phone li.done .chk { background: var(--navy); border-color: var(--navy); position: relative; }
.phone li.done .chk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.phone li.done span { text-decoration: line-through; color: var(--muted); }
.phone .foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(15,27,61,0.12); font-size: 0.78rem; color: var(--muted); }
.phone .foot b { display: block; color: var(--ink); font-weight: 500; font-size: 0.86rem; }
@media (max-width: 800px) { .preview { grid-template-columns: 1fr; } }

/* ─── Confidentialité : trois faits sur une ligne ─── */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); }
.facts div { padding-left: 18px; border-left: 1px solid var(--line-gold); }
.facts h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.facts p { font-size: 0.95rem; margin: 0; color: var(--ink); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ─── Ce qu'Aubea n'est pas ─── */
.limits { max-width: var(--measure); }
.limits p { font-size: 1.05rem; }

/* ─── Prix ─── */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.price .big { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--navy); }
.price ul { margin: 0; padding: 0; list-style: none; }
.price li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.price li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }

/* ─── Pied de page ─── */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); }
.site-footer .who { max-width: 34rem; }
.site-footer .who b { color: var(--ink); font-weight: 500; }

/* ─── Pages légales ─── */
.legal { padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 112px); }
.legal .doc { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--navy); margin-bottom: 8px; }
.legal .version { color: var(--muted); font-size: 0.95rem; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--line-gold); }
.legal h2 { font-size: 1.35rem; margin: 38px 0 12px; color: var(--navy); }
.legal p { font-size: 1rem; line-height: 1.7; }
.legal .toc { margin: 0 0 8px; padding: 0; list-style: none; columns: 2; column-gap: 32px; font-size: 0.92rem; }
.legal .toc li { break-inside: avoid; margin-bottom: 4px; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .legal .toc { columns: 1; } }
.legal dl { margin: 0; }
.legal dt { font-weight: 600; margin-top: 18px; }
.legal dd { margin: 4px 0 0; }
