/* ==========================================================
   NEXUS PRO · NOVA HOME (v3) — folha isolada da página inicial
   Fonte de verdade do design: Figma "Design-System-Nexus",
   aba "Site · Home responsiva" (variantes Desktop 1440,
   Tablet 768, Mobile 360/320).

   Isolada de propósito: as demais páginas continuam usando
   styles.css/main.js sem nenhuma alteração.

   Breakpoints (mobile first):
     base ........ até 479px  (Mobile 360, validado em 320)
     ≥ 480px ..... Tablet (768 de referência)
     ≥ 981px ..... Desktop (1440 de referência)
   ========================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Primitivas (Site / Primitivas) */
  --teal-950: #04211d;
  --teal-900: #062d28;
  --teal-800: #0a3d36;
  --teal-700: #0f5249;
  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-deep: #0d9488;
  --accent-ink: #0b6e62;
  --brand-ink: #076161;
  --paper: #ffffff;
  --paper-soft: #f5f8f7;
  --paper-mute: #e8efed;
  --line: #dbe6e3;
  --ink: #0a1f1c;
  --ink-muted: #566b66;
  --light: #eaf2f0;
  --light-muted: #9fb5b0;

  /* Ação primária = DS Nexus (action/primary) */
  --btn-primary-bg: #046d63;
  --btn-primary-bg-hover: #035a52;
  --btn-primary-bg-pressed: #024740;
  --btn-primary-fg: #ffffff;
  --badge-bg: var(--accent);
  --badge-fg: var(--teal-950);

  /* Tipografia */
  --font-display: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-h1: clamp(2.25rem, 0.4rem + 7.4vw, 3.625rem);   /* 36 → 58 */
  --fs-h2: clamp(1.75rem, 0.9rem + 2.9vw, 3.125rem);    /* 28 → 50 */
  --fs-h3: clamp(1.25rem, 0.9rem + 1.3vw, 1.75rem);     /* 20 → 28 */
  --fs-lede: clamp(1.0625rem, 0.95rem + 0.55vw, 1.25rem); /* 17 → 20 */
  --fs-num: clamp(2.5rem, 1.8rem + 2.6vw, 3.5rem);      /* 40 → 56 */
  --fs-body: 1.0625rem;  /* 17 */
  --fs-card: 0.9375rem;  /* 15 */
  --fs-small: 0.875rem;  /* 14 */
  --fs-micro: 0.75rem;   /* 12 */

  /* Layout (Site / Layout) */
  --container: 1200px;
  --gutter: 20px;
  --section-pad: clamp(3rem, 7vw, 6.25rem);   /* 48 → 100 */
  --head-gap: clamp(2.5rem, 5vw, 4.5rem);      /* 40 → 72 */
  --grid-gap: 1.25rem;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-card: 20px;
  --radius-lg: 24px;
  --shadow-md: 0 6px 22px -6px rgba(4, 33, 29, 0.12), 0 2px 6px rgba(4, 33, 29, 0.05);
  --shadow-lg: 0 24px 60px -18px rgba(4, 33, 29, 0.22);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tema por seção (Site / Tema) — equivale ao data-theme do Figma */
[data-theme='light'] {
  --bg: var(--paper);
  --bg-soft: var(--paper-soft);
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --card-bg: var(--paper-soft);
  --card-border: var(--line);
  --hairline: var(--line);
  --accent-text: var(--accent-ink);
  --surface: var(--paper);
  --accent-soft: rgba(11, 110, 98, 0.12);
  --accent-tint: rgba(11, 110, 98, 0.08);
  --fg-subtle: rgba(10, 31, 28, 0.05);
  --fg-faint: rgba(10, 31, 28, 0.08);
  --fg-line: rgba(10, 31, 28, 0.35);
  color: var(--fg);
}

