/* ============================================================
   Respi.info — site fr.respi.info (consolidé)
   Charte éditoriale : Inter (sans) + Playfair Display (serif emphase)
   Inspiré de l'affiche A4 + flyer triptyque + écrans réels iOS dark
   ============================================================ */

:root {
  /* Palette */
  --bleu: #4A90E2;
  --bleu-deep: #2E6CB6;
  --bleu-encre: #1F3A52;
  --bleu-nuit: #0D1B2A;
  --bleu-nuit-2: #0A1626;
  --bleu-doux: #EAF3FC;

  --sauge: #7EB09B;
  --sauge-deep: #5B8B75;
  --sauge-doux: #E8F1EC;

  --ambre: #E8A83F;
  --ambre-doux: #FCF2E0;
  --corail: #E07856;
  --corail-doux: #FDEDE7;
  --teal: #4FD1C5;

  /* Texte */
  --texte: #1F3A52;
  --texte-doux: #5B7185;
  --texte-tres-doux: #8FA0B0;

  /* Fonds */
  --fond: #F7FAFC;
  --fond-creme: #FCFAF6;
  --blanc: #FFFFFF;

  /* Layout */
  --max: 1140px;
  --max-narrow: 920px;

  /* Typo */
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Helvetica Neue", Arial, sans-serif;

  /* Animation */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
a { color: var(--bleu-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   Header — nav horizontale + CTA
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(46, 108, 182, 0.06);
}
.site-header-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 9px; box-shadow: 0 4px 14px rgba(46, 108, 182, 0.12); }
.brand-txt {
  font-size: 18px; font-weight: 700;
  color: var(--bleu-encre); letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-txt small {
  display: block;
  font-size: 11px; font-weight: 500;
  color: var(--texte-doux); letter-spacing: 0.06em;
  text-transform: uppercase; margin-top: 2px;
}

/* Nav horizontale — liens en pills subtils */
.r-nav {
  display: flex; flex: 1; align-items: center; justify-content: center;
  gap: 4px; flex-wrap: wrap;
}
.r-nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14.5px; font-weight: 600;
  color: var(--texte-doux);
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
  white-space: nowrap;
}
.r-nav a:hover {
  color: var(--bleu-encre); background: var(--bleu-doux);
  text-decoration: none;
}
.r-nav a.is-active {
  color: var(--bleu-deep); background: var(--bleu-doux);
}

.r-cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--blanc); background: var(--bleu-encre);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.18s var(--ease), transform 0.12s var(--ease);
}
.r-cta-pill:hover { background: var(--bleu-deep); color: var(--blanc); text-decoration: none; transform: translateY(-1px); }

/* Bouton burger mobile (caché sur desktop) */
.r-nav-toggle {
  display: none;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(46, 108, 182, 0.16);
  border-radius: 999px;
  padding: 9px 12px;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  gap: 4px;
}
.r-nav-toggle span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--bleu-encre);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.18s var(--ease);
}
.r-nav-toggle span + span { margin-top: 4px; }

/* Mobile : nav repliée derrière un burger */
@media (max-width: 940px) {
  .site-header-inner { gap: 12px; }
  .brand-txt small { display: none; }
  .r-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    background: var(--blanc);
    border-bottom: 1px solid rgba(46, 108, 182, 0.1);
    box-shadow: 0 12px 32px rgba(46, 108, 182, 0.08);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s var(--ease), opacity 0.18s var(--ease), padding 0.3s var(--ease);
    pointer-events: none;
  }
  .r-nav.is-open {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }
  .r-nav a {
    width: 100%;
    padding: 14px 16px;
    text-align: left;
    border-radius: 10px;
    font-size: 16px;
  }
  .r-nav-toggle { display: inline-flex; }
  .r-nav-toggle.is-open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
  .r-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .r-nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
  .r-cta-pill { padding: 9px 16px; font-size: 13.5px; }
}

@media (max-width: 520px) {
  .r-cta-pill { display: none; }
  .brand-txt { font-size: 16px; }
}

