/* ==========================================================================
   MyArk.pet — Design System v1 « Sous le même toit » (ADR-015)
   Source de vérité des tokens : docs/DESIGN_SYSTEM.md §1 / DESIGN_SYSTEM.html
   Aucune couleur, rayon ou ombre hors tokens.
   ========================================================================== */

/* ============ TOKENS ============ */
:root {
  /* Marque */
  --ark: #0E7466;            /* Lagune — primaire, structure */
  --ark-strong: #0A5A50;
  --ark-tint: #E3F2EF;
  --ark-ink: #0A2E29;        /* Encre végétale — héros, footer (fixe) */
  --honey: #E9A13B;          /* Miel — accent, CTA web */
  --honey-tint: #FBF0DC;
  /* Neutres Lin */
  --bg: #F7F5F1;
  --card: #FFFFFF;
  --subtle: #EFECE6;
  --border: #E5E1D8;
  --label: #1D1C19;
  --secondary: #6B6862;
  /* 4,58:1 minimum sur les surfaces claires, y compris Subtle. */
  --tertiary: #6D6A63;
  /* Sémantiques */
  --success: #377E44;
  --warning: #AD5B0D;
  --danger: #C43F36;
  /* Couleurs animaux (indices fins uniquement, jamais d'aplat) */
  --pet-corail: #E8604C; --pet-abricot: #E88F3A; --pet-mousse: #7E9C4F;
  --pet-lagune: #2C9C8D; --pet-bleuet: #4C8FD6; --pet-iris: #7B6ED9;
  --pet-baie: #C95B8D; --pet-galet: #8A867C;
  /* Formes (échelle DS, +4 sur grands conteneurs de section) */
  --r-xs: 8px; --r-s: 12px; --r-m: 16px; --r-l: 20px; --r-xl: 28px;
  /* Élévation — 2 niveaux max, teintées du brun du texte */
  --shadow-1: 0 1px 2px rgba(29,28,25,.05), 0 1px 6px rgba(29,28,25,.04);
  --shadow-2: 0 2px 6px rgba(29,28,25,.05), 0 12px 32px rgba(29,28,25,.09);
  /* Verre — éphémère et flottant uniquement */
  --glass: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.5);
  /* Texte sur Encre (héros, footer) */
  --on-ink: #F2EFE7;
  --on-ink-soft: rgba(242,239,231,.72);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ark: #3FC3B0;
    --ark-strong: #66D4C4;
    --ark-tint: #12312C;
    --honey: #F2B95C;
    --honey-tint: #33270F;
    --bg: #141513;
    --card: #1F211E;
    --subtle: #262924;
    --border: #343730;
    --label: #F5F4F0;
    --secondary: #A8A59C;
    /* 5,4:1 sur les cartes sombres : reste lisible à 12 px (WCAG AA). */
    --tertiary: #98958C;
    --success: #55C46A;
    --warning: #F09D4A;
    --danger: #F07067;
    --pet-corail: #FF8A76; --pet-abricot: #F5A85D; --pet-mousse: #9DBB6C;
    --pet-lagune: #4FC2B1; --pet-bleuet: #74AEE8; --pet-iris: #9A8FE8;
    --pet-baie: #E184AF; --pet-galet: #A3A094;
    /* Dark : l'élévation passe par la surface + bordure, pas d'ombre */
    --shadow-1: none;
    --shadow-2: none;
    --glass: rgba(31,33,30,.72);
    --glass-border: rgba(255,255,255,.08);
  }
}

/* ============ BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--label);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: 'Bricolage Grotesque', 'Inter', -apple-system, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.1;
}
h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
a { color: var(--ark); text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--flush-top { padding-top: 0; }
.hidden { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--r-xs);
  color: #fff;
  background: var(--ark-strong);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ark);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }

::selection { background: var(--ark-tint); color: var(--ark-strong); }

.eyebrow {
  display: inline-block;
  color: var(--ark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--secondary); margin-top: 14px; font-size: 17px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Icônes Lucide : trait 1,75 px, grille 24 (DS §3.4) */
svg.lucide { stroke-width: 1.75; width: 24px; height: 24px; }