[data-theme='dark'] {
  --bg: var(--teal-900);
  --bg-soft: var(--teal-900);
  --fg: var(--light);
  --fg-muted: var(--light-muted);
  --card-bg: var(--teal-800);
  --card-border: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.1);
  --accent-text: var(--accent-bright);
  --surface: var(--teal-800);
  --accent-soft: rgba(45, 212, 191, 0.12);
  --accent-tint: rgba(45, 212, 191, 0.08);
  --fg-subtle: rgba(234, 242, 240, 0.05);
  --fg-faint: rgba(234, 242, 240, 0.08);
  --fg-line: rgba(234, 242, 240, 0.35);
  color: var(--fg);
}

/* ---------- 2. BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--accent-text, var(--accent-ink));
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: var(--teal-950); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--paper); font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.icon {
  width: 1.5rem; height: 1.5rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 1.125rem; height: 1.125rem; }
.icon--xs { width: 0.875rem; height: 0.875rem; stroke-width: 2.2; }

/* ---------- 3. LAYOUT ---------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  background: var(--bg);
  padding-block: var(--section-pad);
}
.section--soft { background: var(--bg-soft); }

.section > .container {
  display: flex;
  flex-direction: column;
  gap: var(--head-gap);
}

/* ---------- 4. TIPOGRAFIA ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1160px;
}
.section-head--center { align-items: center; text-align: center; margin-inline: auto; }

.section-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.section-head--center .section-kicker { justify-content: center; }

.section-number {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
}

.section-lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--fg-muted);
  text-wrap: pretty;
}

.hl { color: var(--accent-text); }

.h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.text-card { font-size: var(--fs-card); line-height: 1.6; color: var(--fg-muted); }

/* ---------- 5. COMPONENTES BASE ---------- */
/* Botão (Site/Botão) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { width: 1.125rem; height: 1.125rem; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn--primary:hover { background: var(--btn-primary-bg-hover); }
.btn--primary:active { background: var(--btn-primary-bg-pressed); }

.btn--outline {
  border: 1px solid var(--fg-line);
  color: var(--fg);
}
.btn--outline:hover { border-color: var(--fg); background: var(--fg-subtle); }

.btn--lg { min-height: 56px; padding: 1.125rem 2rem; }
.btn--sm { min-height: 40px; padding: 0.5rem 1.125rem; }

/* Rótulo curto só no mobile (mesmo sentido, uma linha) */
.btn__short { display: none; }

/* Tag (Site/Tag) */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--fg-muted);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* Celular: badges mais compactos, para caberem dois por linha em vez de um */
@media (max-width: 479.98px) {
  .tag { padding: 0.1875rem 0.5625rem; font-size: 0.8125rem; }
  .tag-list { gap: 0.375rem; }
}

/* Selo */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: var(--fs-small);
  line-height: 1.5;
  background: var(--fg-faint);
  color: var(--fg);
}
.badge--accent { background: var(--badge-bg); color: var(--badge-fg); font-weight: 500; }

/* Item de lista com check (Site/Item de lista) */
.check-list { display: flex; flex-direction: column; gap: 0.625rem; }
.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: var(--fs-card);
  line-height: 1.55;
  color: var(--fg);
}
.check-list li::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6e62' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
[data-theme='dark'] .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E");
}

/* Ícone em círculo / quadrado suave */
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-text);
}
.icon-tile--round { border-radius: 50%; }
.icon-tile--outline {
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--card-border);
}

/* ---------- 6. CABEÇALHO DO SITE ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    padding 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; align-items: center; color: var(--brand-ink); }
/* Logo: viewBox com respiro de 4 unidades em volta do desenho e proporção explícita,
   para nenhum navegador cortar a asa nem o "o" final (antes o recorte era rente ao traço). */
.brand-logo,
.footer-brand-logo { display: block; aspect-ratio: 1240 / 351; overflow: visible; }
.brand-logo { height: 32px; width: auto; }

.site-nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(10, 31, 28, 0.06); }

