/* ==========================================================================
   EpidAIrm — Design System Officiel ("Cosmetic Luxury Dark — Aura Botanique")
   Aligné strictement sur lib/theme/epidairm_theme.dart
   ========================================================================== */

:root {
  /* Fonds Indigo-Saphir */
  --epi-navy-deep: #171E3B;
  --epi-navy: #202A4F;
  --epi-navy-card: #283563;
  --epi-navy-deep-light: #243059;
  --epi-glass: rgba(40, 53, 99, 0.72);
  --epi-glass-strong: rgba(32, 42, 79, 0.92);

  /* Accents éditoriaux & fonctionnels */
  --epi-teal: #2EE6C5;
  --epi-teal-glow: #7CFCE4;
  --epi-teal-soft: #22635D;
  --epi-teal-muted: #1A4B4B;
  --epi-coral: #FF7A70;
  --epi-amber: #FFC15E;
  --epi-lavender: #B392FF;
  --epi-sky: #5CD4FF;
  --epi-rose: #FF77B7;

  /* Textes haute lisibilité WCAG AA */
  --epi-ivory: #FAFCFF;
  --epi-text-faded: #C7D3E8;
  --epi-text-muted: #9AA9C7;

  /* Sémantique */
  --epi-success: #4CE8A2;
  --epi-warn: #FFC15E;
  --epi-error: #FF7A82;
  --epi-error-soft: #472536;

  /* Rayons & bordures */
  --radius-card: 28px;
  --radius-btn: 16px;
  --radius-field: 14px;
  --radius-chip: 20px;
  --border-subtle: 1px solid rgba(255, 255, 255, 0.09);
  --border-teal: 1px solid rgba(124, 252, 228, 0.34);
  --shadow-card: 0 22px 54px rgba(7, 11, 28, 0.42);
  --shadow-teal: 0 12px 32px rgba(46, 230, 197, 0.24);

  /* Typographies */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--epi-navy-deep);
  color: var(--epi-ivory);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--epi-navy-deep);
  color: var(--epi-ivory);
  line-height: 1.62;
  overflow-x: hidden;
  position: relative;
}

/* Halo respirant (EpiBreathingBackground) */
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  will-change: transform, opacity;
}

body::before {
  width: 620px;
  height: 620px;
  top: -180px;
  left: -160px;
  background: radial-gradient(circle, rgba(46, 230, 197, 0.14) 0%, rgba(46, 230, 197, 0) 70%);
  animation: epiBreatheA 11s ease-in-out infinite alternate;
}

body::after {
  width: 680px;
  height: 680px;
  bottom: -220px;
  right: -180px;
  background: radial-gradient(circle, rgba(179, 146, 255, 0.12) 0%, rgba(179, 146, 255, 0) 70%);
  animation: epiBreatheB 13s ease-in-out infinite alternate;
}

@keyframes epiBreatheA {
  from { transform: translate(0, 0) scale(1); opacity: 0.9; }
  to { transform: translate(35px, 25px) scale(1.12); opacity: 1; }
}

@keyframes epiBreatheB {
  from { transform: translate(0, 0) scale(1); opacity: 0.85; }
  to { transform: translate(-30px, -25px) scale(1.1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
  html { scroll-behavior: auto; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--epi-teal-glow); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--epi-teal); }

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

/* Typographie */
h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--epi-ivory);
  letter-spacing: -0.01em;
  margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.13; margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.18; margin-bottom: 0.85rem; }
h3 { font-size: 1.32rem; line-height: 1.28; margin-bottom: 0.6rem; font-family: var(--font-sans); font-weight: 700; }

p { color: var(--epi-text-faded); margin: 0 0 1rem; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--epi-teal-glow);
  margin-bottom: 14px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-chip);
  background: rgba(46, 230, 197, 0.11);
  border: var(--border-teal);
  color: var(--epi-teal-glow);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pill-badge--amber {
  background: rgba(255, 193, 94, 0.14);
  border-color: rgba(255, 193, 94, 0.4);
  color: var(--epi-amber);
}

.pill-badge--lavender {
  background: rgba(179, 146, 255, 0.14);
  border-color: rgba(179, 146, 255, 0.38);
  color: var(--epi-lavender);
}