/* ============ BOUTONS ============ */
/* Sur le web : Lagune structure, Miel déclenche (DS §5) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 15.5px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-honey { background: var(--honey); color: var(--ark-ink); box-shadow: var(--shadow-1); }
.btn-honey:hover { box-shadow: var(--shadow-2); }
.btn-ark { background: var(--ark); color: #fff; }
.btn-ark:hover { background: var(--ark-strong); }
.btn-ghost-ink { border-color: rgba(242,239,231,.35); color: var(--on-ink); background: transparent; }
.btn-ghost-ink:hover { border-color: rgba(242,239,231,.7); }
.btn-quiet { background: var(--subtle); color: var(--label); }
.btn[disabled], .btn.soon { opacity: .55; cursor: default; }
.btn[disabled]:hover, .btn.soon:hover { transform: none; box-shadow: var(--shadow-1); }

/* ============ NAV — sticky, verre (éphémère/flottant autorisé) ============ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 13px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 800; font-size: 18px; color: var(--label);
}
.brand-logo { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 14.5px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--label); }
.nav-links a[aria-current="page"] { color: var(--label); }
.nav-cta {
  background: var(--honey); color: var(--ark-ink) !important;
  padding: 8px 18px; border-radius: 999px; font-weight: 700 !important;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  color: var(--label);
  background: var(--card);
}
.nav-toggle-icon {
  display: grid;
  width: 20px;
  gap: 4px;
}
.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HÉROS — Encre végétale (dégradé réservé aux héros web) ============ */
.hero {
  background: linear-gradient(160deg, var(--ark-ink), #0E4A40 62%, #12604F);
  color: var(--on-ink);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow { color: var(--honey); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.04;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--honey); }
.hero-copy > p { color: var(--on-ink-soft); font-size: 18px; max-width: 46ch; margin: 20px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-note { color: rgba(242,239,231,.55); font-size: 13px; margin-top: 14px; }

/* Preuve sociale : carte de verre = vraie notification de l'app (DS §5) */
.hero-visual { position: relative; }
.hero-glass {
  position: absolute;
  left: -34px; bottom: 40px;
  z-index: 3;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-m);
  padding: 13px 17px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
  font-size: 13px;
}
.hero-glass b { display: block; font-size: 13.5px; }
.hero-glass small { color: rgba(255,255,255,.65); font-size: 11.5px; }

/* Device frame du héros */
.phone {
  width: min(320px, 100%);
  margin-left: auto;
  background: var(--bg);
  border-radius: 44px;
  border: 10px solid #061E1A;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  padding: 18px 14px 14px;
  color: var(--label);
}
.phone-screen { display: flex; flex-direction: column; gap: 10px; }
.phone-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 21px; letter-spacing: -.02em;
  padding: 2px 4px 4px;
}
/* Carte animal (DS §4.1) : liseré gauche 4 px couleur animal, rayon r-l */
.pet-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--pet-abricot);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-2);
  padding: 14px;
}
.pet-card.mousse { border-left-color: var(--pet-mousse); }
.pet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pet-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--subtle);
  display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 0 0 3px var(--pet-abricot); /* anneau 3 pt couleur animal */
}
.pet-card.mousse .pet-avatar { box-shadow: 0 0 0 3px var(--pet-mousse); }
.pet-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 15.5px;
}
.pet-sub { font-size: 12px; color: var(--secondary); }
.task-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 2px;
  font-size: 13.5px; font-weight: 600;
  border-top: 1px solid var(--border);
}
.task-row:first-of-type { border-top: 0; }
.task-icon {
  width: 28px; height: 28px; border-radius: var(--r-xs);
  background: var(--subtle);
  display: grid; place-items: center; font-size: 14px;
  flex: none;
}
.task-row.late .task-icon { background: color-mix(in srgb, var(--warning) 14%, transparent); }
.task-row .late-label { color: var(--warning); font-size: 11.5px; font-weight: 600; }
.task-row small { color: var(--secondary); font-weight: 500; font-size: 12px; }
.task-check {
  margin-left: auto;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border);
  flex: none;
}
.task-check.done { background: var(--success); border-color: var(--success); position: relative; }
.task-check.done::after {
  content: "✓"; color: #fff; font-size: 13px; font-weight: 700;
  position: absolute; inset: 0; display: grid; place-items: center;
}
.task-row.done-row { color: var(--secondary); }

/* ============ BANDE DE CONFIANCE ============ */
.trust { background: var(--card); border-bottom: 1px solid var(--border); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 26px 0;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--secondary); font-weight: 500; }
.trust-item svg { color: var(--ark); flex: none; }
.trust-item b {
  display: block; color: var(--label);
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700;
}