/* Menu do mobile/tablet */
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.mobile-nav .btn { margin-top: 1.5rem; }

@media (min-width: 981px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }
  .site-nav a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink);
    transition: color 0.2s var(--ease);
  }
  .site-nav a:not(.btn):hover { color: var(--accent-ink); }
  .nav-toggle, .mobile-nav { display: none; }
}

/* ---------- 7. HERO (claro, alinhado ao mídia kit) ---------- */
.hero {
  background: var(--bg-soft);
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: var(--section-pad);
  overflow: hidden;
}

.hero .container { display: flex; flex-direction: column; gap: 3.5rem; }

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero-title .br { display: none; }

.hero-sub {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 40rem;
}

.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; }

.trust-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.trust-bar__label { font-size: var(--fs-small); color: var(--fg-muted); }

/* Composição foto + bloco + selo */
.hero-visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 722 / 806;
}
.hero-visual__block {
  position: absolute;
  top: 0;
  left: 34.2%;
  width: 65.8%;
  height: 75.4%;
  border-radius: var(--radius-lg);
  background: var(--accent-ink) url('/images/home/hero-bloco.webp') center / cover no-repeat;
}
.hero-visual__photo {
  position: absolute;
  top: 16.5%;
  left: 0;
  width: 73.7%;
  height: 77.8%;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}
.seal {
  position: absolute;
  left: 4%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: calc(100% - 8%);
  padding: 0.875rem 1.5rem 0.875rem 0.875rem;
  border-radius: var(--radius-card);
  background: var(--accent-ink);
  color: var(--light);
  box-shadow: 0 24px 60px -18px rgba(4, 33, 29, 0.35);
}
.seal__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--teal-950);
}
.seal__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.seal__label { display: block; font-size: var(--fs-small); line-height: 1.4; color: #cdf2eb; }

/* Pilares (4 engrenagens) */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}
.pillar { display: flex; align-items: center; gap: 0.875rem; }
.pillar__kicker { display: block; font-size: var(--fs-micro); color: var(--fg-muted); }
.pillar__title { display: block; font-size: var(--fs-small); font-weight: 600; line-height: 1.4; color: var(--fg); }

@media (min-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .trust-bar .tag-list { gap: 0.5rem; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}

@media (min-width: 981px) {
  .hero { padding-top: calc(var(--header-h) + 92px); }
  .hero .container { gap: 4.5rem; }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(0, 516px);
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
  }
  .hero-title { font-size: clamp(3.625rem, 4.44vw, 4rem); line-height: 1.06; }
  .hero-title .br { display: inline; }
  .hero-visual { width: 100%; margin: 0; }
  .pillars { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 1.5rem; }
}

/* ---------- 8. RODAPÉ ---------- */
.site-footer {
  background: var(--teal-950);
  color: var(--light);
  padding: 3.5rem 0 2rem;
  font-size: var(--fs-small);
}
.site-footer .container { display: flex; flex-direction: column; gap: 2.5rem; }

.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer__brand-col { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-brand-logo { height: 36px; width: auto; color: var(--paper); }
.footer__intro { color: var(--light-muted); line-height: 1.6; }

.footer__col h2 {
  margin-bottom: 0.875rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
}
.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a,
.footer__contact-list a { color: var(--light-muted); transition: color 0.2s var(--ease); }
.footer__links a:hover,
.footer__contact-list a:hover { color: var(--accent-bright); }
.footer__contact-list { display: flex; flex-direction: column; gap: 0.875rem; color: var(--light-muted); }
.footer__contact-list strong { display: block; color: var(--light); }
.footer__contact-list a { overflow-wrap: anywhere; }

.footer__compliance {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-micro);
  line-height: 1.7;
  color: var(--light-muted);
}
.footer__compliance strong { color: var(--light); }
.footer__compliance a { color: var(--light-muted); text-decoration: underline; text-underline-offset: 2px; }

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--fs-micro);
  color: var(--light-muted);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.footer__legal-links a:hover { color: var(--accent-bright); }

