/* ============================================================
   Smile & Tap · landing page
   Design system « crème & corail » (repris de l'app iOS)
   ============================================================ */

@font-face {
  font-family: "Dancing Script";
  src: url("assets/fonts/DancingScript-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Palette exacte de l'app (Assets.xcassets) */
  --cream:      #FAF1E8;
  --cream-2:    #F6E7D9;
  --card:       #FFFDFA;
  --coral:      #E2764F;
  --coral-deep: #D45F3C;
  --coral-soft: #F6C9AE;
  --navy:       #2E3A56;
  --peach:      #F9E4D4;
  --warm-gray:  #8C7B6F;
  --cocoa:      #8B4C1E;
  --sand:       #EDD2BC;

  --coral-grad: linear-gradient(165deg, #E9835B, var(--coral-deep));
  --hairline:  rgba(46, 58, 86, .07);
  --shadow-sm: 0 6px 18px rgba(46, 58, 86, .06);
  --shadow-md: 0 20px 44px rgba(46, 58, 86, .10), 0 4px 12px rgba(46, 58, 86, .05);
  --shadow-lg: 0 34px 80px rgba(46, 58, 86, .16);
  --shadow-coral: 0 14px 30px rgba(226, 118, 79, .34);

  --radius: 24px;
  --radius-lg: 34px;
  --maxw: 1120px;
  --nav-h: 70px;

  --font-body: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
               "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background:
    radial-gradient(120% 60% at 50% -10%, #FFF8F0 0%, transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 55%, var(--cream-2) 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(226, 118, 79, .28); color: var(--navy); }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Ancres non masquées par la nav collante */
[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }

.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;
}

/* ---------- Décor de fond ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .55; }
.blob--1 { width: 46vw; height: 46vw; background: var(--coral-soft); top: -12vw; right: -10vw; }
.blob--2 { width: 40vw; height: 40vw; background: var(--peach); top: 42vh; left: -14vw; opacity: .6; }
.blob--3 { width: 34vw; height: 34vw; background: #FBD9C6; bottom: -12vw; right: -8vw; opacity: .5; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw); margin: 0 auto;
  padding: .7rem clamp(1rem, 4vw, 2rem);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 253, 250, .72);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--hairline); border-top: none;
  transition: transform .35s ease, box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled {
  background: rgba(255, 253, 250, .86);
  box-shadow: 0 12px 34px rgba(46, 58, 86, .12);
}
/* Masquée en descendant, révélée en remontant (classe posée par script.js). */
.nav--hidden { transform: translateY(-130%); }
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-sm); transition: transform .25s ease; object-fit: cover; }
.nav__brand:hover .nav__icon { transform: rotate(-4deg) scale(1.06); }
.nav__word { font-family: var(--font-script); font-size: 1.6rem; color: var(--navy); line-height: 1; }
.nav__links { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 1.8rem); font-weight: 600; }
.nav__links > a { color: var(--warm-gray); font-size: .96rem; transition: color .2s; }
.nav__links > a:hover { color: var(--coral-deep); }
.nav__cta {
  padding: .5rem 1.1rem; border-radius: 999px; white-space: nowrap;
  background: var(--coral-grad); color: #fff !important;
  box-shadow: var(--shadow-coral);
  transition: filter .2s ease, transform .2s ease;
}
.nav__cta:hover { color: #fff !important; filter: brightness(1.05); transform: translateY(-1px); }
/* Sélecteur de langue segmenté FR | EN */
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--sand);
}
.lang__opt {
  font-weight: 800; font-size: .8rem; letter-spacing: .03em; line-height: 1;
  padding: .34rem .64rem; border-radius: 999px; color: var(--warm-gray) !important;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lang__opt:hover { color: var(--coral-deep) !important; }
.lang__opt.is-active {
  background: var(--coral-grad); color: #fff !important; box-shadow: var(--shadow-coral);
}
@media (max-width: 620px) {
  .nav__links > a:not(.nav__cta) { display: none; }
  .nav { gap: .4rem; padding: .55rem .8rem; }
  .nav__brand { gap: .4rem; }
  .nav__icon { width: 34px; height: 34px; }
  .nav__word { font-size: 1.15rem; }
  .nav__links { gap: .8rem; }
  .nav__cta { padding: .36rem .7rem; font-size: .8rem; }
  .lang__opt { padding: .3rem .5rem; font-size: .75rem; }
}
@media (max-width: 500px) {
  .nav__word { display: none; }        /* icône seule sur mobile → le CTA respire */
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn__ic { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn--primary {
  background: var(--coral-grad); color: #fff; box-shadow: var(--shadow-coral);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 45%);
  pointer-events: none;
}
.btn--primary:hover { filter: brightness(1.05); box-shadow: 0 20px 40px rgba(226,118,79,.42); }
.btn--ghost { background: var(--card); color: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--sand); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--coral); color: var(--coral-deep); }
.btn--lg { font-size: 1.12rem; padding: 1.1rem 2rem; }

/* ---------- Titres ---------- */
.script-title {
  font-family: var(--font-script); font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 3.4rem); line-height: 1.05;
  color: var(--navy); margin: 0;
}
.script-title--light { color: #fff; }
.kicker {
  display: inline-block; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; font-size: .8rem; color: var(--coral-deep);
  background: var(--peach); padding: .38rem .85rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(226, 118, 79, .12);
}
.kicker--light { color: #fff; background: rgba(255,255,255,.18); box-shadow: none; }

/* ---------- Cartes ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.25rem) clamp(1rem, 4vw, 2rem); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(1.5rem, 3.5vw, 2.25rem); }
.section__head .kicker { margin-bottom: 1rem; }
.section__sub { color: var(--warm-gray); font-size: 1.1rem; margin: .8rem 0 0; }

/* ============================================================
   HÉRO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
/* Sur écran large, le héros tient dans une hauteur d'écran (pas de scroll). */
@media (min-width: 861px) {
  .hero { min-height: calc(100svh - 90px); }
}
.hero__logo { width: clamp(158px, 18vw, 216px); height: auto; margin: .1rem 0 .1rem -.2rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .9rem; color: var(--cocoa);
  background: var(--card); padding: .45rem .95rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--hairline);
}
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(226,118,79,.18); }
.eyebrow__lock { width: 1.05em; height: 1.05em; fill: var(--coral); flex: none; }
.hero__title {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.45rem); line-height: 1.1;
  margin: .6rem 0 0; color: var(--navy); letter-spacing: -.015em;
  text-wrap: balance;
}
.hero__title .accent {
  background: var(--coral-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { font-size: 1.1rem; color: var(--warm-gray); margin: .85rem 0 0; max-width: 36ch; }
.hero__lede strong { color: var(--navy); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.35rem; }
.hero__trust { display: flex; align-items: center; gap: .5rem; margin: 1.05rem 0 0; color: var(--warm-gray); font-weight: 600; }
.lock { width: 1.05em; height: 1.05em; fill: var(--coral); flex: none; }

.hero__demo { position: relative; display: flex; justify-content: center; }
.hero__demo::before {
  content: ""; position: absolute; z-index: -1;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,118,79,.22), transparent 68%);
  filter: blur(10px);
}