/* ============ 3 MOMENTS PRODUIT ============ */
.moment {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
  padding: 44px 0;
}
.moment.flip .moment-visual { order: -1; }
.moment h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin-bottom: 12px; }
.moment > div > p { color: var(--secondary); max-width: 48ch; }
.moment ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.moment li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--label); }
.moment li::before { content: "✓"; color: var(--success); font-weight: 700; }
.moment-visual { position: relative; }
/* TODO GAM-46 : remplacer par des screenshots réels en device frame */
.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-2);
  padding: 18px;
  max-width: 400px;
  margin: 0 auto;
}
.app-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 17px; margin-bottom: 12px;
}
/* Timeline (DS §4.4) : anneau + nom dans la couleur de l'animal */
.tl-row { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.tl-row:first-of-type { border-top: 0; }
.tl-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--subtle); display: grid; place-items: center; font-size: 17px;
  box-shadow: 0 0 0 2px var(--pet-bleuet);
  flex: none;
}
.tl-avatar.corail { box-shadow: 0 0 0 2px var(--pet-corail); }
.tl-avatar.mousse { box-shadow: 0 0 0 2px var(--pet-mousse); }
.tl-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 14px; color: var(--pet-bleuet); }
.tl-name.corail { color: var(--pet-corail); }
.tl-name.mousse { color: var(--pet-mousse); }
.tl-detail { font-size: 12.5px; color: var(--secondary); }
.tl-time { margin-left: auto; font-size: 12px; color: var(--tertiary); }
/* Rappels santé — retard = orange Alerte, jamais rouge */
.reminder-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.reminder-row:first-of-type { border-top: 0; }
.reminder-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ark); flex: none; }
.reminder-dot.honey { background: var(--honey); }
.reminder-dot.iris { background: var(--pet-iris); }
.reminder-title { font-weight: 600; font-size: 14.5px; }
.reminder-sub { font-size: 12.5px; color: var(--secondary); }
.badge-late {
  margin-left: auto;
  background: color-mix(in srgb, var(--warning) 14%, transparent);
  color: var(--warning);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  white-space: nowrap;
}
.badge-ok { margin-left: auto; color: var(--success); font-size: 12px; font-weight: 700; white-space: nowrap; }

/* ============ BENTO MODULES ============ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 16px;
}
.bcell {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--r-l) + 2px);
  padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--label);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
a.bcell:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.bcell.featured { grid-column: span 2; grid-row: span 2; background: var(--ark-tint); border-color: transparent; }
.bcell.honey { background: var(--honey-tint); border-color: transparent; }
.bic {
  width: 44px; height: 44px; border-radius: var(--r-s);
  display: grid; place-items: center; font-size: 21px;
  margin-bottom: 6px;
}
.bic-ark { background: var(--ark); color: #fff; }
.bic-honey { background: var(--honey); color: var(--ark-ink); }
.bic-tint { background: var(--ark-tint); color: var(--ark); }
.bcell.featured .bic-tint { background: var(--card); }
.bcell b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; font-weight: 700; }
.bcell.featured b { font-size: 21px; }
.bcell small { color: var(--secondary); font-size: 13.5px; line-height: 1.5; }
.bcell .bcell-cta { margin-top: auto; color: var(--ark); font-weight: 700; font-size: 14px; }
.badge-soon {
  position: absolute; top: 18px; right: 18px;
  background: var(--subtle); color: var(--secondary);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 999px;
}
.bcell.honey .badge-soon { background: rgba(255,255,255,.55); }
@media (prefers-color-scheme: dark) {
  .bcell.honey .badge-soon { background: rgba(0,0,0,.25); }
}

/* ============ BOUTIQUE ============ */
.shop-intro-note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 16px 20px;
  color: var(--secondary);
  font-size: 14px;
  margin-bottom: 40px;
}
.search-panel { max-width: 520px; margin-bottom: 36px; }
.search-panel label { font-weight: 600; font-size: 14px; color: var(--secondary); display: block; margin-bottom: 8px; }
.search-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-s);
  padding: 12px 16px;
  box-shadow: var(--shadow-1);
  transition: border-color .2s;
}
.search-row:focus-within { border-color: var(--ark); }
.search-row svg { color: var(--tertiary); flex: none; }
.search-row input {
  border: 0; outline: 0; background: transparent;
  font: inherit; color: var(--label); width: 100%;
}
.search-row input::placeholder { color: var(--tertiary); }

