/* ============================================
   Dalà — Mini site
   Palette mauve cohérente avec l'app
   ============================================ */

:root {
  /* Palette principale */
  --brand: #a78bb7;
  --brand-deep: #8a6ea0;
  --brand-soft: #f3edf7;
  --brand-glow: rgba(167, 139, 183, 0.25);

  /* Surfaces */
  --bg: #fbf8f4;
  --bg-card: #ffffff;
  --bg-elevated: #fdfaf6;

  /* Texte */
  --text: #1c1a1f;
  --text-soft: #5b5560;
  --text-mute: #8a8590;

  /* Bordures */
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 2px rgba(28, 26, 31, 0.04), 0 1px 8px rgba(28, 26, 31, 0.04);
  --shadow-md: 0 4px 20px rgba(28, 26, 31, 0.06);
  --shadow-lg: 0 14px 40px rgba(138, 110, 160, 0.12);
}

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

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(251, 248, 244, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 3px 10px var(--brand-glow);
  display: block;
}
.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.18s ease;
}
.nav-links a:hover {
  color: var(--brand-deep);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--brand-soft) 0%, transparent 60%),
    var(--bg);
}
.hero-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-logo {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  margin: 0 auto 28px;
  display: block;
  box-shadow:
    0 8px 26px rgba(138, 110, 160, 0.22),
    0 2px 6px rgba(28, 26, 31, 0.08);
  animation: heroLogoFloat 4.5s ease-in-out infinite;
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-title-em {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  font-style: italic;
  color: var(--brand-deep);
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 auto 36px;
  max-width: 600px;
}
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: #1c1a1f;
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-store:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(28, 26, 31, 0.18);
}
.btn-store svg {
  flex-shrink: 0;
}
.btn-store small {
  display: block;
  font-size: 0.68rem;
  line-height: 1.2;
  opacity: 0.75;
}
.btn-store strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-play {
  background: #1c1a1f;
}
.hero-meta {
  margin-top: 24px;
  color: var(--text-mute);
  font-size: 0.88rem;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.15;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features {
  padding: 80px 0;
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-emoji {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   CO-PARENTALITÉ
   ============================================ */
.coparent {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--brand-soft) 0%, var(--bg) 100%);
}
.coparent-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.coparent-eyebrow {
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.coparent-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.coparent-title em {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  font-style: italic;
  color: var(--brand-deep);
}
.coparent-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  margin: 0 auto 44px;
  max-width: 620px;
  line-height: 1.6;
}
.coparent-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  text-align: left;
}
.bullet {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
}
.bullet-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--brand-soft);
  border-radius: 12px;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.bullet strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.bullet p {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ============================================
   HÉRITAGE
   ============================================ */
.heritage {
  padding: 100px 0;
  background: linear-gradient(180deg, #fdfaf6 0%, #f8f1ea 100%);
  border-top: 1px solid rgba(167, 139, 183, 0.18);
  border-bottom: 1px solid rgba(167, 139, 183, 0.18);
}
.heritage-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.heritage-emoji {
  display: inline-block;
  font-size: 3.4rem;
  margin-bottom: 18px;
  line-height: 1;
}
.heritage-title {
  font-family: 'Cormorant', Georgia, serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.01em;
  color: var(--brand-deep);
  margin-bottom: 20px;
}
.heritage-lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ============================================
   VALEURS
   ============================================ */
.values {
  padding: 80px 0;
}
.values-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 920px;
  margin: 0 auto;
}
.value {
  text-align: center;
  padding: 28px 20px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.value-emoji {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.value h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.value p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ============================================
   CLOSING
   ============================================ */
.closing {
  padding: 100px 0 120px;
  background:
    radial-gradient(ellipse 70% 70% at 50% 100%, var(--brand-soft) 0%, transparent 60%),
    var(--bg);
}
.closing-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.closing h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 18px;
}
.closing p {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #1c1a1f;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 64px;
}
.footer-inner {
  display: grid;
  gap: 24px;
  text-align: center;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.18s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-copy {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PAGES INTÉRIEURES (Privacy / Support)
   ============================================ */
.page {
  padding: 80px 0 100px;
  background: var(--bg);
}
.page-inner {
  max-width: 760px;
  margin: 0 auto;
}
.page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.page .updated {
  color: var(--text-mute);
  font-size: 0.92rem;
  margin-bottom: 36px;
}
.page h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 44px 0 14px;
  letter-spacing: -0.01em;
}
.page h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 28px 0 10px;
}
.page p {
  color: var(--text-soft);
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.7;
}
.page ul {
  color: var(--text-soft);
  padding-left: 24px;
  margin-bottom: 18px;
}
.page li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.page strong {
  color: var(--text);
}
.page a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 720px) {
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 0.86rem;
  }
  .hero {
    padding: 60px 0 48px;
  }
  .features,
  .coparent,
  .values {
    padding: 60px 0;
  }
  .heritage {
    padding: 72px 0;
  }
  .closing {
    padding: 72px 0 90px;
  }
}

@media (max-width: 480px) {
  .nav-links a:not(:last-child) {
    display: none;
  }
  .nav-links a:last-child {
    padding: 8px 14px;
    background: var(--brand-deep);
    color: #fff;
    border-radius: 999px;
  }
}

/* Language switcher in nav */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-lang:hover {
  background: var(--brand-soft);
  color: var(--brand-deep);
}