/* ============================================================
   Boutons (génériques)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px;
  font-family: var(--sans);
  font-size: 15.5px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.12s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--bleu-encre); color: var(--blanc); border-color: var(--bleu-encre); }
.btn.primary:hover { background: var(--bleu-deep); color: var(--blanc); }
.btn.secondary { background: transparent; color: var(--bleu-encre); border-color: var(--bleu-encre); }
.btn.secondary:hover { background: var(--bleu-encre); color: var(--blanc); }
.btn.ghost { background: transparent; color: var(--bleu-deep); border-color: rgba(46, 108, 182, 0.25); }
.btn.ghost:hover { background: var(--bleu-doux); }
.btn.light { background: var(--blanc); color: var(--bleu-encre); border-color: var(--blanc); }
.btn.light:hover { background: var(--bleu-doux); color: var(--bleu-encre); }
.btn.outline-light { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,0.5); }
.btn.outline-light:hover { background: rgba(255,255,255,0.1); color: var(--blanc); }

/* ============================================================
   Sections génériques
   ============================================================ */
.section { padding: 88px 24px; }
.section--soft { background: var(--bleu-doux); }
.section--sage { background: var(--sauge-doux); }
.section--cream { background: var(--fond-creme); }
.section--nuit { background: var(--bleu-nuit); color: rgba(255,255,255,0.92); }
.section--nuit h2, .section--nuit h3 { color: var(--blanc); }
.section--nuit .lead { color: rgba(255,255,255,0.78); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-inner--narrow { max-width: var(--max-narrow); margin: 0 auto; }
.section-head--center { max-width: 720px; margin: 0 auto; text-align: center; }

@media (max-width: 720px) { .section { padding: 60px 22px; } }

/* ============================================================
   iPhone frame — wrapper pour capture .png réelle
   ============================================================ */
/* Mockup iPhone — frame réaliste avec Dynamic Island, finition titane,
   reflets latéraux, ombre profonde. */
.r-iphone-frame {
  display: inline-block;
  position: relative;
  width: 290px;
  padding: 12px;
  background:
    linear-gradient(155deg,
      #3a3a3a 0%,
      #1a1a1a 18%,
      #0a0a0a 50%,
      #1f1f1f 82%,
      #2a2a2a 100%);
  border-radius: 52px;
  box-shadow:
    0 40px 80px -20px rgba(13, 27, 42, 0.45),
    0 20px 40px -12px rgba(13, 27, 42, 0.25),
    0 4px 8px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 0 2.5px #050505,
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  isolation: isolate;
}

/* Dynamic Island — pastille noire centrée en haut */
.r-iphone-frame::before {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 95px; height: 27px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Bouton power côté droit */
.r-iphone-frame::after {
  content: "";
  position: absolute;
  right: -2px; top: 22%;
  width: 3px; height: 70px;
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.06);
}

/* Image (capture iPhone) à l'intérieur de la frame */
.r-iphone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 40px;
  position: relative;
  z-index: 1;
}

/* Variante petite */
.r-iphone-frame--small {
  width: 230px;
  padding: 10px;
  border-radius: 44px;
}
.r-iphone-frame--small::before {
  top: 18px;
  width: 78px; height: 22px;
}
.r-iphone-frame--small::after {
  width: 2.5px; height: 56px;
}
.r-iphone-frame--small img {
  border-radius: 34px;
}

/* Boutons volume gauche : ajoutés via 2 pseudos sur un wrapper enfant */
.r-iphone-frame .r-iphone-buttons {
  position: absolute;
  left: -2px; top: 18%;
  width: 3px; height: 130px;
  z-index: 0;
}
.r-iphone-frame .r-iphone-buttons::before,
.r-iphone-frame .r-iphone-buttons::after {
  content: "";
  position: absolute;
  left: 0; width: 3px;
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
  border-radius: 2px 0 0 2px;
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.06);
}
.r-iphone-frame .r-iphone-buttons::before { top: 0; height: 32px; }
.r-iphone-frame .r-iphone-buttons::after  { top: 50px; height: 60px; }