/* ---------- Cadre iPhone ---------- */
.phone {
  position: relative; width: 100%; max-width: 300px;
  padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, #414d68, #262f45);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone__screen {
  position: relative; overflow: hidden;
  border-radius: 38px; aspect-ratio: 854 / 1842;
  background: #0e0f14;
  container-type: inline-size;
}
.phone__screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone__island {
  position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%);
  width: 26%; height: 4.6cqw; min-height: 12px; max-height: 16px;
  background: #05060a; border-radius: 999px; z-index: 6;
}

/* ---------- Visages masquables ---------- */
.demo__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face {
  position: absolute; transform: translate(-50%, -50%);
  border: none; background: none; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  border-radius: 50%; z-index: 4; -webkit-tap-highlight-color: transparent;
}
.face--mother { left: 37.5%; top: 40%;  width: 35cqw; height: 35cqw; }
.face--child  { left: 60.5%; top: 44.5%; width: 27cqw; height: 27cqw; }
.face__emoji {
  font-size: 33cqw; line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.28));
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), opacity .28s ease;
}
.face--child .face__emoji { font-size: 25cqw; }
.face__hint {
  position: absolute; inset: 6%;
  border: 2px dashed rgba(255,255,255,.85);
  border-radius: 50%; opacity: 0; transition: opacity .25s;
}
/* masqué : emoji visible */
.face.is-masked .face__emoji { transform: scale(1); opacity: 1; }
/* révélé : emoji caché, indice pointillé */
.face:not(.is-masked) .face__emoji { transform: scale(.4); opacity: 0; }
.face:not(.is-masked) .face__hint { opacity: 1; }
.face:hover .face__emoji { transform: scale(1.06); }
.face:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* barre de démo + info */
.demo__bar {
  position: absolute; left: 50%; bottom: 4.5%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 7;
  padding: 5px; border-radius: 999px;
  background: rgba(20,22,30,.42); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.demo__btn {
  border: none; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: 3.1cqw;
  padding: 2.2cqw 3.4cqw; border-radius: 999px;
  background: var(--coral-grad); color: #fff;
}
.demo__btn--alt { background: rgba(255,255,255,.9); color: var(--cocoa); }
.demo__tip {
  position: absolute; left: 50%; bottom: 15%; transform: translateX(-50%);
  z-index: 7; font-weight: 700; font-size: 3.1cqw; color: #fff;
  padding: 1.8cqw 3.6cqw; border-radius: 999px;
  background: rgba(20,22,30,.52); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
  transition: opacity .4s; white-space: nowrap;
}

/* badge triple toucher */
.tap-badge {
  position: absolute; right: -6px; top: 12%;
  display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--card); color: var(--coral-deep);
  font-weight: 800; font-size: 1.25rem; box-shadow: var(--shadow-md);
}
.tap-badge__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--coral); opacity: 0;
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  /* bloc (pas flex align-center) : les enfants remplissent la largeur et le
     texte revient à la ligne au lieu de déborder (bug flex shrink-to-content). */
  .hero__copy { display: block; min-width: 0; }
  .hero__title { max-width: 18ch; margin-inline: auto; }
  .hero__lede { max-width: 42ch; margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__logo { margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; padding: .85rem 1.4rem; }
}
/* Mobile : héros allégé — on retire le grand logo manuscrit (déjà présent dans
   la nav, il faisait doublon avec le titre) et on adoucit le texte. */
