/* =====================================================================
   KIRA — STYLE
   Pour changer les couleurs ou la police, modifie seulement ce bloc.
   ===================================================================== */
:root {
  --bg: #0A0A0A;          /* fond */
  --card: #202020;        /* cartes sombres */
  --card-2: #161616;      /* cartes plus sombres */
  --line: #2E2E2E;        /* bordures */
  --text: #FFFFFF;        /* texte principal */
  --muted: #A3A3A3;       /* texte secondaire */
  --lime: #C6FF00;        /* couleur KIRA */
  --ink: #0A0A0A;         /* texte sur fond vert */
  --font: "Urbanist", system-ui, sans-serif;
  --radius: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; font-weight: 500; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(3rem, 8vw, 6.2rem); margin: 22px 0 22px; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin: 18px 0 16px; }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.12; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 400; max-width: 54ch; }
.micro { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Étiquette avec point (style "• DESIGN PROCESS") */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* Petites puces (tags) */
.chip {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); font-size: .85rem; font-weight: 500; white-space: nowrap;
}
.chip--lime { background: rgba(198,255,0,.12); border-color: rgba(198,255,0,.3); color: var(--lime); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-align: center;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }
.btn--full { width: 100%; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--outline { border-color: var(--line); color: var(--text); }
.btn--outline:hover { border-color: var(--muted); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--outline-dark { border-color: rgba(10,10,10,.25); color: var(--ink); }
.btn--outline-dark:hover { border-color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.card--lime :focus-visible { outline-color: var(--ink); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,10,10,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(46,46,46,.6);
}
.nav__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.nav__links { display: flex; gap: 32px; color: var(--muted); font-size: .98rem; }
.nav__links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.panel {
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 18px;
}
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.panel__head .micro { color: var(--muted); display: block; margin-bottom: 4px; }
.panel__num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.panel__num .muted { font-size: .45em; font-weight: 500; letter-spacing: 0; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart__goal { stroke: var(--lime); stroke-opacity: .45; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.chart__label { fill: var(--muted); font: 600 13px var(--font), sans-serif; letter-spacing: .04em; }
.chart__arrow { fill: var(--lime); opacity: 0; animation: pop .35s 2s ease-out forwards; }
.unlock { opacity: 0; transform: translateY(6px); transition: opacity .4s ease-out, transform .4s ease-out; }
.unlock.is-on { opacity: 1; transform: none; }
@keyframes pop { to { opacity: 1; } }
.chart__area { fill: url(#g); }
.chart__line {
  fill: none; stroke: var(--lime); stroke-width: 2.5; vector-effect: non-scaling-stroke;
  stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s ease-out forwards;
}
.chart__dot { fill: var(--lime); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0 0; scroll-margin-top: 72px; }
.section--last { padding-bottom: 88px; }
.head { margin-bottom: 44px; }
.head h2 { max-width: 16ch; }
.section--page { padding: 56px 0 88px; min-height: calc(100vh - 160px); }
.page-title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin: 18px 0 16px; max-width: 16ch; }
.back { display: inline-flex; margin-bottom: 28px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.back:hover { color: var(--lime); }

/* ---------- Cartes ---------- */
.card { background: var(--card); border-radius: var(--radius); padding: 30px; }
.card--lime { background: var(--lime); color: var(--ink); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.card--lime .divider { background: rgba(10,10,10,.14); }
.card--lime .chip { border-color: rgba(10,10,10,.2); }

/* Étapes : cartes alternées, décalées sur ordinateur */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.step { display: flex; flex-direction: column; min-height: 100%; }
.steps .step:nth-child(even) { margin-top: 48px; }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 34px; }
.step__num { font-size: 3.4rem; font-weight: 300; line-height: .9; color: var(--lime); letter-spacing: -0.02em; }
.card--lime .step__num { color: var(--ink); }
.step__label { font-size: .7rem; font-weight: 600; letter-spacing: .1em; padding-top: 12px; color: var(--muted); }
.card--lime .step__label { color: rgba(10,10,10,.72); }
.step p { font-size: .98rem; font-weight: 400; color: var(--muted); }
.card--lime p { color: rgba(10,10,10,.78); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* Offres */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.offer { display: flex; flex-direction: column; padding: 36px; }
.offer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.offer__price { font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 26px; }
.offer__sub { font-size: .95rem; margin-top: 8px; color: var(--muted); }
.card--lime .offer__sub { color: rgba(10,10,10,.72); }
.offer ul { list-style: none; display: grid; gap: 12px; margin: 4px 0 32px; flex: 1; }
.offer li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.offer li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); transform: translateY(-2px); }
.card--lime.offer li::before { background: var(--ink); }
.tag-dark { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.offer__name { margin-top: 30px; font-size: clamp(2rem, 3.4vw, 2.6rem); }
.offer__subtitle { color: var(--muted); font-weight: 600; margin-top: 4px; }
.card--lime .offer__subtitle { color: rgba(10,10,10,.72); }
.offer__for {
  margin-top: 20px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); font-size: .95rem; font-weight: 500;
}
.offer__for strong { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.card--lime .offer__for { border-color: rgba(10,10,10,.2); background: rgba(10,10,10,.05); }
.card--lime .offer__for strong { color: rgba(10,10,10,.72); }

/* Paliers (offre Accélération) */
.tiers { display: grid; gap: 10px; }
.tiers__list { list-style: none; display: grid; gap: 8px; }
.tiers__list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tiers__list li span { color: var(--muted); font-size: .95rem; }
.tiers__list li strong { font-size: 1.15rem; }
.tiers__list li.active { background: rgba(198,255,0,.12); border-color: var(--lime); }
.tiers__list li.active span, .tiers__list li.active strong { color: var(--lime); }
.calc__ask { color: var(--muted); font-size: .95rem; }
.calc__ask a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn.is-disabled { opacity: .35; pointer-events: none; }
.estimate .btn { margin-top: 8px; }

/* Calculateur */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.calc__form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field .micro { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input {
  width: 100%; min-height: 54px; padding: 0 18px; border-radius: 14px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  font: inherit; font-size: 16px; /* 16px = pas de zoom auto sur iPhone */
}
.field input::placeholder { color: #8A8A8A; }
.field input:focus { border-color: var(--lime); outline: none; }
.field--big input { min-height: 72px; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.form-status { min-height: 1.4em; font-size: .95rem; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #FF7A7A; }

.estimate { display: flex; flex-direction: column; gap: 12px; }
.estimate .micro { color: rgba(10,10,10,.72); }
.estimate__price { font-size: clamp(3.6rem, 8vw, 5.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.estimate__rest { font-size: 1.1rem; font-weight: 600; min-height: 1.6em; }
.bar { height: 8px; border-radius: 99px; background: rgba(10,10,10,.14); overflow: hidden; }
.bar__fill { height: 100%; width: 0; background: var(--ink); border-radius: inherit; transition: width .4s ease; }
.estimate__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 18px; margin-top: auto; border-top: 1px solid rgba(10,10,10,.14); }
.estimate__cols strong { display: block; font-size: 1rem; }
.estimate__cols span { font-size: .85rem; color: rgba(10,10,10,.72); }
.estimate small { font-size: .82rem; color: rgba(10,10,10,.72); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 18px; padding: 22px 26px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1.1rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--lime); font-size: 1.2rem; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-weight: 400; margin-top: 12px; max-width: 60ch; }

/* Appel final */
.final { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 48px; }
.final h2 { margin: 0 0 12px; max-width: 14ch; }
.final p { font-size: 1.1rem; color: rgba(10,10,10,.75); max-width: 46ch; }
.final__ctas { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__note { font-size: .9rem; }
.footer__links { display: flex; gap: 22px; color: var(--muted); font-size: .95rem; }
.footer__links a:hover { color: var(--text); }

/* Barre fixe mobile (cachée sur ordinateur) */
.mbar { display: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .panel { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step:nth-child(even) { margin-top: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .wrap { width: calc(100% - 32px); }
  .nav__inner { height: 64px; }
  .nav__links { display: none; }
  .hero { padding: 44px 0 8px; }
  .ctas .btn { flex: 1 1 100%; }
  .section { padding-top: 72px; scroll-margin-top: 64px; }
  .section--last { padding-bottom: 56px; }
  .head { margin-bottom: 28px; }
  .card { padding: 24px; }
  .offers, .calc { grid-template-columns: 1fr; }
  .offer { padding: 28px; }
  .final { flex-direction: column; align-items: stretch; padding: 32px 24px; }
  .final__ctas .btn { width: 100%; }
  .faq details { padding: 18px 20px; }
  .faq summary { font-size: 1.02rem; }

  .mbar {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    padding: 10px 10px 10px 20px; border-radius: 999px;
    background: rgba(32,32,32,.94); border: 1px solid var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transform: translateY(140%); transition: transform .3s ease;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px) * .3);
  }
  .mbar.show { transform: translateY(0); }
  .mbar__title { display: block; font-size: .8rem; color: var(--muted); }
  .mbar__price { display: block; font-size: 1.15rem; font-weight: 700; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .step__top { margin-bottom: 22px; }
  .estimate__cols { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__arrow { opacity: 1; }
}