@media (max-width: 880px) {
  .r-iphone-frame { width: 240px; padding: 10px; border-radius: 46px; }
  .r-iphone-frame::before { width: 78px; height: 22px; top: 18px; }
  .r-iphone-frame img { border-radius: 36px; }
  .r-iphone-frame--small { width: 210px; padding: 9px; border-radius: 40px; }
  .r-iphone-frame--small::before { width: 70px; height: 20px; top: 16px; }
  .r-iphone-frame--small img { border-radius: 31px; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--bleu-deep);
  margin: 0 0 18px;
}
.eyebrow--sauge { color: var(--sauge-deep); }
.eyebrow--ambre { color: #b07820; }
.eyebrow--corail { color: #b85a3d; }
.eyebrow--blanc { color: rgba(255,255,255,0.85); }

h1, h2, h3, h4 { letter-spacing: -0.005em; margin: 0; }
.h-serif {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  color: var(--bleu-encre);
}
.h-serif em, .h-serif .it {
  font-style: italic;
  color: var(--bleu-deep);
  font-weight: 500;
}
h1.h-serif { font-size: clamp(40px, 6.5vw, 76px); }
h2.h-serif { font-size: clamp(30px, 4.5vw, 52px); line-height: 1.12; }
h3.h-serif { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.2; }

p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--texte-doux);
  max-width: 640px;
  margin: 0 0 18px;
}
p { margin: 0 0 16px; }

/* ============================================================
   Hero éditorial
   ============================================================ */
.hero {
  position: relative;
  padding: 90px 24px 70px;
  background:
    radial-gradient(circle at 78% -10%, rgba(126, 176, 155, 0.18), transparent 55%),
    radial-gradient(circle at -5% 110%, rgba(74, 144, 226, 0.18), transparent 55%),
    var(--fond);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }
.hero h1 { margin-bottom: 22px; }
.hero-lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--texte-doux);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-lede strong { color: var(--texte); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 18px; }
.hero-pathologies {
  display: inline-flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 13px; color: var(--texte-doux);
  letter-spacing: 0.04em;
}
.hero-pathologies strong {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bleu-deep);
  margin-right: 4px;
}
.hero-pathologies span::after { content: " · "; color: var(--texte-tres-doux); margin: 0 2px; }
.hero-pathologies span:last-child::after { content: ""; }

/* ============================================================
   iPhone mockup — frame réaliste, écrans dark mode fidèles
   ============================================================ */
.mockup-stage { display: flex; justify-content: center; align-items: center; position: relative; }

.iphone {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  background: var(--bleu-nuit-2);
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(13, 27, 42, 0.35),
    0 10px 20px rgba(13, 27, 42, 0.18),
    inset 0 0 0 1.5px rgba(255,255,255,0.07);
  margin: 0 auto;
}
.iphone--small { width: 230px; }
.iphone::before {
  content: "";
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #000; border-radius: 16px;
  z-index: 5;
}
.iphone--small::before { width: 88px; height: 22px; top: 9px; }

.iphone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  background: var(--bleu-nuit);
  color: rgba(255,255,255,0.92);
  padding: 38px 14px 60px;
  font-size: 12.5px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  overflow: hidden;
}
.iphone--small .iphone-screen { border-radius: 26px; padding: 30px 11px 50px; font-size: 11px; gap: 8px; }

.iphone-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.iphone--small .iphone-status { font-size: 9.5px; }

.iphone-app-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.iphone-app-bar .brand-mini {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #4FA3E0;
}
.iphone-app-bar .brand-mini::before {
  content: "🍃"; font-size: 14px;
}
.iphone--small .iphone-app-bar .brand-mini { font-size: 11px; }
.iphone--small .iphone-app-bar .brand-mini::before { font-size: 12px; }

.iphone-pill {
  background: rgba(232, 168, 63, 0.18);
  color: #FFD18A;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 4px;
}
.iphone--small .iphone-pill { font-size: 8.5px; padding: 3px 8px; }
.iphone-pill::before { content: "💨"; font-size: 9px; }

