/* ==========================================================================
   LEVEN WEB — sistema de design
   ========================================================================== */

:root {
  --paper: #0A1220;
  --ink: #ECF1F6;
  --ink-soft: #93A4BB;
  --line: #24324A;
  --accent: #3D5FE0;
  --accent-text: #8FA8FF;
  --on-accent: #FFFFFF;
  --panel: #FAFAF8;
  --logo-blue: #2170F5; /* sampled from the official logo's V/"WEB" */

  --font-display: "Fraunces", serif;
  --font-body: "Public Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --wrap: 1120px;
  --gutter: 24px;
}

/* Light palette reserved for the demo mockup (the fake "Consultório
   Meridian" site) — the mockup keeps its own light/blueprint theme
   regardless of the real site's dark theme around it. */
.mockup-scope {
  --paper: #F5F1EA;
  --ink: #1E2B27;
  --ink-soft: #5B6B63;
  --line: #D2D9CB;
  --accent: #1F8F7A;
  --accent-text: #1F8F7A;
  --panel: #FCFAF5;
}

* { box-sizing: border-box; }

/* Tira o flash cinza/azul padrão do navegador mobile ao tocar em
   links e botões — em cima de fundo escuro fica parecendo um bug
   de "piscada" na hora do toque. */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   Liquid glass — vanilla adaptation (no framework): subtle frosted panel
   with a gradient rim, used for chrome and the interactive controls, kept
   flat/blue and free of decorative color gradients everywhere else.
   ========================================================================== */

.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0.22) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Lighter variant for repeated small cards — same tint + rim, no
   backdrop-filter, so a grid of these stays cheap to paint/scroll. */
.glass-lite {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.glass-lite::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0.22) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Word-by-word blur reveal, driven by the shared .is-visible toggle */
.blur-word {
  display: inline-block;
  filter: blur(10px);
  opacity: 0;
  transform: translateY(10px);
  transition: filter 0.55s ease, opacity 0.55s ease, transform 0.55s ease;
}
.is-visible .blur-word {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--line) var(--paper);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
  border: 2px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus {
  left: var(--gutter);
  top: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

.mono-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-text);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 8px;
}

