/* Auditely — design system & landing
   Style : pro cyber-sécurité, thème clair à sections sombres, accent teal/cyan. */

:root {
  --navy:        #0a1626;
  --navy-2:      #0f2238;
  --ink:         #16202e;
  --slate:       #5b6b7f;
  --muted:       #5b6b7f;   /* texte secondaire sur carte — surchargé en sombre */
  --line:        #e4e9f0;
  --bg:          #ffffff;
  --bg-soft:     #f5f8fc;
  --accent:      #2f6bed;   /* teal — sécurité */
  --accent-dark: #2456c8;
  --blue:        #2f6df6;   /* bleu — SEO/GEO */
  --green:       #2bbd6b;
  --amber:       #f5a524;
  --red:         #e5484d;
  --radius:      16px;
  --shadow:      0 10px 30px rgba(16, 32, 56, .08);
  --shadow-lg:   0 24px 60px rgba(16, 32, 56, .16);
  --maxw:        1140px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head:   "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Police de titrage auto-hébergée (CSP-safe : font-src 'self') — variable 600→800 */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/assets/bricolage-grotesque-latin.woff2") format("woff2");
}
/* Les titres passent en Bricolage Grotesque ; le texte courant reste en sans système lisible. */
h1, h2, h3, .brand, .statement__big, .plan__name, .stat-item .n, .hero--home h1 {
  font-family: var(--font-head);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }

