/* ============================================================
   QUALITÉ DE L'AIR — Feuille de style
   Direction « Atmosphère » : aube pastel (menthe, ciel, pervenche)
   sur azur clair, accent indigo. Aucun emoji, uniquement du SVG.
   ============================================================ */

/* ------------------------------------------------------------
   POLICES — servies depuis ce domaine, pas de requête tierce.
   Fichiers variables (un par famille et par jeu de caractères),
   licence SIL Open Font License 1.1 : voir /fonts/LICENSE.txt.
   ------------------------------------------------------------ */
/* Sora — latin */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/sora-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sora — latin-ext */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/sora-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope — latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope — latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* --- Variables --- */
:root {
  color-scheme: light dark;

  /* Ciel / surfaces */
  --sky-50:   #F4FAFF;
  --sky-100:  #DDF1FE;
  --sky-200:  #C9E6FA;
  --sky-300:  #AFD8F4;
  --paper:    #FFFFFF;
  --paper-2:  #F7FAFD;

  /* Encre */
  --ink-900:  #0D1730;
  --ink-800:  #16233F;
  --ink-700:  #27364F;
  --ink-500:  #566A8C;
  --ink-400:  #7F8FAB;

  /* Indigo (accent) */
  --indigo-50:  #EEF2FE;
  --indigo-100: #DDE5FD;
  --indigo-200: #C2D0FB;
  --indigo-300: #97ADFF;
  --indigo-500: #3E63DD;
  --indigo-600: #3050C0;
  --indigo-700: #26409B;

  /* Rubans de l'identité */
  --mint:     #A8E6DC;
  --azure:    #9CC8F0;
  --peri:     #B9C8F5;

  /* Échelle de qualité de l'air (réservée aux données) */
  --level-good:      #2FAF7C;
  --level-fair:      #9BC53D;
  --level-moderate:  #E3B23C;
  --level-poor:      #E2703A;
  --level-verypoor:  #D0455B;
  --level-extreme:   #8E4585;

  --line:       #DCE7F2;
  --line-soft:  #E9F1F8;

  --radius-card: 22px;
  --radius-cta:  14px;
  --radius-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(13,23,48,.04), 0 10px 28px rgba(13,23,48,.06);
  --shadow-card: 0 2px 6px rgba(13,23,48,.05), 0 22px 50px rgba(13,23,48,.12);
  --shadow-cta:  0 12px 28px rgba(62,99,221,.30);

  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky-50:   #0B1220;
    --sky-100:  #0E1729;
    --sky-200:  #142238;
    --sky-300:  #1B2C46;
    --paper:    #111C31;
    --paper-2:  #0E1729;

    --ink-900:  #EEF4FC;
    --ink-800:  #E1EAF6;
    --ink-700:  #CBD8EA;
    --ink-500:  #93A6C2;
    --ink-400:  #7A8CA8;

    --indigo-50:  #172449;
    --indigo-100: #1D2F5C;
    --indigo-200: #26407F;
    --indigo-300: #97ADFF;
    --indigo-500: #6E8CF5;
    --indigo-600: #8AA2F8;
    --indigo-700: #AFC0FB;

    --line:      #22314B;
    --line-soft: #1B2840;

    --shadow-soft: 0 1px 2px rgba(0,0,0,.30), 0 10px 28px rgba(0,0,0,.32);
    --shadow-card: 0 2px 6px rgba(0,0,0,.35), 0 22px 50px rgba(0,0,0,.45);
    --shadow-cta:  0 12px 28px rgba(62,99,221,.35);
  }
}

