/* Amaury GHARIBIAN — GoForward
   Identité des cartes de visite : blanc cassé + bleu nuit, avec une seule couleur d'accent (corail).
   Police Manrope hébergée sur le site (licence SIL OFL 1.1). Aucun cookie, aucun appel extérieur. */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/manrope-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/manrope-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/manrope-latin-800-normal.woff2) format("woff2"); }

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #0b1620;
  --muted: #55606b;
  --line: #e2e3df;
  --soft: #eeefeb;
  --accent: #e8462b;
  --accent-soft: #fde6e1;
  --radius: 18px;
  --max: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1620;
    --surface: #111e2a;
    --ink: #f2f3f0;
    --muted: #a3adb7;
    --line: #22313f;
    --soft: #16242f;
    --accent: #ff7a5c;
    --accent-soft: #3a211d;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .01em; margin-right: auto; }
.brand svg { width: 30px; height: 30px; }
.brand .arrow { color: var(--accent); }
.nav { display: none; gap: 26px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.top .top-call { display: none; }
@media (min-width: 860px) { .nav { display: flex; } .top .top-call { display: inline-flex; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Accueil ---------- */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 96px 0 104px; } .hero .wrap { grid-template-columns: 1.25fr .75fr; gap: 56px; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin: 0; font-size: clamp(38px, 7.2vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 560px; margin: 24px 0 0; font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.contact-line a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.contact-line a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-line svg { width: 18px; height: 18px; color: var(--accent); }

/* Carte de visite (rappel des vraies cartes) */
.biz { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 85 / 55; }
.biz-card { position: absolute; inset: 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 22, 32, .35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.biz-card.back { transform: rotate(-7deg) translate(-14px, 14px); background: var(--ink); color: var(--bg); border-color: transparent; }
.biz-card.front { transform: rotate(3deg); }
.biz-card .word { font-size: clamp(30px, 6vw, 40px); font-weight: 400; letter-spacing: -.01em; }
.biz-card .who { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.biz-card.back svg { width: 38%; height: auto; }
.biz-card.back .arrow { color: var(--accent); }
@media (hover: hover) { .biz:hover .biz-card.front { transform: rotate(0deg) translateY(-6px); } .biz-card { transition: transform .4s cubic-bezier(.2, .8, .2, 1); } }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); }
h2 { margin: 0 0 14px; font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; max-width: 20ch; }
.section-lead { margin: 0 0 36px; max-width: 620px; color: var(--muted); font-size: 18px; }
h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Démos ---------- */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.screen { aspect-ratio: 16 / 10; padding: 18px; display: flex; }
.screen-inner { flex: 1; border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .45); overflow: hidden; display: flex; flex-direction: column; }
.screen-bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 9px; background: rgba(0, 0, 0, .06); }
.screen-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 0, 0, .18); }
.screen svg { flex: 1; width: 100%; height: auto; }
.demo-coach .screen { background: linear-gradient(135deg, #1f4f7a, #3d79a8); }
.demo-institut .screen { background: linear-gradient(135deg, #8e5b4c, #c99a86); }
.demo-patisserie .screen { background: linear-gradient(135deg, #3e7d5c, #f6c9d8); }
.demo-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.feats { margin: 4px 0 18px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15px; color: var(--muted); }
.feats li { padding-left: 22px; position: relative; }
.feats li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--accent); }
.demo .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.demo .code { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.demo .code code { font: 600 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--soft); padding: 1px 6px; border-radius: 5px; color: var(--ink); }
.note-line { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ---------- Services ---------- */
.service { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.service .icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--accent); }
.service p { color: var(--muted); margin: 0; }
.aside-line { margin-top: 24px; padding: 20px 22px; border-radius: var(--radius); background: var(--soft); font-size: 16px; }
.aside-line a { font-weight: 600; }

/* ---------- Engagements ---------- */
.promises { display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .promise { grid-template-columns: 300px 1fr; gap: 32px; } }
.promise h3 { margin: 0; font-size: 18px; }
.promise p { margin: 0; color: var(--muted); }

/* ---------- Méthode ---------- */
.steps { counter-reset: s; }
.step { position: relative; padding: 22px 0 0; border-top: 2px solid var(--ink); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 14px; font-weight: 800; color: var(--accent); margin-bottom: 10px; letter-spacing: .06em; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--bg); border-top: 0; }
.contact .eyebrow { color: var(--accent); }
.contact h2 { max-width: none; }
.contact .big { display: inline-block; font-size: clamp(32px, 7vw, 56px); font-weight: 800; letter-spacing: -.02em; text-decoration: none; margin: 8px 0 6px; }
.contact .mail { display: inline-block; font-size: clamp(18px, 3.4vw, 24px); font-weight: 600; text-decoration: none; margin-bottom: 28px; border-bottom: 2px solid var(--accent); overflow-wrap: anywhere; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .btn-solid { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.contact .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 55%, transparent); }
.contact .where { margin-top: 26px; color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: 15px; }

/* ---------- Pied de page ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- Barre de contact mobile ---------- */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1.5px solid var(--ink); }
.callbar a:first-child { background: var(--ink); color: var(--bg); }
.callbar svg { width: 17px; height: 17px; }
body.has-callbar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 860px) { .callbar { display: none; } body.has-callbar { padding-bottom: 0; } }

/* ---------- Pages de texte (mentions, confidentialité) ---------- */
.doc { max-width: 740px; padding: 48px 16px 72px; margin: 0 auto; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 8px; font-weight: 800; letter-spacing: -.02em; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; max-width: none; letter-spacing: -.01em; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc .pending { background: var(--soft); border-left: 3px solid var(--accent); padding: 2px 8px; border-radius: 4px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
