/* ==========================================================================
   NatelRepair — Atelier de précision
   Distinctive light precision identity: hairlines, mono labels, layered
   panels, custom section compositions (split / timeline / spec rows).
   Centralized — shared by every page. French-first.
   ========================================================================== */

:root {
  /* Layers — warm porcelain day mode */
  --bg: #eef1f5;
  --bg-2: #f6f8fb;
  --bg-card: #e6ebf1;        /* alt section band */
  --surface: #fbfcfe;        /* panel surface */
  --surface-2: #eef3fb;      /* elevated / hover */
  --inset: #e9eef5;          /* recessed wells (inputs) */
  --frost: rgba(255, 255, 255, 0.62);  /* frosted glass panels */
  --frost-strong: rgba(255, 255, 255, 0.80);
  --mosaic-line: rgba(26, 52, 88, 0.055);
  --mosaic-dot: rgba(26, 52, 88, 0.075);
  --mosaic-tile: rgba(47, 107, 255, 0.045);

  /* Text — deep navy/graphite, never pure black */
  --text: #14202f;
  --text-soft: #38465a;
  --text-sub: #5e6c7f;
  --text-faint: #8593a5;

  /* Accents (used sparingly) */
  --accent: #2f6bff;
  --accent-2: #1f5ed6;
  --accent-soft: rgba(47, 107, 255, 0.10);
  --accent-line: rgba(47, 107, 255, 0.26);
  --accent-glow: rgba(47, 107, 255, 0.22);

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --budget: #0f9d63;
  --budget-soft: rgba(15, 157, 99, 0.10);
  --budget-line: rgba(15, 157, 99, 0.30);
  --express: #cf7a12;
  --express-soft: rgba(207, 122, 18, 0.11);
  --express-line: rgba(207, 122, 18, 0.30);

  --success-bg: rgba(15, 157, 99, 0.12);
  --success-text: #0b7a4d;

  /* Hairlines — dark on light */
  --line: rgba(20, 40, 66, 0.11);
  --line-soft: rgba(20, 40, 66, 0.06);
  --line-strong: rgba(20, 40, 66, 0.17);

  --radius: 16px;
  --radius-sm: 11px;
  --radius-xs: 7px;

  --shadow: 0 14px 34px rgba(35, 55, 90, 0.10);
  --shadow-lg: 0 28px 60px rgba(35, 55, 90, 0.14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --max-width: 1160px;
  --header-height: 62px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 640px at 84% -12%, rgba(47, 107, 255, 0.10), transparent 60%),
    radial-gradient(820px 500px at -6% 4%, rgba(15, 157, 99, 0.06), transparent 58%),
    radial-gradient(900px 900px at 50% 120%, rgba(120, 140, 170, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 46%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  isolation: isolate;
}

/* Precision mosaic — fine technical grid + micro dots, faded toward edges */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--mosaic-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mosaic-line) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, var(--mosaic-dot) 1px, transparent 1.55px),
    linear-gradient(135deg, transparent 0 48%, var(--mosaic-tile) 49% 51%, transparent 52% 100%);
  background-size: 72px 72px, 72px 72px, 24px 24px, 144px 144px;
  background-position: 0 0, 0 0, 12px 12px, 0 0;
  -webkit-mask-image: radial-gradient(140% 105% at 50% 0%, #000 32%, transparent 84%);
  mask-image: radial-gradient(140% 105% at 50% 0%, #000 32%, transparent 84%);
  opacity: 0.92;
}

/* Slowly drifting light spots — subtle life, never distracting */
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(520px 520px at 22% 28%, rgba(47, 107, 255, 0.105), transparent 70%),
    radial-gradient(460px 460px at 78% 62%, rgba(15, 157, 99, 0.065), transparent 72%),
    radial-gradient(540px 360px at 50% 8%, rgba(255, 255, 255, 0.50), transparent 72%);
  opacity: 0.78;
  animation: bgDrift 30s ease-in-out infinite alternate, mosaicSweep 18s linear infinite;
}
@keyframes bgDrift {
  from { transform: translate3d(-2%, -1.5%, 0); }
  to { transform: translate3d(2.5%, 2%, 0); }
}
@keyframes mosaicSweep {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 38px 26px, -30px 42px, 24px 0; }
}