.text-gradient {
  background: linear-gradient(120deg, var(--epi-ivory) 0%, var(--epi-teal-glow) 60%, var(--epi-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--epi-teal);
  color: var(--epi-navy-deep);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: var(--epi-teal-glow);
  color: var(--epi-navy-deep);
  box-shadow: 0 16px 36px rgba(46, 230, 197, 0.34);
}

.btn-secondary {
  background: rgba(40, 53, 99, 0.82);
  color: var(--epi-ivory);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-secondary:hover {
  background: rgba(52, 68, 122, 0.95);
  border-color: rgba(124, 252, 228, 0.45);
  color: var(--epi-ivory);
}

.btn-amber {
  background: var(--epi-amber);
  color: var(--epi-navy-deep);
  box-shadow: 0 12px 28px rgba(255, 193, 94, 0.26);
}

.btn-amber:hover {
  background: #FFD283;
  color: var(--epi-navy-deep);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
  border-radius: 12px;
}

/* Header Sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  background: rgba(23, 30, 59, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--epi-ivory);
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-name { font-family: var(--font-display); font-size: 1.38rem; font-weight: 700; color: var(--epi-ivory); }
.brand-sub { font-size: 0.62rem; font-weight: 700; letter-spacing: 1.3px; color: var(--epi-teal-glow); text-transform: uppercase; margin-top: 2px; white-space: nowrap; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  color: var(--epi-text-faded);
  font-size: 0.89rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--epi-ivory);
}

.nav-new {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(46, 230, 197, 0.18);
  color: var(--epi-teal-glow);
  border: 1px solid rgba(124, 252, 228, 0.35);
  text-transform: uppercase;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: rgba(40, 53, 99, 0.8);
  border: var(--border-subtle);
  color: var(--epi-ivory);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(23, 30, 59, 0.98);
  backdrop-filter: blur(20px);
  z-index: 88;
  padding: 28px 24px 40px;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.mobile-drawer.open { display: flex; }
.mobile-drawer a.drawer-link {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(40, 53, 99, 0.55);
  border: var(--border-subtle);
  color: var(--epi-ivory);
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Sections & Grilles */
.section { padding: 84px 0; position: relative; }
.section--compact { padding: 56px 0; }
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { font-size: 1.08rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* Cartes Glassmorphism */
.card {
  background: var(--epi-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.card:hover { border-color: rgba(124, 252, 228, 0.26); }
.card--lift:hover { transform: translateY(-4px); }
.card--highlight {
  background: linear-gradient(155deg, rgba(40, 53, 99, 0.92), rgba(26, 75, 75, 0.55));
  border: var(--border-teal);
}

.card-accent {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: var(--epi-teal);
  margin-bottom: 18px;
}

.card-accent--amber { background: var(--epi-amber); }
.card-accent--coral { background: var(--epi-coral); }
.card-accent--lavender { background: var(--epi-lavender); }
.card-accent--sky { background: var(--epi-sky); }
.card-accent--success { background: var(--epi-success); }

.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: rgba(46, 230, 197, 0.14);
  border: 1px solid rgba(46, 230, 197, 0.3);
  margin-bottom: 16px;
}

/* Hero Section */
.hero {
  padding: 58px 0 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--epi-text-faded);
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding-top: 20px;
  border-top: var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--epi-text-faded);
  font-weight: 600;
}

/* Mockup Smartphone fidèle */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}

.phone-frame {
  width: 285px;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(145deg, #33437B, #141A33);
  border: 1px solid rgba(124, 252, 228, 0.32);
  box-shadow: 0 32px 72px rgba(5, 9, 24, 0.65), 0 0 42px rgba(46, 230, 197, 0.16);
  position: relative;
}

.phone-frame--sm { width: 250px; border-radius: 34px; padding: 9px; }

.phone-frame img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.float-chip {
  position: absolute;
  background: rgba(23, 30, 59, 0.92);
  backdrop-filter: blur(14px);
  border: var(--border-teal);
  border-radius: 16px;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--epi-ivory);
  box-shadow: 0 14px 32px rgba(5, 9, 24, 0.45);
  max-width: 215px;
  line-height: 1.3;
}

.float-chip span { display: block; font-size: 0.72rem; color: var(--epi-teal-glow); font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; }
.float-chip--top { top: 68px; left: -38px; }
.float-chip--bottom { bottom: 38px; right: -22px; border-color: rgba(255, 193, 94, 0.42); }
.float-chip--bottom span { color: var(--epi-amber); }

/* Interactive 5-Step Product Journey */
.journey-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.journey-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.journey-tab {
  text-align: left;
  width: 100%;
  background: rgba(40, 53, 99, 0.45);
  border: var(--border-subtle);
  border-radius: 20px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--epi-ivory);
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.journey-tab:hover {
  background: rgba(40, 53, 99, 0.78);
  border-color: rgba(124, 252, 228, 0.28);
}

.journey-tab.active {
  background: linear-gradient(135deg, rgba(40, 53, 99, 0.94), rgba(26, 75, 75, 0.55));
  border-color: var(--epi-teal);
  box-shadow: 0 12px 30px rgba(8, 13, 30, 0.35);
}

.journey-tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.journey-step-num {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--epi-teal-glow);
}

.journey-tab-title {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--epi-ivory);
  margin: 0 0 4px;
}

.journey-tab p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--epi-text-faded);
  line-height: 1.5;
}