@media (max-width: 640px) {
  .hero { gap: 2.4rem; padding-top: 1.75rem; padding-bottom: 2.25rem; }
  .hero__logo { display: none; }
  .hero__title { margin-top: 1rem; }
  .hero__lede { font-size: 1.06rem; margin-top: 1.15rem; }
  .lede-more { display: none; }            /* phrase secondaire masquée sur mobile */
  .hero__actions { margin-top: 1.8rem; }
  .hero__trust { margin-top: 1.35rem; }
  .hero__actions .btn--ghost { display: none; } /* le CTA « Obtenir l'app » est déjà dans la nav collante */
}

/* ============================================================
   ÉTAPES
   ============================================================ */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 1.6rem);
}
.step { position: relative; padding: 2rem 1.6rem 1.8rem; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.7); }
.step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--coral-grad); color: #fff;
  font-weight: 800; font-size: 1.3rem; margin-bottom: 1.2rem;
  box-shadow: var(--shadow-coral);
}
.step__media {
  height: 168px; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1.3rem; display: grid; place-items: center;
  background: linear-gradient(160deg, #FBE7D8, #F7D8C4);
}
.step__media--soft { background: linear-gradient(160deg, #FFF6EE, var(--peach)); }
.step__art { width: 100%; height: 100%; object-fit: cover; }
.step__mini {
  display: flex; align-items: center; gap: .5rem; font-size: 2.9rem;
}
.mini-face { filter: drop-shadow(0 4px 6px rgba(0,0,0,.12)); }
.mini-face--off { opacity: .5; filter: grayscale(.3); }
.mini-share {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--coral-grad); margin-left: .3rem;
  box-shadow: var(--shadow-coral);
}
.mini-share svg { width: 22px; height: 22px; fill: #fff; }
/* Visage « révélé » de l'étape 3 : pastille claire avec silhouette. */
.mini-reveal {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 50%; background: var(--card); box-shadow: var(--shadow-sm);
}
.mini-reveal svg { width: 30px; height: 30px; fill: var(--warm-gray); }
/* Étape 3 : la photo protégée, prête à partager. */
.mini-photo {
  display: grid; place-items: center; width: 78px; height: 78px;
  border-radius: 18px; font-size: 2.6rem;
  background: linear-gradient(160deg, #FCEEE1, var(--peach)); box-shadow: var(--shadow-sm);
}
.mini-arrow { color: var(--warm-gray); font-size: 1.5rem; font-weight: 800; }
.step__mini--share { gap: .8rem; }
.step__mini--share .mini-share { width: 54px; height: 54px; margin-left: 0; }
.step__mini--share .mini-share svg { width: 26px; height: 26px; }
.step__title { font-size: 1.3rem; margin: 0 0 .5rem; color: var(--navy); }
.step__text { color: var(--warm-gray); margin: 0; }
.step__text strong { color: var(--navy); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step__media { height: 150px; }
  .step__mini { font-size: 3.3rem; gap: .7rem; }
}

/* ============================================================
   LE GESTE
   ============================================================ */
.gesture__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; padding: clamp(1.8rem, 4vw, 3rem);
}
.gesture__text .kicker { margin-bottom: 1rem; }
.gesture__text p { color: var(--warm-gray); font-size: 1.08rem; margin: 1rem 0 0; }
.gesture__text strong { color: var(--navy); }
.gesture__badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem !important;
  font-weight: 700; color: var(--cocoa) !important;
  background: var(--peach); padding: .6rem 1rem; border-radius: 999px;
}
.gesture__art img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (max-width: 820px) {
  .gesture__inner { grid-template-columns: 1fr; }
  .gesture__art { order: -1; }
}

/* ============================================================
   STICKERS
   ============================================================ */
.sticker-row {
  list-style: none; margin: 0 auto; padding: 1.4rem; max-width: 760px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.4rem, 2vw, 1rem);
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--hairline); box-shadow: var(--shadow-md);
}
.sticker-row li {
  display: grid; place-items: center; aspect-ratio: 1;
  font-size: clamp(1.8rem, 6vw, 2.7rem); border-radius: 20px;
  background: linear-gradient(160deg, #FCEEE1, var(--peach));
  transition: transform .2s ease, box-shadow .2s ease;
}
.sticker__m { display: block; line-height: 1; }
/* Shuffle : au scroll, les tuiles arrivent en cascade et se posent en place.
   (scale + opacité uniquement → aucun débordement horizontal). */
.sticker-row[data-reveal] { opacity: 1; transform: none; }
.sticker-row li { opacity: 0; transform: scale(.35) rotate(-9deg); transition: opacity .3s ease, transform .55s cubic-bezier(.34,1.56,.64,1); }
.sticker-row li:nth-child(even) { transform: scale(.35) rotate(9deg); }
.sticker-row.in li { opacity: 1; transform: none; }
.sticker-row li:nth-child(1)  { transition-delay: 0s; }
.sticker-row li:nth-child(2)  { transition-delay: .03s; }
.sticker-row li:nth-child(3)  { transition-delay: .06s; }
.sticker-row li:nth-child(4)  { transition-delay: .09s; }
.sticker-row li:nth-child(5)  { transition-delay: .12s; }
.sticker-row li:nth-child(6)  { transition-delay: .15s; }
.sticker-row li:nth-child(7)  { transition-delay: .18s; }
.sticker-row li:nth-child(8)  { transition-delay: .21s; }
.sticker-row li:nth-child(9)  { transition-delay: .24s; }
.sticker-row li:nth-child(10) { transition-delay: .27s; }
.sticker-row li:nth-child(11) { transition-delay: .30s; }
.sticker-row li:nth-child(12) { transition-delay: .33s; }
.sticker-row li:hover { transform: translateY(-5px) scale(1.06); box-shadow: var(--shadow-sm); transition-delay: 0s; }
@media (max-width: 520px) { .sticker-row { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 1.5rem);
}
.feature { padding: 1.8rem 1.6rem; transition: transform .25s ease, box-shadow .25s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.7); }
.chip {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--peach); margin-bottom: 1rem;
  transition: background .25s ease;
}
.chip svg { width: 26px; height: 26px; fill: var(--coral); transition: fill .25s ease; }
.feature:hover .chip { background: var(--coral-grad); }
.feature:hover .chip svg { fill: #fff; }
.feature h3 { margin: 0 0 .4rem; font-size: 1.22rem; color: var(--navy); }
.feature p { margin: 0; color: var(--warm-gray); }
@media (max-width: 820px) {
  .features { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .feature { padding: 1.2rem 1.1rem; }
  .feature .chip { width: 44px; height: 44px; margin-bottom: .7rem; }
  .feature .chip svg { width: 22px; height: 22px; }
  .feature h3 { font-size: 1.04rem; }
  .feature p { font-size: .9rem; }
}

/* ============================================================
   ÉCRANS
   ============================================================ */
.shots {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 4vw, 2.4rem); align-items: end;
}
.shots .phone { width: 100%; max-width: 230px; }
.shot { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.shot figcaption { margin-top: 1rem; font-weight: 700; color: var(--navy); }
.shot--up { transform: translateY(-24px); }
@media (max-width: 820px) {
  .shots { grid-template-columns: 1fr; }
  .shot--up { transform: none; }
  .shots .phone { max-width: 240px; }
}

/* ============================================================
   CONFIDENTIALITÉ
   ============================================================ */
.privacy {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.4rem);
  background: linear-gradient(150deg, #33405f, var(--navy));
  color: #fff; border: none;
}
.privacy::before {
  content: ""; position: absolute; top: -30%; right: -10%;
  width: 50%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,118,79,.35), transparent 70%);
  pointer-events: none;
}
.privacy__text { position: relative; }
.privacy__text p { color: rgba(255,255,255,.82); font-size: 1.08rem; margin: 1rem 0 0; }
.privacy__text .kicker { margin-bottom: 1rem; }
.privacy__list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .7rem; }
.privacy__list li { position: relative; padding-left: 2rem; color: rgba(255,255,255,.92); font-weight: 600; }
.privacy__list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/70% no-repeat;
}
.privacy__seal { position: relative; display: grid; place-items: center; }
.privacy__seal img { width: 160px; height: auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.35)); }
@media (max-width: 720px) {
  .privacy { grid-template-columns: 1fr; text-align: center; }
  .privacy__list { text-align: left; max-width: 320px; margin-inline: auto; }
  .privacy__seal { order: -1; }
  .privacy__seal img { width: 120px; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.get { text-align: center; }
.get__inner {
  position: relative; overflow: hidden;
  max-width: 620px; margin: 0 auto;
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-md); padding: clamp(2.4rem, 6vw, 3.6rem);
}
.get__inner::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--coral-grad);
}
.get__inner > p { color: var(--warm-gray); font-size: 1.15rem; margin: .6rem 0 1.8rem; }
.get__trust { display: inline-flex; align-items: center; gap: .5rem; margin: 1.4rem 0 0; color: var(--warm-gray); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  max-width: 680px; margin: 2rem auto 0;
  padding: clamp(2.25rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 3rem;
  text-align: center; color: var(--warm-gray); border-top: 1px solid var(--hairline);
}
.footer__brand { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-script); font-size: 1.5rem; color: var(--navy); }
.footer__brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.footer__tag { margin: .9rem auto .2rem; max-width: 34ch; }
.footer__legal { font-size: .9rem; margin: 1.15rem 0 0; line-height: 2.1; }
.footer__legal a { color: var(--cocoa); font-weight: 600; white-space: nowrap; }
.footer__legal a:hover { color: var(--coral-deep); }
/* Footer accueil : liens légaux sur une ligne, © discret en dessous. */
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; margin: 1.3rem 0 0; font-size: .95rem; }
.footer__links a { color: var(--cocoa); font-weight: 600; }
.footer__links a:hover { color: var(--coral-deep); }
.footer__copy { font-size: .82rem; margin: 1rem 0 0; color: var(--warm-gray); }

