:root {
  /* Les appels a l'action sont en noir, pas dans l'Action Blue d'Apple : le site
     reste monochrome, et le seul contraste fort de la page devient le bouton. */
  --action: #1d1d1f;
  --action-hover: #383838;
  --action-on-dark: #fff;
  --action-on-dark-hover: #e6e6e6;

  --ink: #1d1d1f;
  --ink-80: #333;
  --ink-48: #7a7a7a;

  --canvas: #fff;
  --parchment: #f5f5f7;
  --tile: #272729;
  --tile-alt: #2a2a2c;

  --on-dark: #fff;
  --muted-on-dark: #ccc;

  --hairline: #e0e0e0;
  --divider: #f0f0f0;

  --radius-card: 18px;
  --radius-media: 18px;
  --radius-pill: 9999px;

  --wrap: 980px;
  --wrap-wide: 1440px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* SF Pro sur les appareils Apple, Inter partout ailleurs : la seule maniere
     honnete d'obtenir ce dessin de lettre hors licence Apple. */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -.022em;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.wrap-wide { max-width: var(--wrap-wide); }

/* ---------- NAVIGATION ----------
   Chez Apple la barre ne pese rien : 44px, translucide, saturee. Elle disparait
   derriere le contenu au lieu de le surplomber. */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 48px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.nav.is-stuck {
  border-bottom-color: rgba(0, 0, 0, .08);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* ---------- BOUTONS ----------
   Forme et comportement d'Apple, couleur inversee : pilule, 17px, padding 11/22,
   scale(.95) au clic, mais en noir plein plutot qu'en bleu. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.022em;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--action);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease), transform .12s var(--ease), opacity .2s var(--ease);
  white-space: nowrap;
}

.btn:hover { background: var(--action-hover); }
.btn:active { transform: scale(.95); }
.btn:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }

.btn-sm { font-size: 14px; padding: 7px 15px; letter-spacing: -.016em; }
.btn-lg { font-size: 19px; padding: 14px 30px; }

.btn-ghost {
  background: transparent;
  color: var(--action);
  border-color: var(--action);
}

.btn-ghost:hover { background: rgba(29, 29, 31, .06); }

/* Sur fond sombre le rapport s'inverse, sinon le bouton disparaitrait. */
.btn-on-dark { background: var(--action-on-dark); color: var(--ink); }
.btn-on-dark:hover { background: var(--action-on-dark-hover); }

/* Le lien fleche : deuxieme niveau d'action chez Apple, jamais un bouton plein.
   Le chevron avance de 3px au survol, rien de plus. Noir comme les boutons :
   un seul accent dans la page, sinon le bleu isole tirerait l'oeil pour rien. */
.arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--action);
  font-size: 17px;
  letter-spacing: -.022em;
}

.arrow svg { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.arrow:hover { text-decoration: underline; }
.arrow:hover svg { transform: translateX(3px); }
.arrow-on-dark { color: var(--action-on-dark); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 30px;
}

/* ---------- TYPOGRAPHIE ---------- */
.h-hero {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.015em;
}

.h-section {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.015em;
}

.h-tile {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.012em;
}

.h-card {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: -.012em;
}

.lead {
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.21;
  letter-spacing: .004em;
  color: var(--ink);
}

.sub {
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink-48);
}

/* ---------- SECTIONS ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-parchment { background: var(--parchment); }
.section-dark { background: var(--tile); color: var(--on-dark); }

.head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.head .lead { margin-top: 14px; }
.head .sub { margin-top: 14px; }
.section-dark .sub { color: var(--muted-on-dark); }

/* ---------- HERO ---------- */
.hero {
  padding: 64px 0 0;
  text-align: center;
}

.hero .lead {
  margin: 18px auto 0;
  max-width: 660px;
}

.hero .actions { margin-top: 26px; }

/* ---------- MEDIA ----------
   L'unique ombre du systeme, celle qui pose le produit sur la page. */
.media {
  position: relative;
  margin-top: 48px;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: #000;
  box-shadow: rgba(0, 0, 0, .22) 3px 5px 30px 0;
}

.media video { width: 100%; height: auto; }

.media-flat {
  box-shadow: none;
  border: 1px solid var(--hairline);
  background: var(--canvas);
}

/* Embed YouTube : le ratio est impose par la vidéo, pas par une hauteur devinée.
   Sans ça l'iframe s'affiche à 150px de haut par défaut. */
