/* ==========================================================================
   Tounsya — landing page styles
   Palette and type mirror the Tounsya mobile app design system.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  --cream: #FFF7E8;
  --cream-2: #FBEDD3;
  --navy: #17232E;
  --navy-2: #22303D;
  --navy-3: #2C3B4A;
  --coral: #EF5B4C;
  --coral-dark: #D9483A;
  --coral-soft: #FDE4E0;
  --teal: #15828A;
  --teal-dark: #106970;
  --teal-soft: #DCEFF0;
  --muted: #6B737B;
  --white: #FFFFFF;
  --gold: #E3B25A;
  --gold-deep: #8A5A12;
  --gold-soft: #FBEFD2;
  --line: rgba(23, 35, 46, 0.09);
  --line-light: rgba(255, 247, 232, 0.14);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(23, 35, 46, 0.05), 0 2px 8px rgba(23, 35, 46, 0.04);
  --sh-md: 0 14px 34px -14px rgba(23, 35, 46, 0.22);
  --sh-lg: 0 34px 70px -24px rgba(23, 35, 46, 0.32);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 9vw, 8rem);
  --header-h: 84px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* ---------- Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* section icon tiles: navy strokes, coral accent on detail paths, ~32px glyphs */
.pillar__icon, .feature-list__icon, .trust-card__icon { --ic-accent: var(--coral); color: var(--navy); }
.pillar__icon .icon, .trust-card__icon .icon { width: 2rem; height: 2rem; stroke-width: 1.75; }
.feature-list__icon .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.75; }
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--cream);
  padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600;
}
.skip-link:focus { top: 12px; }
/* ---------- Typography -------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.display--xl { font-size: clamp(2.75rem, 5.6vw + 0.5rem, 5.25rem); }
.display--lg { font-size: clamp(2.125rem, 3.2vw + 0.6rem, 3.375rem); }
.display .accent { display: block; font-style: italic; font-weight: 600; color: var(--coral); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--gold { color: var(--gold-deep); }
.lead {
  font-size: clamp(1.0625rem, 0.5vw + 0.9rem, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
  max-width: 56ch;
}
.section--navy .lead { color: rgba(255, 247, 232, 0.72); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.text-link { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(21, 130, 138, .4); }
.text-link:hover { text-decoration-color: currentColor; }
/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 46px; padding: 0 1.35rem; font-size: 1rem; }
.btn--lg { min-height: 56px; padding: 0 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px -10px rgba(239, 91, 76, .6); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: 0 14px 28px -10px rgba(239, 91, 76, .65); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid rgba(23, 35, 46, .18); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(23, 35, 46, .04); }
/* ---------- Header ------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.is-scrolled {
  background: rgba(255, 247, 232, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark { width: auto; height: 36px; }
/* footer sits on navy — the logo's deep blue needs a light chip to stay legible */
.brand__tile { display: inline-flex; align-items: center; justify-content: center; background: var(--cream); border-radius: 14px; padding: .4rem .55rem; }
.brand--light .brand__mark { height: 32px; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.02em; line-height: 1; }
.brand--light { color: var(--cream); }
.nav__list { display: flex; gap: clamp(1.1rem, 2.4vw, 2.25rem); }
.nav__list a {
  position: relative; font-weight: 500; font-size: 1.0625rem; color: rgba(23, 35, 46, .8);
  padding: .4rem 0; transition: color .2s;
}
.nav__list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--coral); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--navy); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }
.header__actions { display: flex; align-items: center; gap: .75rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 46px; padding: 0 1rem;
  border-radius: var(--r-pill); border: 1.5px solid rgba(23, 35, 46, .14);
  font-weight: 600; font-size: .9375rem; letter-spacing: .04em;
  transition: border-color .2s, background-color .2s;
}
.lang-toggle:hover { border-color: var(--navy); }
.lang-toggle .icon { width: 1.05em; height: 1.05em; color: var(--teal); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn .icon--close, .menu-btn[aria-expanded="true"] .icon--menu { display: none; }
.menu-btn[aria-expanded="true"] .icon--close { display: block; }
/* ---------- Sections & decor ------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--cream); }
.blob, .ring, .dot { position: absolute; pointer-events: none; }
.blob { border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; }
.blob--coral { background: var(--coral); opacity: .14; }
.blob--teal { background: var(--teal); opacity: .13; }
.ring { border-radius: 50%; border: 18px solid var(--teal); opacity: .16; }
.ring--coral { border-color: var(--coral); }
.dot { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); opacity: .5; }
.blob--behind, .ring--behind { z-index: 0; }
/* ---------- Hero -------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero__decor .blob--coral { width: 46vw; max-width: 640px; aspect-ratio: 1; right: -12vw; top: -8vw; }
.hero__decor .ring--teal { width: 240px; height: 240px; left: -110px; bottom: 6%; }
.hero__decor .dot--teal { left: 52%; top: 12%; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
  position: relative; z-index: 1;
}
.hero__copy .lead { margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-top: 2rem; font-size: .9375rem; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .icon { width: 1.1em; height: 1.1em; color: var(--teal); stroke-width: 2.5; }
.hero__visual { position: relative; height: 700px; }
.hero__visual .phone--front { position: absolute; right: 6%; top: 40px; z-index: 3; }
.hero__visual .phone--back { position: absolute; left: 4%; top: 120px; z-index: 1; transform: rotate(-7deg); --s: .62; }
/* ---------- Phone mockup ------------------------------------------------ */
.phone {
  --s: .74;
  width: calc(390px * var(--s));
  aspect-ratio: 390 / 844;
  font-size: calc(16px * var(--s));
  background: var(--navy);
  border-radius: calc(56px * var(--s));
  padding: calc(11px * var(--s));
  box-shadow: var(--sh-lg), inset 0 0 0 calc(2px * var(--s)) rgba(255, 255, 255, .06);
  position: relative;
  flex: none;
}
.phone--lg { --s: .86; }
.phone--md { --s: .72; }
.phone--aside { --s: .58; }
.phone__shot {
  display: block; width: 100%; height: 100%;
  border-radius: calc(46px * var(--s));
  object-fit: cover; object-position: top center;
  background: var(--cream);
}
.phone picture { display: block; height: 100%; }
/* notch sits in the app's own top padding */
.phone::after {
  content: ''; position: absolute; left: 50%; top: calc(18px * var(--s)); transform: translateX(-50%);
  width: calc(104px * var(--s)); height: calc(27px * var(--s));
  border-radius: calc(16px * var(--s)); background: var(--navy); z-index: 2; pointer-events: none;
}
/* ---------- Intro ------------------------------------------------------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.intro__copy .lead { margin-top: 1.5rem; }
.intro__p2 { color: var(--muted); margin-top: 1.1rem; max-width: 56ch; }
.intro__figure { position: relative; isolation: isolate; }
.intro__figure img { width: 100%; height: auto; border-radius: var(--r-xl); aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 92% center; box-shadow: var(--sh-md); }
.intro__figure::before {
  content: ''; position: absolute; inset: auto -22px -22px auto; width: 58%; height: 58%;
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; background: var(--coral); opacity: .14; z-index: -1;
}
.intro__figure figcaption {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  background: var(--cream); color: var(--navy); font-family: var(--font-display); font-weight: 600; font-style: italic;
  padding: .55rem 1rem; border-radius: var(--r-pill); font-size: 1rem; box-shadow: var(--sh-sm);
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pillar {
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--cream); border-radius: var(--r-lg); padding: 1.75rem;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.pillar__icon { width: 3.5rem; height: 3.5rem; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .5rem; }
.pillar__icon--coral { background: var(--coral-soft); }
.pillar__icon--teal { background: var(--teal-soft); }
.pillar__icon--navy { background: rgba(23, 35, 46, .08); }
.pillar p { color: var(--muted); font-size: .9875rem; }
/* ---------- Dating ------------------------------------------------------ */
.dating, .messages, .agent { overflow: hidden; }
.dating__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.dating__visual { position: relative; min-height: 800px; display: flex; justify-content: center; align-items: center; }
.dating__visual .blob--teal { width: 520px; height: 520px; left: -8%; top: 8%; }
.dating__visual .phone--lg { position: relative; z-index: 2; margin-right: 10%; }
.dating__visual .phone--aside { position: absolute; right: 0; bottom: 7%; z-index: 1; }
.dating__copy .lead { margin-top: 1.5rem; }
.feature-list { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.feature-list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature-list__icon {
  flex: none; width: 3.25rem; height: 3.25rem; border-radius: 14px;
  background: var(--white); box-shadow: var(--sh-sm);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-list p { color: var(--muted); font-size: .9875rem; margin-top: .2rem; max-width: 48ch; }
/* ---------- Messaging --------------------------------------------------- */
.messages__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.messages__copy .lead { margin-top: 1.5rem; }
.mini-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.mini-facts div { border-top: 2px solid var(--coral); padding-top: .9rem; }
.mini-facts dt { font-weight: 700; margin-bottom: .3rem; }
.mini-facts dd { color: var(--muted); font-size: .9375rem; }
.messages__visual { position: relative; min-height: 800px; display: flex; justify-content: flex-end; align-items: center; }
.messages__visual .blob--coral { width: 520px; height: 520px; right: -6%; top: 6%; }
.messages__visual .phone--chat { --s: .86; position: relative; z-index: 2; margin-left: 10%; }
.messages__visual .phone--aside { position: absolute; left: 0; bottom: 7%; z-index: 1; }
/* ---------- Events ------------------------------------------------------ */
.events { overflow: hidden; }
.events__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.events__head .lead { padding-bottom: .35rem; }
.events__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-top: clamp(3rem, 6vw, 4.5rem); }
.events__visual { display: flex; justify-content: center; position: relative; }
.events__visual::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--teal); opacity: .22; filter: blur(60px); z-index: 0;
}
.events__visual .phone { z-index: 1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.events__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ev-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--navy-2); border-radius: var(--r-lg); padding: 1.6rem;
  border: 1px solid var(--line-light); transition: transform .3s var(--ease), background-color .3s;
}
.ev-card:hover { transform: translateY(-3px); background: var(--navy-3); }
.ev-card h3 { color: var(--cream); }
.ev-card p { color: rgba(255, 247, 232, .68); font-size: .9375rem; margin-top: .35rem; }
.ev-card__date {
  flex: none; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: var(--cream); color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.ev-card__date b { font-size: .6rem; letter-spacing: .08em; font-weight: 700; }
.ev-card__date i { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.ev-card__date--gold { background: var(--gold); color: var(--navy); }
.ev-card__date--gold .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; }
.ev-card--gold { border-color: rgba(227, 178, 90, .45); }
/* ---------- AI Agent ---------------------------------------------------- */
.agent__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.agent__copy .lead { margin-top: 1.5rem; }
.check-list { display: grid; gap: .8rem; margin-top: 2rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--navy); font-weight: 500; }
.check-list .icon { width: 1.5rem; height: 1.5rem; padding: .3rem; stroke-width: 2.5; border-radius: 50%; background: var(--teal-soft); color: var(--teal); margin-top: .1rem; }
.agent__visual { position: relative; display: flex; justify-content: center; }
.agent__visual .ring--coral { width: 320px; height: 320px; right: -5%; top: -10%; }
.agent__visual .blob--agent { width: 360px; height: 360px; left: -8%; bottom: -12%; }
/* ---------- Gold -------------------------------------------------------- */
.gold {
  background: linear-gradient(180deg, var(--cream) 0%, #FBEBCB 100%);
  overflow: hidden;
}
.gold::before {
  content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  right: -240px; top: 6%; background: radial-gradient(circle, rgba(227, 178, 90, .30), transparent 62%);
}
.gold__head { max-width: 640px; position: relative; }
.gold__head .lead { margin-top: 1.5rem; }
.plans { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); position: relative; align-items: center; }
.plan {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--r-xl); padding: 2rem;
  box-shadow: var(--sh-sm);
}
.plan:not(.plan--gold) { background: rgba(255, 255, 255, .7); border: 1px solid rgba(23, 35, 46, .06); box-shadow: none; }
.plan:not(.plan--gold) .plan__head h3 { font-size: 1.6rem; }
.plan__badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem .85rem; border-radius: var(--r-pill); margin-bottom: 1.25rem; position: relative; z-index: 1;
}
.plan__badge .icon { width: 1em; height: 1em; }
.plan__head h3 { font-family: var(--font-display); font-size: 1.85rem; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: .5rem; }
.plan__head p { color: var(--muted); margin-top: .35rem; }
.plan__list { display: grid; gap: .7rem; margin: 1.75rem 0 2rem; flex: 1; }
.plan__list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .9875rem; }
.plan__list .icon { width: 1.4rem; height: 1.4rem; padding: .3rem; stroke-width: 2.5; border-radius: 50%; background: rgba(23, 35, 46, .06); color: var(--navy); margin-top: .05rem; }
.plan--gold {
  background: var(--navy); color: var(--cream);
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(227, 178, 90, .35);
  position: relative; overflow: hidden;
  padding: clamp(2rem, 3.5vw, 3rem);
}
.plan--gold .plan__head h3 { font-size: 2.6rem; }
.plan--gold .plan__head p { font-size: 1.0625rem; }
.plan--gold .plan__list { grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
.plan--gold .plan__list li { font-size: 1rem; }
.plan--gold .plan__terms span { font-size: .875rem; padding: .5rem 1rem; }
.plan--gold .btn--primary { min-height: 56px; font-size: 1.0625rem; }
.plan--gold::after {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(227, 178, 90, .45), transparent 65%); pointer-events: none;
}
.plan--gold .plan__head h3 { color: var(--gold); }
.plan--gold .plan__head p { color: rgba(255, 247, 232, .7); }
.plan--gold .plan__list .icon { background: rgba(227, 178, 90, .18); color: var(--gold); }
.plan__terms { display: flex; gap: .5rem; margin-bottom: 1rem; }
.plan__terms span { font-size: .8125rem; font-weight: 600; padding: .45rem .9rem; border-radius: var(--r-pill); border: 1px solid rgba(255, 247, 232, .22); color: rgba(255, 247, 232, .85); }
.plan--gold .btn--primary { box-shadow: none; }
/* ---------- Community / trust ------------------------------------------ */
.community__head { max-width: 680px; }
.community__head .lead { margin-top: 1.5rem; }
.community__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); align-items: stretch; }
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust-card { background: var(--cream); border-radius: var(--r-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.trust-card p { color: var(--muted); font-size: .9375rem; flex: 1; }
.trust-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: .4rem; }
.trust-card__icon--teal { background: var(--teal-soft); }
.trust-card__icon--coral { background: var(--coral-soft); }
.trust-card__icon--navy { background: rgba(23, 35, 46, .08); }
.trust-card .text-link { font-size: .9375rem; }
.principles { background: var(--navy); color: var(--cream); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.principles__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--gold); margin-bottom: 1.25rem; }
.principles__list { display: grid; gap: .9rem; }
.principles__list li { display: flex; gap: .75rem; align-items: flex-start; color: rgba(255, 247, 232, .85); font-size: .9875rem; line-height: 1.5; }
.principles__list .icon { width: 1.5rem; height: 1.5rem; padding: .3rem; stroke-width: 2.5; border-radius: 50%; background: rgba(227, 178, 90, .18); color: var(--gold); margin-top: .05rem; }
/* ---------- Download / final CTA --------------------------------------- */
.download { padding-bottom: var(--section); }
.download__panel {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--cream);
  border-radius: var(--r-xl);
  padding: clamp(3.5rem, 7vw, 6.5rem) clamp(1.5rem, 5vw, 5.5rem) 0;
  box-shadow: var(--sh-lg);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: end;
  min-height: 600px;
}
.download__decor { position: absolute; inset: 0; pointer-events: none; }
.download__decor .blob--coral { width: 520px; height: 520px; right: -160px; top: 30%; opacity: .1; }
.download__decor .ring--teal { width: 260px; height: 260px; left: -100px; bottom: -80px; opacity: .3; }
.download__copy { position: relative; z-index: 1; padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.download__copy .lead { margin-top: 1.5rem; color: rgba(255, 247, 232, .72); font-size: 1.25rem; }
.download .display--xl { font-size: clamp(2.5rem, 4.8vw + 0.5rem, 4.9rem); }
.download .display .accent { color: var(--gold); }
.store-buttons { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.store-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--cream); color: var(--navy);
  border-radius: 14px; padding: .55rem 1.25rem .55rem 1rem; min-height: 56px;
  transition: transform .25s var(--ease), background-color .25s;
}
.store-btn:hover { transform: translateY(-2px); background: var(--white); }
.store-btn .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.75; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 1.0625rem; }
.store-btn small { font-size: .7rem; font-weight: 500; color: var(--muted); }
.download__visual { position: relative; z-index: 1; display: flex; justify-content: center; align-self: end; }
.download__visual .phone { --s: .72; margin-bottom: -150px; }
/* ---------- Footer ------------------------------------------------------ */
.footer { background: var(--navy); color: rgba(255, 247, 232, .72); padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem 2rem; }
.footer__brand p { margin-top: 1rem; max-width: 30ch; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a {
  width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 247, 232, .08); color: var(--cream); transition: background-color .2s, color .2s;
}
.social a:hover { background: var(--coral); }
.social .icon { width: 1.35rem; height: 1.35rem; stroke-width: 1.75; }
.footer__col h3 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: .6rem; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: .9rem;
}
.lang-toggle--footer { border-color: rgba(255, 247, 232, .22); color: var(--cream); }
.lang-toggle--footer:hover { border-color: var(--cream); }
/* ---------- Motion ------------------------------------------------------ */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 8s; }
.float--fast { animation-duration: 5s; animation-delay: -2s; }
.hero__visual .phone--back.float { animation-name: float-tilt; }
@keyframes float-tilt { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-10px); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pillar, .ev-card, .store-btn { transition: none; }
}
/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1280px) {
  .hero__visual { height: 640px; }
  .hero__visual .phone--front { --s: .68; right: 2%; }
  .hero__visual .phone--back { --s: .56; left: 0; }
  .dating__visual, .messages__visual { min-height: 740px; }
  .dating__visual .phone--lg, .messages__visual .phone--chat { --s: .78; }
  .phone--aside { --s: .52; }
}
@media (max-width: 1080px) {
  .events__cards { grid-template-columns: 1fr; }
  .hero__visual .phone--front { --s: .62; }
  .hero__visual .phone--back { --s: .5; top: 140px; }
  .trust-cards { grid-template-columns: 1fr; }
  .community__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .events__head { grid-template-columns: 1fr; gap: 1.25rem; }
  .events__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .events__visual .phone--md { --s: .7; }
  .events__cards { grid-template-columns: 1fr 1fr; }
  body.nav-open { overflow: hidden; }
  /* hero: copy centred, phones re-composed underneath */
  .hero { padding-top: 2rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__copy { text-align: center; max-width: 640px; margin-inline: auto; }
  .hero__copy .lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { height: 600px; width: min(100%, 560px); margin-inline: auto; }
  .hero__visual .phone--front { --s: .66; right: 50%; transform: translateX(62%); top: 30px; }
  .hero__visual .phone--back { --s: .52; left: 50%; transform: translateX(-108%) rotate(-7deg); top: 110px; }
  .hero__decor .blob--coral { width: 70vw; right: -30vw; top: 52%; }
  .hero__decor .ring--teal, .hero__decor .dot--teal { display: none; }
  @keyframes float-tilt {
    0%, 100% { transform: translateX(-108%) rotate(-7deg) translateY(0); }
    50% { transform: translateX(-108%) rotate(-7deg) translateY(-10px); }
  }
  .hero__visual .phone--front.float { animation-name: float-x; }
  @keyframes float-x { 0%, 100% { transform: translateX(62%) translateY(0); } 50% { transform: translateX(62%) translateY(-10px); } }
  .intro__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro__figure { max-width: 560px; }
  .intro__figure img { aspect-ratio: 4 / 3.4; }
  .pillars { grid-template-columns: 1fr; gap: 1rem; }
  .pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 1.1rem; row-gap: .25rem; padding: 1.5rem 1.6rem; }
  .pillar__icon { grid-row: 1 / 3; margin: 0; }
  .dating__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .dating__visual { order: 2; min-height: 0; align-items: flex-end; justify-content: center; gap: 1.25rem; }
  .dating__visual .phone--lg { --s: .74; margin-right: 0; }
  .dating__visual .phone--aside { position: relative; right: auto; bottom: auto; margin-bottom: 2.5rem; }
  .dating__visual .blob--teal { width: 380px; height: 380px; left: 50%; transform: translateX(-70%); }
  .dating__copy { order: 1; }
  .messages__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .messages__visual { min-height: 0; justify-content: center; align-items: flex-end; gap: 1.25rem; padding-left: 0; }
  .messages__visual .phone--chat { --s: .74; margin-right: 0; }
  .messages__visual .phone--chat { margin-left: 0; }
  .messages__visual .phone--aside { position: relative; left: auto; bottom: auto; margin-bottom: 2.5rem; order: -1; }
  .phone--aside { --s: .5; }
  .messages__visual .blob--coral { width: 360px; height: 360px; right: -6%; }
  .agent__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .agent__visual { justify-content: center; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .community__grid { grid-template-columns: 1fr; }
  .trust-cards { grid-template-columns: 1fr 1fr; }
  .download__panel { grid-template-columns: 1fr; min-height: 0; padding-inline: clamp(1.25rem, 5vw, 3rem); padding-top: clamp(2.5rem, 6vw, 4rem); }
  .download__copy { padding-bottom: 0; }
  .download__visual { margin-top: 1rem; }
  .download__visual .phone { --s: .66; margin-bottom: -140px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- L'en-tête bascule avant de serrer ----------
   Il bascule en menu à **1220 px** et non à 900. Mesuré, pas estimé : la
   marque, cinq entrées de navigation, la langue, « Connexion » et l'appel à
   l'action réclament **1117 px**, et la page prend 95 px de gouttières —
   donc il faut 1212 px de fenêtre. En dessous, tout se chevauchait, c'est-à-
   dire sur la plupart des portables.

   Le bouton de l'en-tête a aussi été raccourci : « Préviens-moi à
   l'ouverture » faisait 247 px à lui seul. Le menu garde la phrase entière,
   là où il y a la place.

   Son point de rupture est séparé de celui du reste de la page : une rangée
   de boutons et une grille d'illustrations n'ont pas la même contrainte, et
   les lier obligerait à déformer l'une pour sauver l'autre. */
@media (max-width: 1220px) {
  :root { --header-h: 72px; }
  /* nav collapses */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s, visibility 0s .3s;
    box-shadow: var(--sh-md);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; font-size: 1.125rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--navy); }
  .nav__list a::after { display: none; }
  .nav__mobile-cta { display: grid; gap: .75rem; margin-top: 1.25rem; justify-items: center; }
  .nav__mobile-contact { color: var(--teal-dark); font-weight: 600; font-size: .9375rem; }
  .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .brand__mark { height: 32px; }
  .header { background: rgba(255, 247, 232, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
}

@media (max-width: 640px) {
  .events__cards { grid-template-columns: 1fr; }
  .ev-card { padding: 1.25rem; }
  body { font-size: 1rem; }
  .btn--lg { min-height: 52px; padding: 0 1.5rem; font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: .35rem .9rem; font-size: .875rem; }
  .hero__visual { height: 540px; }
  .hero__visual .phone--front { --s: .58; right: 0; left: auto; transform: none; top: 40px; }
  .hero__visual .phone--back { --s: .46; left: 0; transform: rotate(-7deg); top: 110px; }
  @keyframes float-tilt {
    0%, 100% { transform: rotate(-7deg) translateY(0); }
    50% { transform: rotate(-7deg) translateY(-8px); }
  }
  @keyframes float-x { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .pillar { padding: 1.25rem 1.3rem; }
  .intro__figure::before { display: none; }
  .intro__figure figcaption { left: 1rem; bottom: 1rem; font-size: .9rem; }
  .dating__visual { flex-direction: row; align-items: flex-end; gap: .5rem; }
  .dating__visual .phone--lg { --s: .58; }
  .dating__visual .phone--aside { margin-bottom: 1.5rem; }
  .feature-list { gap: 1rem; }
  .messages__visual { flex-direction: row; align-items: flex-end; gap: .5rem; }
  .messages__visual .phone--chat { --s: .58; }
  .messages__visual .phone--aside { margin-bottom: 1.5rem; }
  .phone--aside { --s: .42; }
  .mini-facts { grid-template-columns: 1fr; }
  .plan { padding: 1.5rem; border-radius: var(--r-lg); }
  .plan--gold { padding: 1.75rem 1.5rem; }
  .plan__head h3, .plan--gold .plan__head h3 { font-size: 2rem; }
  .plan--gold .plan__list { grid-template-columns: 1fr; }
  .plan__terms { flex-wrap: wrap; }
  .trust-cards { grid-template-columns: 1fr; }
  .principles { padding: 1.5rem; }
  .download__panel { border-radius: var(--r-lg); }
  .download__decor .blob--coral { width: 300px; height: 300px; right: -120px; top: auto; bottom: 10%; opacity: .12; }
  .store-buttons .store-btn { flex: 1 1 200px; justify-content: center; }
  .download__visual .phone { --s: .58; margin-bottom: -120px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .events__visual .phone--md { --s: .64; }
  .hero__visual { height: 520px; }
  .hero__visual .phone--front { --s: .56; }
  .hero__visual .phone--back { --s: .44; }
  .dating__visual .phone--lg, .messages__visual .phone--chat { --s: .54; }
  .phone--aside { --s: .39; }
}

/* ---------- Liste d'attente ----------
   L'application n'est sur aucun magasin : les deux boutons de téléchargement
   pointaient sur « # » et ne menaient nulle part. Ils sont remplacés par un
   champ e-mail — la seule chose honnête à proposer tant qu'il n'y a rien à
   installer, et la seule façon de garder un lien avec qui est venu. */
.waitlist { margin-top: 1.5rem; max-width: 30rem; }
.waitlist__label {
  display: block;
  margin-bottom: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .72;
}
.waitlist__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.waitlist__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: inherit;
  font: inherit;
}
.waitlist__input::placeholder { color: currentColor; opacity: .5; }
.waitlist__input:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.waitlist__note { margin-top: .8rem; font-size: .8rem; line-height: 1.5; opacity: .66; }
/* Vide, le message ne doit pas réserver de place : un blanc sous le champ
   donne l'impression qu'il manque quelque chose. */
.waitlist__msg { margin-top: .6rem; font-size: .9rem; font-weight: 600; }
.waitlist__msg:empty { margin: 0; }

/* Le bouton « Connexion » de l'en-tête. Fantôme, pas plein : l'action
   principale reste de laisser son adresse — essayer vient après. */
.header__login { margin-right: .5rem; }
@media (max-width: 1220px) { .header__login { display: none; } } /* il est dans le menu */
.waitlist__try { margin-top: .9rem; font-size: .9rem; }
.waitlist__try a { color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: .2em; }
.waitlist__try a:hover { opacity: 1; }