/* ── Tableau comparatif ── */
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow); margin-top: 28px; }
.cmp { width: 100%; border-collapse: collapse; min-width: 660px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.cmp thead th { border-top: 0; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); font-weight: 800; }
.cmp thead th.cmp__us { color: var(--accent); }
.cmp td.cmp__us { background: rgba(47,107,237,.07); font-weight: 700; }
.cmp tbody td:first-child { font-weight: 600; }
.cmp-yes { color: var(--accent); font-weight: 800; }
.cmp-no { color: var(--red); font-weight: 800; }
.cmp-mid { color: var(--slate); font-weight: 600; }
/* Comparatif — mode sombre (aligné sur .dark .card) */
.dark .cmp-scroll { background: rgba(255,255,255,.043); border-color: rgba(255,255,255,.09); box-shadow: none; }
.dark .cmp th, .dark .cmp td { color: #c2d2e8; border-top-color: rgba(255,255,255,.09); }
.dark .cmp thead th { color: #9fb2cc; }
.dark .cmp thead th.cmp__us { color: var(--accent); }
.dark .cmp td.cmp__us { background: rgba(47,107,237,.10); }
.dark .cmp-mid { color: #9fb2cc; }
/* Spécificité : rétablit le rouge des ✗ et l'atténuation des cellules neutres (clair + sombre) */
.cmp td.cmp-no { color: var(--red); }
.cmp td.cmp-mid { color: var(--slate); }
.dark .cmp td.cmp-no { color: var(--red); }
.dark .cmp td.cmp-mid { color: #9fb2cc; }
/* Pages légales — typographie document (titres calibrés pour du texte long) */
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal h2 { font-size: 21px; font-weight: 800; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 5px 0; }
.legal { max-width: 780px; }

/* ── Utilitaires (remplacent des styles inline → CSP stricte sans unsafe-inline) ──
   Ajoutés au fil de la migration ; réutilisables sur toutes les pages. */
.u-note     { color: var(--slate); }
.u-mt-14    { margin-top: 14px; }
.u-mt-24    { margin-top: 24px; }
.u-mt-28    { margin-top: 28px; }
.u-mt-32    { margin-top: 32px; }
.u-mt-48    { margin-top: 48px; }
.u-lead-gap { margin: 14px auto 0; }
.u-maxw-620  { max-width: 620px; }
.u-maxw-620c { max-width: 620px; margin-left: auto; margin-right: auto; }
.u-flat-foot { border: 0; padding-top: 0; }
.u-secure    { color: #5b6b7f; font-size: 13px; }
.dark .u-secure { color: #9fb2cc; }
.u-note-sm   { color: #8a94a6; font-size: 13px; }
.u-mt-22    { margin-top: 22px; }
.u-mt-40    { margin-top: 40px; }
.u-mt-56    { margin-top: 56px; }
.u-maxw-820 { max-width: 820px; }
.u-list-engage { line-height: 1.9; color: #33414f; }
.dark .u-list-engage { color: #cfe0f5; }
.u-note-13   { color: var(--slate); font-size: 13.5px; }
.u-link-accent { color: var(--accent); }
.partner-chip__logo.u-chip-if { background: #dc2626; }
.u-mt-6  { margin-top: 6px; }
.u-mt-8  { margin-top: 8px; }
.u-mt-10 { margin-top: 10px; }
.u-mt-12 { margin-top: 12px; }
.u-mt-16 { margin-top: 16px; }
.u-mt-18 { margin-top: 18px; }
.u-mt-20 { margin-top: 20px; }
.u-mt-26 { margin-top: 26px; }
.u-mt-36 { margin-top: 36px; }
.u-mb-8  { margin-bottom: 8px; }
.u-mb-12 { margin-bottom: 12px; }
.u-mb-16 { margin: 0 0 16px; }
.u-ico-c { margin: 0 auto 14px; }
.u-note-13b { color: var(--slate); font-size: 13px; }
.u-mt-4  { margin-top: 4px; }
.u-maxw-680 { max-width: 680px; }
.u-tip2  { margin: 0; color: #0b7a63; font-size: 14px; }
.dark .u-tip2 { color: #bfe9dd; }
.u-ack-label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #9fb2cc; margin: 18px 0; }
.u-msg   { min-height: 20px; margin: 12px 0 0; font-weight: 600; }
.lead.u-tip { margin: 10px auto 0; color: #0b7a63; font-size: 14.5px; }
.dark .lead.u-tip { color: #bfe9dd; }
.card.u-card-accent { border-color: rgba(47,107,237,.35); background: rgba(47,107,237,.06); margin: 18px 0; }
.u-flex-label { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; cursor: pointer; }
.u-txt-14  { color: #33414f; font-size: 14px; }
.dark .u-txt-14 { color: #cfe0f5; }
.u-flex-12 { display: flex; gap: 12px; }
.u-flex-40 { flex: 0 0 40%; }
.u-flex-1  { flex: 1; }
.u-opt     { color: var(--slate); font-weight: 400; }
.u-hp      { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.u-msg2    { min-height: 20px; margin: 10px 0 0; font-weight: 600; }
.u-note-125 { color: var(--slate); font-size: 12.5px; }
.u-maxw-720 { max-width: 720px; }
.u-mt-0    { margin-top: 0; }
.u-note-14 { color: var(--slate); font-size: 14px; }
.u-bandeau-p { margin: 0; font-size: 14.5px; font-weight: 600; }
.u-link-accent-b { color: var(--accent); font-weight: 700; }
.u-link-underline { color: var(--slate); text-decoration: underline; }
.card.u-my-18 { margin: 18px 0; }
.card.u-card-accent2 { border-color: rgba(47,107,237,.55); background: rgba(47,107,237,.12); margin: 18px 0; }
.btn.u-btn-ghost { background: transparent; color: var(--slate); border: 1px solid var(--line); margin-right: 10px; }
.u-pt-48 { padding-top: 48px; }
.u-link-accent-b6 { color: var(--accent); font-weight: 600; }
.u-maxw-320 { max-width: 320px; }
.u-c-blue  { color: var(--blue); }
.u-c-white { color: #fff; }
.u-m-0     { margin: 0; }
.u-mr-7    { margin-right: 7px; }
.u-hero-ex { color: var(--accent); font-weight: 600; text-decoration: none; }
.gauge.gauge--demo-s { --val: 84; --col: #2bbd6b; }
.gauge.gauge--demo-o { --val: 64; --col: #f5a524; }
.trust-band { background: var(--navy-2); border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.u-trustrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; padding: 15px 24px; font-size: 13px; color: #9fb2cc; line-height: 1.4; }
.u-tb-item  { display: inline-flex; align-items: center; gap: 8px; }
.u-tunnel   { display: flex; gap: 14px; flex-wrap: wrap; }
.card.u-tunnel-card { flex: 1; min-width: 210px; margin: 0; }
.u-tunnel-eb { font-size: 12px; letter-spacing: .04em; color: var(--accent); font-weight: 800; }
.u-tunnel-h3 { margin: 6px 0 4px; font-size: 17px; }
.plan--featured { border-width: 2px; }
.u-contact-form { max-width: 520px; margin: 24px auto 0; text-align: left; }
.u-sent { font-weight: 700; color: var(--accent); text-align: center; }
/* compte.js (liste audits/paiements générée) */
.u-delta-up   { font-size: 10px; font-weight: 800; margin-left: 4px; color: #16a34a; }
.u-delta-down { font-size: 10px; font-weight: 800; margin-left: 4px; color: #dc2626; }
.pill.u-fs-11 { font-size: 11px; }
.u-fw-800     { font-weight: 800; }
.u-audit-link { display: flex; gap: 8px; align-items: center; padding: 7px 0; text-decoration: none; color: var(--slate); font-size: 12.5px; border-top: 1px dashed rgba(120,130,150,.25); }
.u-summary    { list-style: none; cursor: pointer; }
.u-count-note { color: var(--slate); font-weight: 600; font-size: 11px; }
.u-detail-pad { padding: 0 14px 8px 14px; }
.u-empty      { color: var(--slate); margin: 0; }
.u-cursor-default { cursor: default; }
.audit-row__domain.u-c-inherit { color: inherit; }
/* rapport.js (déblocage + grille tarifaire générés) */
.u-unlock-note { color: var(--slate); font-size: 12.5px; margin-top: 6px; }
.card.u-unlock-card { margin-top: 24px; border: 1px solid rgba(45,212,191,.35); background: rgba(45,212,191,.06); }
.u-unlock-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.u-unlock-txt { flex: 1; min-width: 240px; }
.ptitle.u-fs-16 { font-size: 16px; }
.u-nowrap { white-space: nowrap; }
.u-feat-li { padding: 6px 0 6px 22px; position: relative; color: var(--muted); font-size: 13px; list-style: none; margin: 0; }
.u-feat-check { position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.u-feat-ul { margin: 10px 0 0; padding: 0; flex: 1; }
.u-plan-badge { display: inline-block; align-self: flex-start; background: var(--accent); color: #042b24; font-weight: 800; font-size: 11px; padding: 3px 11px; border-radius: 999px; margin-bottom: 8px; }
.u-col { display: flex; flex-direction: column; }
.u-pages-note { color: var(--slate); font-size: 13.5px; margin-top: 2px; }
.u-healthy { color: var(--accent-dark); font-weight: 600; margin: 16px 0 0; }
.u-reco-box { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(45,212,191,.10); border: 1px solid rgba(45,212,191,.35); }
.u-reco-title { font-weight: 800; color: var(--accent); font-size: 14px; }
.u-reco-msg { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.5; }
.u-rt-note { color: var(--slate); font-size: 13px; margin: 14px 0 0; }
.u-paye-ban { background: rgba(45,212,191,.12); border: 1px solid rgba(45,212,191,.35); color: var(--accent); font-weight: 600; border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; text-align: center; }
/* Section « Pourquoi c'est important » */
.why-card h3 { margin-bottom: 12px; }
.why-card p { color: var(--slate); font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.why-card ul { margin: 8px 0 12px; padding-left: 20px; }
.why-card li { color: var(--slate); font-size: 14.5px; line-height: 1.6; margin: 6px 0; }
.why-card strong { color: var(--ink); }
.dark .why-card p, .dark .why-card li { color: #b7c8e0; }
.dark .why-card strong { color: #fff; }
/* Boutons rendus en <a> : garder la couleur du bouton en sombre (une règle de lien teal l'écrasait) */
.dark a.btn--primary { color: #042b24; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px;
  font-weight: 700; color: var(--accent-dark); margin: 0 0 12px;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.lead { font-size: 19px; color: var(--slate); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; border-radius: 12px;
  padding: 14px 24px; cursor: pointer; border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #042b24; box-shadow: 0 6px 18px rgba(47,107,237,.35); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { border-color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ── Navbar ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand__logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: grid; place-items: center; color: #fff; font-weight: 900;
}
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a { color: var(--slate); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: 12px; align-items: center; }
.nav__burger { display: none; margin-left: 6px; cursor: pointer;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  background: rgba(16,32,56,.05); border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; font-size: 17px; font-family: inherit; line-height: 1; }
.nav__burger:hover { background: rgba(16,32,56,.10); }
.dark .nav__burger { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #dce6f5; }
.dark .nav__burger:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 1080px) {
  .nav__inner { position: relative; }
  .nav__burger { display: inline-flex; }
  .nav__inner.nav--open .nav__links {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; top: calc(100% + 6px); right: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; }
  .nav__inner.nav--open .nav__links a {
    padding: 11px 14px; border-radius: 10px; font-size: 15px; color: var(--ink); }
  .nav__inner.nav--open .nav__links a:hover { background: rgba(16,32,56,.06); }
}
.dark .nav__inner.nav--open .nav__links { background: #0f2238; border-color: rgba(255,255,255,.12); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.dark .nav__inner.nav--open .nav__links a { color: #c2d2e8; }
.dark .nav__inner.nav--open .nav__links a:hover { background: rgba(255,255,255,.07); color: #fff; }

/* ── Header mobile (≤680) : Connexion + « Auditer mon site » passent DANS le menu burger (fini le débordement horizontal) ── */
@media (max-width: 680px) {
  .nav__inner { flex-wrap: wrap; gap: 10px; }
  .brand { margin-right: auto; }
  .nav__cta { display: none; }
  .nav__inner.nav--open .nav__links,
  .nav__inner.nav--open .nav__cta {
    order: 10; flex-basis: 100%; width: 100%; min-width: 0;
    position: static; top: auto; right: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-lg); padding: 8px;
  }
  .nav__inner.nav--open .nav__account {
    padding: 11px 14px; border-radius: 10px; text-align: center; color: var(--ink); }
  .nav__inner.nav--open .nav__account:hover { background: rgba(16,32,56,.06); }
  .nav__inner.nav--open .nav__cta .btn { width: 100%; text-align: center; }
}
.dark .nav__inner.nav--open .nav__cta { background: #0f2238; border-color: rgba(255,255,255,.12); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.dark .nav__inner.nav--open .nav__account { color: #c2d2e8; }
.dark .nav__inner.nav--open .nav__account:hover { background: rgba(255,255,255,.07); color: #fff; }

/* ── Hero ── */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(47,109,246,.25), transparent),
    radial-gradient(900px 500px at 10% 10%, rgba(47,107,237,.18), transparent),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #eaf2ff; padding: 96px 0 84px; position: relative; overflow: hidden;
}
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -.02em; }
.hero .accent { color: var(--accent); }
.hero__sub { color: #b9c8de; font-size: 20px; max-width: 620px; margin: 0 auto 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--accent); background: rgba(47,107,237,.12);
  border: 1px solid rgba(47,107,237,.35); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}

/* Champ URL d'audit */
.audit-form {
  display: flex; gap: 10px; max-width: 620px; margin: 0 auto;
  background: #fff; padding: 8px; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.audit-form input {
  flex: 1; border: 0; outline: 0; font-size: 17px; padding: 14px 16px;
  color: var(--ink); background: transparent; min-width: 0;
}
.audit-form .btn { white-space: nowrap; }
.hero__note { color: #8aa0bd; font-size: 14px; margin-top: 14px; }
.hero__msg { min-height: 22px; margin-top: 12px; font-weight: 600; }
.hero__msg.error { color: #ffb4b4; }

/* bandeau confiance */
.trust { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; margin-top: 40px; color: #9fb2cc; font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ── Grilles de cartes ── */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 20px; }
.card p { color: var(--slate); margin: 0; }
.ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff; font-size: 24px;
}
.ico--secu { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.ico--seo  { background: linear-gradient(135deg, var(--blue), #5b8bff); }
.ico--neutral { background: linear-gradient(135deg, #334966, #1f3047); }

/* ── Étapes ── */
.steps { counter-reset: step; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}

/* ── Formules ── */
.plan { display: flex; flex-direction: column; }
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow-lg); position: relative; }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #042b24; font-weight: 800; font-size: 12px;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.plan__name { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.plan__desc { color: var(--slate); font-size: 14px; min-height: 42px; margin-bottom: 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); font-size: 15px; border-top: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 900; }

/* ── Bande CTA ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: 24px; padding: 56px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c8de; }

/* ── Footer ── */
.footer { background: var(--navy); color: #9fb2cc; padding: 56px 0 32px; }
.footer a { color: #c7d6ea; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer__grid h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: 10px; font-size: 15px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── Page rapport ── */
.report-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 36px 0; }
.report-head .url { font-weight: 800; font-size: 22px; word-break: break-all; }
.report-head .date { color: var(--slate); font-size: 14px; }

.loader { text-align: center; padding: 80px 0; }
.spinner {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 20px;
  border: 5px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.score-card { text-align: center; }
.score-card .gauge { box-shadow: 0 10px 45px -12px var(--col); }
.gauge {
  --val: 0; --col: var(--slate);
  width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 16px;
  background: conic-gradient(var(--col) calc(var(--val) * 1%), var(--track, var(--line)) 0);
  display: grid; place-items: center; position: relative;
}
.gauge::before { content: ""; position: absolute; inset: 18px; background: #fff; border-radius: 50%;
  box-shadow: inset 0 1px 3px rgba(15,27,42,.06); }
.gauge__num { position: relative; font-size: 48px; font-weight: 900; letter-spacing: -1.5px; line-height: 1; }
.gauge__num small { font-size: 15px; color: var(--slate); font-weight: 700; letter-spacing: 0; margin-left: 1px; }
.pill { display: inline-block; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 999px; }
.pill--vert   { background: #e3f8ec; color: #16804a; }
.pill--orange { background: #fef3da; color: #9a6400; }
.pill--rouge  { background: #fde6e7; color: #b42318; }
.pill--gris   { background: #eef1f6; color: #5b6b7f; }

.axes { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.axes .axis { font-size: 13px; color: var(--slate); }
.axes .axis b { color: var(--ink); }

.problems { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.problems li { display: flex; gap: 12px; padding: 13px 16px; border: 1px solid var(--line);
  border-left: 4px solid var(--slate); border-radius: 12px; background: var(--bg-soft); align-items: flex-start; }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; }
.dot--critique, .dot--haute { background: var(--red); }   /* haute en rouge (choix : alerte visuelle) — la pénalité reste −15 */
.dot--moyenne { background: var(--amber); }
.dot--basse, .dot--info { background: var(--blue); }
.problems .ptitle { font-weight: 700; }
.problems .pcons { color: var(--slate); font-size: 15px; }
/* Teinte + bande latérale colorée selon la gravité (via :has, sans toucher au JS) */
.problems li:has(.dot--critique), .problems li:has(.dot--haute) { background: #fdeced; border-color: #f6d4d6; border-left-color: var(--red); }
.problems li:has(.dot--moyenne) { background: #fdf3e2; border-color: #f5e2c0; border-left-color: var(--amber); }
.problems li:has(.dot--basse), .problems li:has(.dot--info) { background: #eaf1fe; border-color: #cfe0fb; border-left-color: var(--blue); }
.good { color: #16804a; font-weight: 600; }

.report-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.note-disclaimer { color: var(--slate); font-size: 13px; text-align: center; margin-top: 24px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* ── Bandeau stats ── */
.stats-band { background: var(--ink); }
.stats-band .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px 30px; padding: 26px 24px; }
.stat-item { text-align: center; min-width: 120px; }
.stat-item .n { font-size: 26px; font-weight: 900; color: var(--accent); line-height: 1.1; }
.stat-item .l { font-size: 13px; color: #b9c8de; margin-top: 4px; }

/* ── Aperçu rapport (hero) ── */
.hero-preview { position: relative; max-width: 540px; margin: 40px auto 0; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-preview::before { content: ""; position: absolute; inset: -34px; z-index: -1; border-radius: 34px; background: radial-gradient(circle at 50% 42%, rgba(47,107,237,.40), rgba(47,109,246,.18) 45%, transparent 72%); filter: blur(34px); }
.hp-card { text-align: center; }
.hp-card .lbl { font-size: 13px; color: var(--slate); font-weight: 700; margin-bottom: 10px; }
.hero-preview .gauge { width: 112px; height: 112px; margin: 0 auto 10px; }
.hero-preview .gauge::before { inset: 11px; }
.hero-preview .gauge__num { font-size: 28px; }
.hero-preview .gauge__num small { font-size: 13px; }
.hp-caption { grid-column: 1 / -1; color: #8aa0bd; font-size: 12px; text-align: center; }

/* ── Témoignages ── */
.testi .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.testi p.quote { color: var(--ink); font-size: 16px; margin: 12px 0 0; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi .avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--accent), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.testi .who b { display: block; }
.testi .who span { color: var(--slate); font-size: 13px; }

/* ── Animations au scroll (activées par JS via body.anim → sûr si JS off) ── */
.anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .anim .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 560px) {
  .hero-preview { grid-template-columns: 1fr; max-width: 320px; }
}

/* ── Hero premium : dégradé animé (aurora) ── */
.hero .container { position: relative; z-index: 1; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(72px); opacity: .5; pointer-events: none;
}
.hero::before { width: 460px; height: 460px; top: -130px; left: -90px;
  background: radial-gradient(circle, #2f6df6, transparent 70%); animation: aurora1 19s ease-in-out infinite alternate; }
.hero::after { width: 520px; height: 520px; bottom: -170px; right: -110px;
  background: radial-gradient(circle, #2f6bed, transparent 70%); animation: aurora2 23s ease-in-out infinite alternate; }
@keyframes aurora1 { from { transform: translate(0,0) scale(1); } to { transform: translate(70px,55px) scale(1.18); } }
@keyframes aurora2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-65px,-45px) scale(1.12); } }
.hero h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -.025em; }

/* ── Bloc statement (grande phrase) ── */
.statement { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; text-align: center; padding: 100px 0; }
.statement .eyebrow { color: var(--accent); }
.statement__big { color: #fff; font-size: clamp(32px, 6vw, 58px); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; margin: 14px auto 18px; max-width: 880px; }
.statement__big .accent { color: var(--accent); }
.statement__sub { color: #b9c8de; font-size: 19px; max-width: 620px; margin: 0 auto; }

@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }

/* Lisibilité des scores dans l'aperçu (texte foncé sur carte blanche) */
.hero-preview .hp-card, .hero-preview .gauge__num { color: var(--ink); }

/* ── Landing en thème sombre premium (body.dark) ── */
html.dark { --muted: #9fb2cc; }   /* texte secondaire lisible sur fond sombre */
.dark body { background: var(--navy); color: #c2d2e8; }
.dark .nav { background: rgba(10,22,38,.82); border-bottom-color: rgba(255,255,255,.08); }
.dark .nav__links a { color: #d7e2f0; }
.dark .nav__links a:hover { color: #fff; }
.dark .section--soft { background: var(--navy-2); }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: #9fb2cc; }
.dark .eyebrow { color: var(--accent); }
.dark .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); color: #c2d2e8; }
.dark .card p { color: #b7c8e0; }
.dark .ico--neutral { background: linear-gradient(135deg, #233650, #16202e); }
.dark .step__num { background: #fff; color: var(--navy); }
.dark .plan li { border-top-color: rgba(255,255,255,.1); color: #e6eefb; }
.dark .plan__desc { color: #9fb2cc; }
.dark .testi p.quote { color: #eaf2ff; }
.dark .testi .who span { color: #9fb2cc; }
.dark .btn--dark { background: #fff; color: var(--ink); border-color: #fff; }
.dark .btn--dark:hover { background: #e8eef6; }
.dark h1 { color: #fff; }
.dark main p a, .dark main li a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dark main strong { color: #eaf2ff; }

/* ── Bandeau partenaires (logos) ── */
.partners-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }
.partner-chip { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-radius: 16px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); min-width: 240px; }
.partner-chip__logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 900; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--blue), #1b3fae); flex: none; }
.partner-chip b { color: #fff; font-size: 16px; display: block; }
.partner-chip span { color: #9fb2cc; font-size: 13.5px; }
img.partner-chip__logo { object-fit: cover; background: #fff; padding: 0; }

/* ── Prix (grille tarifaire) ── */
.plan__price { margin: 4px 0 12px; color: var(--slate); font-size: 14px; }
.plan__price b { font-size: 27px; font-weight: 900; color: var(--ink); }
.plan__price small { font-size: 14px; font-weight: 700; color: var(--slate); }
.dark .plan__price, .dark .plan__price small { color: #9fb2cc; }
.dark .plan__price b { color: #fff; }

/* ── Bloc tarif ferme (rapport) ── */
.tarif { text-align: left; }
.tarif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.tarif-grid > div { background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; }
.tarif-grid span { display: block; color: var(--slate); font-size: 13px; margin-bottom: 4px; }
.tarif-grid b { font-size: 22px; color: var(--ink); font-weight: 900; }
.dark .tarif-grid > div { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.10); }
.dark .tarif-grid span { color: #9fb2cc; }
.dark .tarif-grid b { color: #fff; }
.tarif-grid .tarif-feat { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tarif-sub { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; margin: 22px 0 2px; }

/* Icônes Font Awesome dans les pastilles colorées */
.ico .fa { color: #fff; font-size: 24px; line-height: 1; }
.trust .fa, .stat-item .fa { color: var(--accent); }

/* Champs du formulaire de contact */
.cfield { width: 100%; padding: 12px 14px; margin: 6px 0; border: 1px solid var(--line);
  background: #fff; color: var(--ink); border-radius: 10px; font-family: inherit; font-size: 15px; }
.cfield::placeholder { color: var(--slate); }
.dark .cfield { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #eaf2ff; }
.dark .cfield::placeholder { color: #7d90ab; }
.cfield:focus { outline: none; border-color: var(--accent); }
@media (max-width: 640px) { .tarif-grid { grid-template-columns: 1fr; } }

/* ── Page rapport en thème sombre ── */
.dark .report-head { background: var(--navy-2); border-bottom-color: rgba(255,255,255,.08); }
.dark .report-head .url { color: #fff; }
.dark .report-head .date { color: #9fb2cc; }
.dark .problems li { border-color: #1c2740; background: #0f1a2b; border-left-color: #3a4a63; }
.dark .problems li:has(.dot--critique), .dark .problems li:has(.dot--haute) { background: rgba(229,72,77,.10); border-color: rgba(229,72,77,.28); border-left-color: var(--red); }
.dark .problems li:has(.dot--moyenne) { background: rgba(224,137,30,.10); border-color: rgba(224,137,30,.28); border-left-color: var(--amber); }
.dark .problems li:has(.dot--basse), .dark .problems li:has(.dot--info) { background: rgba(47,109,246,.10); border-color: rgba(47,109,246,.28); border-left-color: var(--blue); }
.dark .problems .pcons, .dark .axes .axis { color: #9fb2cc; }
.dark .axes .axis b { color: #eaf2ff; }
.dark .note-disclaimer { color: #7d90ab; }
.dark #lead-section input[type=email], .dark #lead-section input[type=tel] {
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #eaf2ff; }
.dark #lead-section input::placeholder { color: #7d90ab; }

/* ── Écran d'attente animé (premium) ── */
.scan { max-width: 640px; margin: 8px auto 0; text-align: center; }
.scan__orb { position: relative; width: 152px; height: 152px; margin: 0 auto 32px; }
.scan__orb i { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.scan__orb .r1 { inset: 0;  border-top-color: var(--accent); border-right-color: var(--accent); animation: scanSpin 1.1s linear infinite; }
.scan__orb .r2 { inset: 16px; border-bottom-color: var(--blue); border-left-color: var(--blue); animation: scanSpin 1.7s linear infinite reverse; }
.scan__orb .r3 { inset: 32px; border-top-color: rgba(255,255,255,.22); animation: scanSpin 2.4s linear infinite; }
.scan__orb .core { position: absolute; inset: 46px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--blue)); color: #fff; font-weight: 900; font-size: 30px;
  box-shadow: 0 0 46px rgba(47,107,237,.55); animation: corePulse 1.9s ease-in-out infinite; }
@keyframes scanSpin { to { transform: rotate(360deg); } }
@keyframes corePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.09); } }

.scan h2 { font-size: clamp(28px, 4vw, 38px); }
.scan__tip { color: #9fb2cc; min-height: 24px; transition: opacity .25s ease; font-size: 16px; }

.scan__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08);
  overflow: hidden; margin: 28px auto 0; max-width: 440px; }
.scan__bar i { display: block; height: 100%; width: 8%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--blue)); transition: width .6s ease; }

.scan__steps { list-style: none; padding: 0; margin: 34px auto 0; max-width: 384px;
  text-align: left; display: grid; gap: 12px; }
.scan__steps li { display: flex; align-items: center; gap: 14px; color: #7d90ab;
  font-weight: 600; font-size: 15px; transition: color .4s ease; }
.scan__steps .tick { width: 27px; height: 27px; border-radius: 50%; border: 2px solid rgba(255,255,255,.16);
  display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 800; transition: all .4s ease; }
.scan__steps li.on { color: #eaf2ff; }
.scan__steps li.on .tick { border-color: var(--accent); background: var(--accent); color: #06241d; }
.scan__steps li.cur { color: #fff; }
.scan__steps li.cur .tick { border-color: var(--accent); color: var(--accent); animation: tickPulse 1.1s ease-in-out infinite; }
@keyframes tickPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,107,237,.55); } 50% { box-shadow: 0 0 0 9px rgba(47,107,237,0); } }

/* ── Écran d'attente : fond animé PLEIN ÉCRAN (halos qui dérivent + halo pulsé sous l'orbe).
   Activé via la classe body.rapport-loading (posée par rapport.js pendant le chargement). ── */
/* L'écran de chargement garde son décor sombre premium, même en thème clair. */
body.rapport-loading { background: var(--navy); color: #c2d2e8; }
/* Lignes fluides teal en fond de l'écran d'audit (effet « flux lumineux », zéro librairie) */
.load-waves { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .5; animation: lwDrift 14s ease-in-out infinite; }
.load-waves path { fill: none; stroke: url(#lw-grad); stroke-width: 1.6; stroke-linecap: round; }
.load-waves .lw1 { stroke-dasharray: 9 30;  animation: lwFlow 9s  linear infinite; }
.load-waves .lw2 { stroke-dasharray: 7 34;  animation: lwFlow 13s linear infinite reverse; }
.load-waves .lw3 { stroke-dasharray: 10 28; animation: lwFlow 16s linear infinite; }
.load-waves .lw4 { stroke-dasharray: 6 36;  animation: lwFlow 11s linear infinite reverse; }
@keyframes lwFlow  { to { stroke-dashoffset: -400; } }
@keyframes lwDrift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
/* Animation des lignes conservée même en « réduire les animations » (effet lent et décoratif, voulu). */
/* Écran d'audit toujours sombre — l'animation vit sur le fond navy — y compris en thème clair. */
body.rapport-loading .nav { background: transparent; border-bottom-color: rgba(255,255,255,.10); }
body.rapport-loading .report-head { background: transparent; border-bottom-color: rgba(255,255,255,.10); }
body.rapport-loading .brand,
body.rapport-loading .report-head .url { color: #fff; }
body.rapport-loading .report-head .date { color: #9fb2cc; }
body.rapport-loading .theme-switch,
body.rapport-loading .lang-switch__btn { color: #dce6f5; background: transparent; border-color: transparent; }
body.rapport-loading::before, body.rapport-loading::after {
  content: ""; position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(100px); opacity: .4; pointer-events: none;
}
body.rapport-loading::before {
  width: 58vw; height: 58vw; min-width: 460px; min-height: 460px; top: -14vw; left: -8vw;
  background: radial-gradient(circle, #2f6bed, transparent 68%);
  animation: loadDriftA 16s ease-in-out infinite alternate;
}
body.rapport-loading::after {
  width: 62vw; height: 62vw; min-width: 500px; min-height: 500px; bottom: -16vw; right: -10vw;
  background: radial-gradient(circle, #2f6df6, transparent 68%);
  animation: loadDriftB 20s ease-in-out infinite alternate;
}
@keyframes loadDriftA { from { transform: translate(0,0) scale(1); } to { transform: translate(26vw, 20vh) scale(1.25); } }
@keyframes loadDriftB { from { transform: translate(0,0) scale(1); } to { transform: translate(-24vw, -14vh) scale(1.18); } }
.scan__orb::after {
  content: ""; position: absolute; inset: -44px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(47,107,237,.30), transparent 62%);
  animation: orbGlow 3.2s ease-in-out infinite;
}
@keyframes orbGlow { 0%,100% { transform: scale(.88); opacity: .45; } 50% { transform: scale(1.16); opacity: .9; } }

/* Particules flottantes qui montent en fond pendant le chargement. */
.load-particles { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.load-particles i {
  position: absolute; bottom: -24px; width: 6px; height: 6px; border-radius: 50%;
  color: var(--accent); background: currentColor; box-shadow: 0 0 8px currentColor;
  opacity: 0; animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translate(0, 0) scale(.5); opacity: 0; }
  12%  { opacity: .85; }
  88%  { opacity: .55; }
  100% { transform: translate(26px, -104vh) scale(1); opacity: 0; }
}
.load-particles i:nth-child(1)  { left: 6%;  width: 7px; height: 7px; animation-duration: 14s; animation-delay: 0s; }
.load-particles i:nth-child(2)  { left: 14%; width: 5px; height: 5px; color: var(--blue);  animation-duration: 18s; animation-delay: 2s; }
.load-particles i:nth-child(3)  { left: 22%; width: 8px; height: 8px; color: rgba(255,255,255,.75); animation-duration: 12s; animation-delay: 1s; }
.load-particles i:nth-child(4)  { left: 30%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 4s; }
.load-particles i:nth-child(5)  { left: 38%; width: 6px; height: 6px; color: var(--blue);  animation-duration: 16s; animation-delay: 3s; }
.load-particles i:nth-child(6)  { left: 46%; width: 5px; height: 5px; animation-duration: 22s; animation-delay: 6s; }
.load-particles i:nth-child(7)  { left: 54%; width: 7px; height: 7px; color: rgba(255,255,255,.75); animation-duration: 15s; animation-delay: 1.5s; }
.load-particles i:nth-child(8)  { left: 62%; width: 4px; height: 4px; color: var(--blue);  animation-duration: 19s; animation-delay: 5s; }
.load-particles i:nth-child(9)  { left: 70%; width: 6px; height: 6px; animation-duration: 13s; animation-delay: 2.5s; }
.load-particles i:nth-child(10) { left: 78%; width: 5px; height: 5px; color: var(--blue);  animation-duration: 21s; animation-delay: 7s; }
.load-particles i:nth-child(11) { left: 86%; width: 8px; height: 8px; color: rgba(255,255,255,.75); animation-duration: 17s; animation-delay: 3.5s; }
.load-particles i:nth-child(12) { left: 94%; width: 4px; height: 4px; animation-duration: 23s; animation-delay: 4.5s; }
.load-particles i:nth-child(13) { left: 10%; width: 5px; height: 5px; color: var(--blue);  animation-duration: 24s; animation-delay: 8s; }
.load-particles i:nth-child(14) { left: 50%; width: 6px; height: 6px; animation-duration: 26s; animation-delay: 9s; }
.load-particles i:nth-child(15) { left: 90%; width: 5px; height: 5px; color: var(--blue);  animation-duration: 25s; animation-delay: 6.5s; }
.load-particles i:nth-child(16) { left: 34%; width: 7px; height: 7px; color: rgba(255,255,255,.75); animation-duration: 18s; animation-delay: 10s; }

@media (prefers-reduced-motion: reduce) {
  .scan__orb i, .scan__orb .core, .scan__bar i, .scan__steps li.cur .tick { animation: none; }
  body.rapport-loading::before, body.rapport-loading::after, .scan__orb::after { animation: none; }
  .load-particles { display: none; }
}

/* ── Sélecteur de langue ── */
.lang-switch { position: relative; margin-left: 6px; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: transparent; border: 1px solid transparent; color: var(--ink);
  border-radius: 999px; padding: 8px 12px; font-size: 13.5px; font-weight: 700; font-family: inherit; }
.lang-switch__btn:hover { background: rgba(16,32,56,.10); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  box-shadow: var(--shadow); display: none; }
.lang-menu.open { display: block; }
.lang-menu button { display: flex; width: 100%; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: 0; color: var(--ink); padding: 9px 11px; border-radius: 8px;
  font-size: 14px; font-family: inherit; text-align: left; }
.lang-menu button:hover { background: rgba(16,32,56,.06); }
.lang-menu button.active { color: var(--accent-dark); font-weight: 800; }
/* Sous ~1080px : on masque les liens de menu pour laisser logo + langue + CTA respirer. */
@media (max-width: 1080px) { .nav__links { display: none; } }

/* ── Apparition en cascade des blocs du rapport ── */
.reveal-up { opacity: 0; transform: translateY(18px); animation: revealUp .6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes revealUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1; transform: none; animation: none; } }

/* ── Transitions entre pages (View Transitions API — Edge/Chrome) ── */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .28s ease both; }
::view-transition-new(root) { animation: vtIn .34s ease both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ── Responsive ──
   Desktop → tablette (≤1024) → tablette portrait (≤820) → téléphone (≤680).
   Les grilles descendent progressivement : 4/3 col → 2 col → 1 col. */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 20px; }
}
@media (max-width: 820px) {
  .grid--2 { grid-template-columns: 1fr; }
  .tarif-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
  .cta-band { padding: 44px 28px; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .tarif-grid { grid-template-columns: 1fr; }
  .audit-form { flex-direction: column; }
  .audit-form .btn { width: 100%; justify-content: center; }
  .section { padding: 56px 0; }
  .cta-band { padding: 34px 20px; border-radius: 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .report-head { padding: 26px 0; }
  .report-head .url { font-size: 19px; }
  h2 { font-size: clamp(24px, 6vw, 34px); }
}

.theme-switch { margin-left: 6px; cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  background: transparent; border: 1px solid transparent; color: var(--ink);
  border-radius: 999px; font-size: 15px; font-family: inherit; }
.theme-switch:hover { background: rgba(16,32,56,.10); }
.dark .lang-switch__btn { background: transparent; border-color: transparent; color: #dce6f5; }
.dark .lang-switch__btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.dark .lang-menu { background: #0f2238; border-color: rgba(255,255,255,.12); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.dark .lang-menu button { color: #c2d2e8; }
.dark .lang-menu button:hover { background: rgba(255,255,255,.07); color: #fff; }
.dark .lang-menu button.active { color: var(--accent); }
.dark .theme-switch { background: transparent; border-color: transparent; color: #dce6f5; }
.dark .theme-switch:hover { background: rgba(255,255,255,.12); color: #fff; }

.problems li.locked { filter: blur(4px); opacity: .5; user-select: none; }
.fakebar { height: 9px; border-radius: 6px; background: currentColor; opacity: .22; }
.problems li.locked-cta { align-items: center; gap: 12px; }
.problems li.locked-cta .ptitle { color: var(--accent-dark); }
.dark .problems li.locked-cta .ptitle { color: var(--accent); }
/* Lien « Connexion » : dans .nav__cta et non .nav__links, pour deux raisons —
   le menu est déjà saturé (8 entrées), et surtout .nav__links disparaît sous
   1080px alors que .nav__cta reste : le compte doit rester joignable sur mobile. */
.nav__account { color: var(--slate); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.nav__account:hover { color: var(--ink); }
.dark .nav__account { color: #d7e2f0; }
.dark .nav__account:hover { color: #fff; }
/* .partner-chip était écrit pour le sombre uniquement : illisible en thème clair. */
.partner-chip { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transition: transform .15s ease; }
.partner-chip:hover { transform: translateY(-3px); }
.partner-chip b { color: var(--ink); }
.partner-chip > span > span { color: var(--slate); }
.dark .partner-chip { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.09); box-shadow: none; }
.dark .partner-chip b { color: #fff; }
.dark .partner-chip > span > span { color: #9fb2cc; }

/* ── Barre de nav transparente au-dessus du hero, pleine au scroll ──
   La classe `nav--hero-top` est posée/retirée par theme.js selon le scroll,
   et uniquement sur les pages qui commencent par un hero sombre. */
.dark .nav.nav--hero-top { background: var(--navy); border-bottom-color: transparent;
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dark .nav--hero-top .brand { color: #fff; }
.dark .nav--hero-top .nav__links a { color: #f0f5fb; }
.dark .nav--hero-top .nav__links a:hover { color: #fff; }
.dark .nav--hero-top .nav__account { color: #f0f5fb; }
.dark .nav--hero-top .nav__account:hover { color: #fff; }
.dark .nav--hero-top .btn--dark { background: #fff; color: var(--ink); border-color: #fff; }
/* CTA de la nav « Auditer mon site » : toujours en vert accent (cohérent clair/sombre, fini l'inversion) */
.nav__cta .btn--dark,
.dark .nav__cta .btn--dark,
.dark .nav--hero-top .nav__cta .btn--dark {
  background: var(--accent); color: #042b24; border-color: transparent;
  box-shadow: 0 6px 18px rgba(47,107,237,.35);
}
.nav__cta .btn--dark:hover { background: var(--accent-dark); }
/* Bouton CTA de la nav plus compact (moins imposant que les gros CTA de page) */
.nav__cta .btn { padding: 9px 17px; font-size: 14px; border-radius: 10px; }
.nav__cta .btn--dark,
.dark .nav__cta .btn--dark,
.dark .nav--hero-top .nav__cta .btn--dark { box-shadow: 0 4px 12px rgba(47,107,237,.30); }
.dark .nav--hero-top .theme-switch,
.dark .nav--hero-top .nav__burger,
.dark .nav--hero-top .lang-switch__btn { background: transparent;
  border-color: transparent; color: #fff; }
.dark .nav--hero-top .theme-switch:hover,
.dark .nav--hero-top .nav__burger:hover,
.dark .nav--hero-top .lang-switch__btn:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ── Bloc « Qui est derrière Auditely » — présence humaine ──
   Aligné sur la palette noir + bleu du site. Base = mode clair, .dark = sombre. */
.team { display: flex; align-items: center; gap: 32px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 38px; }
.team__avatar { flex: 0 0 auto; width: 78px; height: 78px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 800; letter-spacing: -1px;
  background: rgba(47,109,237,.12); color: var(--accent); box-shadow: 0 6px 18px rgba(47,109,237,.16); }
.team__content { min-width: 0; }
.team__content .eyebrow { color: var(--accent); }
.team__body { margin-top: 12px; }
.team__body p { color: var(--slate); line-height: 1.7; margin: 0 0 12px; }
.team__body p:last-child { margin-bottom: 0; }
.team__body strong { color: var(--ink); }
.team__sign { margin-top: 18px; font-weight: 600; color: var(--accent); }

.dark .team { background: #0c1424; border-color: #1c2740; }
.dark .team__avatar { background: #101c33; color: #4c8bff;
  box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.dark .team__content .eyebrow { color: #4c8bff; }
.dark .team__body p { color: #b3c1d4; }
.dark .team__body strong { color: #eef3fb; }
.dark .team__sign { color: #4c8bff; }

@media (max-width: 640px) {
  .team { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 22px; }
  .team__avatar { width: 64px; height: 64px; font-size: 28px; }
}

/* ── Hero page d'accueil — noir + bleu foncé, titre à gauche + capture du rapport ──
   Scopé à .hero--home pour ne pas toucher les heros des autres pages. */
.hero--home { background: #070b12; padding: 84px 0 76px; }
.hero--home::before, .hero--home::after { display: none !important; } /* coupe les halos animés */
.hero--home .container { text-align: left; }
.hero__split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__left { min-width: 0; }
.hero__chips-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.hero--home .badge { margin-bottom: 0; }
.hero__finistere { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.12);
  color: #c7d2e0; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.hero--home h1 { text-align: left; margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.14; font-weight: 800; }
.hero--home .hero__sub { text-align: left; margin: 16px 0 0; max-width: 480px; font-size: 17px; }
.hero--home .audit-form { margin: 24px 0 0; }
.hero__trustchips { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: #8497ab; font-size: 13px; }
.hero__trustchips span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trustchips i { color: var(--accent); }
.hero--home .hero__note { margin-top: 14px; }

/* Carte « capture du rapport » à droite + badges flottants */
.hero__right { position: relative; }
.hero-report { background: #0c1424; border: 1px solid #1c2740; border-radius: 18px; padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.hero-report__cap { font-size: 12px; color: #7e90a8; margin-bottom: 14px; }
.hero-report__gauges { display: flex; gap: 16px; }
.hero-report__g { flex: 1; text-align: center; }
.hero-gauge { width: 84px; height: 84px; margin: 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; }
.hero-gauge--secu { background: conic-gradient(var(--green) 0 84%, #1a2740 84% 100%); }
.hero-gauge--seo  { background: conic-gradient(var(--amber) 0 64%, #1a2740 64% 100%); }
.hero-gauge span { width: 60px; height: 60px; border-radius: 50%; background: #0c1424;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 22px; color: #eef3fb; }
.hero-report__glbl { margin-top: 8px; font-size: 11.5px; font-weight: 600; }
.hero-report__glbl--good { color: #5fd18f; }
.hero-report__glbl--warn { color: #e0a04a; }
.hero-report__probs { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px;
  display: flex; flex-direction: column; gap: 8px; }
.hero-report__prob { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #b3c1d4; }
.hero-report__dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.hero-report__dot--r { background: var(--red); }
.hero-report__dot--o { background: var(--amber); }
.hero-float { position: absolute; display: inline-flex; align-items: center; gap: 6px;
  background: #101c33; border: 1px solid rgba(76,139,255,.4); color: #9dc0ff;
  font-size: 11.5px; font-weight: 600; padding: 6px 11px; border-radius: 9px; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.hero-float--tr { top: -12px; right: -6px; }
.hero-float--bl { bottom: -14px; left: -10px; }

@media (max-width: 860px) {
  .hero__split { grid-template-columns: 1fr; gap: 34px; }
  .hero__right { max-width: 380px; }
}