/* --- Reset / base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink-700);
  background: var(--sky-50);
  min-height: 100vh;
  overflow-x: hidden;
}

::selection { background: var(--indigo-500); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* --- Conteneur --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

.section-pad { padding-block: 5rem; }
@media (min-width: 768px) { .section-pad { padding-block: 7rem; } }

/* --- Dégradé de texte --- */
.gradient-text {
  background: linear-gradient(115deg, #35B6AE 0%, #4A8FE0 48%, #6E7BF0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Boutons --- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius-cta);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4A72E8 0%, #3050C0 100%);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-secondary {
  color: var(--ink-900);
  background: var(--paper);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { transform: translateY(-1px); border-color: var(--indigo-300); color: var(--indigo-600); }

/* --- Badge --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--indigo-700);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-100);
  border-radius: var(--radius-pill);
}
.eyebrow svg { color: var(--indigo-500); }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms cubic-bezier(.16,1,.3,1), transform 700ms cubic-bezier(.16,1,.3,1);
}
.fade-up.visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.float-anim { animation: float 7s ease-in-out infinite; }

@keyframes breathe {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: .85; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .float-anim, .phone-halo { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--sky-50) 82%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
@media (min-width: 768px) { .site-header .container { height: 80px; } }

.logo { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; }
.logo img {
  height: 34px; width: 34px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.logo .wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  white-space: nowrap;
}
@media (min-width: 768px) { .logo img { height: 38px; width: 38px; } .logo .wordmark { font-size: 1.2rem; } }

.header-right { display: flex; align-items: center; gap: .75rem; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.lang-switch a {
  padding: .3rem .7rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--ink-400);
  border-radius: var(--radius-pill);
  transition: background 200ms, color 200ms;
}
.lang-switch a:hover { color: var(--ink-900); }
.lang-switch a[aria-current="true"] { background: var(--indigo-500); color: #fff; }

.header-cta { display: none; }
@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1.15rem;
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
    background: var(--ink-900);
    border-radius: var(--radius-cta);
    transition: background 200ms;
  }
  .header-cta:hover { background: var(--indigo-600); }
}
@media (prefers-color-scheme: dark) {
  .header-cta { color: var(--sky-100); background: var(--indigo-500); }
  .header-cta:hover { background: var(--indigo-600); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: 3rem; }
@media (min-width: 768px) { .hero { padding-top: 4.5rem; } }

.hero-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 82% 8%,  rgba(168,230,220,.55), transparent 62%),
    radial-gradient(ellipse 65% 50% at 12% 22%, rgba(156,200,240,.45), transparent 60%),
    radial-gradient(ellipse 80% 60% at 55% 0%,  rgba(185,200,245,.40), transparent 68%),
    linear-gradient(180deg, var(--sky-100) 0%, var(--sky-50) 72%);
}
@media (prefers-color-scheme: dark) {
  .hero-sky {
    background:
      radial-gradient(ellipse 70% 55% at 82% 8%,  rgba(62,99,221,.22), transparent 62%),
      radial-gradient(ellipse 65% 50% at 12% 22%, rgba(46,138,160,.16), transparent 60%),
      linear-gradient(180deg, var(--sky-200) 0%, var(--sky-50) 72%);
  }
}

/* Rubans décoratifs de l'identité */
.hero-ribbons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
}
.hero-ribbons svg { width: 140%; height: 100%; margin-left: -20%; }
/* En thème sombre, les rubans pastel deviennent des bandes grises : on les efface. */
@media (prefers-color-scheme: dark) { .hero-ribbons { opacity: .16; } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 3rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; padding-bottom: 6rem; }
}

.hero-copy { min-width: 0; }
.hero-copy h1 {
  margin-top: 1.5rem;
  font-size: 2.5rem;
  line-height: 1.06;
}
@media (min-width: 768px)  { .hero-copy h1 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero-copy h1 { font-size: 3.9rem; } }

.hero-copy .lede {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-500);
}
@media (min-width: 768px) { .hero-copy .lede { font-size: 1.2rem; } }

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: .85rem;
  line-height: 1.6;
  color: var(--ink-400);
}

.hero-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.25rem;
  margin-top: 2.25rem;
  font-size: .9rem;
  color: var(--ink-500);
  list-style: none;
}
@media (min-width: 640px) { .hero-checklist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero-checklist li { display: flex; align-items: center; gap: .5rem; font-weight: 600; min-width: 0; }
.hero-checklist .check { color: var(--indigo-500); flex-shrink: 0; }

/* ============================================================
   MOCKUP TÉLÉPHONE (dessiné, pas une capture)
   ============================================================ */
.hero-phone-wrap { display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-phone-wrap { justify-content: flex-end; } }

.phone-stage { position: relative; }

.phone-halo {
  position: absolute;
  inset: -3rem;
  z-index: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168,230,220,.65), rgba(156,200,240,.5), rgba(185,200,245,.65));
  filter: blur(48px);
  animation: breathe 9s ease-in-out infinite;
}

/* Châssis de l'appareil.
   Les proportions viennent de l'iPhone que montrent les captures : sur un
   écran de 393 pt de large, les coins sont arrondis à environ 55 pt, soit
   14 % de la largeur. Le rayon extérieur reprend ce rayon augmenté de
   l'épaisseur du cadre — deux arrondis concentriques, sans quoi la tranche
   paraît plus épaisse dans les angles que sur les côtés, et l'œil le voit
   même sans savoir pourquoi. */