@media (min-width: 480px) {
  .site-footer { padding-top: 5rem; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
  .footer__legal { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
}

@media (min-width: 981px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 3rem; }
}

/* ==========================================================
   FASE 2 · SEÇÕES 01–04
   ========================================================== */

/* Grades utilitárias (1 col → 2 → N) */
.grid { display: grid; grid-template-columns: 1fr; gap: var(--grid-gap); }
@media (min-width: 480px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 01 · TESE: Card de serviço ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.service-card .tag-list { margin-top: auto; padding-top: 0.25rem; }

/* ---------- 02 · PACOTES ---------- */
.pkg-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 981px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pkg-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.pkg-card--featured { border: 2px solid var(--accent-text); }
.pkg-card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.pkg-card__code { font-size: var(--fs-small); font-weight: 600; color: var(--accent-text); }
.pkg-card__head { display: flex; flex-direction: column; gap: 0.25rem; }
.pkg-card__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.pkg-card__label { font-size: var(--fs-small); font-weight: 600; }
.pkg-card__includes { display: flex; flex-direction: column; gap: 0.75rem; }
.pkg-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 480px) {
  .pkg-card { padding: 2rem; }
  .pkg-card__top { flex-direction: row; justify-content: space-between; align-items: center; gap: 0.75rem; }
  .pkg-card__actions { flex-direction: row; flex-wrap: wrap; }
  .pkg-card__actions .btn { flex: 1 1 auto; white-space: nowrap; }
}

/* ---------- 03 · ESCOPO: bento + construtor ---------- */
.tip {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-tint);
  font-size: var(--fs-small);
  color: var(--fg);
}

.scope { display: flex; flex-direction: column; gap: 1.25rem; }

.bento { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 981px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .bento-box--narrow { grid-column: span 5; }
  .bento-box--wide { grid-column: span 7; }
}

.bento-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--bg);
}
@media (min-width: 480px) { .bento-box { padding: 1.75rem; } }

.bento-box__head { display: flex; flex-direction: column; gap: 0.5rem; }
.bento-box__gear { font-size: var(--fs-small); font-weight: 600; color: var(--accent-text); }

.modules { display: flex; flex-direction: column; gap: 0.5rem; }
@media (min-width: 480px) { .modules { flex-direction: row; flex-wrap: wrap; } }

.module-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  padding: 0.625rem 0.875rem 0.625rem 0.75rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: var(--fs-small);
  line-height: 1.4;
  text-align: left;
  color: var(--fg);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.module-btn:hover { border-color: var(--accent-text); }
.module-btn__check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid var(--fg-muted);
  border-radius: 4px;
  color: transparent;
}
.module-btn[aria-pressed='true'] { border-color: var(--accent-text); background: var(--accent-tint); }
.module-btn[aria-pressed='true'] .module-btn__check {
  border-color: var(--btn-primary-bg);
  background: var(--btn-primary-bg);
  color: #fff;
}

.bento-box__links {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
  font-size: var(--fs-small);
}
@media (min-width: 480px) { .bento-box__links { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; } }
.bento-box__links-label { color: var(--fg-muted); }
.text-link { font-weight: 600; color: var(--accent-text); }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.scope-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.scope-bar__info { display: flex; flex-direction: column; gap: 0.375rem; }
.scope-bar__kicker { font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text); }
.scope-bar__list { font-size: var(--fs-small); color: var(--fg-muted); }
.scope-bar__actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; }
.scope-bar__reset { min-height: 44px; font-size: var(--fs-small); font-weight: 600; color: var(--fg-muted); text-align: left; }
.scope-bar__reset:hover { color: var(--fg); }
@media (min-width: 480px) {
  .scope-bar { padding: 1.5rem 1.75rem; }
  .scope-bar__actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
}
@media (min-width: 981px) {
  .scope-bar { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .scope-bar__info { flex: 1 1 auto; }
  .scope-bar__actions { flex: 0 0 auto; }
}

/* ---------- 04 · CASES ---------- */
.cases { display: flex; flex-direction: column; gap: clamp(3rem, 5vw, 4rem); }

.eco-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
}
@media (min-width: 480px) { .eco-featured { padding: 1.75rem; } }
@media (min-width: 981px) {
  .eco-featured { grid-template-columns: 470px minmax(0, 1fr); gap: 3rem; padding: 2.5rem; align-items: start; }
}

