@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

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

:root {
  --bg:             #F0FAF5;
  --card:           #FFFFFF;
  --primary:        #03A55A;
  --primary-light:  #E8F5EE;
  --primary-dark:   #2A7350;
  --text:           #1A2E22;
  --text-soft:      #4A5E52;
  --muted:          #808080;
  --border:         #E2EFE8;

  --warm:           #FF7A3D;
  --warm-light:     #FFF1E9;
  --gem:            #38A8E8;

  --font:      'Outfit', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}
.nav-logo span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.nav-cta {
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--primary-dark); }

/* ── PHONE FRAME ── */
.phone {
  background: #111;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 24px 64px rgba(0,0,0,0.22),
    0 4px 16px rgba(0,0,0,0.14);
}
.phone img,
.phone video {
  border-radius: 36px;
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}
.phone video { background: #000; }

/* ── HERO ── */
.hero {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 96px 32px 80px;
  display: flex;
  align-items: center;
  gap: 64px;
}
/* Halo botanique doux derrière le hero (look v2) */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 620px;
  height: 620px;
  background:
    radial-gradient(closest-side, rgba(3,165,90,0.16), transparent 70%),
    radial-gradient(closest-side, rgba(56,168,232,0.10), transparent 70%);
  background-position: 60% 30%, 20% 60%;
  background-repeat: no-repeat;
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.hero h1 em {
  color: var(--primary);
  font-style: normal;
}
.hero-text > p {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-appstore:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-appstore svg { flex-shrink: 0; }
.hero-soon {
  font-size: 13px;
  color: var(--muted);
}

.hero-phones {
  flex-shrink: 0;
  position: relative;
  width: 380px;
  height: 580px;
}
.phone-video {
  position: absolute;
  left: 12px;
  top: 0;
  width: 232px;
  z-index: 2;
}
.phone-back {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 196px;
  z-index: 1;
  transform: rotate(5deg);
  opacity: 0.96;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 20px 32px;
  flex-wrap: wrap;
}
.stat {
  font-size: 15px;
  color: var(--text-soft);
  padding: 4px 32px;
  text-align: center;
}
.stat strong {
  color: var(--text);
  font-weight: 700;
}
.stat-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-header h2 em {
  color: var(--primary);
  font-style: normal;
}
.section-sub {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 auto;
}

/* ── STEPS ── */
.steps {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.step-card:hover {
  box-shadow: 0 8px 32px rgba(61,155,107,0.1);
  transform: translateY(-3px);
}
.step-card-highlight {
  background: linear-gradient(145deg, #E8F5EE 0%, #F0FAF5 100%);
  border-color: rgba(61,155,107,0.2);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  border: 1.5px solid rgba(61,155,107,0.2);
}
.step-num-highlight {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dark);
}

.phone-sm {
  width: 130px;
  margin: 0 auto 24px;
  background: #111;
  border-radius: 28px;
  padding: 5px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 12px 32px rgba(0,0,0,0.18);
  overflow: hidden;
}
.phone-sm img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 23px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ── FEATURES SHOWCASE ── */
.features-showcase {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 96px 32px;
}
.features-showcase .section-header {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}

.feature-row {
  max-width: 1100px;
  margin: 0 auto 96px;
  display: flex;
  align-items: center;
  gap: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse { flex-direction: row-reverse; }

.feature-phone {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.phone-feature {
  width: 230px;
}

.feature-desc {
  flex: 1;
  min-width: 0;
}
.feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(61,155,107,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.feature-tag-warm {
  color: var(--warm);
  background: var(--warm-light);
  border-color: rgba(255,122,61,0.22);
}
.feature-desc h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.feature-desc p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  padding-left: 24px;
  position: relative;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ── EXTRA FEATURES GRID ── */
.extra-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 32px;
}
.extra-features > .section-header {
  margin-bottom: 48px;
}
.extra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.extra-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.extra-card:hover {
  box-shadow: 0 4px 20px rgba(61,155,107,0.1);
  transform: translateY(-2px);
}
.extra-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 14px;
}
.extra-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.extra-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ── CTA BOTTOM ── */
.cta-bottom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  padding: 96px 32px;
}
.cta-bottom h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.cta-bottom p {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
}
.btn-appstore-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-dark);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-appstore-white:hover { opacity: 0.92; transform: translateY(-1px); }
.cta-soon {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ── FOOTER ── */
footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-soft);
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); }
footer small {
  font-size: 13px;
  color: var(--muted);
}

/* ── PRIVACY / TERMS PAGES ── */
.privacy-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.privacy-wrap h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.privacy-updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.privacy-intro {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 40px;
  padding: 20px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.privacy-section {
  margin-bottom: 36px;
}
.privacy-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.privacy-section p {
  font-size: 15px;
  color: var(--text-soft);
  white-space: pre-line;
  line-height: 1.75;
}
.privacy-section strong {
  color: var(--text);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .feature-row { gap: 48px; }
  .phone-feature { width: 200px; }
  .extra-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    padding: 64px 24px 56px;
    gap: 48px;
    text-align: center;
  }
  .hero-text > p { max-width: 100%; }
  .hero-actions { align-items: center; }
  /* Hero mobile : on centre la vidéo, le 2e téléphone passe en léger décor derrière */
  .hero-phones {
    width: 100%;
    height: auto;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
  }
  .phone-video {
    position: relative;
    left: auto;
    top: auto;
    width: 210px;
    transform: none;
  }
  .phone-back {
    width: 150px;
    right: -8px;
    bottom: 8px;
    transform: rotate(6deg);
    opacity: 0.85;
  }

  .steps-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }

  .feature-row, .feature-row-reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 64px;
  }
  .phone-feature { width: 180px; }

  .extra-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .steps { padding: 64px 16px; }
  .features-showcase { padding: 64px 16px; }
  .extra-features { padding: 64px 16px; }
  .cta-bottom { padding: 72px 16px; }
  footer { padding: 24px 16px; flex-direction: column; align-items: flex-start; }
  .stats-bar { padding: 16px; gap: 8px; }
  .stat { padding: 4px 16px; font-size: 14px; }
  .stat-sep { display: none; }
  .extra-grid { grid-template-columns: 1fr; }
}