.section-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 18, 32, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-full-crop {
  width: 63px;
  height: 36px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.logo-full-img {
  position: absolute;
  width: 95px;
  max-width: none;
  top: -27px;
  left: -16px;
}

.logo-word {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.logo-word-ink { color: var(--ink); }
.logo-word-accent { color: var(--logo-blue); }


.header-nav {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  padding: 6px;
  border-radius: 999px;
}
.header-nav a {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.header-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .header-nav { display: none; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.menu-toggle:hover { background: rgba(255, 255, 255, 0.05); }
.menu-toggle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.menu-toggle-close { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg); }
.menu-toggle.is-open .menu-toggle-open { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.menu-toggle.is-open .menu-toggle-close { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  background: rgba(10, 18, 32, 0.98);
  transition: max-height 0.35s ease, border-color 0.35s ease;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open {
  max-height: 400px;
  border-top-color: var(--line);
}
.mobile-nav a {
  padding: 16px var(--gutter);
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-8px);
  transition: color 0.15s ease, background 0.15s ease, opacity 0.25s ease, transform 0.25s ease;
}
.mobile-nav.is-open a { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a:active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle-icon, .mobile-nav, .mobile-nav a { transition: none; }
}

.btn-header {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-header:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ==========================================================================
   Buttons (shared)
   ========================================================================== */

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  padding: 14px 30px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 0 var(--ink), 0 0 22px 0 rgba(61, 95, 224, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 0 var(--ink), 0 6px 30px 0 rgba(61, 95, 224, 0.65);
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover { transform: none; }
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  padding: 14px 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .btn-secondary:hover { transform: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 56px;
  align-items: start;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text);
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 999px;
  opacity: 0;
  animation: fade-in 0.6s ease 0.1s forwards;
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--accent-text);
}
.hero-title-line {
  display: block;
  overflow: hidden;
}
.hero-title-line span {
  display: block;
  transform: translateY(105%);
  filter: blur(14px);
  animation: blur-rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.hero-title-line:nth-child(1) span { animation-delay: 0.15s; }
.hero-title-line:nth-child(2) span { animation-delay: 0.28s; }
.hero-title-line:nth-child(3) span { animation-delay: 0.41s; }

.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 18px;
  color: var(--ink-soft);
  opacity: 0;
  animation: fade-in 0.7s ease 0.6s forwards;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-in 0.7s ease 0.75s forwards;
}

.hero-side {
  position: relative;
  opacity: 0;
  animation: fade-in 0.7s ease 0.9s forwards;
}
.hero-side::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(61, 95, 224, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.hero-side-line { display: none; }
.hero-facts {
  list-style: none;
  margin: 0;
  padding: 26px 24px;
  border-radius: 18px;
  display: grid;
  gap: 28px;
}
.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent-text);
}
.hero-fact-icon svg { width: 18px; height: 18px; }

.meta-num {
  font-family: var(--font-mono);
  color: var(--accent-text);
  margin-right: 6px;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes blur-rise {
  from { transform: translateY(105%); filter: blur(14px); }
  to { transform: translateY(0); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-sub, .hero-actions, .hero-side { animation: none; opacity: 1; }
  .hero-title-line span { animation: none; transform: none; }
}

/* ==========================================================================
   Compare slider (sketch → finished site)
   ========================================================================== */

.compare {
  position: relative;
  perspective: 1600px;
}

.compare::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 10%;
  width: 55%;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(61, 95, 224, 0.28), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: -1;
}

.compare-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 960 / 760;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  box-shadow: 16px 18px 32px 0 rgba(0, 0, 0, 0.45);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.compare-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 10px;
}

.layer {
  position: absolute;
  inset: 0;
}

.layer-sketch {
  background: var(--panel);
}

.sketch-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dim-line { stroke: var(--ink-soft); stroke-width: 1; }
.dim-tick { stroke: var(--ink-soft); stroke-width: 1; }
.dim-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  fill: var(--ink-soft);
}
.dim-vert { font-size: 11px; }

.wf-box { fill: none; stroke: var(--line); stroke-width: 1.5; }
.wf-strong { stroke: var(--ink-soft); stroke-width: 3; }
.wf-mid { stroke: var(--line); stroke-width: 3; }
.wf-cta { fill: none; stroke: var(--accent); stroke-width: 1.5; }
.wf-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  fill: var(--ink-soft);
}

.compare-final-wrap {
  position: absolute;
  inset: 0;
  width: 0%;
  overflow: hidden;
  transition: width 1.3s cubic-bezier(0.65, 0, 0.2, 1);
}

.compare-final-wrap.no-anim { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .compare-final-wrap { transition: none; }
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0%;
  width: 1px;
  background: var(--ink);
  pointer-events: none;
  transition: left 1.3s cubic-bezier(0.65, 0, 0.2, 1);
}
.compare-handle.no-anim { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .compare-handle { transition: none; }
}
.compare-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
}
.compare-handle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  color: var(--ink);
}

/* Kept only for keyboard control (arrow keys) and screen readers —
   dragging is handled by pointer events on .compare-frame instead,
   since a native range's click-to-value math gets confused by the
   frame's 3D tilt. pointer-events:none keeps it out of the way. */
.compare-range {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.compare-range::-webkit-slider-runnable-track { background: transparent; }
.compare-range::-moz-range-track { background: transparent; }
.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
}
.compare-range::-moz-range-thumb {
  width: 1px;
  height: 100%;
  background: transparent;
  border: none;
}

/* ==========================================================================
   Browser chrome (fake mini site frame)
   ========================================================================== */

.browser-chrome {
  width: 100%;
  height: 100%;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  container-type: inline-size;
}

/* When only a narrow slice of the mockup is revealed (mid-drag, or a
   small phone), the hero illustration leaves too little room for the
   text and it wraps one word per line — drop it and let text breathe. */