.phone-frame {
  --cadre: 11px;
  --rayon-ecran: 38px;

  position: relative;
  z-index: 1;
  width: 288px;
  max-width: 100%;
  padding: var(--cadre);
  border-radius: calc(var(--rayon-ecran) + var(--cadre));
  /* Le métal ne se rend pas par un dégradé continu : il tient aux reflets
     rasants sur les deux tranches, très clairs et très étroits, séparés par
     une zone sombre. */
  background: linear-gradient(150deg,
    #6a7796 0%, #3a4460 5%, #222a41 13%,
    #161c2d 38%, #131828 62%,
    #222a41 87%, #3a4460 95%, #6a7796 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 1px 1px rgba(255, 255, 255, .22),
    0 2px 5px rgba(13, 23, 48, .30),
    0 26px 50px -14px rgba(13, 23, 48, .50);
}
@media (max-width: 359px) { .phone-frame { width: 100%; } }
@media (min-width: 640px) { .phone-frame { width: 306px; } }

/* Boutons de tranche. Leurs positions sont celles de l'appareil, ramenées à
   l'échelle du cadre : bouton Action puis les deux touches de volume à
   gauche, bouton latéral à droite. Purement décoratifs, donc invisibles aux
   lecteurs d'écran — ils n'ont aucun contenu à annoncer. */
.phone-frame::before,
.phone-frame::after,
.phone-side {
  content: "";
  position: absolute;
  width: 3px;
  background: linear-gradient(90deg, #46516e, #232b40);
  pointer-events: none;
}

/* Bouton Action : le plus court des trois. */
.phone-frame::before {
  left: -2px;
  top: 116px;
  height: 19px;
  border-radius: 2px 0 0 2px;
}

/* Volume haut, et volume bas cinquante et un pixels plus bas — une ombre
   portée sans flou dessine le second à l'identique. */
.phone-frame::after {
  left: -2px;
  top: 150px;
  height: 41px;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 51px 0 #2b3349;
}

/* Bouton latéral, en face des volumes mais plus long. */
.phone-side {
  right: -2px;
  top: 150px;
  height: 64px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #232b40, #46516e);
}

.phone-screen {
  position: relative;
  border-radius: var(--rayon-ecran);
  overflow: hidden;
  background: #F5FAFF;
  /* La vitre est posée dans le châssis, pas au ras : ce liseré sombre est la
     seule chose qui empêche la capture de sembler collée sur une découpe. */
  box-shadow:
    inset 0 0 0 1px rgba(8, 14, 28, .55),
    0 0 0 1px rgba(255, 255, 255, .07);
}

/* La capture donne sa hauteur au cadre : aucune valeur fixe à tenir à jour
   quand l'écran de l'appareil change de proportions. */
.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   BANDE DE CONFIANCE
   ============================================================ */
.trust {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--paper) 60%, transparent);
}
.trust .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 2.5rem; padding-block: 1.5rem; text-align: center;
}
.trust .item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--ink-500); }
.trust .item svg { color: var(--indigo-500); flex-shrink: 0; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section-head { max-width: 44rem; margin-inline: auto; text-align: center; margin-bottom: 3.5rem; }
.section-head h2 { font-size: 2rem; }
@media (min-width: 768px) { .section-head h2 { font-size: 2.6rem; } }
.section-head p { margin-top: 1rem; font-size: 1.075rem; line-height: 1.7; color: var(--ink-500); }

.features { background: var(--sky-50); }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--indigo-200); }
.feature-ic {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 15px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: 1.1rem;
}
.feature-card.premium .feature-ic {
  background: linear-gradient(135deg, rgba(168,230,220,.35), rgba(185,200,245,.45));
  color: var(--indigo-700);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature-card p { font-size: .95rem; line-height: 1.65; color: var(--ink-500); }
.feature-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: 1rem; padding: .25rem .65rem;
  border-radius: var(--radius-pill);
  background: var(--indigo-50);
  border: 1px solid var(--indigo-100);
  color: var(--indigo-700);
  font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
}

