/* Yalla App : landing
   Fond blanc, encre bleu-nuit, jaune soleil en aplats, bleu mer en second.
   Display : Bricolage Grotesque. Texte : Instrument Sans. Le signe ₪ vient d'un sous-ensemble de Heebo.
   Les démos, en vraies captures dans des téléphones, sont l'image de la page. */

/* ---------- Polices (auto-hébergées, licence dans fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Shekel";
  src: url("fonts/heebo-shekel.woff2") format("woff2");
  font-weight: 100 900;
  unicode-range: U+20AA;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  --white: #FFFFFF;
  --ink: #0E1B3D;
  --ink-soft: #45506B;
  --line: #D6DDEA;
  --sun: #FFCF2E;
  --sun-deep: #F2BC00;
  --sea: #1D4FD6;
  --sea-pale: #EEF3FC;

  --display: "Bricolage Grotesque", "Shekel", ui-sans-serif, system-ui, sans-serif;
  --text: "Instrument Sans", "Shekel", ui-sans-serif, system-ui, sans-serif;

  --gutter: 16px;
  --max: 1200px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 32px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-phone: 0 2px 6px rgba(14, 27, 61, .18), 0 22px 44px -14px rgba(14, 27, 61, .42);

  color-scheme: light;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1000px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}
@media (min-width: 1000px) { body { font-size: 1.125rem; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); text-wrap: balance; }
h2 {
  font-size: clamp(2rem, 1.25rem + 3.2vw, 3.5rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--sea); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.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;
}
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r-s);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 54px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1.0625rem/1.1 var(--text);
  text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .95rem; }

.btn--sun, .btn--wa { background: var(--sun); color: var(--ink); }
.btn--mail { background: var(--white); color: var(--ink); border-color: var(--ink); }
/* Sans numéro WhatsApp, l'email devient le bouton principal. */
html:not(.wa-on) .btn--mail { background: var(--sun); border-color: var(--sun); }
.btn--ink { background: var(--ink); color: var(--white); }

@media (hover: hover) {
  .btn--sun:hover, .btn--wa:hover, html:not(.wa-on) .btn--mail:hover { background: var(--sun-deep); border-color: var(--sun-deep); color: var(--ink); }
  .btn--mail:hover { background: var(--ink); color: var(--white); }
  .btn--ink:hover { background: var(--sea); color: var(--white); }
}

.actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 560px) { .actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.25rem/1 var(--display); letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none; margin-right: auto;
}
.brand img { border-radius: 8px; }
.top__nav { display: none; gap: 28px; }
.top__nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.top__nav a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
@media (min-width: 900px) { .top__nav { display: flex; } }