@container (max-width: 280px) {
  .fake-hero-art { display: none; }
  .fake-nav-links { display: none; }
  .fake-hero h2 { font-size: 16px; }
  .fake-hero p { font-size: 11px; }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--ink-soft);
}
.browser-url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 3px;
}

.fake-site {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-size: 13px;
  color: var(--ink);
}

.fake-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.fake-nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  margin-right: auto;
}
.fake-nav-links {
  display: flex;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 12px;
}
.fake-nav-cta {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  animation: fake-border-pulse 3.2s ease-in-out infinite;
}

.fake-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 20px;
  border-bottom: 1px solid var(--line);
}
.fake-hero-text { flex: 1; min-width: 0; }
.fake-hero h2 {
  font-size: clamp(16px, 2.4vw, 26px);
  line-height: 1.15;
  margin-bottom: 10px;
}
.fake-hero p {
  color: var(--ink-soft);
  font-size: 12px;
  max-width: 40ch;
  margin-bottom: 16px;
}
.fake-btn {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--accent);
  padding: 8px 16px;
  animation: fake-glow-pulse 2.8s ease-in-out infinite;
}
.fake-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--ink-soft);
}
.fake-trust svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.fake-hero-art { flex-shrink: 0; width: 84px; height: 84px; }
.fake-hero-art svg { width: 100%; height: 100%; }
.fake-hero-art circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: fake-breathe 3.6s ease-in-out infinite;
}
.fake-hero-art circle:nth-of-type(1) { animation-delay: 0.2s; }
.fake-hero-art circle:nth-of-type(2) { animation-delay: 0.1s; }
.fake-hero-art path {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: fake-pulse-draw 2.6s ease-in-out infinite;
}

@keyframes fake-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
@keyframes fake-pulse-draw {
  0% { stroke-dashoffset: 90; }
  45%, 55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -90; }
}
@keyframes fake-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 143, 122, 0.55); }
  50% { box-shadow: 0 0 14px 3px rgba(31, 143, 122, 0.4); }
}
@keyframes fake-border-pulse {
  0%, 100% { border-color: var(--accent); }
  50% { border-color: rgba(31, 143, 122, 0.35); }
}
@keyframes fake-icon-pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.55; transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .fake-btn, .fake-nav-cta, .fake-hero-art circle, .fake-hero-art path, .fake-service-icon {
    animation: none;
  }
}

.fake-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  flex: 1;
}
.fake-service {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
}
.fake-service:last-child { border-right: none; }
.fake-service-icon {
  display: flex;
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-bottom: 8px;
  animation: fake-icon-pulse 2.8s ease-in-out infinite;
}
.fake-service-icon svg { width: 100%; height: 100%; }
.fake-service:nth-child(1) .fake-service-icon { animation-delay: 0s; }
.fake-service:nth-child(2) .fake-service-icon { animation-delay: 0.3s; }
.fake-service:nth-child(3) .fake-service-icon { animation-delay: 0.6s; }
.fake-service-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 6px;
}

.fake-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 11px;
  color: var(--ink-soft);
}

/* callouts on the hero mockup */
.callout {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1.3;
}
.callout-nav {
  top: -22px;
  right: 20px;
  white-space: normal;
  width: 160px;
  text-align: right;
}
.callout-cta {
  top: -20px;
  left: calc(100% + 10px);
  width: 150px;
  white-space: normal;
}

@media (max-width: 900px) {
  .callout { display: none; }
}

/* ==========================================================================
   O que fazemos
   ========================================================================== */

.servicos {
  position: relative;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.servicos::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(61, 95, 224, 0.16), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
}
.servicos .wrap { position: relative; z-index: 1; }