.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.animal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease;
  color: var(--label);
  text-align: center;
}
.animal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.animal-card .emoji { font-size: 34px; }
.animal-card strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; }
.animal-card small { color: var(--tertiary); font-size: 12px; }

.back-button {
  min-height: 44px;
  background: var(--subtle); color: var(--label);
  border: 0; border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 14px;
  margin-bottom: 28px;
  transition: background .2s;
}
.back-button:hover { background: var(--border); }
.shop-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.shop-header p { color: var(--secondary); margin-top: 8px; max-width: 60ch; }
.shop-animal-badge {
  width: 64px; height: 64px; flex: none;
  background: var(--ark-tint);
  border-radius: var(--r-m);
  display: grid; place-items: center; font-size: 32px;
}
.shop-positioning {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--ark) 24%, var(--border));
  border-radius: var(--r-m);
  background: var(--ark-tint);
  color: var(--secondary);
  font-size: 13.5px;
}
.shop-positioning svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--ark); }
.shop-positioning strong { color: var(--label); }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--card); color: var(--secondary);
  border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: 13.5px;
  transition: all .2s;
}
.pill:hover { border-color: var(--ark); color: var(--ark); }
.pill.active { background: var(--ark); border-color: var(--ark); color: #fff; }
.selection-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.selection-filters fieldset {
  min-width: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  background: var(--card);
}
.selection-filters legend { padding: 0 6px; color: var(--label); font-size: 12.5px; font-weight: 700; }
.profile-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.profile-pill {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--subtle);
  color: var(--secondary);
  font-size: 12.5px;
  font-weight: 600;
}
.profile-pill:hover { border-color: var(--ark); color: var(--ark); }
.profile-pill.active { border-color: var(--ark); background: var(--ark-tint); color: var(--ark-strong); }
.category-guide {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.45fr);
  gap: 28px;
  margin: 0 0 26px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  background: var(--card);
  box-shadow: var(--shadow-1);
}
.guide-copy h3 { margin-top: 6px; }
.guide-copy > p { margin-top: 8px; color: var(--secondary); font-size: 14px; }
.criteria-list { display: grid; gap: 8px; margin-top: 16px; list-style: none; }
.criteria-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--secondary); font-size: 13px; }
.criteria-list svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--success); }
.comparison-wrap h3 { margin-bottom: 12px; font-size: 16px; }
.comparison-table { overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-m); }
.comparison-row { display: grid; grid-template-columns: .72fr 1fr 1fr; }
.comparison-row + .comparison-row { border-top: 1px solid var(--border); }
.comparison-row > * { padding: 11px 12px; font-size: 12.5px; }
.comparison-row > * + * { border-left: 1px solid var(--border); }
.comparison-row strong { color: var(--label); }
.comparison-row span { color: var(--secondary); }
.comparison-head { background: var(--subtle); }
.comparison-head span { color: var(--label); font-size: 11.5px; font-weight: 700; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.toolbar p { color: var(--tertiary); font-size: 14px; font-weight: 600; }
.secondary-button {
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--label);
  border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 14px;
  transition: all .2s;
}
.secondary-button:hover { border-color: var(--ark); color: var(--ark); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.product-media {
  position: relative;
  background: var(--subtle);
  display: grid; place-items: center;
  font-size: 46px;
  padding: 30px 0;
}
.editor-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--pet-corail) 35%, var(--border));
  border-radius: 999px;
  background: var(--card);
  color: var(--pet-corail);
  font-size: 10.5px;
  font-weight: 700;
}
.editor-favorite svg { width: 13px; height: 13px; fill: currentColor; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.badge {
  align-self: flex-start;
  background: var(--honey-tint); color: var(--label);
  font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.product-body h3 { font-size: 16.5px; }
.product-body > p { color: var(--secondary); font-size: 13.5px; flex: 1; }
.profile-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.profile-summary div { min-width: 0; padding: 7px 9px; border-radius: var(--r-xs); background: var(--subtle); }
.profile-summary dt { color: var(--tertiary); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.profile-summary dd { overflow: hidden; color: var(--label); font-size: 11.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--subtle); color: var(--tertiary);
  font-size: 11.5px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
}
.product-details { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.product-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  color: var(--label);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+"; color: var(--ark); font-size: 18px; }
.product-details[open] summary::after { content: "–"; }
.product-notes { display: grid; gap: 12px; padding: 0 0 14px; }
.product-notes h4 { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 11.5px; }
.product-notes h4 svg { width: 15px; height: 15px; color: var(--ark); }
.product-notes div:last-child h4 svg { color: var(--warning); }
.product-notes ul { padding-left: 18px; color: var(--secondary); font-size: 11.5px; }
.product-notes li + li { margin-top: 3px; }
.card-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.amazon-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--ark); color: #fff;
  text-align: center;
  border-radius: var(--r-s);
  padding: 10px 14px; font-weight: 700; font-size: 13.5px;
  transition: background .2s;
}
.amazon-button:hover { background: var(--ark-strong); }
.fav-button {
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--border); border-radius: var(--r-s);
  background: var(--card); color: var(--tertiary);
  font-size: 17px;
  transition: all .2s;
}
.fav-button:hover { border-color: var(--pet-corail); color: var(--pet-corail); }
.fav-button.active { background: var(--pet-corail); border-color: var(--pet-corail); color: #fff; }
.empty-state {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--r-l);
  padding: 48px 24px;
  text-align: center;
}
.empty-state p { color: var(--secondary); margin-top: 8px; }
.affiliate-notice, .affiliate-inline {
  color: var(--tertiary); font-size: 12.5px; margin-top: 28px;
}

