/* yuri. — site vitrine. Palette et règles : YURI_Brand_Reference_2026-09-24.
   Le lime n'est jamais une couleur de texte sur fond clair. Pas de dégradé, pas d'ombre. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --forest: #0b2f24;
  --lime: #c7e640;
  --ivory: #f7f3e8;
  --sage: #e8eee8;
  --charcoal: #26342f;
  --hair: rgba(11, 47, 36, 0.16);
  --hair-strong: rgba(11, 47, 36, 0.32);
  --ivory-soft: rgba(247, 243, 232, 0.74);
  --ivory-hair: rgba(247, 243, 232, 0.2);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --max: 1120px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--forest);
  font: 17px/1.6 var(--sans);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; max-width: 62ch; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.lead { font-size: 1.12rem; color: var(--charcoal); }

/* ---------- Logo ---------- */
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-variation-settings: "opsz" 48;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.9rem;
}
.dot {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  border-radius: 50%;
  background: var(--lime);
  margin-left: 0.05em;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0 1.5em;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 650;
  font-size: 1.02rem;
  text-decoration: none;
  border: 1px solid var(--forest);
  transition: background-color 0.15s;
}
.btn:hover { background: #d4ee63; }
.btn--small { min-height: 40px; padding: 0 1.1em; font-size: 0.92rem; }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--sage); }
.on-forest .btn { border-color: var(--lime); }
.on-forest .btn--ghost { color: var(--ivory); border-color: var(--ivory-hair); }
.on-forest .btn--ghost:hover { background: rgba(247, 243, 232, 0.08); }
.cta-note { font-size: 0.92rem; color: var(--charcoal); }
.cta-note a { text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.site-header { border-bottom: 1px solid var(--hair); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

/* ---------- Sections ---------- */
section { padding-block: 64px; }
section + section { border-top: 1px solid var(--hair); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.sage { background: var(--sage); }
.on-forest { background: var(--forest); color: var(--ivory); border-top: none !important; }
.on-forest .eyebrow, .on-forest .lead, .on-forest p { color: var(--ivory-soft); }
.on-forest h2, .on-forest h3 { color: var(--ivory); }
.on-forest + section { border-top: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 44px 64px; }
.hero .wrap { display: grid; gap: 44px; }
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero-text h1 .underline {
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.trades { font-size: 0.95rem; color: var(--charcoal); }

/* La vidéo dessine déjà son propre téléphone : pas de cadre autour. */
.phone {
  justify-self: center;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 16;
}
.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ivory);
}
.phone-caption { font-size: 0.85rem; color: var(--charcoal); text-align: center; margin-top: 12px; max-width: none; }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step {
  counter-increment: step;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  background: var(--ivory);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step::before {
  content: counter(step);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.step p { color: var(--charcoal); }
.quote {
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 12px 12px 12px 4px;
  background: var(--sage);
  font-size: 0.95rem;
  color: var(--forest);
}
.quote small { display: block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 4px; }
.sage .step { background: var(--ivory); }

/* ---------- Connect ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  outline: 1px solid var(--forest);
  outline-offset: 0;
  transform: translateY(-1px);
}
.on-forest .checks li::before { outline-color: var(--lime); }

.flow { display: flex; flex-direction: column; align-items: stretch; gap: 0; max-width: 420px; width: 100%; justify-self: center; }
.flow-node {
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ivory);
}
.flow-node strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.flow-node span { font-size: 0.9rem; color: var(--charcoal); }
.flow-node--yuri { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.flow-node--yuri span { color: var(--ivory-soft); }
.flow-node--yuri .logo { font-size: 1.6rem; color: var(--ivory); }
.flow-arrow { align-self: center; width: 1px; height: 28px; background: var(--hair-strong); position: relative; }
.flow-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0;
  border: 4.5px solid transparent;
  border-top: 6px solid var(--hair-strong);
  border-bottom: 0;
}
.flow-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flow-out .flow-node { padding: 12px 10px; text-align: center; }
.flow-out .flow-node strong { font-size: 1rem; }

/* ---------- Facture électronique ---------- */
.timeline { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.timeline li {
  border: 1px solid var(--ivory-hair);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline time {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 10px;
}
.timeline time::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.timeline .status { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ivory-soft); }
.efact-body { display: flex; flex-direction: column; gap: 16px; }
.badge-line {
  border-left: 2px solid var(--lime);
  padding-left: 16px;
  color: var(--ivory) !important;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.4;
}

/* ---------- Formules ---------- */
.plans { display: grid; gap: 16px; }
.plan {
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--ivory);
}
.plan-for { font-size: 0.95rem; color: var(--charcoal); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { color: var(--charcoal); font-size: 0.95rem; }
.plan .checks { flex: 1; }
.plan .btn { align-self: flex-start; }
.trial {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.pill { background: var(--lime); color: var(--forest); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }

/* ---------- Cabinets ---------- */
.cabinet { display: grid; gap: 32px; }
.cabinet-card {
  border: 1px solid var(--hair-strong);
  border-radius: var(--radius);
  background: var(--ivory);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}
.cabinet-card p { color: var(--charcoal); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hair); max-width: 780px; }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 22px; color: var(--charcoal); }

/* ---------- Appel final + pied ---------- */
.final { text-align: left; }
.final .wrap { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.site-footer { background: var(--forest); color: var(--ivory); padding-block: 44px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 22px; }
.site-footer .logo { color: var(--ivory); font-size: 2.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 0.95rem; }
.footer-links a { color: var(--ivory); text-underline-offset: 3px; }
.copyright { font-size: 0.85rem; color: var(--ivory-soft); }

/* ---------- Page légale ---------- */
.legal { padding-block: 48px 72px; }
.legal .wrap { max-width: 780px; display: flex; flex-direction: column; gap: 14px; }
.legal h1 { font-size: clamp(2.1rem, 7vw, 3rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.45rem; margin-top: 28px; }
.legal p, .legal li { color: var(--charcoal); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 2px 20px; }
.legal dt { font-weight: 600; margin-top: 8px; }
.legal dd { margin: 0; color: var(--charcoal); }
.todo { background: var(--lime); color: var(--forest); padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* ---------- Grands écrans ---------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  section { padding-block: 96px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .legal dl { grid-template-columns: 220px 1fr; }
  .legal dt { margin-top: 0; }
}
@media (min-width: 1000px) {
  .hero { padding-block: 72px 96px; }
  .hero .wrap { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 64px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
  .phone { width: 330px; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .efact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .efact .section-head { margin-bottom: 0; }
  .cabinet { grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center; }
  .site-footer .wrap { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* Correctifs */
.btn { white-space: nowrap; }
.hero-text h1 .underline { white-space: nowrap; }
sup { font-size: 0.55em; line-height: 0; vertical-align: 0.8em; }
@media (min-width: 1000px) { .efact { grid-template-columns: 1fr 1.3fr; } }

/* ---------- Vidéo de démonstration ---------- */
.hero-visual { margin: 0; }

/* Bandeau pilote et note de formule */
.pilot {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
}
.pilot .dot { width: 8px; height: 8px; margin: 0; }
.plan-note { font-size: 0.9rem; color: var(--charcoal); border-top: 1px solid var(--hair); padding-top: 14px; }