.servicos-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.servicos-item {
  padding: 28px;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.35s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.servicos-list.is-visible .servicos-item { opacity: 1; transform: translateY(0); }
.servicos-list.is-visible .servicos-item:nth-child(1) { transition-delay: 0.05s; }
.servicos-list.is-visible .servicos-item:nth-child(2) { transition-delay: 0.18s; }
.servicos-list.is-visible .servicos-item:nth-child(3) { transition-delay: 0.31s; }
.servicos-list.is-visible .servicos-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 16px 28px -18px rgba(0, 0, 0, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .servicos-item { transition: none; opacity: 1; }
  .servicos-item:hover { transform: none; }
}

.servicos-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-text);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.servicos-icon svg { width: 18px; height: 18px; }
.servicos-item:hover .servicos-icon {
  border-color: var(--accent);
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .servicos-item:hover .servicos-icon { transform: none; }
}

.servicos-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text);
  margin-bottom: 16px;
}

.servicos-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.servicos-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .servicos-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Um projeto nosso
   ========================================================================== */

.projeto {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 40px;
}

.section-head::before {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  margin-bottom: 18px;
  transition: width 0.7s cubic-bezier(0.65, 0, 0.2, 1);
}
.section-head.is-visible::before { width: 44px; }

.section-head .section-lede {
  opacity: 0;
  transition: opacity 0.6s ease 0.15s;
}
.section-head.is-visible .section-lede {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .section-head::before { transition: none; width: 44px; }
  .section-head .section-lede { transition: none; opacity: 1; }
  .section-head h2 .blur-word { transition: none; filter: blur(0); opacity: 1; transform: none; }
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.section-lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ==========================================================================
   Como funciona
   ========================================================================== */

.processo {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.processo-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.processo-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.35s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.processo-list.is-visible .processo-item { opacity: 1; transform: translateY(0); }
.processo-list.is-visible .processo-item:nth-child(1) { transition-delay: 0.05s; }
.processo-list.is-visible .processo-item:nth-child(2) { transition-delay: 0.15s; }
.processo-list.is-visible .processo-item:nth-child(3) { transition-delay: 0.25s; }
.processo-list.is-visible .processo-item:nth-child(4) { transition-delay: 0.35s; }
.processo-list.is-visible .processo-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 16px 28px -18px rgba(0, 0, 0, 0.55);
}
@media (prefers-reduced-motion: reduce) {
  .processo-item { transition: none; opacity: 1; }
  .processo-item:hover { transform: none; }
}

.processo-index {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.processo-item:hover .processo-index { transform: scale(1.1); }
@media (prefers-reduced-motion: reduce) {
  .processo-item:hover .processo-index { transform: none; }
}
.processo-item:not(:first-child) .processo-index::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 40px;
  height: 2px;
  background: var(--line);
  transform: translateY(-50%);
}
@media (max-width: 800px) {
  .processo-item:not(:first-child) .processo-index::before { display: none; }
}

.processo-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.processo-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .processo-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Para quem é
   ========================================================================== */

.publico {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.publico-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.publico-card {
  position: relative;
  aspect-ratio: 3 / 4.4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.publico-grid.is-visible .publico-card { opacity: 1; transform: translateY(0); }
.publico-grid.is-visible .publico-card:nth-child(1) { transition-delay: 0s; }
.publico-grid.is-visible .publico-card:nth-child(2) { transition-delay: 0.06s; }
.publico-grid.is-visible .publico-card:nth-child(3) { transition-delay: 0.12s; }
.publico-grid.is-visible .publico-card:nth-child(4) { transition-delay: 0.18s; }
.publico-grid.is-visible .publico-card:nth-child(5) { transition-delay: 0.24s; }
.publico-grid.is-visible .publico-card:nth-child(6) { transition-delay: 0.3s; }
.publico-grid.is-visible .publico-card:nth-child(7) { transition-delay: 0.36s; }
.publico-grid.is-visible .publico-card:nth-child(8) { transition-delay: 0.42s; }

.publico-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(45%) brightness(0.7);
  transform: scale(1.06);
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.publico-card:hover .publico-img {
  transform: scale(1.12);
  filter: grayscale(0%) brightness(0.85);
}

.publico-overlay {
  position: absolute;
  inset: -6px;
  background: linear-gradient(
    to top,
    rgba(6, 10, 20, 1) 0%,
    rgba(6, 10, 20, 0.55) 40%,
    rgba(6, 10, 20, 0.05) 70%
  );
  pointer-events: none;
}

.publico-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.publico-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}
.publico-icon svg { width: 16px; height: 16px; }
.publico-card:hover .publico-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--accent);
}