/* ============ CONSEILS ============ */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 26px;
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tip-icon {
  width: 44px; height: 44px; border-radius: var(--r-s);
  background: var(--honey-tint); color: var(--warning);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.tip-card h3 { margin-bottom: 8px; }
.tip-card p { color: var(--secondary); font-size: 14.5px; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; display: grid; gap: 12px; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 18px 22px;
  transition: box-shadow .25s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-1); }
.faq-list summary {
  min-height: 44px;
  font-weight: 700; font-size: 15.5px;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--ark); font-size: 20px; font-weight: 600; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--secondary); font-size: 14.5px; margin-top: 10px; }

/* ============ CTA FINAL — Encre ============ */
.final-cta {
  background: linear-gradient(160deg, var(--ark-ink), #0E4A40 70%, #12604F);
  color: var(--on-ink);
  border-radius: calc(var(--r-xl) + 4px);
  padding: clamp(44px, 6vw, 80px);
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta h2 em { font-style: normal; color: var(--honey); }
.final-cta p { color: var(--on-ink-soft); max-width: 54ch; margin: 16px auto 30px; }
.final-cta .hero-actions { justify-content: center; }
.final-cta .store-note { margin-top: 16px; }

/* ============ FOOTER — Encre ============ */
.footer { background: var(--ark-ink); color: var(--on-ink-soft); margin-top: 84px; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: 40px; padding: 56px 24px 32px;
}
.footer .brand { color: #fff; }
.footer-grid p { font-size: 14px; max-width: 40ch; margin-top: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-ink-soft);
  font-weight: 600;
  font-size: 14px;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer a:focus-visible { outline-color: var(--honey); }
.footer-bottom {
  border-top: 1px solid rgba(242,239,231,.12);
  padding: 22px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(242,239,231,.5);
}
.footer-bottom a { color: var(--on-ink-soft); }

/* ============ LISTE D’ATTENTE ============ */
.waitlist-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-l);
  text-align: left;
  background: rgba(255,255,255,.08);
}
.waitlist-field { display: grid; gap: 7px; }
.waitlist-field label { color: var(--on-ink); font-size: 13px; font-weight: 700; }
.waitlist-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-s);
  color: var(--label);
  background: var(--card);
}
.waitlist-form > .btn { align-self: end; min-height: 48px; border: 0; }
.waitlist-consent {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  align-items: flex-start;
  color: var(--on-ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
.waitlist-consent input { width: 20px; min-width: 20px; height: 20px; margin-top: 1px; accent-color: var(--honey); }
.waitlist-status, .waitlist-form > small { grid-column: 1 / -1; margin: 0; color: var(--on-ink-soft); }
.waitlist-status:not(:empty) { padding: 10px 12px; border-radius: var(--r-xs); background: rgba(255,255,255,.1); }
.waitlist-status.is-success { color: #D4F8E6; }
.waitlist-status.is-error { color: #FFD5D0; }
.waitlist-form a { color: var(--honey); text-decoration: underline; }
.waitlist-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ============ ANIMATIONS ============ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-glass { animation: float 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid, .moment { grid-template-columns: 1fr; gap: 40px; }
  .moment.flip .moment-visual { order: 0; }
  .phone { margin: 0 auto; }
  .hero-glass { left: 8px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bcell.featured { grid-column: span 2; grid-row: span 1; }
  .tips-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .category-guide { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  body.menu-open { overflow: hidden; }
  .nav-inner { position: relative; flex-wrap: wrap; }
  .nav-toggle { display: none; }
  .nav-links {
    position: static;
    display: flex;
    width: 100%;
    max-height: none;
    margin-left: 0;
    margin-top: 10px;
    padding: 10px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: var(--r-m);
    background: color-mix(in srgb, var(--card) 96%, transparent);
  }
  .topbar.nav-enhanced .nav-inner { flex-wrap: nowrap; }
  .topbar.nav-enhanced .nav-toggle { display: grid; place-items: center; }
  .topbar.nav-enhanced .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    display: none;
    width: auto;
    max-height: calc(100vh - 88px);
    margin-top: 0;
    border-radius: 0 0 var(--r-m) var(--r-m);
    box-shadow: var(--shadow-2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .topbar.nav-enhanced .nav-links.is-open { display: flex; }
  .nav-links a,
  .nav-links a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: var(--r-xs);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] { background: var(--subtle); }
  .nav-links .nav-cta { justify-content: center; margin-top: 4px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 80px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .shop-header { flex-direction: column-reverse; align-items: flex-start; }
  .selection-filters { grid-template-columns: 1fr; }
  .category-guide { padding: 18px; }
  .comparison-table { border: 0; border-radius: 0; overflow: visible; }
  .comparison-head { display: none; }
  .comparison-row { grid-template-columns: 1fr; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-s); }
  .comparison-row + .comparison-row { margin-top: 8px; border-top: 1px solid var(--border); }
  .comparison-row > * { padding: 2px 0; }
  .comparison-row > * + * { border-left: 0; }
  .waitlist-form { grid-template-columns: 1fr; padding: 18px; }
  .waitlist-form > .btn { width: 100%; }
  .bento-grid { grid-template-columns: 1fr; }
  .bcell.featured { grid-column: span 1; }
}

/* ============ INFORMATIONS LÉGALES ============ */
.legal-main { min-height: 70vh; }
.legal-wrap { max-width: 820px; padding-top: 72px; padding-bottom: 88px; }
.legal-wrap h1 {
  max-width: 12ch;
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 800;
}
.legal-updated { margin-top: 12px; color: var(--tertiary); font-size: 14px; }
.legal-alert {
  margin: 36px 0 46px;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--warning) 32%, var(--border));
  border-radius: var(--r-m);
  background: color-mix(in srgb, var(--warning) 9%, var(--card));
}
.legal-alert strong { color: var(--warning); }
.legal-alert p { margin-top: 6px; color: var(--secondary); }
.legal-wrap section + section { margin-top: 44px; }
.legal-wrap h2 { margin-bottom: 14px; font-size: clamp(23px, 3vw, 30px); }
.legal-wrap section p + p { margin-top: 12px; }
.legal-wrap section p { color: var(--secondary); }
.legal-details { display: grid; gap: 10px; margin-top: 18px; }
.legal-details div {
  display: grid;
  grid-template-columns: minmax(150px, .38fr) 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.legal-details dt { color: var(--label); font-weight: 700; }
.legal-details dd { color: var(--secondary); }
@media (max-width: 640px) {
  .legal-wrap { padding-top: 52px; padding-bottom: 64px; }
  .legal-details div { grid-template-columns: 1fr; gap: 3px; }
}

/* ==========================================================================
   Couche plateforme professionnelle — cohérence site / CRM
   ========================================================================== */
:root {
  --platform-line: color-mix(in srgb, var(--ark-ink) 10%, var(--border));
  --platform-shadow: 0 1px 2px rgba(10,46,41,.04), 0 16px 42px rgba(10,46,41,.08);
}
body {
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--ark-tint) 48%, transparent), transparent 29rem),
    var(--bg);
}
.topbar { box-shadow: 0 1px 0 rgba(10,46,41,.035); }
.topbar {
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--platform-line);
}
.nav-inner { max-width: 1240px; min-height: 76px; padding-block: 8px; }
.brand { flex: none; letter-spacing: -.025em; }
.brand-logo { width: 32px; height: 32px; }
.topbar .brand { font-size: 19px; }
.nav-links { gap: 8px; }
.nav-links a:not(.nav-cta) {
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 10px;
}
.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta)[aria-current="page"] {
  color: var(--ark-strong);
  background: var(--ark-tint);
}
.nav-cta, .btn { border-radius: 11px; }
.nav-cta { flex: none; white-space: nowrap; }
.nav-toggle {
  border-color: var(--platform-line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(10,46,41,.04);
}
.btn {
  min-height: 46px;
  justify-content: center;
  box-shadow: 0 1px 1px rgba(10,46,41,.04);
}
.btn:hover { transform: translateY(-1px); }
.eyebrow {
  padding-left: 12px;
  border-left: 3px solid var(--honey);
  letter-spacing: .11em;
}
.section-head { max-width: 700px; }
.section-head h2 { max-width: 18ch; }
.section-head.center h2 { margin-inline: auto; }
input, select, textarea {
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:hover, select:hover, textarea:hover {
  border-color: color-mix(in srgb, var(--ark) 30%, var(--border));
}
input:focus, select:focus, textarea:focus {
  border-color: var(--ark);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ark) 12%, transparent);
  outline: 0;
}
.legal-wrap {
  margin-top: 34px;
  margin-bottom: 64px;
  padding-inline: clamp(24px, 5vw, 64px);
  border: 1px solid var(--platform-line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--card) 96%, transparent);
  box-shadow: var(--platform-shadow);
}
.footer {
  border-top: 4px solid var(--honey);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
@media (max-width: 1080px) {
  .topbar.nav-enhanced .nav-links {
    padding: 12px;
    border: 1px solid var(--platform-line);
    border-top: 0;
    background: color-mix(in srgb, var(--card) 98%, transparent);
  }
}
@media (max-width: 640px) {
  .nav-inner { min-height: 68px; }
  .legal-wrap {
    width: min(100% - 28px, 820px);
    margin-top: 20px;
    margin-bottom: 38px;
    padding-inline: 20px;
    border-radius: 18px;
  }
}

/* ==========================================================================
   Navigation simplifiée — produit / fonctionnalités / ressources
   ========================================================================== */
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 8px;
  border-right: 1px solid var(--platform-line);
}
.nav-resources {
  position: relative;
  flex: none;
}
.nav-resources summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--secondary);
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.nav-resources summary::-webkit-details-marker { display: none; }
.nav-resources summary:hover,
.nav-resources.is-current summary,
.nav-resources[open] summary {
  color: var(--ark-strong);
  background: var(--ark-tint);
}
.nav-chevron {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.nav-resources[open] .nav-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}
.nav-resources-panel {
  position: absolute;
  top: calc(100% + 13px);
  right: -14px;
  display: grid;
  width: 310px;
  padding: 9px;
  border: 1px solid var(--platform-line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--platform-shadow);
}
.nav-resources-panel::before {
  position: absolute;
  right: 30px;
  bottom: 100%;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--platform-line);
  border-left: 1px solid var(--platform-line);
  background: var(--card);
  content: "";
  transform: translateY(6px) rotate(45deg);
}
.nav-resources-panel a,
.nav-links .nav-resources-panel a:not(.nav-cta) {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  min-height: 0;
  padding: 11px 12px;
  border-radius: 9px;
}
.nav-resources-panel strong {
  color: var(--label);
  font-size: 13.5px;
}
.nav-resources-panel small {
  color: var(--tertiary);
  font-size: 11.5px;
  font-weight: 500;
}
.nav-resources-panel a:hover strong { color: var(--ark-strong); }
.nav-feature-link {
  color: var(--ark-strong) !important;
  font-weight: 750 !important;
}
.nav-cta { margin-left: 2px; }