.eco-featured__media { display: flex; flex-direction: column; gap: 0.75rem; }
.eco-featured__media img {
  width: 100%;
  aspect-ratio: 1017 / 796;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.eco-featured__caption { font-size: var(--fs-small); color: var(--fg-muted); }
.eco-featured__caption strong { display: block; font-weight: 400; color: var(--fg); }

.eco-featured__content { display: flex; flex-direction: column; gap: 1.25rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.deliverables { display: grid; grid-template-columns: 1fr; gap: 0.875rem 1rem; }
@media (min-width: 480px) { .deliverables { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.deliverables li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.625rem;
  align-items: start;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--fg-muted);
}
.deliverables strong { color: var(--fg); }
.deliverables__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-text);
}

.actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 480px) { .actions { flex-direction: row; flex-wrap: wrap; } }

.case-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.case-filter__btn {
  min-height: 44px;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--fg);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.case-filter__btn:hover { border-color: var(--fg); }
.case-filter__btn[aria-selected='true'] { background: var(--fg); border-color: var(--fg); color: var(--bg); }

.case-group { display: flex; flex-direction: column; gap: 1.5rem; }
.case-group[hidden] { display: none; }

.work-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 480px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 981px) {
  .work-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .work-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.work-card__thumb { background: var(--fg-subtle); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-line); opacity: 0.6; }
.work-card__thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: top;
}
.work-card__thumb img.is-contain { object-fit: contain; background: var(--bg); }
/* Celular (coluna única): cada print usa a própria proporção (width/height do <img>),
   então aparece inteiro, sem cortar as laterais na moldura 3:2. */
@media (max-width: 479.98px) {
  .work-card__thumb img,
  .eco-featured__media img { height: auto; aspect-ratio: auto; }
}
.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem 1.5rem 1.5rem;
}
.work-card__badge { font-size: var(--fs-small); font-weight: 600; color: var(--accent-text); }
.work-card__link { margin-top: auto; padding-top: 0.25rem; font-size: var(--fs-small); font-weight: 600; color: var(--accent-text); }
.work-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   FASE 3 · SEÇÕES 05–11
   ========================================================== */

/* ---------- 05 · PROVAS ---------- */
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: var(--fs-num);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--accent-text);
}
.stat-card__context { font-size: var(--fs-small); font-weight: 600; color: var(--fg); }
.stat-card__label { font-size: var(--fs-small); line-height: 1.55; color: var(--fg-muted); }
.legal-note {
  max-width: 45rem;
  margin-inline: auto;
  font-size: var(--fs-micro);
  line-height: 1.6;
  text-align: center;
  color: var(--fg-muted);
}

/* ---------- 06 · MÉTODO ---------- */
.process-flow {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: min(100%, 620px);
  margin-inline: auto;
}
.process-flow::before {
  content: '';
  position: absolute;
  top: 10px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: var(--accent-text);
  opacity: 0.4;
}
.process-flow li {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-small);
  font-weight: 600;
  text-align: center;
}
.process-flow li::before {
  content: '';
  width: 22px;
  height: 22px;
  border: 4px solid var(--bg-soft);
  border-radius: 50%;
  background: var(--accent-text);
  box-sizing: border-box;
}