.journey-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.journey-caption {
  font-size: 0.88rem;
  color: var(--epi-text-muted);
  text-align: center;
  max-width: 310px;
}

/* Pricing */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--epi-ivory);
  line-height: 1.1;
  margin: 10px 0 4px;
}

.price-sub {
  font-size: 0.88rem;
  color: var(--epi-text-muted);
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--epi-text-faded);
}

.check-list li::before {
  content: "✓";
  color: var(--epi-teal);
  font-weight: 800;
  flex-shrink: 0;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: var(--border-subtle);
  background: rgba(32, 42, 79, 0.78);
}

table.epi-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

table.epi-table th,
table.epi-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.92rem;
}

table.epi-table th {
  background: rgba(40, 53, 99, 0.9);
  color: var(--epi-teal-glow);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

table.epi-table tr:last-child td { border-bottom: none; }
table.epi-table td { color: var(--epi-text-faded); }
table.epi-table td:first-child { color: var(--epi-ivory); font-weight: 700; }

/* CTA Download Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(40, 53, 99, 0.92), rgba(26, 75, 75, 0.72));
  border: var(--border-teal);
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.qr-box {
  background: var(--epi-ivory);
  color: var(--epi-navy-deep);
  border-radius: 22px;
  padding: 18px;
  text-align: center;
  max-width: 220px;
  margin-left: auto;
}

.qr-box svg { width: 152px; height: 152px; margin: 0 auto 8px; display: block; }
.qr-box p { margin: 0; font-size: 0.78rem; font-weight: 700; color: var(--epi-navy-deep); line-height: 1.35; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--epi-glass);
  border: var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--epi-ivory);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--epi-teal);
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 24px 22px;
  color: var(--epi-text-faded);
  font-size: 0.96rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

/* Tool UI Components */
.tool-shell {
  background: var(--epi-glass);
  border: var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--epi-teal-glow);
  margin-bottom: 8px;
}

.epi-select,
.epi-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--radius-field);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(23, 30, 59, 0.9);
  color: var(--epi-ivory);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
}

.epi-select:focus,
.epi-input:focus {
  outline: none;
  border-color: var(--epi-teal);
  box-shadow: 0 0 0 3px rgba(46, 230, 197, 0.18);
}

.verdict-box {
  border-radius: 22px;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid transparent;
}

.verdict--synergy {
  background: rgba(76, 232, 162, 0.12);
  border-color: rgba(76, 232, 162, 0.42);
}

.verdict--caution {
  background: rgba(255, 193, 94, 0.12);
  border-color: rgba(255, 193, 94, 0.44);
}

.verdict--conflict {
  background: rgba(255, 122, 130, 0.14);
  border-color: rgba(255, 122, 130, 0.48);
}

.verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.verdict--synergy .verdict-badge { background: rgba(76, 232, 162, 0.22); color: var(--epi-success); }
.verdict--caution .verdict-badge { background: rgba(255, 193, 94, 0.22); color: var(--epi-amber); }
.verdict--conflict .verdict-badge { background: rgba(255, 122, 130, 0.24); color: var(--epi-error); }

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-btn {
  padding: 9px 15px;
  border-radius: 99px;
  background: rgba(32, 42, 79, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--epi-text-faded);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.chip-btn:hover,
.chip-btn.active {
  background: rgba(46, 230, 197, 0.16);
  border-color: var(--epi-teal);
  color: var(--epi-ivory);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--epi-text-muted);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--epi-text-muted); }
.breadcrumb a:hover { color: var(--epi-teal-glow); }

/* Footer */
.site-footer {
  border-top: var(--border-subtle);
  background: rgba(16, 22, 44, 0.85);
  padding: 60px 0 34px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 38px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--epi-teal-glow);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  color: var(--epi-text-faded);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--epi-teal-glow); }

.disclaimer-bar {
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(40, 53, 99, 0.52);
  border: var(--border-subtle);
  font-size: 0.84rem;
  color: var(--epi-text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--epi-text-muted);
}

/* Modal QR Code */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 29, 0.78);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open { display: flex; }

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--epi-navy);
  border: var(--border-teal);
  border-radius: 28px;
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--epi-ivory);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 980px) {
  .hero-grid, .journey-wrap, .cta-banner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qr-box { margin: 0 auto; }
  .float-chip--top { left: 0; }
  .float-chip--bottom { right: 0; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .trust-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 28px 22px; }
  .tool-shell { padding: 22px 18px; }
  .phone-frame { width: 256px; }
  .float-chip { position: static; margin-top: 12px; max-width: 100%; }
  .hero-visual { flex-direction: column; }
  .budget-row { grid-template-columns: 1fr 1fr !important; }
  .budget-row > label { grid-column: 1 / -1; }
}

.tool-shell { display: flex; flex-direction: column; gap: 14px; }