/* --- Sources de données --- */
.sources { background: var(--sky-100); }
@media (prefers-color-scheme: dark) { .sources { background: var(--sky-200); } }
.source-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .source-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.source-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.source-card .src-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink-900); }
.source-card .src-role { margin-top: .15rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--indigo-600); }
.source-card p { margin-top: .75rem; font-size: .92rem; line-height: 1.6; color: var(--ink-500); }

/* --- Étapes --- */
.steps { background: var(--sky-50); }
.step-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .step-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-soft);
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: linear-gradient(135deg, #4A8FE0, #3E63DD);
  color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-cta);
}
.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; line-height: 1.65; color: var(--ink-500); }

/* --- Échelle des niveaux --- */
.scale-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) { .scale-strip { grid-template-columns: repeat(6, minmax(0,1fr)); } }
.scale-item {
  border-radius: 14px;
  padding: .8rem .6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.scale-item .dot { width: 12px; height: 12px; border-radius: 50%; margin: 0 auto .45rem; }
.scale-item .lbl { font-size: .74rem; font-weight: 800; color: var(--ink-700); }

/* ============================================================
   PREMIUM
   ============================================================ */
.pricing { background: var(--sky-50); }
.price-card {
  max-width: 48rem;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(160deg, #16233F 0%, #1E3060 60%, #24356B 100%);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .price-card { padding: 3.5rem 3rem; } }
.price-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 0%,  rgba(168,230,220,.30), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(151,173,255,.35), transparent 50%);
  pointer-events: none;
}
.price-card > * { position: relative; }
.price-card .eyebrow { color: #C9D6FF; background: rgba(151,173,255,.14); border-color: rgba(151,173,255,.28); }
.price-card h2 { color: #fff; font-size: 2rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .price-card h2 { font-size: 2.4rem; } }
.price-sub { margin-top: 1rem; color: rgba(255,255,255,.74); font-size: 1.05rem; line-height: 1.65; }

.price-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  margin: 2rem auto 0;
  max-width: 30rem;
  text-align: left;
}
@media (min-width: 640px) { .price-benefits { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.price-benefits li { display: flex; align-items: flex-start; gap: .55rem; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.88); list-style: none; }
.price-benefits svg { color: #A8E6DC; flex-shrink: 0; margin-top: .15rem; }

.price-tiers { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.price-tier {
  flex: 1 1 12rem; max-width: 15rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 1.25rem;
}
.price-tier.best { border-color: rgba(168,230,220,.6); background: rgba(168,230,220,.10); }
.price-tier .t-name { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.7); }
.price-tier .t-amount { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-top: .4rem; }
.price-tier .t-note { margin-top: .35rem; font-size: .76rem; color: #A8E6DC; font-weight: 700; }
.price-legal { margin-top: 1.75rem; font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.65; }
.price-legal a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.75); }
@media (prefers-color-scheme: dark) { .site-footer { background: #070D1B; } }
.footer-simple {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem; padding-block: 2.75rem; text-align: center;
}
.footer-simple .logo .wordmark { color: #fff; }
.footer-simple .logo img { box-shadow: none; }
.footer-simple p { font-size: .875rem; color: rgba(255,255,255,.6); }
.footer-simple p a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px; transition: color 200ms; }
.footer-simple p a:hover { color: #A8E6DC; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .05em; transition: color 200ms; }
.footer-legal a:hover { color: #A8E6DC; }
.footer-attrib { font-size: .74rem; color: rgba(255,255,255,.42); line-height: 1.6; max-width: 46rem; }
.footer-attrib a { color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal-page { background: var(--sky-50); }

.legal-back {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 600; color: var(--ink-400);
  transition: color 200ms;
}
.legal-back:hover { color: var(--indigo-600); }

.legal-header { margin-bottom: 3rem; }
.legal-header h1 { margin-top: 1.5rem; font-size: 2.1rem; }
@media (min-width: 768px) { .legal-header h1 { font-size: 2.9rem; } }
.legal-header .updated { margin-top: .75rem; font-size: .875rem; color: var(--ink-400); }

.prose { color: var(--ink-700); font-size: 1rem; line-height: 1.75; }
.prose h2 { font-size: 1.45rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.1rem; margin-top: 1.75rem; margin-bottom: .5rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul { margin-bottom: 1rem; padding-left: 1.25rem; list-style: disc; }
.prose ol { margin-bottom: 1rem; padding-left: 1.25rem; list-style: decimal; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose a { color: var(--indigo-600); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--indigo-700); }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--indigo-50); padding: .1em .35em; border-radius: 5px; }

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-block: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.info-card p:last-child { margin-bottom: 0; }
.info-card.accent { border-color: var(--indigo-200); background: var(--indigo-50); }
.info-card.warn { border-color: rgba(226,112,58,.35); background: rgba(226,112,58,.07); }

.table-wrap { overflow-x: auto; margin-block: 1.5rem; -webkit-overflow-scrolling: touch; }
.legal-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.legal-table th, .legal-table td { padding: .7rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.legal-table th { background: var(--indigo-50); color: var(--ink-900); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.legal-table tr:last-child td { border-bottom: none; }

/* Sommaire */
.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-soft);
}
.toc h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-400); margin: 0 0 .75rem; font-family: var(--font-body); font-weight: 800; }
.toc ol { columns: 1; margin: 0; padding-left: 1.1rem; font-size: .9rem; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 2rem; } }
.toc li { margin-bottom: .3rem; break-inside: avoid; }
.toc a { color: var(--ink-500); text-decoration: none; }
.toc a:hover { color: var(--indigo-600); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   CONTACT / SUPPORT
   ============================================================ */
.support-hero { background: var(--sky-100); padding: 4rem 0 5rem; }
@media (min-width: 768px) { .support-hero { padding: 5.5rem 0 6.5rem; } }
@media (prefers-color-scheme: dark) { .support-hero { background: var(--sky-200); } }

.contact-card {
  margin-top: 3rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--indigo-50), var(--paper));
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .contact-card { padding: 2.5rem; } }
.contact-card-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
@media (min-width: 768px) { .contact-card-inner { flex-direction: row; align-items: flex-start; text-align: left; gap: 2rem; } }
.contact-icon {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 4rem; height: 4rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #4A8FE0, #3E63DD);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.contact-card h2 { font-size: 1.2rem; }
.contact-card p { margin-top: .5rem; line-height: 1.6; color: var(--ink-500); }
.contact-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem; padding: .75rem 1.25rem;
  font-weight: 700; color: #fff;
  background: var(--ink-900);
  border-radius: var(--radius-cta);
  transition: background 200ms;
}
.contact-btn:hover { background: var(--indigo-600); }
@media (prefers-color-scheme: dark) { .contact-btn { background: var(--indigo-500); color: #0B1220; } }

.support-faq { background: var(--sky-50); padding: 4rem 0 6rem; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
details.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: border-color 200ms, box-shadow 200ms;
}
details.faq-item[open] { border-color: var(--indigo-200); box-shadow: var(--shadow-card); }
details.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 700; color: var(--ink-900);
}
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--indigo-500); transition: transform 200ms; }
details.faq-item[open] .faq-chevron { transform: rotate(180deg); }
details.faq-item p { padding-bottom: 1.5rem; line-height: 1.7; color: var(--ink-500); }
details.faq-item p a { color: var(--indigo-600); text-decoration: underline; text-underline-offset: 3px; }
.faq-footer {
  margin-top: 3rem; padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-align: center; font-size: .9rem; color: var(--ink-500);
  box-shadow: var(--shadow-soft);
}
.faq-footer a { font-weight: 700; color: var(--indigo-600); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   404
   ============================================================ */
.notfound {
  min-height: 70vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.25rem;
}
.notfound .code {
  font-family: var(--font-display);
  font-size: 5.5rem; font-weight: 600; line-height: 1;
  background: linear-gradient(115deg, #35B6AE, #4A8FE0, #6E7BF0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.notfound h1 { font-size: 1.7rem; margin-top: 1rem; }
.notfound p { margin-top: .75rem; color: var(--ink-500); max-width: 28rem; }
.notfound .btn-primary { margin-top: 2rem; }

/* --- Accessibilité --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus {
  position: fixed; width: auto; height: auto;
  top: 1rem; left: 1rem; z-index: 50;
  padding: .5rem 1rem; margin: 0; overflow: visible;
  clip: auto; white-space: normal;
  background: var(--indigo-600); color: #fff;
  border-radius: .5rem; box-shadow: var(--shadow-card);
}

/* ============================================================
   GALERIE DES ÉCRANS
   ============================================================ */
.shots { background: var(--sky-50); }
.shot-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) { .shot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.shot { text-align: center; }
.shot figure {
  margin: 0;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(160deg, #223050, #0D1730);
  box-shadow: var(--shadow-card);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.shot figcaption {
  margin-top: 1rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink-700);
}
.shot p {
  margin-top: .35rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-500);
}