/* ---------- Héros ---------- */
.hero { padding: 36px 0 8px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__grid { display: grid; gap: 36px; }
.hero h1 {
  font-size: clamp(2.5rem, 1.35rem + 5vw, 5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -0.038em;
  max-width: 11.5em;
}
.hero__lead { margin-top: 18px; font-size: 1.15rem; line-height: 1.5; color: var(--ink-soft); max-width: 30em; }
.hero .actions { margin-top: 26px; }

.hero__stage { position: relative; height: 430px; margin-inline: calc(var(--gutter) * -1 + 8px); }
.hero__sun {
  position: absolute; inset: 64px 0 36px;
  background: var(--sun);
  border-radius: var(--r-l);
}
.hero__phone {
  position: absolute; display: block;
  width: var(--w); left: var(--x); top: var(--y); z-index: var(--z, 1);
  transform: rotate(var(--r, 0deg));
  container-type: inline-size;
  text-decoration: none;
}
.hero__phone--a { --w: 34%; --x: 4%;  --y: 58px;  --r: -7deg; --z: 1; }
.hero__phone--b { --w: 44%; --x: 28%; --y: 0px;   --r: 0deg;  --z: 3; }
.hero__phone--c { --w: 34%; --x: 62%; --y: 58px;  --r: 6deg;  --z: 2; }
.hero__phone--d { display: none; }
.hero__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center; font-weight: 600; font-size: 1rem;
}
.hero__caption a { color: var(--ink); text-decoration-color: var(--ink); }

.phone {
  display: block;
  padding: 2.4cqi;
  background: var(--ink);
  border-radius: 13cqi;
  box-shadow: var(--shadow-phone);
}
.phone img { width: 100%; height: auto; border-radius: 10.8cqi; background: var(--sea-pale); }

@media (min-width: 700px) {
  .hero__stage { height: 560px; margin-inline: 0; }
  .hero__sun { inset: 90px 4% 48px; }
}
@media (min-width: 1000px) {
  .hero { padding: 56px 0 16px; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hero__lead { font-size: 1.3rem; margin-top: 24px; }
  .hero .actions { margin-top: 34px; }
  .hero__stage { height: 640px; }
  .hero__sun { inset: 70px 0 56px 6%; }
  .hero__phone--a { --w: 33%; --x: 1%;  --y: 120px; --r: -7deg; --z: 2; }
  .hero__phone--b { --w: 40%; --x: 24%; --y: 14px;  --r: -1deg; --z: 5; }
  .hero__phone--c { --w: 33%; --x: 52%; --y: 84px;  --r: 5deg;  --z: 3; }
  .hero__phone--d { display: block; --w: 29%; --x: 69%; --y: 168px; --r: 10deg; --z: 1; }
}

/* Un seul moment animé : l'aplat se dévoile, puis les téléphones montent. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__sun { animation: sun-in .9s var(--ease-out) both; }
  .js .hero__phone { animation: phone-in 1.1s var(--ease-out) both; animation-delay: calc(var(--d, 0ms) + 180ms); }
}
@keyframes sun-in {
  from { clip-path: inset(100% 0 0 0 round var(--r-l)); }
  to { clip-path: inset(0 0 0 0 round var(--r-l)); }
}
@keyframes phone-in {
  from { opacity: 0; transform: translateY(56px) rotate(0deg); }
  to { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }
}

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec--tight { padding: 56px 0; }
.sec--sea { background: var(--sea-pale); }
.intro { margin-top: 16px; font-size: 1.125rem; color: var(--ink-soft); max-width: 40em; }
@media (min-width: 1000px) {
  .sec { padding: 112px 0; }
  .sec--tight { padding: 88px 0; }
  .intro { font-size: 1.25rem; margin-top: 20px; }
}

/* ---------- Démos ---------- */
.demos { margin-top: 40px; display: grid; gap: 0; }
.demo {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  grid-template-areas:
    "shot head"
    "sides sides"
    "go go";
  column-gap: 20px;
  row-gap: 22px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.demo:first-child { border-top: 0; padding-top: 8px; }
.demo__shot { grid-area: shot; container-type: inline-size; align-self: start; }
.demo__head { grid-area: head; align-self: center; }
.demo__head h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); letter-spacing: -0.025em; }
.demo__what { margin-top: 10px; color: var(--ink-soft); }
.demo__sides {
  grid-area: sides; margin: 0; display: grid; gap: 14px;
  padding: 18px 20px; border-radius: var(--r-m); background: var(--sea-pale);
}
.demo__sides div + div { padding-top: 14px; border-top: 1px solid var(--line); }
.demo__sides dt { font: 700 1rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--sea); }
.demo__sides dd { margin: 6px 0 0; }
.demo__go { grid-area: go; display: flex; }
.demo__go .btn { width: 100%; }
.qr { display: none; margin: 0; }