.method { display: flex; flex-direction: column; gap: 2.5rem; }
.method-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 981px) { .method-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.method-step { display: flex; flex-direction: column; gap: 0.75rem; }
.method-step__phase {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* ---------- 07 · NEXUS CLINIC ---------- */
.tier-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 981px) { .tier-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tier-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.tier-card--featured { border: 2px solid var(--accent-text); }
.tier-card__tag {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-text);
}
.tier-card--featured .tier-card__tag { background: var(--badge-bg); color: var(--badge-fg); }
.tier-card .check-list { align-self: stretch; padding-top: 0.5rem; }

.cta-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.cta-box p { color: var(--fg); }
@media (min-width: 480px) { .cta-box { padding: 1.75rem 2rem; } }
@media (min-width: 981px) {
  .cta-box { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-box .btn { flex-shrink: 0; white-space: nowrap; }
}

/* ---------- 08 · DEPOIMENTOS (claro) ---------- */
.testimonials { display: flex; flex-direction: column; align-items: center; gap: 2.5rem; }
.testimonial-feature {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: min(100%, 880px);
  padding: 2rem 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}
@media (min-width: 480px) { .testimonial-feature { padding: 2.5rem; } }
.testimonial-feature__mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 0.6;
  color: var(--accent-text);
}
.testimonial-feature blockquote p { font-size: var(--fs-lede); line-height: 1.6; color: var(--fg); }

.testimonial-wall { width: min(100%, 1040px); columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .testimonial-wall { columns: 2; } }
@media (min-width: 1024px) { .testimonial-wall { columns: 3; } }
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--bg);
  break-inside: avoid;
}
.testimonial-card blockquote p { font-size: var(--fs-card); line-height: 1.6; color: var(--fg); }
.testimonial-author { display: flex; flex-direction: column; gap: 0.125rem; font-size: var(--fs-small); }
.testimonial-author__name { font-weight: 600; color: var(--fg); }
.testimonial-author__role { color: var(--fg-muted); }
.stars { font-size: var(--fs-small); letter-spacing: 0.1em; color: var(--accent-text); }

.google-reviews { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; }
@media (min-width: 480px) { .google-reviews { flex-direction: row; justify-content: center; width: auto; } }
.google-reviews__score { font-size: var(--fs-small); font-weight: 600; color: var(--accent-text); }

/* ---------- 09 · SOBRE ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 981px) { .about-grid { grid-template-columns: 480px minmax(0, 1fr); gap: 4rem; } }
.about-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
}
@media (min-width: 981px) { .about-portrait img { aspect-ratio: 922 / 1292; } }
.about-content { display: flex; flex-direction: column; gap: 1.5rem; }
.about-content > p:first-child { color: var(--fg); }
.about-content > p { color: var(--fg-muted); }
.founder-quote {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--accent-text);
}
.founder-quote p { font-size: var(--fs-lede); line-height: 1.6; color: var(--fg); }
.founder-quote cite { font-size: var(--fs-small); font-style: normal; color: var(--fg-muted); }

/* ---------- 10 · FAQ ---------- */
.faq-list { width: min(100%, 860px); margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 44px;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  color: var(--accent-text);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding-bottom: 1.5rem; color: var(--fg-muted); }
.faq-item__answer a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 981px) { .faq-item summary { font-size: 1.25rem; } }

/* ---------- 11 · CONTATO ---------- */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 820px);
  margin-inline: auto;
  padding: 1.5rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}
@media (min-width: 480px) { .contact-card { padding: 3rem; } }
.contact-card p { color: var(--fg-muted); }
.contact-card .actions { justify-content: center; width: 100%; }
.contact-card__note { font-size: var(--fs-small); }
.contact-card__note a { color: var(--accent-text); overflow-wrap: anywhere; }

/* ---------- 9. MOBILE (≤ 479px): CTAs em largura total, rótulos curtos ---------- */
@media (max-width: 479px) {
  .btn { width: 100%; padding-inline: 1rem; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
}

/* ---------- 10. MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