.publico-label {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
}

@media (max-width: 1000px) {
  .publico-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .publico-grid { gap: 6px; }
  .publico-card { aspect-ratio: 3 / 4; border-radius: 10px; }
  .publico-label { font-size: 11px; }
  .publico-icon { width: 26px; height: 26px; }
  .publico-icon svg { width: 13px; height: 13px; }
  .publico-content { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .publico-card { transition: none; opacity: 1; transform: none; }
  .publico-img { transition: none; transform: none; }
  .publico-icon { transition: none; }
  .publico-card:hover .publico-img { transform: none; }
  .publico-card:hover .publico-icon { transform: none; }
}

/* ==========================================================================
   Perguntas frequentes
   ========================================================================== */

.faq {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.faq-list.is-visible .faq-item { opacity: 1; transform: translateY(0); }
.faq-list.is-visible .faq-item:nth-child(1) { transition-delay: 0s; }
.faq-list.is-visible .faq-item:nth-child(2) { transition-delay: 0.05s; }
.faq-list.is-visible .faq-item:nth-child(3) { transition-delay: 0.1s; }
.faq-list.is-visible .faq-item:nth-child(4) { transition-delay: 0.15s; }
.faq-list.is-visible .faq-item:nth-child(5) { transition-delay: 0.2s; }
.faq-list.is-visible .faq-item:nth-child(6) { transition-delay: 0.25s; }
.faq-list.is-visible .faq-item:nth-child(7) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .faq-item { transition: none; opacity: 1; transform: none; }
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-text);
  transition: transform 0.25s ease, border-color 0.15s ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  margin: 0;
  padding-right: 48px;
  padding-bottom: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-icon { transition: none; }
}

@media (max-width: 600px) {
  .faq-question { font-size: 16px; }
  .faq-answer > p { padding-right: 0; }
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta-final {
  position: relative;
  padding: 128px 0 116px;
  text-align: center;
  overflow: hidden;
}

.cta-final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  max-width: 160%;
  height: 480px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(61, 95, 224, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.cta-final-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-final-head::before { margin-left: auto; margin-right: auto; }
.cta-final-head .hero-eyebrow { margin-bottom: 30px; }

.cta-final h2 {
  font-size: clamp(30px, 4.8vw, 46px);
  line-height: 1.18;
  margin: 0 auto 22px;
  max-width: 20ch;
}

.cta-final .section-num { text-align: center; }

.cta-final-lede {
  max-width: 52ch;
  margin: 0 auto 44px;
}

.cta-final-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-final-email {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  opacity: 0.45;
  transition: opacity 0.15s ease;
}
.cta-final-email:hover { opacity: 0.85; }

@media (max-width: 560px) {
  .cta-final { padding: 92px 0 80px; }
  .cta-final h2 { max-width: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 24px;
}

.footer-main {
  margin-bottom: 28px;
}

.footer-tagline {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
}

.footer-desc {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.footer-credits {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  opacity: 0.6;
  max-width: 70ch;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-soft);
  opacity: 0.6;
}

/* ==========================================================================
   Orçamento (modal que monta a mensagem e abre o WhatsApp — sem servidor)
   ========================================================================== */

.orc-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.orc-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.orc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 16, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.orc-dialog {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #0D1626;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}
.orc-modal.is-open .orc-dialog { transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .orc-modal, .orc-dialog { transition: none; }
}

.orc-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-radius: 50%;
  transition: color 0.15s ease, background 0.15s ease;
}
.orc-close:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.orc-close svg { width: 18px; height: 18px; }

.orc-tick {
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}

.orc-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.orc-dialog h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 29px);
  line-height: 1.15;
  margin: 0 0 10px;
}

.orc-sub {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0 0 26px;
}

.orc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin-bottom: 24px;
}

