/* Horizon Million — site vitrine. Thème Obsidienne (sombre par défaut, clair
   selon le système). Polices hébergées ici : aucune requête vers un tiers. */

@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-500.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-600.woff) format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(fonts/intertight-300.woff) format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(fonts/intertight-500.woff) format("woff"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0A0A0B;
  --panel: #141416;
  --panel-alt: #1B1B1E;
  --line: #24242A;
  --text: #F4F1EA;
  --muted: #A39E94;
  --faint: #6F6B64;
  --accent: #E6C89A;
  --on-accent: #0A0A0B;
  --positive: #3DD39A;
  --track: #26262A;
  --glow: rgba(230, 200, 154, .16);
  --shadow: 0 30px 80px rgba(0, 0, 0, .55);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Inter Tight", "Inter", system-ui, sans-serif;
  --radius: 28px;
  --wrap: 1180px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F5F4F0;
    --panel: #FFFFFF;
    --panel-alt: #EFECE5;
    --line: #E4E0D6;
    --text: #16140F;
    --muted: #6E6A62;
    --faint: #8E897F;
    --accent: #8A6A2F;
    --on-accent: #FFFFFF;
    --positive: #0D7A54;
    --track: #E7E2D6;
    --glow: rgba(138, 106, 47, .12);
    --shadow: 0 30px 70px rgba(40, 30, 10, .16);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--panel); padding: 8px 14px; border-radius: 10px; }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 32px; height: 32px; flex: none; }
.brand b { font: 400 22px/1 var(--serif); letter-spacing: .3px; }
.brand small { display: block; font: 600 9px/1 var(--sans); letter-spacing: 4px; color: var(--accent); margin-top: 3px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--panel-alt); }
.btn.primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.primary:hover { transform: translateY(-1px); background: var(--accent); filter: brightness(1.05); }
.top .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Héros */
.hero { position: relative; padding: 72px 0 40px; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 640px; z-index: -1;
  background: radial-gradient(60% 60% at 70% 30%, var(--glow), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.5px; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; margin: 22px 0 22px; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; padding: 0; list-style: none; }
.reassure li::before { content: "✓"; color: var(--positive); margin-right: 8px; }

.showcase { position: relative; min-height: 560px; }
.showcase .desk {
  position: absolute; right: -140px; top: 30px; width: 640px;
  border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.phone {
  position: relative; width: 290px; border-radius: 44px; padding: 10px;
  background: #050506; box-shadow: var(--shadow), 0 0 0 1px #2A2A2E;
}
.phone img { border-radius: 34px; }
.showcase .phone { margin-top: 60px; z-index: 1; }

/* Chiffres clés */
.strip { padding: 28px 0 8px; }
.strip ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.strip li { background: var(--panel); padding: 22px 22px; }
.strip b { display: block; font: 500 15px/1.3 var(--sans); }
.strip span { font-size: 14px; color: var(--muted); }

/* Sections */
section { scroll-margin-top: 80px; }
.block { padding: 110px 0; }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; }
.intro { max-width: 640px; margin-bottom: 64px; }
.intro p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature:nth-child(even) .visual { order: 2; }
.feature .visual { display: flex; justify-content: center; }
.feature h3 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A774' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Paliers */
.journey { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.arc { width: 100%; height: auto; }
.arc text { font-family: var(--num); fill: var(--muted); font-size: 15px; }
.arc .big { font-family: var(--num); font-weight: 300; fill: var(--text); font-size: 46px; letter-spacing: -1.5px; }
.steps { display: flex; justify-content: space-between; margin-top: 18px; padding: 0; list-style: none; }
.steps li { text-align: center; font: 500 15px/1.2 var(--num); }
.steps li span { display: block; font: 400 12px/1.4 var(--sans); color: var(--muted); }

/* Confidentialité */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card svg { width: 26px; height: 26px; color: var(--accent); }
.card h3 { font: 600 18px/1.3 var(--sans); letter-spacing: 0; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Tarifs */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; }
.plan { display: flex; flex-direction: column; }
.plan.plus { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), var(--shadow); }
.plan .name { font: 400 34px/1 var(--serif); }
.plan .price { font: 300 44px/1 var(--num); letter-spacing: -1.5px; margin: 18px 0 4px; }
.plan .note { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.plan .ticks { margin-bottom: 28px; flex: 1; }
.badge { align-self: flex-start; font: 600 12px/1 var(--sans); padding: 7px 11px; border-radius: 999px; background: color-mix(in srgb, var(--positive) 15%, transparent); color: var(--positive); margin-bottom: 18px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font: 500 18px/1.4 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px/1 var(--num); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* Appel final */
.final { text-align: center; padding: 120px 0; position: relative; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 60%, var(--glow), transparent 70%); }
.final svg { width: 72px; height: 72px; margin: 0 auto 28px; }
.final h2 { max-width: 760px; margin: 0 auto 18px; }
.final p { color: var(--muted); margin: 0 auto 32px; max-width: 520px; }
.final .cta { justify-content: center; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; font-size: 13px; color: var(--faint); max-width: 760px; }

/* Apparition douce */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: none; }
}

/* Page de texte (confidentialité) */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); margin: 0 0 12px; }
.doc .date { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 30px; margin: 44px 0 12px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

/* Tablette */
@media (max-width: 1020px) {
  .hero .wrap, .journey .wrap { grid-template-columns: 1fr; }
  .showcase { min-height: 0; display: flex; justify-content: center; }
  .showcase .desk { display: none; }
  .showcase .phone { margin-top: 10px; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr; }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
}

/* Téléphone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 24px; }
  .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 100%; }
  .block { padding: 72px 0; }
  .intro { margin-bottom: 36px; }
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .feature:nth-child(even) .visual { order: 0; }
  .phone { width: 250px; border-radius: 38px; }
  .phone img { border-radius: 29px; }
  .plans { grid-template-columns: 1fr; }
  .strip ul { grid-template-columns: 1fr; }
  .steps li { font-size: 13px; }
  .brand b { font-size: 20px; }
  .final { padding: 80px 0; }
}