.iphone-greeting {
  font-family: var(--serif);
  font-size: 24px; font-weight: 600;
  color: var(--blanc);
  letter-spacing: -0.01em; line-height: 1.1;
  margin: 8px 0 0;
}
.iphone-date {
  font-size: 11px; color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.iphone--small .iphone-greeting { font-size: 17px; }
.iphone--small .iphone-date { font-size: 9px; }

/* Carte météo respiratoire — bleu vif */
.iphone-day-card {
  background: linear-gradient(160deg, #2E6CB6 0%, #4A90E2 100%);
  border-radius: 16px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.iphone-card-eyebrow {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.iphone-card-title {
  font-size: 14px; font-weight: 600; color: var(--blanc);
  letter-spacing: -0.005em;
}
.iphone--small .iphone-card-title { font-size: 12px; }

.iphone-score {
  display: flex; align-items: center; gap: 14px;
  margin-top: 4px;
}
.iphone-score-circle {
  width: 78px; height: 78px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background:
    conic-gradient(rgba(255,255,255,0.85) 0 62%, rgba(255,255,255,0.18) 62% 100%);
  flex: 0 0 78px;
}
.iphone-score-circle::before {
  content: "";
  position: absolute; inset: 6px;
  background: linear-gradient(160deg, #2E6CB6 0%, #4A90E2 100%);
  border-radius: 50%;
}
.iphone-score-num {
  position: relative;
  font-family: var(--serif);
  font-size: 28px; font-weight: 700;
  color: var(--blanc);
}
.iphone-score-sub {
  position: absolute; bottom: 14px;
  font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.iphone--small .iphone-score-circle { width: 62px; height: 62px; flex-basis: 62px; }
.iphone--small .iphone-score-num { font-size: 22px; }

.iphone-score-pills {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 10.5px;
}
.iphone-mini-pill {
  background: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px;
}
.iphone--small .iphone-mini-pill { font-size: 9px; padding: 3px 8px; }
.iphone-mini-pill.amb { background: rgba(232, 168, 63, 0.28); color: #FFE5B4; }

/* Carte Coach Respi (mode quotidien) */
.iphone-coach-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 11px 13px;
  display: flex; flex-direction: column; gap: 6px;
}
.iphone-coach-card-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #A0C9F2;
}
.iphone-coach-card-eyebrow::before { content: "💬"; font-size: 11px; }
.iphone-coach-card-text { font-size: 12px; color: rgba(255,255,255,0.92); line-height: 1.45; }

/* Indicateur progress bar */
.iphone-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-top: 2px;
}
.iphone-bar {
  height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px;
  position: relative; overflow: hidden;
}
.iphone-bar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 67%;
  background: linear-gradient(90deg, var(--ambre), #f5c067);
  border-radius: 2px;
}

/* Tabbar iOS-style */
.iphone-tabbar {
  position: absolute; bottom: 14px; left: 12px; right: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 7px 6px;
  display: flex; justify-content: space-around;
  font-size: 10px; color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.iphone-tabbar span.is-active {
  color: var(--blanc);
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 999px;
}
.iphone--small .iphone-tabbar { padding: 5px 4px; font-size: 8.5px; }

/* Variante : page Coach (Souffle du jour citation italique) */
.iphone-souffle-card {
  background: linear-gradient(160deg, #4A90E2 0%, #6BA9E8 100%);
  border-radius: 16px;
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
}
.iphone-souffle-card::before {
  content: "“"; position: absolute; top: -10px; left: 6px;
  font-family: var(--serif); font-size: 80px;
  color: rgba(255,255,255,0.18); line-height: 1;
}
.iphone-souffle-eyebrow {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.iphone-souffle-eyebrow::before {
  content: ""; display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blanc);
}
.iphone-souffle-text {
  font-family: var(--serif);
  font-size: 16px; font-weight: 500;
  color: var(--blanc); line-height: 1.25;
  letter-spacing: -0.005em;
}
.iphone-souffle-btn {
  margin-top: 14px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--blanc);
}
.iphone-souffle-btn small {
  display: block; font-size: 9.5px; font-weight: 500;
  color: rgba(255,255,255,0.78); margin-top: 2px;
}

/* Variante Tube de respiration (cocon vert teal) */
.iphone-screen.cocoon {
  background: radial-gradient(ellipse at center, #0E2434 0%, var(--bleu-nuit) 70%);
}
.iphone-tube {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  margin: 12px 0;
}
.iphone-tube-shape {
  width: 30px; height: 130px;
  border-radius: 999px;
  background: linear-gradient(180deg,
    rgba(79, 209, 197, 0.05) 0%,
    rgba(79, 209, 197, 0.15) 100%);
  border: 1px solid rgba(79, 209, 197, 0.18);
  position: relative;
  overflow: hidden;
}
.iphone-tube-bubble {
  position: absolute;
  width: 22px; height: 22px;
  left: 4px;
  top: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6BE5D4, #2BAFA1);
  box-shadow: 0 0 20px rgba(79, 209, 197, 0.5);
}
.iphone-tube-label {
  font-size: 16px; font-weight: 600; color: var(--blanc);
}
.iphone-tube-cycle {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.iphone-tube-time {
  font-size: 26px; font-weight: 300;
  color: var(--blanc);
  font-variant-numeric: tabular-nums;
}

/* Variante "3 prochains pas" */
.iphone-pas-card {
  background: linear-gradient(160deg, #2E6CB6 0%, #4A90E2 100%);
  border-radius: 16px;
  padding: 14px;
}
.iphone-pas-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.iphone-pas-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11px; color: var(--blanc);
}
.iphone-pas-percent {
  font-family: var(--serif);
  font-size: 14px; font-weight: 600; color: var(--blanc);
  min-width: 28px;
}
.iphone-pas-arrow {
  margin-left: auto; color: rgba(255,255,255,0.6); font-size: 14px;
}

/* Variante "Ma semaine respiratoire" */
.iphone-week-card {
  background: linear-gradient(160deg, #2E6CB6 0%, #4A90E2 100%);
  border-radius: 16px;
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  align-items: center;
}
.iphone-week-circle {
  position: relative;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--blanc) 0 86%, rgba(255,255,255,0.18) 86% 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.iphone-week-circle::before {
  content: "";
  position: absolute; inset: 5px;
  border-radius: 50%;
  background: linear-gradient(160deg, #2E6CB6 0%, #4A90E2 100%);
}
.iphone-week-num {
  position: relative;
  font-family: var(--serif); font-weight: 700;
  font-size: 26px; color: var(--blanc);
  line-height: 1;
}
.iphone-week-sub {
  position: relative;
  font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.75);
  margin-top: 2px;
}
.iphone-week-stats { display: flex; flex-direction: column; gap: 5px; }
.iphone-week-stat {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 8px;
}
.iphone-week-stat-eb {
  font-size: 8px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.iphone-week-stat-val {
  font-size: 11px; font-weight: 600; color: var(--blanc);
}

/* ============================================================
   Parcours — grille magazine 6 écrans
   ============================================================ */
.parcours-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  margin-top: 56px;
}
.parcours-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.parcours-row.flip { grid-template-columns: 1fr 1fr; }
.parcours-row.flip > .parcours-text { order: 2; }
@media (max-width: 880px) {
  .parcours-row, .parcours-row.flip { grid-template-columns: 1fr; gap: 40px; }
  .parcours-row.flip > .parcours-text { order: unset; }
}

.parcours-text { padding: 12px 0; }
.parcours-eyebrow {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bleu-deep);
  margin-bottom: 16px;
}
.parcours-eyebrow.sauge { color: var(--sauge-deep); }
.parcours-eyebrow.ambre { color: #b07820; }
.parcours-eyebrow.corail { color: #b85a3d; }
.parcours-text h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600; line-height: 1.1;
  color: var(--bleu-encre);
  margin-bottom: 14px;
}
.parcours-text h3 em {
  font-style: italic; color: var(--bleu-deep); font-weight: 500;
}
.parcours-text p {
  font-size: 16.5px; color: var(--texte-doux); line-height: 1.6;
  margin-bottom: 12px;
}
.parcours-source {
  font-size: 13px; color: var(--texte-tres-doux);
  font-style: italic;
  margin-top: 12px;
}
.parcours-source strong { color: var(--texte); font-weight: 600; font-style: normal; }

/* ============================================================
   Stores band
   ============================================================ */
.stores-band {
  background: var(--bleu-nuit);
  color: var(--blanc);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.stores-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(126, 176, 155, 0.18), transparent 50%),
    radial-gradient(circle at 0% 110%, rgba(74, 144, 226, 0.22), transparent 55%);
  pointer-events: none;
}
.stores-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
}
@media (max-width: 880px) { .stores-inner { grid-template-columns: 1fr; } }

.stores-inner h2 {
  font-family: var(--serif); font-weight: 600;
  color: var(--blanc);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 14px;
}
.stores-inner h2 em { font-style: italic; color: #B7E0CC; font-weight: 500; }
.stores-inner > div > p {
  color: rgba(255,255,255,0.78);
  font-size: 17px; line-height: 1.6;
  max-width: 520px;
  margin-bottom: 16px;
}
.stores-buttons { display: flex; flex-direction: column; gap: 14px; }

.store-btn {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 20px;
  color: var(--blanc);
  text-decoration: none;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.12s var(--ease);
  position: relative;
}
.store-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); transform: translateY(-1px); text-decoration: none; }
.store-btn[aria-disabled="true"] { opacity: 0.78; cursor: default; }
.store-btn[aria-disabled="true"]:hover { transform: none; background: rgba(255,255,255,0.06); }

.store-btn svg { flex: 0 0 auto; }
.store-btn-txt { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.store-btn-name { font-size: 19px; font-weight: 700; color: var(--blanc); }
.store-btn-soon {
  margin-left: auto;
  background: rgba(232, 168, 63, 0.18);
  color: #FFD18A;
  padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.store-or {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  margin: 6px 0 2px;
}
.store-or::before, .store-or::after {
  content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.1);
}

/* ============================================================
   Cards
   ============================================================ */
.r-cards-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 36px;
}
.r-card {
  background: var(--blanc);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(46, 108, 182, 0.08);
  box-shadow: 0 4px 20px rgba(46, 108, 182, 0.05);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.r-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(46, 108, 182, 0.09); }
.r-card-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bleu-deep);
  margin-bottom: 8px;
}
.r-card-eyebrow--sauge { color: var(--sauge-deep); }
.r-card-eyebrow--ambre { color: #b07820; }
.r-card-eyebrow--corail { color: #b85a3d; }
.r-card h3 {
  font-family: var(--sans);
  font-size: 17px; font-weight: 700;
  margin-bottom: 6px; color: var(--bleu-encre);
}
.r-card p { margin: 0; font-size: 15px; color: var(--texte-doux); line-height: 1.55; }
.r-card a.r-card-link {
  display: inline-block; margin-top: 12px;
  font-weight: 600; font-size: 14px;
}

/* ============================================================
   Public blocks (pour-qui)
   ============================================================ */
.public-block {
  background: var(--blanc);
  border-radius: 22px;
  border: 1px solid rgba(46, 108, 182, 0.08);
  padding: 32px;
  margin-bottom: 24px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px;
  align-items: center;
}
@media (max-width: 880px) { .public-block { grid-template-columns: 1fr; } }
.public-tag {
  display: inline-block;
  background: var(--bleu-doux); color: var(--bleu-deep);
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 12px;
}
.public-block h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600; line-height: 1.15;
  color: var(--bleu-encre);
  margin-bottom: 14px;
}
.public-block h3 em { font-style: italic; color: var(--bleu-deep); font-weight: 500; }
.public-bullets {
  list-style: none; padding: 0; margin: 16px 0;
}
.public-bullets li {
  position: relative; padding-left: 24px; margin: 8px 0;
  color: var(--texte); font-size: 15.5px; line-height: 1.55;
}
.public-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 14px; height: 2px;
  background: var(--bleu-deep);
  border-radius: 2px;
}
.public-side {
  background: linear-gradient(160deg, var(--bleu-doux), var(--sauge-doux));
  border-radius: 16px;
  padding: 22px;
}
.public-side h4 { color: var(--bleu-encre); margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.public-side p { font-size: 14px; color: var(--texte-doux); margin: 0 0 14px; }
.public-side .btn { display: inline-flex; }
.public-side .btn + .btn { margin-top: 8px; }

/* ============================================================
   Steps numérotés (parcours en 6 pas)
   ============================================================ */
.steps {
  counter-reset: step;
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 36px;
}
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px;
  background: var(--blanc); border-radius: 18px;
  padding: 22px 26px;
  border: 1px solid rgba(46, 108, 182, 0.08);
  box-shadow: 0 4px 16px rgba(46, 108, 182, 0.04);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 32px; font-style: italic; font-weight: 500;
  color: var(--bleu-deep); line-height: 1;
}
.step h3 {
  font-family: var(--sans);
  font-size: 18px; font-weight: 700;
  color: var(--bleu-encre);
  margin: 0 0 6px;
}
.step p { margin: 0; color: var(--texte-doux); font-size: 15.5px; line-height: 1.55; }
.step p strong { color: var(--texte); font-weight: 600; }

/* ============================================================
   Sources tiles & partner tags
   ============================================================ */
.sources-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}
.source-tile {
  background: var(--blanc);
  border: 1px solid rgba(46, 108, 182, 0.08);
  border-radius: 14px;
  padding: 22px;
}
.source-tile h4 {
  font-family: var(--sans);
  font-size: 16px; font-weight: 700;
  color: var(--bleu-encre);
  margin: 0 0 4px;
}
.source-tile p {
  font-size: 14px; color: var(--texte-doux); line-height: 1.5;
  margin: 0 0 8px;
}
.source-tile a { font-size: 13.5px; font-weight: 600; }

.partner-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.partner-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blanc);
  border: 1px solid rgba(46, 108, 182, 0.12);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px; font-weight: 600;
  color: var(--bleu-encre);
}