body > main,
body > footer {
  position: relative;
  z-index: 1;
}
body > header {
  position: sticky;
  z-index: 1000;
}

a { color: var(--accent-2); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #8fc0ff; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(47, 107, 255, 0.20); color: var(--text); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
main { background: transparent; }
section {
  padding: 76px 0;
  position: relative;
  background: transparent;
  isolation: isolate;
}
section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, transparent 0 46%, rgba(47, 107, 255, 0.035) 46.5% 47%, transparent 47.5% 100%),
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 88% 80%, rgba(47, 107, 255, 0.035), transparent 28%);
  opacity: 0.72;
}
section:nth-of-type(even)::before {
  background-image:
    linear-gradient(60deg, transparent 0 48%, rgba(20, 40, 66, 0.028) 48.5% 49%, transparent 49.5% 100%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.32), transparent 24%),
    radial-gradient(circle at 10% 88%, rgba(15, 157, 99, 0.035), transparent 30%);
}
section > * { position: relative; z-index: 1; }
.band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(230, 235, 241, 0.86)),
    var(--bg-card);
  border-block: 1px solid var(--line-soft);
}

h1, h2, h3, h4 { letter-spacing: -0.02em; }

/* Mono technical helpers */
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Kicker label + section head ------------------------------------------------ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-top: 16px;
}
.section-head p { color: var(--text-sub); margin-top: 14px; font-size: 1.04rem; max-width: 600px; }
.section-head.center p { margin-inline: auto; }

