/* Yuva — marketing (yuva.life)
   Direction : ÉDITORIAL & ÉMOTIONNEL. On vend un sentiment, pas une app.
   Grandes photos d'humains/famille, texte rare et poétique, typo serif chaleureuse.
   Blanc lumineux, vert en filigrane. Vibe « Life Extension » (Vanilla Sky). */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8f6;
  --cream: #f4f5f1;          /* off-white très doux (plus froid, plus clean) */
  --ink: #17211b;
  --muted: #5f6d65;
  --green: #1e8f63;
  --green-dark: #12653f;
  --line: #eae7df;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1180px;
  --measure: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
.eyebrow {
  font-family: var(--sans);
  font-size: .7rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted);   /* restraint : le vert reste un filigrane, pas un accent partout */
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: 2px;
  font-family: var(--sans); font-size: .76rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  cursor: pointer; border: 1px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; }
.link-light { color: #fff; font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 3px; }
.link-light:hover { border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 11px 20px; font-size: .68rem; }

/* ---------- Header (transparent -> solid au scroll) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  /* Par défaut : blanc translucide, un peu plus léger -> lisible mais aéré */
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, border-color .35s ease;
}
/* Au scroll : plus transparent (le contenu dessous est blanc) */
.site-header.scrolled {
  background: rgba(255,255,255,.55);
  border-bottom-color: rgba(230,231,223,.45);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand .logomark { display: inline-flex; align-items: center; }
/* logomark.png est détouré (411×275) : affichage direct, hauteur fixe */
.brand .logomark img { height: 24px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); font-weight: 500; opacity: .82; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- Full-bleed helpers ---------- */
.bleed { position: relative; width: 100%; }
.photo { position: relative; overflow: hidden; }
/* Le dégradé de placeholder ne s'applique QU'aux blocs encore vides (avec .ph-cap),
   jamais à un bloc qui porte une vraie image (comme le héros). */
.photo:has(.ph-cap) {
  background:
    radial-gradient(70% 90% at 70% 10%, #fbfcfa, transparent 60%),
    linear-gradient(160deg, #f2f5f2 0%, #eaf2ec 55%, #e4f0e8 100%);
}
/* Pour poser une vraie photo sur un bloc .photo : lui donner un `background` COMPLET
   (ex : background:#eee url('assets/x.jpg') center/cover no-repeat) et retirer sa .ph-cap.
   Voir .hero .photo plus bas. */

/* Photos posées (background complet => aucun conflit avec le dégradé placeholder) */
.photo--enfant { background: #e6ece3 url('assets/enfant.png') center 30% / cover no-repeat; }
.photo--rentree { background: #efece6 url('assets/rentree.png') center 35% / cover no-repeat; }
.photo--aines { background: #eae7df url('assets/aines.png') center 40% / cover no-repeat; }
.photo--famille { background: #efe9df url('assets/famille.png') center 30% / cover no-repeat; }
.photo--sophie { background: #efe9e2 url('assets/sophie.png') center 25% / cover no-repeat; }
/* légende de placeholder (disparaît quand on met une vraie image) */
.photo .ph-cap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--green-dark); font-size: .82rem; font-weight: 600; opacity: .55; text-align: center; padding: 24px;
}

/* ---------- HERO ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; }
.hero .photo {
  position: absolute; inset: 0; z-index: 1;
  /* background COMPLET (shorthand) => écrase les dégradés de .photo */
  background: #e9efe9 url('assets/hero.png') center 42% / cover no-repeat;
}
/* voiles : léger en haut (header), plus marqué en bas (titre blanc) */
.hero .scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(20,25,20,.12) 0%, rgba(20,25,20,0) 24%),
    linear-gradient(to top, rgba(16,24,18,.66) 0%, rgba(16,24,18,.12) 40%, rgba(16,24,18,0) 58%);
}
.hero .hero-inner {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8vh;
}
.hero .kicker { color: rgba(255,255,255,.85); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 18ch; }
.hero .hero-sub { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 40ch; margin-top: 22px; }
.hero .hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .1em; }

/* ---------- STATEMENT (manifeste) ---------- */
.statement { padding: clamp(96px, 16vh, 200px) 0; text-align: center; }
.statement p { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.15;
  font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 20ch; margin: 0 auto; }
.statement .accent { color: var(--green-dark); font-style: italic; }

/* ---------- BEAT (photo pleine largeur + phrase) ---------- */
.beat { position: relative; height: 92svh; min-height: 560px; }
.beat .photo { position: absolute; inset: 0; z-index: 1; }
.beat .scrim { position: absolute; inset: 0; z-index: 2; }
.beat--dim .scrim { background: linear-gradient(to top, rgba(18,26,20,.5), rgba(18,26,20,.05) 55%); }
.beat--dim.beat--center .scrim { background: rgba(18,26,20,.32); }
.beat-inner { position: relative; z-index: 2; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; display: flex; }
.beat--bottom .beat-inner { align-items: flex-end; padding-bottom: 9vh; }
.beat--center .beat-inner { align-items: center; justify-content: center; text-align: center; }
.beat h2 { color: #fff; font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.08;
  font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20ch; }
.beat--center h2 { max-width: 24ch; }

/* ---------- SPLIT (photo + texte) ---------- */
.split { padding: clamp(80px, 12vh, 150px) 0; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse .split-inner > .split-media { order: 2; }
.split-media { aspect-ratio: 4/5; border-radius: 4px; }
.split-copy h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 16px 0 18px; }
.split-copy .lead { max-width: 42ch; }
.split-copy .more { display: inline-block; margin-top: 24px; color: var(--green-dark); font-weight: 600; }

/* ---------- PROMISE ---------- */
.promise { background: var(--cream); text-align: center; padding: clamp(90px, 14vh, 170px) 0; }
.promise .display { font-size: clamp(1.9rem, 4.2vw, 3.2rem); max-width: 22ch; margin: 0 auto; }
.promise .sub { color: var(--muted); margin-top: 20px; font-size: 1.1rem; }

/* ---------- TESTIMONIAL ---------- */
.testi { padding: clamp(90px, 14vh, 170px) 0; }
.testi-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.testi-photo { aspect-ratio: 3/4; border-radius: 4px; }
.testi blockquote { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.3;
  font-size: clamp(1.5rem, 3vw, 2.3rem); }
.testi .author { margin-top: 24px; color: var(--muted); font-size: .95rem; }

/* ---------- FINAL CTA ---------- */
.cta { text-align: center; padding: clamp(96px, 16vh, 200px) 0; }
.cta .display { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 20ch; margin: 0 auto 30px; }
.cta .note { color: var(--muted); margin-top: 18px; font-size: .9rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; max-width: 32ch; }
.footer-col h4 { font-family: var(--sans); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin: 0 0 16px; }
.footer-col a { display: block; font-size: .92rem; color: rgba(255,255,255,.72); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a { width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.72); }
.socials a:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .split-inner, .testi-inner { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-inner > .split-media { order: 0; }
  .split-media { aspect-ratio: 3/2; }
  .testi-photo { aspect-ratio: 3/2; max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero .hero-actions { flex-direction: column; align-items: flex-start; }
}