/* ============================================================
   FAQ accordion
   ============================================================ */
details.faq {
  background: var(--blanc);
  border-radius: 14px;
  border: 1px solid rgba(46, 108, 182, 0.08);
  padding: 16px 22px;
  margin-bottom: 12px;
  transition: border-color 0.18s var(--ease);
}
details.faq[open] { border-color: rgba(46, 108, 182, 0.2); }
details.faq summary {
  cursor: pointer;
  font-weight: 700; font-size: 16.5px;
  color: var(--bleu-encre);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-size: 24px; font-weight: 300;
  color: var(--bleu-deep); line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
details.faq[open] summary::after { content: "−"; }
details.faq p, details.faq ul, details.faq ol {
  margin: 12px 0; color: var(--texte); font-size: 15.5px; line-height: 1.6;
}
details.faq ul, details.faq ol { padding-left: 22px; }
details.faq li { margin: 6px 0; }
details.faq strong { color: var(--bleu-encre); }

/* ============================================================
   Téléchargement items
   ============================================================ */
.dl-list { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.dl-item {
  display: grid; gap: 18px;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  background: var(--blanc); border-radius: 16px;
  padding: 18px 22px;
  border: 1px solid rgba(46, 108, 182, 0.08);
}
@media (max-width: 600px) {
  .dl-item { grid-template-columns: 1fr; text-align: left; }
  .dl-item .dl-action { justify-self: start; }
}
.dl-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--bleu-doux), var(--sauge-doux));
  color: var(--bleu-encre);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; letter-spacing: 0.05em;
}
.dl-meta h3 {
  font-family: var(--sans);
  margin: 0 0 4px; font-size: 17px; font-weight: 700;
  color: var(--bleu-encre);
}
.dl-meta p { margin: 0; color: var(--texte-doux); font-size: 14px; }
.dl-action .btn { padding: 10px 18px; font-size: 14px; }