/* Legacy aliases kept for compatibility (price pages) */
.section-title { font-size: clamp(1.85rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.section-subtitle { color: var(--text-sub); max-width: 620px; margin-top: 12px; font-size: 1.02rem; }
.section-title + .section-subtitle { margin-bottom: 36px; }

/* ==========================================================================
   Header
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(247, 249, 252, 0.62);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
header.scrolled {
  background: rgba(247, 249, 252, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(35, 55, 90, 0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--accent-2), var(--accent)) padding-box,
    var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px var(--bg), 0 0 16px var(--accent-glow);
}
.brand small { font-weight: 500; font-size: 12px; color: var(--text-sub); }

.nav-desktop {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding-right: 92px;
}
.nav-desktop a {
  position: relative;
  padding: 9px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  transition: color 0.18s ease;
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a.active { color: var(--text); }
.nav-desktop a.active::after {
  content: "";
  position: absolute;
  left: 13px;
  bottom: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 9px var(--accent-glow);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-family: var(--mono);
}
.nav-desktop > .lang-switcher {
  position: absolute;
  right: 0;
}
.lang-switcher a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  color: var(--text-faint);
  transition: color 0.15s ease;
}
.lang-switcher a:hover { color: var(--text-soft); }
.lang-switcher a.active { color: var(--accent-2); }

.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: auto;
  right: max(12px, calc((100vw - var(--max-width)) / 2 + 24px));
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(330px, calc(100vw - 24px));
  background: rgba(255, 255, 255, 0.985);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 18px 44px rgba(35, 55, 90, 0.14);
  padding: 0 20px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  text-align: right;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: max-height 0.4s var(--ease), opacity 0.3s ease, padding 0.4s var(--ease), transform 0.3s var(--ease);
}
.mobile-nav.open { max-height: 80vh; opacity: 1; pointer-events: auto; padding: 12px 20px 18px; transform: none; }
.mobile-nav a {
  padding: 13px 6px;
  color: var(--text-soft);
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a.active { color: var(--accent-2); }
.mobile-nav .lang-switcher {
  position: static;
  justify-content: flex-end;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-left: none;
  border-top: 1px solid var(--line);
}

@media (max-width: 940px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

/* ==========================================================================
   Buttons (deliberately restrained — fewer, stronger)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(47, 107, 255, 0.28); }
.btn-primary:hover { background: #1f5ed6; box-shadow: 0 14px 32px rgba(47, 107, 255, 0.38); color: #fff; }

.btn-whatsapp { background: var(--whatsapp); color: #03210f; }
.btn-whatsapp:hover { background: #2ee06f; color: #03210f; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.32); }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--accent-line); color: var(--text); }

.btn-ghost { background: transparent; color: var(--text-soft); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent-line); }

.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* Compact inline actions (replace repeated pills) */
.ilink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent-2);
  transition: gap 0.18s ease, color 0.15s ease;
}
.ilink svg { width: 13px; height: 13px; }
.ilink:hover { gap: 11px; color: #8fc0ff; }
.ilink.wa { color: var(--whatsapp); }
.ilink.wa:hover { color: #4dec8a; }

/* Compact price-table row action */
.row-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-sub);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.row-action svg { width: 13px; height: 13px; opacity: 0.8; }
.row-action:hover { color: var(--whatsapp); border-color: var(--budget-line); background: var(--budget-soft); }

/* ==========================================================================
   Hero — asymmetric diagnostic composition
   ========================================================================== */
.hero {
  position: relative;
  padding: 88px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(238, 243, 251, 0.24)),
    radial-gradient(760px 380px at 82% 10%, rgba(47, 107, 255, 0.10), transparent 68%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--mosaic-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mosaic-line) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(47, 107, 255, 0.08) 1px, transparent 1.5px),
    radial-gradient(620px 360px at 72% 22%, rgba(47, 107, 255, 0.13), transparent 72%);
  background-size: 52px 52px, 52px 52px, 18px 18px, auto;
  opacity: 0.84;
  animation: heroMosaic 22s linear infinite;
}
.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -12%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}
@keyframes heroMosaic {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 52px 26px, -26px 52px, 18px 18px, 0 0; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-visual-stack {
  position: relative;
  display: grid;
  gap: 0;
  align-items: start;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 6px 13px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--frost);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  margin-bottom: 26px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--budget); box-shadow: 0 0 10px var(--budget); flex: none; }
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero h1 .hl {
  background: linear-gradient(118deg, #2f6bff 0%, #16314f 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle { font-size: clamp(1.04rem, 2vw, 1.28rem); color: var(--text-soft); line-height: 1.5; max-width: 560px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-sub);
  line-height: 1.7;
}

/* Hero side panel — a "diagnostic readout" */
.hero-panel {
  position: relative;
  background: var(--frost);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(180deg, var(--accent-line), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-panel::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 55px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.54), transparent);
  box-shadow: 0 0 18px rgba(47, 107, 255, 0.22);
  animation: scanLine 4.8s ease-in-out infinite;
}
.hero-panel:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}
@keyframes scanLine {
  0%, 100% { transform: translateY(0); opacity: 0.28; }
  48% { transform: translateY(196px); opacity: 0.92; }
  58% { transform: translateY(196px); opacity: 0; }
}
.hero-panel .panel-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-panel .panel-label .live { display: inline-flex; align-items: center; gap: 6px; color: var(--budget); }
.hero-panel .panel-label .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--budget); box-shadow: 0 0 8px var(--budget); }
.readout-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.readout-row:last-child { border-bottom: none; }
.readout-row .k { font-size: 13.5px; color: var(--text-sub); }
.readout-row .v { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.readout-row .v.accent { color: var(--accent-2); }
.readout-row .v.green { color: var(--budget); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 64px 0 56px; }
  .hero-panel { order: 2; }
}

/* Contextual editorial media ------------------------------------------------- */
.media-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--frost-strong);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(120deg, transparent 0 38%, rgba(47, 107, 255, 0.14) 39%, transparent 40%);
  opacity: 0.56;
}
.media-card::after {
  content: "";
  position: absolute;
  inset: -30% 70% -30% -45%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  transform: translateX(-30%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.3s ease;
}
.media-card:hover::after { transform: translateX(260%); opacity: 1; }
.media-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.55s var(--ease), filter 0.55s ease;
}
.media-card:hover img { transform: scale(1.035); filter: saturate(1.04) contrast(1.02); }
.hero-media {
  aspect-ratio: 3 / 2;
  border-radius: 18px;
}
.hero-visual-stack .hero-panel {
  z-index: 3;
  margin: -46px 0 0 28px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
.page-hero-copy { max-width: 700px; }
.page-hero-media { aspect-ratio: 7 / 5; min-height: 260px; }
.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}
.quality-media,
.postal-media { aspect-ratio: 14 / 9; min-height: 280px; }
.postal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 940px) {
  .page-hero-grid,
  .quality-grid,
  .postal-grid { grid-template-columns: 1fr; }
  .hero-visual-stack .hero-panel { margin: -28px 16px 0; }
}
@media (max-width: 520px) {
  .hero-media,
  .page-hero-media,
  .quality-media,
  .postal-media { min-height: 0; }
  .media-card { border-radius: var(--radius-sm); }
}

