/* ============================================================================
   MediAI — Chrome marketing partagé (Sprint 19)
   Header + footer + typographie de contenu, communs aux pages entreprise,
   ressources, légal, enterprise. Bâti sur tokens.css (source unique).
   ========================================================================== */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ font-family:var(--sans); background:var(--paper); color:var(--ink); line-height:1.6; -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; }
.wrap{ max-width:1080px; margin:0 auto; padding:0 24px; }

/* ── Header ── */
.site-header{ position:sticky; top:0; z-index:100; background:rgba(255,255,255,.86); backdrop-filter:blur(14px); border-bottom:1px solid var(--line); }
.site-header .wrap{ display:flex; align-items:center; gap:20px; height:66px; }
.brand{ display:flex; align-items:center; gap:9px; font-weight:800; font-size:17px; letter-spacing:-.02em; color:var(--ink); }
.brand img{ width:28px; height:28px; }
.site-nav{ display:flex; gap:22px; margin-left:14px; }
.site-nav a{ font-size:14px; font-weight:600; color:var(--ink-soft); transition:color .14s; }
.site-nav a:hover, .site-nav a[aria-current="page"]{ color:var(--ink); }
.header-right{ margin-left:auto; display:flex; align-items:center; gap:14px; }
.h-login{ font-size:14px; font-weight:600; color:var(--ink-soft); cursor:pointer; }
.h-login:hover{ color:var(--blue); }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 20px; border-radius:var(--r-full); font-family:inherit; font-size:14.5px; font-weight:700; cursor:pointer; border:none; transition:transform .1s, box-shadow .16s, background .16s; }
.btn-primary{ background:var(--blue); color:#fff; box-shadow:var(--shadow-md); }
.btn-primary:hover{ background:var(--accent-deep); }
.btn-ghost{ background:var(--card); color:var(--ink); border:1.5px solid var(--line); }
.btn-ghost:hover{ border-color:var(--blue); color:var(--blue); }
.btn:active{ transform:scale(.98); }
.nav-toggle{ display:none; }

/* ── Contenu / prose ── */
.page-hero{ padding:64px 0 34px; }
.page-hero .eyebrow{ font-size:12.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--blue); }
.page-hero h1{ font-size:clamp(30px,5vw,46px); font-weight:800; letter-spacing:-.03em; line-height:1.08; margin:12px 0 0; }
.page-hero p.lead{ font-size:17px; color:var(--ink-soft); margin-top:14px; max-width:640px; }
.section{ padding:26px 0; }
.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); padding:24px; box-shadow:var(--shadow-sm); }
.grid{ display:grid; gap:16px; }
.grid-2{ grid-template-columns:repeat(2,1fr); } .grid-3{ grid-template-columns:repeat(3,1fr); }
@media(max-width:760px){ .grid-2,.grid-3{ grid-template-columns:1fr; } }
.prose h2{ font-size:22px; font-weight:800; letter-spacing:-.02em; margin:34px 0 10px; }
.prose h3{ font-size:16.5px; font-weight:700; margin:22px 0 6px; }
.prose p, .prose li{ font-size:15px; color:var(--ink-soft); }
.prose ul{ padding-left:20px; margin:8px 0; } .prose li{ margin-bottom:6px; }
.status-badge{ display:inline-flex; align-items:center; gap:9px; background:var(--amber-tint); border:1px solid #FADFB2; border-radius:var(--r-full); padding:8px 15px; font-size:13.5px; font-weight:700; color:#7a5210; }
.status-badge .dot{ width:9px; height:9px; border-radius:50%; background:var(--amber); }

/* ── Formulaire ── */
.form-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
@media(max-width:640px){ .form-row{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.field label{ font-size:12.5px; font-weight:700; color:var(--ink-soft); }
.field input, .field select, .field textarea{ height:46px; padding:0 14px; border:1.5px solid var(--line); border-radius:var(--r-md); font-family:inherit; font-size:15px; background:var(--card); color:var(--ink); transition:border-color .14s; }
.field textarea{ height:auto; padding:12px 14px; resize:vertical; min-height:110px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--blue); }
.form-note{ font-size:12.5px; color:var(--ink-faint); }

/* ── Footer ── */
.site-footer{ background:var(--navy); color:#fff; margin-top:60px; padding:56px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr repeat(4,1fr); gap:28px; }
@media(max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; row-gap:34px; } }
.footer-brand .brand{ color:#fff; margin-bottom:12px; }
.footer-brand p{ font-size:13.5px; color:rgba(255,255,255,.6); max-width:260px; line-height:1.6; }
.foot-col h4{ font-size:12px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:14px; }
.foot-col a{ display:block; font-size:14px; color:rgba(255,255,255,.8); margin-bottom:9px; transition:color .14s; }
.foot-col a:hover{ color:#fff; }
.foot-soon{ color:rgba(255,255,255,.4)!important; cursor:default; }
.foot-soon:hover{ color:rgba(255,255,255,.4)!important; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:44px; padding-top:22px; border-top:1px solid rgba(255,255,255,.12); font-size:12.5px; color:rgba(255,255,255,.5); }

@media(max-width:760px){ .site-nav{ display:none; } }
:focus-visible{ outline:2px solid var(--blue); outline-offset:2px; border-radius:4px; }
@media(prefers-reduced-motion:reduce){ *{ animation-duration:.001ms!important; transition-duration:.001ms!important; } html{ scroll-behavior:auto; } }
