:root {
  --bg: #f3efe8;
  --ink: #1c1917;
  --muted: #5c5650;
  --card: #fffdf9;
  --line: #e4ddd3;
  --accent: #7a2433;
  --accent-soft: #c9757e;
  --accent-ink: #fff8f7;
  --stage: #161311;
  --max: 42rem;
  --font: "Instrument Sans", "Segoe UI", sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #5f1a26; }

.wrap {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid transparent;
  background: rgba(243, 239, 232, 0.78);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.landing .site-header {
  border-bottom-color: transparent;
  background: rgba(22, 19, 17, 0.55);
}

.landing .site-header .brand,
.landing .site-nav a { color: #f6f3ee; }
.landing .site-nav a:hover { color: #fff; }
.landing .site-nav a { opacity: 0.82; }
.landing .site-nav a:hover { opacity: 1; }

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover { color: var(--ink); }

.site-main {
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

.landing > main { flex: 1; padding: 0; }

/* —— Landing hero —— */
.hero-stage {
  position: relative;
  min-height: min(100svh, 56rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 19, 17, 0.15) 0%, rgba(22, 19, 17, 0.72) 55%, rgba(22, 19, 17, 0.94) 100%),
    radial-gradient(900px 520px at 70% 20%, #3a1820 0%, transparent 60%),
    var(--stage);
  color: #f6f3ee;
  padding: 5.5rem 0 3.25rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -8%;
  top: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 117, 126, 0.35), transparent 68%);
  animation: drift 12s ease-in-out infinite alternate;
}

.phone {
  position: absolute;
  right: max(6%, calc(50% - 28rem));
  top: 12%;
  width: min(17.5rem, 42vw);
  aspect-ratio: 9 / 19;
  border-radius: 2rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #2a2420, #0f0d0c);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.phone-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 0.55rem;
  border-radius: 999px;
  background: #0a0908;
  z-index: 2;
}

.phone-screen {
  height: 100%;
  border-radius: 1.55rem;
  overflow: hidden;
  background: #f6f3ee;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 1.4rem 0.75rem 0.75rem;
  gap: 0.55rem;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 1.05rem;
}

.phone-bag {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.phone-banner {
  height: 28%;
  border-radius: 0.7rem;
  background:
    linear-gradient(135deg, rgba(122, 36, 51, 0.88), rgba(28, 25, 23, 0.55)),
    linear-gradient(45deg, #c9757e, #7a2433);
  animation: shimmer 6s ease-in-out infinite alternate;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  flex: 1;
}

.phone-tile {
  border-radius: 0.55rem;
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  color: #fff;
  font-size: 0.62rem;
  line-height: 1.2;
}

.phone-tile span { font-weight: 600; }
.phone-tile em { font-style: normal; opacity: 0.85; font-size: 0.58rem; }

.t1 { background: linear-gradient(160deg, #8b5a4a, #3d221c); }
.t2 { background: linear-gradient(160deg, #5d6b63, #24302b); }
.t3 { background: linear-gradient(160deg, #6b4f7a, #2a1c33); }
.t4 { background: linear-gradient(160deg, #7a5a2e, #2f2312); }

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding-bottom: 0.5rem;
}

.brand-mark {
  font-family: var(--display);
  font-size: clamp(3.4rem, 11vw, 5.6rem);
  line-height: 0.92;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: rgba(246, 243, 238, 0.92);
  max-width: 18ch;
}

.hero-lead {
  margin: 0;
  color: rgba(246, 243, 238, 0.72);
  font-size: 1.02rem;
  max-width: 30rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  border-radius: 0.7rem;
  text-decoration: none;
  color: #fff;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.store-badge svg { width: 1.45rem; height: 1.45rem; flex: none; }

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 1.05rem;
}

.store-badge small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #000;
  color: #fff;
}

.store-badge.soon {
  opacity: 0.72;
  cursor: default;
  background: rgba(17, 17, 17, 0.55);
}

.store-badge.google:not(.soon) { background: #111; }

.animate-in {
  animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(36px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-4%, 6%, 0); }
}
@keyframes shimmer {
  from { filter: saturate(1); }
  to { filter: saturate(1.15) brightness(1.05); }
}

/* —— Features —— */
.feature-band {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(201, 117, 126, 0.14), transparent 60%),
    var(--bg);
}

.feature-band h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  max-width: 18ch;
}

.feature-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 34rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
}

.feature-list span { color: var(--muted); }

.download-band {
  padding: 4rem 0;
  background:
    linear-gradient(180deg, #211c19, #161311);
  color: #f6f3ee;
  text-align: center;
}

.download-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
  font-weight: 400;
}

.download-inner > p {
  margin: 0;
  color: rgba(246, 243, 238, 0.7);
}

.download-band .store-badges {
  justify-content: center;
  margin-top: 1.4rem;
}

.download-help {
  margin-top: 1.4rem !important;
  font-size: 0.95rem;
}

.download-help a { color: #f0c7cb; }

/* —— Legal / support (pages secondaires) —— */
.legal h1,
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 0.8rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: -0.4rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 0.55rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 600;
}

.btn:hover { background: #5f1a26; color: var(--accent-ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: var(--card); color: var(--ink); }

.legal { max-width: var(--max); }
.legal section { margin-top: 1.8rem; }
.legal h2 { font-size: 1.15rem; margin: 0 0 0.55rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: 0.35rem 0; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
}

.contact-list .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg);
}

.landing .site-footer {
  background: #100e0c;
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(246, 243, 238, 0.55);
}

.landing .site-footer a { color: rgba(246, 243, 238, 0.7); }
.landing .site-footer a:hover { color: #fff; }

.site-footer p { margin: 0.25rem 0; }
.muted a { color: var(--muted); }

@media (max-width: 860px) {
  .phone {
    right: 4%;
    top: 8%;
    opacity: 0.35;
    width: min(14rem, 46vw);
  }

  .hero-copy {
    max-width: 100%;
  }

  .feature-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 560px) {
  .site-header-inner { align-items: flex-start; flex-direction: column; }
  .hero-stage { padding-top: 4.5rem; min-height: auto; }
  .phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .animate-in, .phone, .hero-glow, .phone-banner { animation: none !important; }
}