/* ============================================================
   Form contact
   ============================================================ */
.r-form-card {
  background: var(--blanc);
  border: 1px solid rgba(46, 108, 182, 0.08);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(46, 108, 182, 0.05);
}
.r-contact-form { display: flex; flex-direction: column; gap: 16px; }
.r-form-row { display: flex; flex-direction: column; gap: 6px; }
.r-form-row label {
  font-size: 14px; font-weight: 600;
  color: var(--bleu-encre);
}
.r-form-row .req { color: var(--corail); font-weight: 700; margin-left: 2px; }
.r-form-row input[type="text"],
.r-form-row input[type="email"],
.r-form-row select,
.r-form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--texte);
  background: var(--blanc);
  border: 1.5px solid rgba(46, 108, 182, 0.18);
  border-radius: 12px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.r-form-row input:focus,
.r-form-row select:focus,
.r-form-row textarea:focus {
  outline: none;
  border-color: var(--bleu-deep);
  box-shadow: 0 0 0 3px rgba(46, 108, 182, 0.12);
}
.r-form-row textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.r-form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .r-form-grid { grid-template-columns: 1fr; } }
.r-form-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--texte-doux); line-height: 1.5;
  font-weight: 400;
  cursor: pointer;
}
.r-form-check input[type="checkbox"] {
  margin-top: 4px;
  width: 18px; height: 18px;
  accent-color: var(--bleu-deep);
  flex-shrink: 0;
  cursor: pointer;
}
.r-form-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 8px;
}
.r-form-status { font-size: 14px; color: var(--texte-doux); }