/* ============================================================
   À PROPOS (accueil)
   ============================================================ */
.about { padding-top: 0; }
.about__inner {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: center; padding: clamp(1.8rem, 4vw, 2.8rem);
  background: linear-gradient(155deg, #FFF6EE, var(--peach));  /* carte chaleureuse ≠ footer */
}
.about__icon { width: clamp(90px, 12vw, 128px); height: auto; border-radius: 26px; box-shadow: var(--shadow-md); }
.about__inner .kicker { margin-bottom: .8rem; }
.about__inner .script-title { font-size: clamp(2rem, 4.6vw, 2.7rem); }
.about__inner p { color: var(--warm-gray); font-size: 1.06rem; margin: .8rem 0 1.3rem; max-width: 52ch; }
.about__inner p strong { color: var(--navy); }
@media (max-width: 680px) {
  .about__inner { grid-template-columns: 1fr; text-align: center; }
  .about__icon { margin-inline: auto; }
  .about__inner p { margin-inline: auto; }
}

/* ============================================================
   SOUS-PAGES · À propos, mentions légales, confidentialité
   ============================================================ */
.subpage main {
  max-width: 720px; margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1rem, 4vw, 2rem) clamp(2.6rem, 6vw, 4rem);
}

/* En-tête façon app iOS : bouton retour rond + grand titre manuscrit */
.page-head { display: flex; align-items: center; gap: 1.1rem; margin: .4rem 0 1.4rem; }
.back-circle {
  flex: none; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--card); box-shadow: var(--shadow-sm); border: 1px solid var(--hairline);
  transition: transform .18s ease, box-shadow .18s ease;
}
.back-circle:hover { transform: translateX(-2px); box-shadow: var(--shadow-md); }
.back-circle svg { width: 22px; height: 22px; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.page-head .script-title { font-size: clamp(2.3rem, 7vw, 3.1rem); }
.page-lede { color: var(--warm-gray); font-size: 1.06rem; margin: 0 0 1.4rem; }
.page-lede strong { color: var(--navy); }
.page-date {
  display: inline-block; font-size: .85rem; font-weight: 700; color: var(--cocoa);
  background: var(--peach); border-radius: 999px; padding: .32rem .85rem; margin: 0 0 1.7rem;
}

/* Listes de liens façon Réglages de l'app */
.rows-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--warm-gray); margin: 1.8rem 0 .7rem .6rem;
}
.rows { overflow: hidden; margin: 0 0 .4rem; }
.row { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; }
a.row { transition: background .15s ease; }
a.row:hover { background: #FFF6EC; }
.row .chip { width: 46px; height: 46px; border-radius: 14px; margin: 0; flex: none; }
.row .chip svg { width: 23px; height: 23px; }
.row__label { font-weight: 700; color: var(--navy); }
.row__sub { display: block; font-size: .86rem; font-weight: 500; color: var(--warm-gray); margin-top: .1rem; }
.row__chev {
  margin-left: auto; flex: none; width: 18px; height: 18px;
  fill: none; stroke: var(--warm-gray); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round; opacity: .7;
}
/* séparateur aligné sur le texte, comme dans l'app */
.row + .row::before {
  content: ""; position: absolute; top: 0; right: 1.15rem;
  left: calc(1.15rem + 46px + 1rem);
  height: 1.5px; background: rgba(237, 210, 188, .65);
}

/* Signature en bas de la page À propos */
.about-sign { text-align: center; margin-top: 2.6rem; color: var(--warm-gray); }
.about-sign img { width: 64px; height: auto; margin: 0 auto .6rem; border-radius: 16px; box-shadow: var(--shadow-sm); }
.about-sign__brand { font-family: var(--font-script); font-size: 1.7rem; color: var(--navy); display: block; }
.about-sign p { margin: .3rem 0 0; font-size: .95rem; }

/* Texte légal en cartes */
.prose { padding: 1.6rem 1.7rem; margin: 0 0 1.1rem; }
.prose h2 { font-size: 1.22rem; color: var(--navy); margin: 0 0 .55rem; }
.prose p { color: var(--warm-gray); margin: .45rem 0 0; }
.prose strong { color: var(--navy); }
.prose a { color: var(--coral-deep); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose ul { margin: .6rem 0 0; padding-left: 1.2rem; }
.prose li { color: var(--warm-gray); margin: .3rem 0 0; }
.prose li strong { color: var(--navy); }

/* Bandeau « l'essentiel » de la politique de confidentialité */
.tldr {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #33405f, var(--navy)); color: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 1.7rem 1.8rem; margin: 0 0 1.4rem;
}
.tldr::before {
  content: ""; position: absolute; top: -40%; right: -8%;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,118,79,.32), transparent 70%);
}
.tldr h2 { margin: 0 0 .5rem; font-size: 1.25rem; position: relative; }
.tldr p { color: rgba(255,255,255,.85); margin: 0; position: relative; }
.check-list { position: relative; list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 600; color: rgba(255,255,255,.92); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ============================================================
   Révélation au scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tap-badge__ring { animation: none; }
  .face__emoji { transition: opacity .2s ease; }
  .sticker-row li { opacity: 1; transform: none; transition: none; }
}