@media (min-width: 700px) {
  .demo { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "shot head" "shot sides" "shot go"; row-gap: 20px; column-gap: 40px; }
  .demo__head { align-self: end; }
  .demo__sides { grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px 26px; }
  .demo__sides div + div { padding-top: 0; border-top: 0; }
  .demo__go .btn { width: auto; }
}
@media (min-width: 1000px) {
  .demos { margin-top: 56px; }
  .demo {
    grid-template-columns: 210px minmax(0, 1fr) 168px;
    grid-template-areas: "shot head go" "shot sides go";
    grid-template-rows: auto 1fr;
    column-gap: 56px; row-gap: 24px;
    padding: 48px 0;
  }
  .demo__head { align-self: end; padding-top: 12px; }
  .demo__sides { align-self: start; }
  .demo__go { flex-direction: column; align-items: stretch; gap: 20px; align-self: center; }
  .demo__go .btn { width: 100%; padding: 0 16px; }
  .qr { display: block; text-align: center; }
  .qr__code { width: 128px; height: 128px; margin: 0 auto; color: var(--ink); }
  .qr figcaption { margin-top: 10px; font-size: .875rem; line-height: 1.35; color: var(--ink-soft); }
}

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.step { position: relative; padding: 0 0 36px 44px; }
.step::before {
  content: ""; position: absolute; left: 11px; top: 30px; bottom: 0;
  width: 2px; background: var(--sea); opacity: .35;
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step::after {
  content: ""; position: absolute; left: 2px; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--sea);
}
.step--end::after { background: var(--sun); border-color: var(--ink); }
.step__when {
  display: inline-block;
  font: 800 1.5rem/1 var(--display); letter-spacing: -0.02em; color: var(--sea);
}
.step--end .step__when { background: var(--sun); color: var(--ink); padding: 4px 10px 6px; margin: -4px 0 0 -10px; border-radius: 10px; }
.step h3 { margin-top: 10px; }
.step p:last-child { margin-top: 8px; color: var(--ink-soft); max-width: 30em; }

@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
  .step { padding: 48px 0 0; }
  .step::before { left: 26px; right: -32px; top: 11px; bottom: auto; width: auto; height: 2px; }
  .step::after { left: 0; top: 0; }
  .step__when { font-size: 2rem; }
}