/* Vidéo verticale : sans borne, un 9/16 sur 1440px de large ferait 2560px de haut
   et mangerait quatre écrans. On la ramène à la largeur d'un téléphone. */
.media-portrait {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.media-embed { aspect-ratio: 16 / 9; }
.media-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.vsl-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-bottom: 26px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.vsl-overlay.is-hidden { opacity: 0; visibility: hidden; }

.vsl-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: rgba(210, 210, 215, .64);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #1d1d1f;
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.vsl-overlay:hover .vsl-btn { transform: scale(1.06); background: rgba(210, 210, 215, .82); }

.vsl-cap {
  font-size: 14px;
  letter-spacing: -.016em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

/* ---------- CHIFFRES CLES ----------
   Le pattern « performances » d'Apple : le chiffre porte tout, la legende est
   minuscule en dessous. */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  text-align: center;
}

.stat-num {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
}

.stat-num small { font-size: .46em; font-weight: 600; letter-spacing: -.01em; }

.stat-lab {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -.016em;
  color: var(--ink-48);
}

.section-dark .stat-lab { color: var(--muted-on-dark); }

/* ---------- GRILLE BENTO ----------
   Tuiles claires et sombres qui alternent, coins a 18px, filet fin. Aucun
   dégradé, aucune ombre : la hierarchie vient du contraste des fonds. */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.tile {
  grid-column: span 2;
  padding: 34px 30px;
  border-radius: var(--radius-card);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}

.tile:hover { transform: translateY(-4px); border-color: #c9c9ce; }

.tile-wide { grid-column: span 3; }
.tile-full { grid-column: span 6; }

.tile-dark {
  background: var(--tile);
  border-color: transparent;
  color: var(--on-dark);
}

.tile-dark:hover { border-color: rgba(255, 255, 255, .18); }
.tile-alt { background: var(--tile-alt); }

/* `display: block` obligatoire : sur un span inline, width et height sont
   ignores et le SVG en 100% avale toute la tuile. */
.tile-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  color: var(--action);
}

.tile-dark .tile-icon { color: var(--action-on-dark); }

.tile p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink-80);
}

/* Apres `.tile p` : a specificite egale c'est l'ordre qui tranche, et sans ca le
   texte des tuiles sombres reste en gris fonce, illisible sur le fond noir. */
.tile-dark p { color: var(--muted-on-dark); }

.tile b { font-weight: 600; color: inherit; }

/* ---------- PREUVE ---------- */
.proof-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.proof-score .stat-num { font-size: clamp(56px, 8vw, 88px); }

.proof-actions { margin-top: 34px; }

/* Widget d'avis injecte par un tiers : on lui laisse la largeur et on borne
   le debordement, sans imposer de hauteur qui ferait sauter la page. */
.reviews { margin-top: 72px; }

.reviews-frame {
  min-height: 220px;
  overflow-x: auto;
}

.reviews-frame :is(img, iframe, svg, video) { max-width: 100%; }

/* ---------- GARANTIE ---------- */
.guarantee {
  text-align: center;
  padding: 110px 0;
}

.guarantee .h-section { max-width: 900px; margin: 0 auto; }
.guarantee .sub { margin-top: 18px; }

/* ---------- FINAL ---------- */
.final { text-align: center; padding: 110px 0; }
.final .sub { margin-top: 14px; }
.final .btn { margin-top: 30px; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--parchment);
  padding: 34px 0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink-48);
}

.footer-in { display: grid; gap: 12px; }
.footer p { max-width: 820px; }

/* ---------- CTA COLLANT ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 90;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease);
}

.sticky-cta.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
}

/* ---------- REVEAL AU SCROLL ----------
   Sobre et unique : 24px de montee, une fois, jamais rejoue. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile, .tile-wide { grid-column: span 2; }
  .tile-full { grid-column: span 4; }
}

@media (max-width: 833px) {
  .section { padding: 64px 0; }
  .guarantee, .final { padding: 84px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .media { margin-top: 36px; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .tile, .tile-wide, .tile-full { grid-column: span 1; }
  .tile { padding: 28px 24px; }
  .hero { padding-top: 44px; }
  .actions { flex-direction: column; gap: 16px; }
  .actions .btn { width: 100%; }
  .reviews { margin-top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