.orc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.orc-field:not(.orc-field-half) { grid-column: 1 / -1; }

.orc-field span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.orc-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s ease;
}
.orc-input-row:focus-within { border-bottom-color: var(--accent); }

.orc-field-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ink-soft);
}

.orc-field input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 2px 10px;
}
.orc-field input::placeholder { color: var(--ink-soft); opacity: 0.55; }
.orc-field input:focus { outline: none; }

.orc-field-extra {
  margin-top: -6px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.orc-field-extra.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.orc-field-extra:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .orc-field-extra { transition: none; }
}

.orc-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  opacity: 0.85;
}
.orc-trust svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent-text);
}

/* Dropdown customizado — substitui o <select> nativo, cujo menu abre
   com o tema claro do sistema em vez do tema do site. */
.orc-select { position: relative; flex: 1; min-width: 0; }

.orc-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 2px 10px;
  cursor: pointer;
}
.orc-select-trigger.is-placeholder { color: var(--ink-soft); opacity: 0.55; }
.orc-select-trigger:focus-visible { outline: none; }

.orc-select-chevron {
  display: flex;
  flex-shrink: 0;
  color: var(--ink-soft);
  transition: transform 0.15s ease;
}
.orc-select-chevron svg { width: 14px; height: 14px; }
.orc-select.is-open .orc-select-chevron { transform: rotate(180deg); }

.orc-select-list {
  position: fixed;
  z-index: 200;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #0D1626;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.orc-select-list.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .orc-select-list { transition: none; }
}

.orc-select-option {
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s ease;
}
.orc-select-option:hover,
.orc-select-option:focus {
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}
.orc-select-option.is-selected {
  background: rgba(61, 95, 224, 0.18);
  color: var(--accent-text);
}
.orc-select-option.is-placeholder { color: var(--ink-soft); }

.orc-send {
  margin-top: 8px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.orc-send svg { width: 16px; height: 16px; }

@media (max-width: 520px) {
  .orc-dialog { padding: 26px 20px; }
  .orc-fields { grid-template-columns: 1fr; }
  .orc-field:not(.orc-field-half) { grid-column: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero-side { margin-top: 40px; }
  .fake-services { grid-template-columns: 1fr; }
  .fake-service { border-right: none; border-bottom: 1px solid var(--line); }
  .fake-service:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .hero { padding: 56px 0 48px; }
  :root { --gutter: 18px; }
  .logo-word { font-size: 16px; }
  .btn-header {
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* The mockup's "final" layer uses fixed px sizing (it's a miniature
   browser window, not a fluid layout) — at narrow frame widths that
   content needs its own scaled-down pass so nothing gets clipped by
   .compare-clip's overflow:hidden. */
@media (max-width: 520px) {
  .browser-bar { gap: 4px; padding: 8px 10px; }
  .dot { width: 6px; height: 6px; }
  .browser-url {
    margin-left: 8px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
    padding: 3px 8px;
  }
  .fake-nav { gap: 10px; padding: 10px 14px; }
  .fake-nav-logo { font-size: 13px; }
  .fake-nav-links { display: none; }
  .fake-nav-cta { font-size: 11px; padding: 5px 10px; }
  .fake-hero { padding: 18px 14px; gap: 12px; }
  .fake-hero p { font-size: 11px; margin-bottom: 12px; }
  .fake-hero-art { width: 52px; height: 52px; }
  .fake-btn { font-size: 11px; padding: 7px 14px; }
  .fake-trust { font-size: 10px; }
  .fake-service { padding: 10px 12px; font-size: 11px; }
  .fake-footer { padding: 10px 14px; font-size: 10px; }
}

/* Kept last on purpose: overrides earlier base rules (same
   specificity), so this block has to win the cascade by source order. */
@media (max-width: 700px) {
  .compare-frame {
    transform: none;
    box-shadow: none;
  }
}