/* ==========================================================================
   Price finder — diagnostic module
   ========================================================================== */
.finder {
  position: relative;
  background: rgba(251, 252, 254, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: var(--shadow);
  max-width: 880px;
  margin: 0 auto;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.finder:hover { transform: translateY(-2px); border-color: var(--accent-line); box-shadow: var(--shadow-lg); }
.finder::after,
.pay-mod::after,
.repair-card::after,
.contact-method::after,
.form-panel::after {
  content: "";
  position: absolute;
  inset: -35% 72% -35% -42%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  opacity: 0;
  transform: translateX(-35%);
  transition: transform 0.55s var(--ease), opacity 0.25s ease;
}
.finder:hover::after,
.pay-mod:hover::after,
.repair-card:hover::after,
.contact-method:hover::after,
.form-panel:hover::after {
  opacity: 1;
  transform: translateX(260%);
}
.finder-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 40, 66, 0.025);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.finder-bar .dots { display: inline-flex; gap: 6px; }
.finder-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.finder-body { padding: 24px; }
.finder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.finder-field label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.finder-step-n { color: var(--accent-2); }

/* Inputs / selects */
label { display: block; font-size: 13px; font-weight: 600; color: var(--text-sub); margin-bottom: 7px; }
select, input, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--inset);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23828c9c' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
select:disabled { opacity: 0.45; cursor: not-allowed; }
textarea { min-height: 130px; resize: vertical; }

.finder-result {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(47, 107, 255, 0.09), rgba(255, 255, 255, 0.54)),
    var(--surface);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.055), var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  animation: resultIn 0.5s var(--ease);
}
.finder-result.result-updated { animation: resultIn 0.5s var(--ease), resultPulse 1.2s ease; }
@keyframes resultIn { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }
@keyframes resultPulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.22), var(--shadow); }
  100% { box-shadow: 0 0 0 12px rgba(47, 107, 255, 0), var(--shadow); }
}
.finder-result .fr-model { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-sub); margin-bottom: 6px; }
.finder-result .fr-price { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.finder-result .fr-price small { font-size: 0.9rem; color: var(--text-sub); font-weight: 500; }
.finder-result .fr-meta { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.finder-result .fr-cta { text-align: right; }
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--text-sub);
}
.tag.budget { color: var(--budget); border-color: var(--budget-line); background: var(--budget-soft); }
.tag.express { color: var(--express); border-color: var(--express-line); background: var(--express-soft); }

@media (max-width: 620px) {
  .finder-grid { grid-template-columns: 1fr; }
  .finder-result { grid-template-columns: 1fr; }
  .finder-result .fr-cta { text-align: left; }
}

/* ==========================================================================
   Budget vs Express — split comparison
   ========================================================================== */
.split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.split-side { padding: 38px 34px; transition: background 0.3s var(--ease); }
.split-side.budget { background: linear-gradient(180deg, var(--budget-soft), transparent 70%); }
.split-side.express { background: linear-gradient(180deg, var(--express-soft), transparent 70%); }
.split-side.budget:hover { background: linear-gradient(180deg, rgba(15, 157, 99, 0.14), transparent 78%); }
.split-side.express:hover { background: linear-gradient(180deg, rgba(207, 122, 18, 0.14), transparent 78%); }
.split-side.express { border-left: 1px solid var(--line); text-align: right; }
.split-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.split-side.express .split-head { justify-content: flex-end; }
.split-head .lbl { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; }
.split-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.budget .split-tag { color: var(--budget); background: var(--budget-soft); border: 1px solid var(--budget-line); }
.express .split-tag { color: var(--express); background: var(--express-soft); border: 1px solid var(--express-line); }
.split-lead { color: var(--text-sub); font-size: 14px; margin-bottom: 24px; }
.split-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.split-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--text-soft);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.split-side.express .split-list li { flex-direction: row-reverse; }
.split-list li:first-child { border-top: none; }
.split-list li .n { font-family: var(--mono); font-size: 11px; color: var(--text-faint); flex: none; min-width: 22px; }
.split-list li strong { color: var(--text); font-weight: 700; }

