/* Site Bravo — Démo : crème chaude, terre cuite, touches de vert sauge. */
:root {
  --bg: #f8f1ea;
  --bg-tint: #f3e7dc;
  --card: #fffaf5;
  --ink: #2b1d16;
  --muted: #62534b;
  --line: #ecdccd;
  --terra: var(--primary);
  --terra-dark: #8e3f27;
  --peach: var(--accent);
  --peach-soft: #f7e0d1;
  --sage: #8e9d6c;
  --sage-soft: #e1e5d2;
  --green-ink: #55653a;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Instrument Serif", Georgia, serif;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(90, 45, 20, .05), 0 22px 44px -24px rgba(120, 60, 30, .28);
  --gutter: clamp(1.1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--terra); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: -.015em; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.shell { width: min(100% - 2 * var(--gutter), 74rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: 999px; background: var(--terra); color: #fff; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--terra) 55%, transparent); outline-offset: 3px; }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--terra); color: var(--primary-ink); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 12px 24px -12px rgba(169, 78, 50, .65); transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--terra-dark); transform: translateY(-1px); }
.btn--sm { padding: .65rem 1.25rem; font-size: .95rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: var(--card); color: var(--terra); box-shadow: inset 0 0 0 1.5px var(--peach); }
.btn--ghost:hover { background: #fff; color: var(--terra-dark); }
.btn--light { background: #fffaf5; color: var(--terra-dark); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .35); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── Éléments communs ── */
.eyebrow { display: flex; align-items: center; gap: .9rem; margin: 0 0 1rem; color: var(--terra); font-size: .82rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2.6rem; height: 2px; background: currentColor; flex: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 2.6rem; height: 2px; background: currentColor; flex: none; }
.hl { position: relative; isolation: isolate; white-space: nowrap; }
.hl::after { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; bottom: -.04em; height: .14em; border-radius: 999px;
  background: var(--peach); transform: rotate(-1deg); }
.hl--light::after { background: rgba(255, 255, 255, .35); }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.65; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ic-box { display: inline-grid; place-items: center; flex: none; width: 3.4rem; height: 3.4rem; border-radius: 14px; background: var(--peach-soft); color: var(--terra); }
.ic-box svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-box--sm { width: 2.3rem; height: 2.3rem; border-radius: 10px; }
.ic-box--sm svg { width: 1.15rem; height: 1.15rem; }

.section { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; }
.section--tint { background: var(--bg-tint); }
.sec-head { margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.sec-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); }
.sec-head--center { text-align: center; max-width: 52rem; margin-inline: auto; }
.sec-lead { margin-top: 1.1rem; color: var(--muted); font-size: 1.15rem; }
.blob { display: none; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
@media (min-width: 1240px) { .blob { display: block; } }
.blob--peach { width: 26rem; height: 26rem; right: -9rem; top: -14rem; background: linear-gradient(160deg, #f3d6c3, #ebc3a9); opacity: .75; }
.blob--sage { width: 22rem; height: 22rem; right: -14rem; top: -3rem; background: var(--sage-soft); }
.section > .shell { position: relative; z-index: 1; }

/* ── En-tête ── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(90, 45, 20, .45); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 2.4rem; height: 2.4rem; color: var(--terra); flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; }
.brand-badge { align-self: center; padding: .12rem .55rem; border-radius: 999px; background: var(--sage-soft); color: var(--green-ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.7rem); }
.nav a:not(.btn) { color: var(--ink); font-family: var(--serif); font-size: 1.02rem; text-decoration: none; }
.nav a:not(.btn):hover { color: var(--terra); }
.menu-toggle { display: none; }

@media (max-width: 1000px) {
  .menu-toggle { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; }
  .menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 1.15rem; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, background .2s; }
  .menu-toggle-bars { position: relative; }
  .menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-bars::before { top: -6px; }
  .menu-toggle-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + .3rem); flex-direction: column; align-items: stretch; gap: .2rem;
    padding: .8rem; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .7rem .9rem; border-radius: 12px; font-size: 1.1rem; }
  .nav a:not(.btn):hover { background: var(--peach-soft); }
  .nav .nav-cta { margin-top: .4rem; }
}

/* ── Accueil ── */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.hero::after { content: ""; display: none; position: absolute; z-index: 0; width: 30rem; height: 30rem; right: -15rem; top: 3rem; border-radius: 50%;
  background: linear-gradient(200deg, #f4dccb, #ecc6ad); opacity: .7; pointer-events: none; }
@media (min-width: 980px) { .hero::after { display: block; } }
.hero-in { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.leaf-branch { display: none; position: absolute; z-index: 0; left: 0; top: 1.5rem; width: 7.5rem; opacity: .85; }
@media (min-width: 1420px) { .leaf-branch { display: block; } }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem); line-height: 1.05; letter-spacing: -.025em; }
.hero .lead { margin-top: 1.4rem; max-width: 36rem; }
.start-card { margin-top: 2rem; padding: clamp(1.4rem, 3vw, 2.1rem); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 36rem; }
.start-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.2; }
.start-card > p:not(.start-title):not(.start-note) { margin-top: .5rem; color: var(--muted); }
.start-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.start-note { margin-top: 1rem; font-weight: 600; color: var(--muted); font-size: .98rem; }
.checks { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.5rem; color: var(--muted); }
.checks li, .ticks li { position: relative; padding-left: 1.6rem; }
.checks li::before, .ticks li::before { content: ""; position: absolute; left: .1rem; top: .38em; width: .8rem; height: .45rem;
  border-left: 2.4px solid var(--terra); border-bottom: 2.4px solid var(--terra); transform: rotate(-45deg); }

.hero-visual { position: relative; }
.hand-note { position: relative; display: inline-block; margin: 0 0 1rem .4rem; font-family: var(--hand); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; color: var(--ink); }
.hand-arrow { position: absolute; right: -5.8rem; top: .5rem; width: 5.2rem; color: var(--ink); }
@media (max-width: 520px) { .hand-arrow { display: none; } }
.browser { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(100, 50, 25, .45); }
.browser-bar { display: flex; gap: .4rem; padding: .7rem .9rem; background: #f4e7dc; }
.browser-bar i { width: .65rem; height: .65rem; border-radius: 50%; background: #e7b7a2; }
.browser-bar i:nth-child(2) { background: #ead49f; }
.browser-bar i:nth-child(3) { background: #bfcca6; }
.browser img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.browser--hero { transform: rotate(.6deg); }

.perks { display: grid; gap: 1.6rem; margin-top: 2.4rem; }
.perks li { display: grid; gap: .25rem; }
.perks .ic-box { margin-bottom: .6rem; background: var(--card); border: 1px solid var(--line); }
.perks h2 { font-size: 1.45rem; }
.perks p { color: var(--muted); }
@media (min-width: 560px) { .perks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) {
  .hero-in { grid-template-columns: 1.05fr 1fr; }
  .hero-visual { padding-top: 1rem; }
}

/* ── Étapes ── */
.steps { display: grid; gap: 1.4rem; counter-reset: s; }
.steps .card { padding: 1.8rem 1.7rem 2rem; }
.step-num { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-bottom: 1.2rem; border-radius: 50%; background: var(--terra); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.steps h3, .included h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.steps p, .included p { color: var(--muted); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ── Modifier en écrivant ── */
.split { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.split-text h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); margin-bottom: 1.2rem; }
.ticks { display: grid; gap: 1rem; margin-top: 1.8rem; }
.ticks strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.split .ticks li { color: var(--muted); }
.chat { display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.3rem, 3vw, 2rem); }
.chat-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; font-weight: 600; color: var(--muted); font-size: .95rem; }
.bubble { align-self: flex-end; max-width: 85%; padding: .8rem 1.1rem; border-radius: 20px 20px 6px 20px; background: var(--terra); color: #fff; line-height: 1.45; }
.bubble--done { align-self: flex-start; border-radius: 20px 20px 20px 6px; background: var(--sage-soft); color: var(--green-ink); font-weight: 600; }
.bubble--file { display: inline-flex; align-items: center; gap: .5rem; background: var(--peach-soft); color: var(--terra-dark); font-weight: 600; font-size: .95rem; }
.bubble--file svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }

/* ── Exemples ── */
.examples { display: grid; gap: clamp(1.6rem, 3vw, 2.2rem); }
.examples .browser { transition: transform .3s; }
.examples li:hover .browser { transform: translateY(-4px); }
.ex-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-inline: .2rem; }
.ex-meta strong { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.tag { flex: none; padding: .25rem .8rem; border-radius: 999px; background: var(--peach-soft); color: var(--terra-dark); font-size: .9rem; font-weight: 500; }
@media (min-width: 620px) { .examples { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .examples { grid-template-columns: repeat(3, 1fr); } }

/* ── Ce qui est inclus ── */
.included { display: grid; gap: 1.2rem; }
.included .card { padding: 1.7rem; }
.included .ic-box { margin-bottom: 1.1rem; }
@media (min-width: 620px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .included { grid-template-columns: repeat(3, 1fr); } }

/* ── Tarifs ── */
.plans { display: grid; gap: 1.6rem; max-width: 62rem; margin-inline: auto; }
.plan { display: flex; flex-direction: column; padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.plan-head { display: flex; gap: 1.1rem; align-items: flex-start; }
.plan-head h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.plan-head p { margin-top: .4rem; color: var(--muted); font-size: .98rem; }
.price { margin-top: 1.6rem; font-family: var(--serif); font-size: 1.35rem; color: var(--muted); }
.price strong { color: var(--ink); font-size: clamp(3rem, 2.4rem + 2vw, 3.8rem); letter-spacing: -.03em; line-height: 1; }
.trial { margin-top: .7rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); color: var(--green-ink); font-weight: 600; }
.ticks--plain { margin: 1.4rem 0 2rem; gap: .75rem; }
.plan .btn { margin-top: auto; }
.plans-note { max-width: 44rem; margin: 2.2rem auto 0; text-align: center; color: var(--muted); }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, 1fr); } }

/* ── Questions ── */
.faq-layout { display: grid; gap: 2.5rem; align-items: start; }
.faq-layout .sec-head { margin-bottom: 1.8rem; }
#questions .x-faq { max-width: none; border: 0; display: grid; gap: .9rem; }
#questions .x-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: background .2s; }
#questions .x-faq details[open] { background: #fff4ec; }
#questions .x-faq summary { padding: 1.15rem 1.4rem; font-family: var(--serif); font-weight: 700; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
#questions .x-faq summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
#questions .x-faq details[open] summary::after { content: ""; transform: rotate(-135deg) translate(-2px, -2px); }
#questions .x-faq p { margin: 0; padding: 0 1.4rem 1.3rem; max-width: none; color: var(--muted); }
.help { position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); }
.help h2 { margin: 1.2rem 0 .8rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.help > p { color: var(--muted); margin-bottom: 1.6rem; }
.help strong { color: var(--ink); }
.help-mail { margin: 1rem 0 0 !important; text-align: center; font-size: .92rem; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 1.6fr 1fr; gap: 3.5rem; }
  .help { position: sticky; top: 6.5rem; margin-top: 5.6rem; }
}

/* ── Formulaire ── */
.write-card { max-width: 52rem; margin-inline: auto; padding: clamp(1.6rem, 4vw, 3rem); }
.write-card .sec-head { margin-bottom: 1.8rem; }
.write-card .x-lead { color: var(--muted); }
.x-write .x-form { max-width: none; }
.x-write .x-field input, .x-write .x-field textarea { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; }
.x-write .x-field input:focus, .x-write .x-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--terra) 35%, transparent); border-color: var(--terra); }
.x-write .x-form-direct, .x-write .x-form-note { color: var(--muted); }

/* ── Appel final ── */
.final { padding: clamp(3.5rem, 8vw, 5.5rem) 0; background: var(--terra); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 24rem; height: 24rem; left: -10rem; bottom: -14rem; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.final-in { position: relative; }
.final h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.final p { margin: 1rem auto 2rem; max-width: 34rem; font-size: 1.15rem; color: #fbeee6; }

/* ── Pied de page ── */
.site-footer { padding: clamp(3rem, 6vw, 4rem) 0 2rem; background: #2b1d16; color: #e9ddd4; }
.footer-in { display: grid; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { color: #eab59a; }
.site-footer .brand-badge { background: rgba(255, 255, 255, .12); color: #e3ead2; }
.footer-tagline { margin-top: .6rem; color: #cbbdb3; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { color: #f1e6dd; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-legal { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #cbbdb3; }
@media (min-width: 760px) {
  .footer-in { grid-template-columns: 2fr 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}

/* ── Page légale ── */
.legal-hero { background: var(--bg-tint); color: var(--ink); }
.legal-hero h1 { color: var(--ink); }
.legal-kicker { color: var(--terra); opacity: 1; }
.legal-body a { color: var(--terra); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .browser--hero { transform: none; }
}