/* ============================================================
   KPI grid
   ============================================================ */
.r-kpi-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 16px;
}
.r-kpi {
  background: var(--blanc);
  border-radius: 16px; padding: 22px;
  text-align: center;
  border: 1px solid rgba(46, 108, 182, 0.08);
}
.r-kpi-num {
  font-family: var(--serif);
  font-size: 38px; font-weight: 700;
  color: var(--bleu-deep); line-height: 1;
}
.r-kpi-lbl { font-size: 13px; color: var(--texte-doux); margin-top: 8px; line-height: 1.4; }

/* ============================================================
   Callouts
   ============================================================ */
.callout {
  background: var(--ambre-doux);
  border-left: 4px solid var(--ambre);
  padding: 18px 22px;
  border-radius: 12px;
  margin: 24px 0;
}
.callout--sauge { background: var(--sauge-doux); border-color: var(--sauge-deep); }
.callout--bleu { background: var(--bleu-doux); border-color: var(--bleu-deep); }
.callout--corail { background: var(--corail-doux); border-color: var(--corail); }
.callout p { margin: 6px 0; font-size: 15px; }
.callout strong { color: var(--bleu-encre); }

/* ============================================================
   CTA final
   ============================================================ */
.r-cta-final {
  background: linear-gradient(135deg, var(--bleu-encre), var(--sauge-deep));
  color: var(--blanc);
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  margin-top: 12px;
}
.r-cta-final h2 {
  font-family: var(--serif); font-weight: 600;
  color: var(--blanc);
  font-size: clamp(28px, 4vw, 44px); line-height: 1.15;
  margin-bottom: 8px;
}
.r-cta-final h2 em { font-style: italic; color: rgba(255,255,255,0.85); font-weight: 500; }
.r-cta-final > p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 22px; font-size: 17px; }
.r-cta-final .hero-cta { justify-content: center; }
.r-cta-final .btn.light { background: var(--blanc); color: var(--bleu-encre); border-color: var(--blanc); }
.r-cta-final .btn.light:hover { background: var(--bleu-doux); }
.r-cta-final .btn.outline-light { color: var(--blanc); border-color: rgba(255,255,255,0.5); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bleu-encre);
  color: rgba(255,255,255,0.78);
  padding: 60px 24px 30px;
}
.site-footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; gap: 36px;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
@media (max-width: 880px) { .site-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer-inner { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--blanc); margin: 0 0 12px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
}
.site-footer a {
  color: rgba(255,255,255,0.78);
  display: block; padding: 4px 0;
  font-size: 14px;
}
.site-footer a:hover { color: var(--blanc); text-decoration: underline; }
.site-footer .baseline {
  font-size: 13.5px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 420px;
}
.site-footer .baseline strong { color: var(--blanc); }