.split-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 116px; height: 116px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 0 8px var(--bg), var(--shadow);
}
.split-center .vs { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--text-faint); text-transform: uppercase; }
.split-center .ch { font-weight: 800; font-size: 13px; line-height: 1.15; margin-top: 4px; letter-spacing: -0.02em; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split-side.express { border-left: none; border-top: 1px solid var(--line); text-align: left; }
  .split-side.express .split-head { justify-content: flex-start; }
  .split-side.express .split-list li { flex-direction: row; }
  .split-center {
    position: static; transform: none; width: auto; height: auto;
    border-radius: 0; border: none; box-shadow: none;
    padding: 16px; border-block: 1px solid var(--line);
    flex-direction: row; gap: 10px; background: var(--bg-card);
  }
  .split-center .ch { margin-top: 0; }
}

/* ==========================================================================
   Popular repairs — editorial price list
   ========================================================================== */
.repairs-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.repair-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 26px;
  border-top: 1px solid var(--line-soft);
  transition: background 0.18s ease;
}
.repair-row:first-child { border-top: none; }
.repair-row:hover { background: rgba(47, 107, 255, 0.045); }
.repair-row .rr-model { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.repair-row .rr-cell { display: flex; flex-direction: column; gap: 2px; }
.repair-row .rr-cell .rr-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.repair-row .rr-cell .rr-v { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.repair-row .rr-cell .rr-v.muted { color: var(--text-soft); }
.repair-row .rr-action { justify-self: end; }
@media (max-width: 680px) {
  .repair-row { grid-template-columns: 1fr 1fr; row-gap: 12px; padding: 18px 18px; }
  .repair-row .rr-model { grid-column: 1 / -1; }
  .repair-row .rr-action { grid-column: 1 / -1; justify-self: start; }
}

/* ==========================================================================
   How it works — connected horizontal protocol
   ========================================================================== */
.protocol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.protocol::before {
  content: "";
  position: absolute;
  top: 19px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}
.proto-step { position: relative; padding: 0 18px; }
.proto-step .node {
  position: relative;
  z-index: 1;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 18px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.proto-step:hover .node { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
.proto-step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 7px; }
.proto-step p { font-size: 13.5px; color: var(--text-sub); }
@media (max-width: 760px) {
  .protocol { grid-template-columns: 1fr; gap: 0; }
  .protocol::before { top: 0; bottom: 0; left: 19px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--line-strong) 6%, var(--line-strong) 94%, transparent); }
  .proto-step { padding: 0 0 26px 56px; }
  .proto-step:last-child { padding-bottom: 0; }
  .proto-step .node { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ==========================================================================
   Quality — spec-sheet rows
   ========================================================================== */
.spec {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 28px;
  border-top: 1px solid var(--line-soft);
  transition: background 0.18s ease;
}
.spec-row:first-child { border-top: none; }
.spec-row:hover { background: rgba(47, 107, 255, 0.04); }
.spec-row .spec-key { display: flex; flex-direction: column; gap: 8px; }
.spec-row .spec-key .name { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.02em; }
.spec-row .spec-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--text-sub);
}
.spec-row .spec-tag.best { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-soft); }
.spec-row .spec-tag.eco { color: var(--budget); border-color: var(--budget-line); background: var(--budget-soft); }
.spec-row p { font-size: 14.5px; color: var(--text-soft); align-self: center; }
@media (max-width: 680px) {
  .spec-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
}

/* ==========================================================================
   Deposit & payment — distinctive modules
   ========================================================================== */
.deposit-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 26px;
  margin-bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}
.deposit-note .di {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent-2);
  flex: none;
}
.deposit-note .di svg { width: 22px; height: 22px; }
.deposit-note p { color: var(--text-soft); font-size: 14.5px; }
.deposit-note p strong { color: var(--text); }
.deposit-note p + p { margin-top: 6px; font-size: 13px; color: var(--text-sub); }

