/* Valeurs reprises des maquettes maquette-site-desktop.html et maquette-site-mobile.html */
:root {
  --bg: #f1efe6;
  --white: #ffffff;
  --ink: #0f2b26;
  --ink-2: #2a4741;
  --muted: #44605a;
  --line: #dad6c6;
  --line-2: #e4e1d2;
  --brand: #0b6b5c;
  --brand-dark: #08493f;
  --yellow: #ffc21a;
  --yellow-ink: #2b1f00;
  --yellow-shadow: #c99400;
  --dark: #0f2b26;
  --dark-2: #14332d;
  --dark-line: #26463f;
  --dark-muted: #a9c3bc;
  --on-brand: #d3ede7;
  --display: "Unbounded", sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}
a { color: var(--brand); }
a:not([class]):hover { color: var(--brand-dark); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
img { display: block; }
h1, h2, h3, p { margin: 0; }

@media (min-width: 761px) {
  .m-only { display: none !important; }
}

/* Boutons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  text-align: center;
}
.btn-yellow { background: var(--yellow); color: var(--yellow-ink); box-shadow: 0 5px 0 var(--yellow-shadow); }
.btn-yellow:hover { color: var(--yellow-ink); filter: brightness(1.04); }
.btn-outline { border: 2px solid var(--brand); color: var(--brand); }
.btn-outline:hover { color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-hero { font-size: 17px; padding: 17px 28px; min-height: 56px; }
.btn-hero.btn-outline { padding: 15px 24px; }

/* En-tête */
.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(241, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.wordmark { font-family: var(--display); font-size: 20px; letter-spacing: -0.03em; }
.wordmark .w1 { font-weight: 500; }
.wordmark .w2 { font-weight: 800; color: var(--brand); }
.nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--brand); }
.nav .lang { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.nav .nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: 0 3px 0 var(--brand-dark);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav .nav-cta:hover { color: #fff; background: var(--brand-dark); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  font-size: 14px;
  font-weight: 600;
}
.badge-new {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.badge-m {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero h1 span, .accent { color: var(--brand); }
.hero-lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 540px; }
.hero-lead strong { color: var(--ink); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.checks { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.checks span { display: flex; align-items: center; gap: 8px; }
.hero-note-m { text-align: center; font-size: 14px; color: var(--muted); }

.hero-visual { flex: 1 1 420px; min-width: 0; position: relative; padding: 20px 0 40px; }
.order-frame { background: var(--brand); border-radius: 28px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(15, 43, 38, 0.45); }
.order-card { background: #fff; border-radius: 18px; padding: 22px 22px 8px; display: flex; flex-direction: column; gap: 4px; }
.order-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.order-head > div { display: flex; flex-direction: column; gap: 2px; }
.order-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.order-num { font-family: var(--mono); font-size: 18px; font-weight: 500; }
.pill-delivered { background: #ddf5ea; color: #0f6b4a; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.tl-row { display: flex; gap: 14px; padding: 14px 0; align-items: flex-start; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; flex: none; }
.tl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tl-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tl-title { font-weight: 700; font-size: 16px; }
.tl-time { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tl-pill { align-self: flex-start; font-family: var(--mono); font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; }
.c-blue .tl-dot { background: #2457b8; box-shadow: 0 0 0 5px #e4eefb; }
.c-blue .tl-pill { background: #e4eefb; color: #2457b8; }
.c-amber .tl-dot { background: #c99400; box-shadow: 0 0 0 5px #fff1d6; }
.c-amber .tl-pill { background: #fff1d6; color: #8a5a00; }
.c-green .tl-dot { background: #1e9e6f; box-shadow: 0 0 0 5px #ddf5ea; }
.c-green .tl-pill { background: #ddf5ea; color: #0f6b4a; }
.refused {
  position: absolute;
  left: -28px;
  bottom: -6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px -20px rgba(15, 43, 38, 0.35);
}
.refused-icon { width: 36px; height: 36px; border-radius: 10px; background: #fde3e3; display: flex; align-items: center; justify-content: center; }
.refused > div { display: flex; flex-direction: column; line-height: 1.3; }
.refused strong { font-size: 15px; }
.refused small { font-size: 13px; color: var(--muted); }

/* Sections communes */
.wrap { max-width: 1200px; margin: 0 auto; padding: 104px 24px; display: flex; flex-direction: column; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; color: var(--brand); }
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.sec-head { display: flex; flex-direction: column; gap: 16px; }

/* Problème */
.problem { background: var(--dark); color: var(--bg); }
.problem .wrap { gap: 56px; }
.problem .sec-head { gap: 18px; max-width: 820px; }
.problem .eyebrow { color: var(--yellow); }
.problem-intro { font-size: 19px; color: var(--dark-muted); }
.compare { display: flex; gap: 24px; flex-wrap: wrap; }
.cmp { flex: 1 1 380px; min-width: 0; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.cmp-without { background: var(--dark-2); border: 1px solid var(--dark-line); }
.cmp-with { background: var(--bg); color: var(--ink); }
.cmp-label { font-weight: 700; font-size: 15px; color: var(--dark-muted); }
.cmp-with .cmp-label { color: var(--brand); }
.cmp-big { display: flex; align-items: baseline; gap: 12px; }
.cmp-num { font-family: var(--display); font-weight: 700; font-size: 64px; letter-spacing: -0.05em; line-height: 1; }
.cmp-with .cmp-num { color: var(--brand); }
.cmp-unit { font-size: 17px; color: var(--dark-muted); }
.cmp-with .cmp-unit { color: var(--muted); }
.bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; gap: 3px; }
.bar > div:first-child { flex: 60; }
.bar > div:last-child { flex: 40; }
.cmp-without .bar > div:first-child { background: #2fb59b; }
.cmp-without .bar > div:last-child { background: #e5646e; }
.cmp-with .bar > div:first-child { background: var(--brand); }
.cmp-with .bar > div:last-child { background: var(--line-2); }
.cmp-legend { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.g { color: #6fe0b0; }
.r { color: #ff9b9b; }
.cmp-with .cmp-legend strong { color: var(--brand); }
.cmp-with .cmp-legend span + span { color: var(--muted); }
.small-note { font-size: 14px; color: var(--dark-muted); }

/* Étapes */
.how { padding: 112px 24px; gap: 52px; }
.how .sec-head { max-width: 720px; }
.steps { display: flex; gap: 20px; flex-wrap: wrap; }
.step { flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.step-n { font-family: var(--mono); font-size: 14px; color: var(--brand); }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.step p { color: var(--muted); font-size: 16px; }
.step-demo { margin-top: auto; background: var(--bg); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.step-demo.tight { padding: 12px 14px; }
.step-demo > span:first-child { font-family: var(--mono); font-size: 14px; }
.chip { font-family: var(--mono); font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; }
.chip-blue { background: #e4eefb; color: #2457b8; }
.chip-green { background: #ddf5ea; color: #0f6b4a; }
.chip-btn { background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 10px; box-shadow: 0 3px 0 var(--brand-dark); }

/* Points forts */
.features { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features .wrap { gap: 48px; }
.features .sec-head { max-width: 760px; }
.feat-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.feat { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.feat-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.feat h3 { font-weight: 700; font-size: 18px; }
.feat p { color: var(--muted); font-size: 16px; }

/* Tarifs */
.pricing { padding: 112px 24px; gap: 48px; }
.pricing .sec-head { align-items: center; text-align: center; }
.pricing .sec-head p { color: var(--muted); max-width: 560px; }
.plans { display: flex; gap: 20px; flex-wrap: wrap; align-items: stretch; }
.plan { flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.plan-pro { background: var(--brand); color: #fff; border: 0; box-shadow: 0 30px 60px -32px rgba(11, 107, 92, 0.7); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.plan-name { display: flex; flex-direction: column; gap: 6px; }
.plan-name strong { font-size: 18px; }
.plan-name span { color: var(--muted); font-size: 15px; }
.plan-pro .plan-name span { color: var(--on-brand); }
.reco { background: var(--yellow); color: var(--yellow-ink); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price-num { font-family: var(--display); font-weight: 700; font-size: 52px; letter-spacing: -0.05em; line-height: 1; }
.price-per { color: var(--muted); }
.plan-pro .price-per { color: var(--on-brand); }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.plan .btn { margin-top: auto; padding: 14px; min-height: 52px; }
.plan .btn-yellow { box-shadow: 0 4px 0 var(--yellow-shadow); }
.price-note { text-align: center; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: 0 24px 112px; display: flex; flex-direction: column; gap: 32px; }
.faq h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { font-size: 24px; color: var(--brand); transition: transform 0.2s; line-height: 1; flex: none; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; }

/* Appel final */
.cta-sec { padding: 0 24px 96px; }
.cta-box { max-width: 1200px; margin: 0 auto; background: var(--brand); color: #fff; border-radius: 32px; padding: 72px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta-box img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 2px #2fb59b; }
.cta-box h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.04em; max-width: 760px; }
.cta-box p { color: var(--on-brand); font-size: 18px; }
.cta-box .btn { font-size: 17px; padding: 17px 30px; min-height: 56px; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); }
.footer-in { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }

/* Politique de confidentialité (même rendu que l'ancienne page) */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 88px; line-height: 1.65; }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 5vw, 42px); line-height: 1.12; letter-spacing: -0.035em; }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.035em; margin: 40px 0 10px; }
.legal h3 { font-weight: 600; font-size: 16px; line-height: 1.4; margin: 20px 0 6px; }
.legal p { margin: 10px 0; }
.legal ul { margin: 8px 0; padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal .upd { color: var(--muted); font-size: 14px; margin: 12px 0 24px; }
.legal .m { font-family: var(--mono); font-size: 0.9em; }
.legal table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--line-2); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }

/* Mobile : maquette-site-mobile.html (390 px) */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .d-only { display: none !important; }
  .mini-plans { display: flex; }
  .plan-pro-m { display: flex; }

  .header { position: sticky; background: var(--bg); backdrop-filter: none; }
  .header-in { padding: 14px 20px; flex-wrap: nowrap; }
  .brand { gap: 9px; }
  .brand img { width: 32px; height: 32px; border-radius: 8px; }
  .wordmark { font-size: 18px; }
  .menu-btn { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 20px 20px;
    font-size: 17px;
  }
  .nav a { padding: 10px 0; }
  .nav .nav-cta { justify-content: center; margin-top: 8px; padding: 14px 18px; }
  .header.open .nav { display: flex; }

  .hero { padding: 40px 20px 36px; gap: 22px; flex-direction: column; align-items: stretch; }
  .hero-text { flex: none; gap: 22px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 18px; }
  .hero-cta-m { font-size: 18px; padding: 17px; border-radius: 14px; min-height: 58px; }

  .hero-visual-m { padding: 0 20px 44px; display: block; }
  .hero-visual-m .order-frame { border-radius: 24px; padding: 16px; box-shadow: none; }
  .hero-visual-m .order-card { border-radius: 16px; padding: 18px 18px 6px; gap: 0; }
  .hero-visual-m .order-head { padding-bottom: 12px; }
  .hero-visual-m .order-num { font-size: 15px; }
  .hero-visual-m .pill-delivered { font-size: 12px; padding: 5px 10px; }
  .hero-visual-m .tl-row { gap: 12px; padding: 12px 0; }
  .hero-visual-m .tl-dot { width: 12px; height: 12px; }
  .hero-visual-m .c-blue .tl-dot { box-shadow: 0 0 0 4px #e4eefb; }
  .hero-visual-m .c-amber .tl-dot { box-shadow: 0 0 0 4px #fff1d6; }
  .hero-visual-m .c-green .tl-dot { box-shadow: 0 0 0 4px #ddf5ea; }
  .hero-visual-m .tl-body { gap: 5px; }
  .hero-visual-m .tl-title { font-size: 15px; }
  .hero-visual-m .tl-pill { font-size: 12px; padding: 4px 10px; }

  .wrap { padding: 52px 20px; }
  .eyebrow { font-size: 12px; }
  .h2 { font-size: 27px; line-height: 1.15; }

  .problem .wrap { gap: 22px; }
  .compare { flex-direction: column; gap: 22px; }
  .cmp { flex: none; border-radius: 20px; padding: 22px; gap: 14px; }
  .cmp-label { font-size: 14px; }
  .cmp-num { font-size: 44px; }
  .cmp-unit { font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: 0; }
  .cmp-big { gap: 0.25em; }
  .bar { height: 12px; }
  .cmp-legend { font-size: 14px; }
  .small-note { font-size: 13px; }

  .how { padding: 52px 20px; gap: 16px; }
  .how .h2 { margin-bottom: 6px; }
  .steps { flex-direction: column; gap: 16px; }
  .step { flex: none; border-radius: 18px; padding: 18px; flex-direction: row; gap: 14px; align-items: flex-start; }
  .step-n { font-size: 13px; background: var(--bg); border-radius: 10px; padding: 8px 9px; line-height: 1; }
  .step-text { display: flex; flex-direction: column; gap: 4px; }
  .step h3 { font-family: var(--sans); font-size: 17px; letter-spacing: 0; }
  .step p { font-size: 15px; }

  .pricing { padding: 8px 20px 52px; gap: 16px; }
  .pricing .sec-head { align-items: flex-start; text-align: left; }
  .pricing .h2 { margin-bottom: 6px; }
  .plan-pro-m { background: var(--brand); color: #fff; border-radius: 22px; padding: 24px; flex-direction: column; gap: 16px; }
  .plan-pro-m .plan-top { align-items: center; }
  .plan-pro-m .plan-top strong { font-size: 18px; }
  .plan-pro-m .reco { padding: 4px 10px; }
  .plan-pro-m .price-num { font-size: 44px; }
  .plan-pro-m .price-per { font-weight: 500; font-size: 16px; color: var(--on-brand); }
  .plan-pro-m p { color: var(--on-brand); font-size: 15px; }
  .plan-pro-m .btn { padding: 15px; min-height: 52px; box-shadow: 0 4px 0 var(--yellow-shadow); }
  .mini-plans { gap: 12px; }
  .mini { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
  .mini strong { font-weight: 700; }
  .mini-price { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.04em; }
  .mini small { font-size: 14px; color: var(--muted); }
  .price-note { font-size: 13px; }

  .faq { padding: 0 20px 52px; gap: 20px; }
  .faq h2 { font-size: 27px; text-align: left; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16px; padding: 16px 0; }
  .faq details p { font-size: 15px; padding-bottom: 18px; }

  .cta-sec { padding: 0 20px 40px; }
  .cta-box { border-radius: 26px; padding: 40px 22px; gap: 18px; }
  .cta-box h2 { font-size: 28px; line-height: 1.12; }
  .cta-box .btn { align-self: stretch; font-size: 17px; padding: 16px; }

  .footer-in { padding: 20px; flex-direction: column; gap: 8px; font-size: 13px; }
  .footer-links { gap: 8px 18px; justify-content: center; }

  .legal { padding: 40px 20px 64px; }
  .legal th, .legal td { padding: 10px; }
}