.site-footer-bottom {
  max-width: var(--max); margin: 36px auto 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 12.5px; color: rgba(255,255,255,0.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.site-footer-bottom strong { color: rgba(255,255,255,0.85); }

/* ============================================================
   Page interne
   ============================================================ */
.page-head {
  padding: 84px 24px 36px;
  background: linear-gradient(180deg, var(--bleu-doux) 0%, transparent 100%);
}
.page-head-inner { max-width: var(--max); margin: 0 auto; }
.page-head h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 5vw, 56px); line-height: 1.1;
  color: var(--bleu-encre);
  margin: 8px 0 18px;
}
.page-head h1 em { font-style: italic; color: var(--bleu-deep); font-weight: 500; }
.page-head p {
  font-size: 18px; color: var(--texte-doux); line-height: 1.6; max-width: 720px;
}

/* Navigation interne (ancres en haut de page) */
.page-anchors {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.page-anchors a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--blanc);
  border: 1px solid rgba(46, 108, 182, 0.16);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  color: var(--bleu-encre);
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.page-anchors a:hover { background: var(--bleu-doux); border-color: var(--bleu-deep); text-decoration: none; }

/* ============================================================
   Utilities
   ============================================================ */
.center { text-align: center; }
.muted { color: var(--texte-doux); }
.small { font-size: 14px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; }
.mb-24 { margin-bottom: 24px; }
.divider {
  height: 1px; background: rgba(46, 108, 182, 0.12);
  margin: 48px 0;
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