/* ---------- Formules ---------- */
.offers { margin-top: 40px; display: grid; gap: 16px; }
.offer {
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--r-m);
  border: 1.5px solid var(--line);
  background: var(--white);
}
.offer__name { font-size: 1.5rem; letter-spacing: -0.02em; }
.offer__price {
  margin-top: 12px;
  font: 800 2.5rem/1 var(--display); letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.shekel { font-size: .82em; margin-left: .04em; }
.offer__per { font: 600 1.05rem var(--text); letter-spacing: 0; color: var(--ink-soft); }
.offer__pitch { margin-top: 12px; font-weight: 600; }
.offer__desc { margin-top: 8px; color: var(--ink-soft); }
.offer__delay {
  margin-top: auto; padding-top: 20px;
  font-weight: 600; color: var(--ink);
}

.offer--main { background: var(--sun); border-color: var(--sun); padding: 30px 26px; }
.offer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.offer__tag {
  background: var(--ink); color: var(--white);
  font-weight: 600; font-size: .9rem; padding: 6px 12px; border-radius: 999px;
}
.offer--main .offer__name { font-size: 2rem; }
.offer--main .offer__price { font-size: 3.4rem; }
.offer--main .offer__pitch { font-size: 1.15rem; }
.offer--main .offer__delay { font-size: 1.15rem; }

.offer--suivi { background: var(--sea-pale); border-color: var(--sea-pale); }
.offer--suivi .offer__price { font-size: 2.1rem; }

.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { margin-top: .12em; width: 1.2em; height: 1.2em; }

@media (min-width: 700px) {
  .offers { grid-template-columns: 1fr 1fr; }
  .offer--main { grid-column: 1 / -1; }
  .offer--suivi { grid-column: 1 / -1; }
  .offer--main .checks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (min-width: 1000px) {
  .offers { margin-top: 56px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .offer { padding: 32px 30px; }
  .offer--main { grid-column: 1; grid-row: 1 / span 2; padding: 40px 38px; border-radius: var(--r-l); }
  .offer--main .checks { grid-template-columns: 1fr; font-size: 1.1rem; gap: 12px; }
  .offer--main .offer__price { font-size: 4.25rem; }
  .offer--suivi { grid-column: 2 / span 2; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 24px; align-items: center; }
  .offer--suivi .offer__name { grid-column: 1; }
  .offer--suivi .offer__desc { grid-column: 1; }
  .offer--suivi .offer__price { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* ---------- Compris ---------- */
.compris { display: grid; gap: 28px; }
.checks--big { margin: 0; gap: 18px; font-size: 1.125rem; }
.checks--big li { align-items: center; }
.checks--big .icon {
  margin: 0; width: 40px; height: 40px; padding: 10px;
  background: var(--sun); color: var(--ink); border-radius: 50%;
}
.terms { margin-top: 16px; color: var(--ink-soft); font-size: 1rem; max-width: 34em; }
@media (min-width: 1000px) {
  .compris { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .compris h2 { font-size: 2.75rem; }
  .checks--big { font-size: 1.2rem; }
}

/* ---------- Ethan ---------- */
.who { text-align: center; }
.who__lead {
  font: 800 clamp(2.6rem, 1.4rem + 5vw, 5rem)/1 var(--display); letter-spacing: -0.04em;
}
.who__text { margin: 22px auto 0; max-width: 34em; font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
@media (min-width: 1000px) { .who__text { font-size: 1.35rem; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.faq { margin-top: 32px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; min-height: 64px;
  font: 700 1.15rem/1.3 var(--display); letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--sea-pale);
  transition: transform .25s var(--ease-out), background-color .2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--sun);
}
.faq summary:focus-visible { outline-offset: 0; }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-soft); max-width: 42em; }
@media (min-width: 1000px) { .faq summary { font-size: 1.3rem; } }

/* ---------- Appel final ---------- */
.contact { padding: 16px 0 72px; }
.contact__panel {
  background: var(--sun);
  border-radius: var(--r-l);
  padding: 44px 24px;
}
.contact__panel { display: grid; gap: 32px; }
.contact__side { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.contact__side h3 { font-size: 1.2rem; }
.contact__side ul { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 8px; }
.contact__side li::marker { color: var(--ink); }
.contact h2 { font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.5rem); letter-spacing: -0.038em; line-height: .98; max-width: 10em; }
.contact__lead { margin-top: 18px; font-size: 1.15rem; max-width: 34em; }
.contact .actions { margin-top: 28px; }
.contact .btn--wa, html:not(.wa-on) .contact .btn--mail { background: var(--ink); border-color: var(--ink); color: var(--white); }
.contact .btn--mail { background: transparent; border-color: var(--ink); color: var(--ink); }
.contact__note { font-size: 1rem; }
.contact__note a { color: var(--ink); overflow-wrap: anywhere; }
.contact :focus-visible { outline-color: var(--ink); }
@media (hover: hover) {
  .contact .btn--wa:hover, html:not(.wa-on) .contact .btn--mail:hover { background: var(--sea); border-color: var(--sea); color: var(--white); }
  .contact .btn--mail:hover { background: var(--ink); color: var(--white); }
}
@media (min-width: 1000px) {
  .contact { padding: 24px 0 112px; }
  .contact__panel { padding: 80px 72px 64px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 72px; row-gap: 48px; align-items: end; }
  .contact__side { padding-top: 24px; }
  .contact__note { grid-column: 1 / -1; }
  .contact__lead { font-size: 1.3rem; }
}

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--ink-soft); font-size: .95rem; }
.foot__in { display: grid; gap: 10px; }
.foot .brand { font-size: 1.1rem; }
.foot a { color: var(--ink-soft); overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .foot__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