.pay-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pay-mod {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(35, 55, 90, 0.06);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pay-mod:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.pay-mod .pm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.pay-mod .pm-num { color: var(--accent-2); }
.pay-visual { display: flex; align-items: center; justify-content: center; min-height: 96px; }
.pay-visual .twint-chip { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; display: inline-flex; box-shadow: var(--shadow); }
.twint-logo { width: 86px; height: auto; display: block; }
.qr-frame {
  position: relative;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  line-height: 0;
}
.qr-frame img { width: 96px; height: 96px; border-radius: 4px; display: block; }
.qr-frame::before, .qr-frame::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent);
}
.qr-frame::before { top: -3px; left: -3px; border-right: none; border-bottom: none; border-radius: 3px 0 0 0; }
.qr-frame::after { bottom: -3px; right: -3px; border-left: none; border-top: none; border-radius: 0 0 3px 0; }
.cash-icon { color: var(--accent-2); width: 56px; height: 56px; }
.pay-mod .pm-foot { border-top: 1px solid var(--line-soft); padding-top: 14px; }
.pay-mod .pm-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); display: block; margin-bottom: 3px; }
.pay-mod .pm-value { font-weight: 700; font-size: 15px; color: var(--text); }
.select-all { user-select: all; -webkit-user-select: all; cursor: pointer; }
@media (max-width: 720px) {
  .pay-modules { grid-template-columns: 1fr; }
  .deposit-note { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Shipping flow
   ========================================================================== */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow-step {
  position: relative;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.flow-step:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.flow-step .fn { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent-2); display: block; margin-bottom: 10px; }
.flow-step h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }
.flow-step p { font-size: 12.5px; color: var(--text-sub); }
@media (max-width: 860px) {
  .flow { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 76%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -24px; padding-inline: 24px; }
  .flow-step { scroll-snap-align: start; }
}

/* ==========================================================================
   FAQ — smooth accordion
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: color 0.18s ease;
}
.faq-question:hover { color: var(--accent-2); }
.faq-question::after {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236aa8ff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-question::after { transform: rotate(135deg); }
.faq-answer { max-height: 0; opacity: 0; overflow: hidden; padding: 0 4px; color: var(--text-sub); font-size: 14.5px; transition: max-height 0.4s var(--ease), opacity 0.3s ease, padding 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 420px; opacity: 1; padding: 0 4px 22px; }
/* legacy faq wrappers */
.faq-item.card-legacy { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }

/* ==========================================================================
   Price tables (iPhone / iPad / tarifs)
   ========================================================================== */
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.filters input { flex: 1 1 280px; }
.filters select { flex: 1 1 190px; }

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.price-table thead th {
  position: sticky;
  top: var(--header-height);
  background: #e8edf3;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
  z-index: 1;
}
.price-table tbody tr { transition: background 0.14s ease; }
.price-table tbody tr:nth-child(even) { background: rgba(20, 40, 66, 0.022); }
.price-table tbody tr:hover { background: rgba(47, 107, 255, 0.07); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td { vertical-align: middle; color: var(--text-soft); }
.price-table .nowrap { white-space: nowrap; }
.price-table td strong { color: var(--text); font-weight: 600; }
.price-cell, .price-table .price-cell { font-family: var(--mono); font-weight: 600; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.empty-cell { color: var(--text-faint); }
.price-table .actions { text-align: right; }
@media (max-width: 820px) {
  .price-table { display: block; overflow-x: auto; }
  .price-table thead th { position: static; }
}
.disclaimer { font-size: 12.5px; color: var(--text-sub); margin-top: 18px; font-family: var(--mono); letter-spacing: 0.02em; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.contact-method:hover { border-color: var(--accent-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-method.primary { border-color: var(--budget-line); background: linear-gradient(180deg, var(--budget-soft), transparent); }
.contact-method .cm-ic {
  width: 46px; height: 46px; flex: none;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--inset);
  border: 1px solid var(--line);
  color: var(--accent-2);
}
.contact-method.primary .cm-ic { color: var(--whatsapp); border-color: var(--budget-line); }
.contact-method .cm-ic svg { width: 22px; height: 22px; }
.contact-method .cm-body { flex: 1; min-width: 0; }
.contact-method .cm-k { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.contact-method .cm-v { display: block; font-weight: 700; font-size: 15px; color: var(--text); margin-top: 3px; }
.contact-method .cm-v small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-sub); margin-top: 2px; }
.contact-method .cm-go { color: var(--text-faint); transition: transform 0.2s ease, color 0.2s ease; }
.contact-method:hover .cm-go { color: var(--accent-2); transform: translateX(3px); }
.contact-info {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.contact-info h3 { font-size: 0.82rem; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 12px; }
.contact-info .ci-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.contact-info .ci-row:first-of-type { border-top: none; }
.contact-info .ci-row .ci-k { color: var(--text-sub); }
.contact-info .ci-row .ci-v { color: var(--text-soft); text-align: right; }
.form-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-panel .fp-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.form-panel .fp-sub { color: var(--text-sub); font-size: 14px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
footer { margin-top: auto; border-top: 1px solid var(--line); padding: 44px 0 26px; font-size: 13.5px; color: var(--text-sub); background: linear-gradient(180deg, transparent, rgba(20, 40, 66, 0.035)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; margin-bottom: 14px; }
.footer-col .brand { margin-bottom: 12px; }
.footer-col p { color: var(--text-sub); max-width: 320px; }
.footer-col a { display: block; color: var(--text-sub); margin-bottom: 9px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { text-align: center; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--text-faint); font-family: var(--mono); letter-spacing: 0.02em; }
@media (max-width: 680px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col:first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1200;
  background: rgba(248, 250, 253, 0.92);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(35, 55, 90, 0.07);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
}
.sticky-cta-inner { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; max-width: 520px; margin: 0 auto; }
.sticky-cta a { padding: 12px 4px; border-radius: 10px; font-weight: 700; font-size: 13.5px; text-align: center; border: 1px solid transparent; transition: transform 0.15s ease; }
.sticky-cta a:active { transform: scale(0.97); }
.sticky-cta .sticky-call { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.sticky-cta .sticky-wa { background: var(--whatsapp); color: #03210f; }
.sticky-cta .sticky-prices { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
@media (max-width: 940px) { .sticky-cta { display: block; } body { padding-bottom: 74px; } }

/* ==========================================================================
   Reveal animations (gated behind html.js so no-JS shows everything)
   ========================================================================== */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); will-change: opacity, transform; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.62s var(--ease), transform 0.62s var(--ease); }
html.js .stagger.is-visible > * { opacity: 1; transform: none; }
html.js .stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
html.js .stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
html.js .stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
html.js .stagger.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
html.js .stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
html.js .stagger.is-visible > *:nth-child(6) { transition-delay: 0.34s; }
html.js .stagger.is-visible > *:nth-child(7) { transition-delay: 0.4s; }
html.js .stagger.is-visible > *:nth-child(8) { transition-delay: 0.46s; }

.mobile-nav a { transform: translateY(-4px); opacity: 0; transition: opacity 0.22s ease, transform 0.22s var(--ease), color 0.15s ease; }
.mobile-nav.open a { opacity: 1; transform: none; }
.mobile-nav.open a:nth-child(1) { transition-delay: 0.03s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.06s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.09s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.12s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.18s; }

/* ==========================================================================
   Utilities & success card
   ========================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

.success-card {
  display: none;
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid var(--budget-line);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
}

/* Legacy classes still used by some sections — kept neutral & on-brand */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.repair-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 26px rgba(35, 55, 90, 0.055); transition: border-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease; }
.repair-card:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow); }
.badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; }
.badge-budget { background: var(--budget-soft); color: var(--budget); border: 1px solid var(--budget-line); }
.badge-express { background: var(--express-soft); color: var(--express); border: 1px solid var(--express-line); }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.compare-table th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); font-weight: 500; }
.compare-table td { color: var(--text-soft); }
.compare-table tr:last-child td { border-bottom: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.js .reveal, html.js .stagger > * { opacity: 1 !important; transform: none !important; }
  body::after,
  .hero::before,
  .hero-panel::after { animation: none !important; }
  .media-card:hover img,
  .repair-card:hover,
  .pay-mod:hover,
  .contact-method:hover,
  .flow-step:hover,
  .finder:hover { transform: none !important; }
  .flow { scroll-snap-type: none; }
}