/* ==========================================================================
   Accès par intention — section Fonctionnalités
   ========================================================================== */
.modules-section {
  scroll-margin-top: 92px;
  padding-top: 92px;
  border-top: 1px solid var(--platform-line);
  border-bottom: 1px solid var(--platform-line);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--ark-tint) 80%, transparent), transparent 32rem),
    color-mix(in srgb, var(--subtle) 45%, var(--bg));
}
.modules-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}
.modules-heading .section-head { margin-bottom: 0; }
.modules-app-link {
  display: grid;
  gap: 3px;
  min-height: 86px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--ark) 25%, var(--border));
  border-radius: 16px;
  color: var(--label);
  background: color-mix(in srgb, var(--ark-tint) 56%, var(--card));
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.modules-app-link:hover {
  border-color: var(--ark);
  box-shadow: 0 12px 28px rgba(10,46,41,.08);
  transform: translateY(-1px);
}
.modules-app-link span {
  color: var(--ark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.modules-app-link strong {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 15px;
  line-height: 1.25;
}
.module-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.module-path {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "meta meta"
    "icon title"
    "icon description"
    "icon action";
  gap: 4px 18px;
  min-height: 244px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--platform-line);
  border-radius: 20px;
  color: var(--label);
  background: var(--card);
  box-shadow: 0 8px 28px rgba(10,46,41,.055);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.module-path::after {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--ark);
  content: "";
}
.module-path:hover {
  border-color: color-mix(in srgb, var(--ark) 38%, var(--border));
  box-shadow: var(--platform-shadow);
  transform: translateY(-2px);
}
.module-path__meta {
  grid-area: meta;
  margin-bottom: 22px;
  color: var(--tertiary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.module-path__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  align-self: start;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--ark);
  background: var(--ark-tint);
}
.module-path__icon svg { width: 24px; height: 24px; }
.module-path h3 {
  grid-area: title;
  align-self: end;
  font-size: clamp(20px, 2vw, 25px);
}
.module-path p {
  grid-area: description;
  max-width: 46ch;
  color: var(--secondary);
  font-size: 14px;
}
.module-path__action {
  grid-area: action;
  align-self: end;
  margin-top: 18px;
  color: var(--ark);
  font-size: 13.5px;
  font-weight: 800;
}
.module-path--primary {
  border-color: transparent;
  color: var(--on-ink);
  background: linear-gradient(145deg, var(--ark-ink), #0e4a40);
}
.module-path--primary::after { background: var(--honey); }
.module-path--primary .module-path__meta,
.module-path--primary p { color: var(--on-ink-soft); }
.module-path--primary .module-path__icon {
  color: var(--ark-ink);
  background: var(--honey);
}
.module-path--primary .module-path__action { color: var(--honey); }
.modules-discovery {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid var(--platform-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
}
.modules-discovery > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: baseline;
}
.modules-discovery__label {
  padding: 4px 7px;
  border-radius: 6px;
  color: #664a0d;
  background: var(--honey-tint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.modules-discovery strong { font-family: "Bricolage Grotesque", Inter, sans-serif; }
.modules-discovery p {
  grid-column: 2;
  color: var(--secondary);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .nav-main {
    display: grid;
    width: 100%;
    padding: 0;
    border-right: 0;
  }
  .nav-resources { width: 100%; }
  .nav-resources summary {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
  }
  .nav-chevron { margin-left: auto; margin-right: 5px; }
  .nav-resources-panel {
    position: static;
    width: 100%;
    margin-top: 4px;
    padding: 6px;
    border-radius: 12px;
    box-shadow: none;
  }
  .nav-resources-panel::before { display: none; }
  .nav-links .nav-resources-panel a:not(.nav-cta) { min-height: 54px; }
  .nav-links .nav-cta { width: 100%; margin-left: 0; }
}

@media (max-width: 760px) {
  .modules-heading { grid-template-columns: 1fr; gap: 22px; }
  .modules-app-link { min-height: 0; }
  .module-path-grid { grid-template-columns: 1fr; }
  .module-path { min-height: 220px; }
  .modules-discovery { align-items: stretch; flex-direction: column; }
  .modules-discovery .btn { width: 100%; }
}

@media (max-width: 520px) {
  .modules-section { padding-top: 68px; }
  .module-path {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 14px;
    min-height: 0;
    padding: 22px 20px;
  }
  .module-path__meta { margin-bottom: 16px; }
  .module-path__icon { width: 44px; height: 44px; border-radius: 12px; }
  .modules-discovery > div { grid-template-columns: 1fr; }
  .modules-discovery p { grid-column: auto; }
}
