/* ==========================================================================
   Fiwti Developers — folha de estilos única do site

   Origem dos estilos:
   - Header / Menu e Hero: baseados na V1 (www_v1: Header.dc.html + index.dc.html)
   - Demais seções, cards, footer: baseados na V2 (www_v2/*.html)

   Índice
   1.  Variáveis globais
   2.  Reset / base
   3.  Layout (container)
   4.  Tipografia
   5.  Header / Menu            (V1)
   6.  Hero                     (V1)
   7.  Componentes (eyebrow, chips, ícones, glow, reveal)
   8.  Botões
   9.  Cards
   10. Seções
   11. Footer                   (V2)
   12. Responsividade
   ========================================================================== */


/* ==========================================================================
   1. Variáveis globais
   ========================================================================== */
:root {
  /* Cores — marca */
  --color-accent: #009999;
  --color-accent-dark: #007575;
  --color-accent-deep: #0F3B3B;
  --color-accent-darker: #005c5c;
  --color-on-accent-strong: #052B2A;
  --color-on-accent: #0B3D3B;
  --color-on-accent-soft: #0A3836;
  --color-white: #ffffff;
  --color-error: #b42318;

  /* Cores — superfícies (V2) */
  --bg-light: #E1F3F2;
  --bg-panel: oklch(100% 0 0);
  --bg-tint: #CFEEE9;
  --bg-tint-cool: #EFEFED;
  --bg-dark: oklch(19% 0.022 260);
  --bg-dark-2: oklch(23% 0.024 260);
  --bg-dark-3: oklch(24% 0.024 260);
  --bg-dark-4: oklch(32% 0.02 260);

  /* Cores — texto (V2) */
  --text-dark: oklch(22% 0.02 260);
  --text-muted: oklch(45% 0.02 260);
  --text-light: oklch(96% 0.008 80);
  --text-light-muted: oklch(72% 0.025 260);

  /* Cores — bordas (V2) */
  --border-light: oklch(89% 0.012 80);
  --border-light-hover: oklch(80% 0.01 80);
  --border-dark: oklch(32% 0.024 260);

  /* Cores — header e hero (V1) */
  --header-bg: #fafafa;
  --header-border: #e6e6e6;
  --header-link: #4d4d4d;
  --hero-bg: #262626;
  --hero-text: #e6e6e6;
  --hero-dot: #d9d9d9;
  --hero-overlay: linear-gradient(90deg,
      rgba(15, 15, 15, 0.94) 0%,
      rgba(15, 15, 15, 0.88) 45%,
      rgba(15, 15, 15, 0.55) 70%,
      rgba(15, 15, 15, 0.25) 100%);

  /* Fontes
     --font-display / --font-body: seções (V2)
     --font-brand-*: header e hero (V1). Para usar uma só família no site
     inteiro, basta apontar as variáveis --font-brand-* para as de V2
     (e remover Sora/Public Sans do <link> das páginas). */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-brand-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-brand-body: 'Public Sans', 'Segoe UI', system-ui, sans-serif;

  /* Layout e espaçamentos */
  --container-max: 1280px;
  --container-pad: 64px;
  --section-pad: 120px;
  --section-pad-md: 100px;
  --header-height: 74px;

  /* Bordas / raios */
  --radius-xs: 4px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-accent: 0 12px 24px -8px rgba(0, 153, 153, 0.55);
  --shadow-dark: 0 12px 24px -8px oklch(19% 0.02 260 / 0.5);
  --shadow-card: 0 24px 40px -20px oklch(22% 0.02 260 / 0.22);
  --shadow-accent-soft: 0 16px 32px -12px rgba(0, 153, 153, 0.5);

  /* Transições */
  --ease-fast: .18s ease;
  --ease-card: .22s ease;
}


/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  overflow-x: clip;
}

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

a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { color: var(--color-accent); }

button,
input,
textarea { font: inherit; color: inherit; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ==========================================================================
   3. Layout
   ========================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.text-center { text-align: center; }


/* ==========================================================================
   4. Tipografia
   ========================================================================== */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
}

.title-xl { font-size: 44px; line-height: 1.15; margin-bottom: 20px; }
.title-lg { font-size: 38px; line-height: 1.18; margin-bottom: 20px; }
.title-md { font-size: 32px; line-height: 1.2; margin-bottom: 16px; }
.title-sm { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.title-xs { font-size: 16px; font-weight: 600; margin-bottom: 8px; }

.lead { font-size: 17px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.lead + .lead { margin-top: 16px; }
.text { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.text-sm { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0; }

.statement {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.quote {
  font-family: var(--font-display);
  font-style: italic;
  margin: 0;
}

.link-arrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

.text-accent-dark { color: var(--color-accent-dark); }


/* ==========================================================================
   5. Header / Menu (V1)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  font-family: var(--font-brand-body);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 38px; width: auto; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--header-link);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--ease-fast);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--color-accent); }
.site-nav a[aria-current="page"] { font-weight: 600; }

.site-header__cta { white-space: nowrap; }

/* Botão do menu mobile (só aparece com JS ativo e em telas pequenas) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--header-border);
  border-radius: var(--radius-xs);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--header-link);
  transition: transform var(--ease-fast), opacity var(--ease-fast);
}

.site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ==========================================================================
   6. Hero (V1) — carrossel com fade + overlay escuro
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  background: var(--hero-bg);
  font-family: var(--font-brand-body);
}

.hero__slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}

.hero__slide.is-active { opacity: 1; pointer-events: auto; }

.hero__slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__credit {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 2;
  max-width: calc(100% - 12px);
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(0, 0, 0, .55);
  color: var(--color-white);
  font: 10px/1.2 system-ui, -apple-system, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__credit a { color: inherit; }
.hero__credit a:hover { color: inherit; text-decoration: underline; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding-top: 130px;
  padding-bottom: 100px;
  pointer-events: none;
}

.hero__content { max-width: 560px; pointer-events: auto; }

.hero__title {
  font-family: var(--font-brand-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.15;
  color: var(--color-white);
  margin: 0 0 24px;
}

.hero__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--hero-text);
  margin: 0 0 36px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--hero-dot);
  cursor: pointer;
  transition: background var(--ease-fast);
}

.hero__dot[aria-current="true"] { background: var(--color-accent); }


/* ==========================================================================
   7. Componentes
   ========================================================================== */

/* Eyebrow (rótulo acima dos títulos) */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 18px;
}

.eyebrow--sm { font-size: 12px; margin-bottom: 10px; }
.eyebrow--compact { margin-bottom: 14px; }
.eyebrow--on-dark { color: var(--color-accent); }

/* Chips — base + tamanhos + variantes de cor
   (unifica 4 definições conflitantes de .chip/.chip-dark da V2) */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list--spaced { gap: 10px; }
.chip-list--center { justify-content: center; gap: 12px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-panel);
  color: var(--text-dark);
}

.chip--sm { font-size: 13px; padding: 7px 14px; }
.chip--xs { font-size: 12px; padding: 6px 12px; }
.chip--soft { background: var(--bg-light); }
/* Marcador quadrado em accent antes do texto (seção Problemas) */
.chip--marker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 2px;
  background: var(--color-accent);
}

.chip--dark {
  border-color: var(--border-dark);
  background: var(--bg-dark-3);
  color: var(--text-light-muted);
}

/* Ícone em bloco */
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  margin-bottom: 22px;
}

.icon-tile--accent { background: var(--bg-tint); color: var(--color-accent-dark); }
.icon-tile--neutral { background: var(--bg-tint-cool); color: var(--text-muted); }
.icon-tile--dark { background: var(--color-accent-deep); color: var(--color-accent); }
.icon-tile--flush { margin-bottom: 0; }

/* Lista com check */
.check-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-dark); }
.check-list svg { flex: none; margin-top: 3px; color: var(--color-accent-dark); }

/* Brilho desfocado decorativo */
.glow {
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.12;
  pointer-events: none;
}

.glow--top {
  top: -80px;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translateX(-50%);
  filter: blur(120px);
}

.glow--corner {
  bottom: -100px;
  right: -60px;
  width: 360px;
  height: 360px;
  filter: blur(90px);
}

/* Animação de entrada ao rolar (V2) — só onde há suporte a scroll-timeline */
@supports (animation-timeline: view()) {
  .reveal {
    animation: fadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}

/* Mockup da fila de atendimento (Sincro) — usado em Cases e Produtos */
.queue-mock {
  width: 220px;
  background: var(--bg-dark-3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.queue-mock__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

.queue-mock__icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-on-accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.queue-mock__title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-light); }

.queue-mock__bars { display: flex; flex-direction: column; gap: 10px; }
.queue-mock__bars span { display: block; height: 14px; border-radius: 6px; background: var(--bg-dark-4); }
.queue-mock__bars span:nth-child(1) { width: 100%; }
.queue-mock__bars span:nth-child(2) { width: 80%; }
.queue-mock__bars span:nth-child(3) { width: 60%; background: var(--color-accent); opacity: .85; }
.queue-mock__bars span:nth-child(4) { width: 90%; }

/* Fluxo do agente de IA */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 70px;
  padding: 0;
  list-style: none;
}

.flow__step { display: flex; flex-direction: column; align-items: center; width: 132px; }

.flow__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-panel);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.flow__icon--neutral { background: var(--bg-tint-cool); color: var(--text-muted); }
.flow__icon--main {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-accent-soft);
}

.flow__label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.flow__arrow { flex: none; color: var(--text-muted); list-style: none; }

/* Etapas (Como trabalhamos) */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 1.5px;
  background: var(--border-light);
}

.step { position: relative; text-align: center; }

.step__number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1.5px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 auto 18px;
}

.step--active .step__number { border-color: var(--color-accent); color: var(--color-accent-dark); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-light); padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item__question { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0 0 8px; }

/* Formulário */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }

.form-field {
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-size: 15px;
}

.form-field:focus { outline: none; border-color: var(--color-accent); }
.form-field--area { height: 100px; padding: 12px 14px; margin-bottom: 22px; resize: vertical; }

.form-captcha { margin-bottom: 18px; }
.form-status { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.form-status:empty { display: none; }
.form-status--success { color: var(--color-accent-dark); }
.form-status--error { color: var(--color-error); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }


/* ==========================================================================
   8. Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast),
              background var(--ease-fast), border-color var(--ease-fast);
}

.btn-primary { background: var(--color-accent); color: var(--color-white); }
.btn-primary:hover { color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-accent); }


.btn-ghost-dark { border-color: var(--border-dark); color: var(--text-light); background: transparent; }
.btn-ghost-dark:hover { color: var(--text-light); border-color: var(--text-light-muted); transform: translateY(-2px); }

.btn-dark { background: var(--bg-dark); color: var(--text-light); }
.btn-dark:hover { color: var(--text-light); transform: translateY(-2px); box-shadow: var(--shadow-dark); }

/* Botão branco sobre fundo accent (bloco WhatsApp) */
.btn-light { background: var(--color-white); color: var(--color-accent-dark); }
.btn-light:hover { color: var(--color-accent-darker); transform: translateY(-2px); box-shadow: var(--shadow-dark); }

/* Botão translúcido sobre imagem (hero V1) */
.btn-glass { background: rgba(255, 255, 255, 0.12); color: var(--color-white); border-color: rgba(255, 255, 255, 0.5); }
.btn-glass:hover { color: var(--color-white); border-color: var(--color-white); }

/* Estilo V1 (header e hero): cantos retos, fonte da marca,
   hover escurece em vez de levantar */
.btn-flat { border-radius: var(--radius-xs); font-family: var(--font-brand-body); }
.btn-flat:hover { transform: none; box-shadow: none; }
.btn-flat.btn-primary:hover { background: var(--color-accent-dark); }

/* Tamanhos */
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-compact { padding: 10px 22px; font-size: 14px; }
.btn-sm { padding: 11px 22px; font-size: 13px; }
.btn-block { width: 100%; }


/* ==========================================================================
   9. Cards
   ========================================================================== */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.card--lift { transition: transform var(--ease-card), box-shadow var(--ease-card), border-color var(--ease-card); }
.card--lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--border-light-hover); }

.card--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; }

.card .chip-list { margin: 18px 0 20px; }

.card--dark { background: var(--bg-dark); border-color: var(--bg-dark); }
.card--dark .title-sm { color: var(--text-light); }
.card--dark .text { color: var(--text-light-muted); margin-bottom: 18px; }
.card--dark .link-arrow { color: var(--color-accent); }

.card--note { border-style: dashed; border-width: 1.5px; padding: 48px; display: flex; align-items: center; gap: 24px; }
.card--note .title-sm { font-size: 22px; font-weight: 700; margin-bottom: 6px; }

/* Card de case (página Cases): captura do site + desafio/solução/destaques */
.case-grid { align-items: stretch; }

.case-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.case-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tint-cool);
  border-bottom: 1px solid var(--border-light);
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .4s ease;
}

.case-card:hover .case-card__media img { transform: scale(1.03); }

.case-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px 36px 36px;
}

.case-card__details { display: grid; gap: 14px; margin: 20px 0 0; }
.case-card__details dt {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 4px;
}
.case-card__details dd { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

.case-card__link { margin-top: auto; }

/* Painel de destaque escuro (Sincro em Cases e Produtos) */
.feature-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px;
  border-radius: var(--radius-xl);
  background: var(--bg-dark);
}

.feature-panel__body,
.feature-panel__visual { position: relative; }
.feature-panel__visual { display: flex; justify-content: center; }
.feature-panel .title-md { color: var(--text-light); }
.feature-panel__text { font-size: 16px; line-height: 1.65; color: var(--text-light-muted); margin: 0 0 24px; }
.feature-panel .chip-list { margin-bottom: 28px; }

/* Grade com linhas de 1px (Sobre: missão/visão/valores e diferenciais) */
.grid-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}

.grid-lines > * { background: var(--bg-panel); padding: 36px; }
.grid-lines__label { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.grid-lines__icon { margin-bottom: 14px; color: var(--color-accent-dark); }

.grid-lines--dark { background: var(--border-dark); border-color: var(--border-dark); }
.grid-lines--dark > * { background: var(--bg-dark-2); padding: 32px; }
.grid-lines--dark .text-sm { color: var(--text-light-muted); line-height: 1.6; }


/* ==========================================================================
   10. Seções
   ========================================================================== */
.section { position: relative; padding: var(--section-pad) 0; }
.section--md { padding: var(--section-pad-md) 0; }
.section--dark { background: var(--bg-dark); }
.section--light { background: var(--bg-panel); }
.section--tint { background: var(--bg-tint); overflow: hidden; }
.section--accent { background: var(--color-accent); text-align: center; }

.section--snug { padding: 110px 0; }
.section--about { padding: 100px 0 90px; }

/* Espaçamentos das páginas internas (V2) */
.section--flush-top { padding-top: 0; }
.section--pb-sm { padding-bottom: 40px; }
.section--pb-md { padding-bottom: 60px; }
.section--after { padding: 20px 0 120px; }
.section--faq { padding: 60px 0 120px; }

/* Intro das páginas internas */
.page-intro { padding: 90px 0 70px; }
.page-intro__content { max-width: 800px; }
.page-intro__content--narrow { max-width: 760px; }
.page-intro--contact { padding-bottom: 60px; }

/* Cabeçalho de seção (eyebrow + título + texto) */
.section-head { max-width: 700px; margin: 0 auto 64px; text-align: center; }
.section-head--wide { max-width: 760px; margin-bottom: 56px; }
.section-head--narrow { max-width: 600px; }
.section-head--steps { max-width: 600px; margin-bottom: 72px; }
.section-head--ai { margin-bottom: 70px; }

.section--dark .title-lg,
.section--dark .title-xl,
.section--dark .statement { color: var(--text-light); }
.section--dark .lead { color: var(--text-light-muted); }
.section--about .title-xl { font-size: 42px; line-height: 1.2; margin-bottom: 24px; }

.section-statement { text-align: center; }
.section-statement--narrow .statement { max-width: 640px; margin: 0 auto; }

.problem-chips { max-width: 900px; margin: 0 auto 52px; }

/* CTA final (fundo accent) */
.cta { max-width: 660px; margin: 0 auto; }
.cta .title-lg { font-size: 36px; line-height: 1.2; color: var(--color-on-accent-strong); }
.cta__text { font-size: 17px; line-height: 1.6; color: var(--color-on-accent); margin: 0 0 16px; }
.cta .quote { font-size: 16px; color: var(--color-on-accent-soft); margin-bottom: 36px; }

/* Grades */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-values { max-width: 1000px; }
.about-diffs { max-width: 1100px; }

/* Contato */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; max-width: 1180px; margin: 0 auto; }
.contact .title-lg { line-height: 1.2; }
.contact__intro { font-size: 16px; line-height: 1.65; color: var(--text-muted); margin: 0 0 28px; }
.contact .quote { font-size: 15px; color: var(--text-muted); }
.faq { max-width: 820px; margin: 0 auto; }

/* Bloco WhatsApp (contato) */
.section--whatsapp { padding: 0 0 20px; }
.whatsapp-cta { max-width: 1180px; margin: 0 auto; }
.whatsapp-cta__head { max-width: 840px; margin-bottom: 28px; }
.whatsapp-cta__head .title-md { margin-bottom: 10px; }

.whatsapp-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 44px 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.14), transparent 45%),
    linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent-darker) 100%);
  box-shadow: var(--shadow-accent-soft);
}

.whatsapp-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
}

.whatsapp-card .title-sm { color: var(--color-white); margin-bottom: 8px; }
.whatsapp-card__text { margin: 0; max-width: 560px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.whatsapp-card__btn { white-space: nowrap; }
.faq .title-md { text-align: center; margin-bottom: 44px; }


/* ==========================================================================
   11. Footer (V2)
   ========================================================================== */
.site-footer { background: var(--bg-dark); padding: 80px 0 32px; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.site-footer__logo {
  display: inline-flex;
  _background: var(--color-white);
  _border-radius: var(--radius-sm);
  _padding: 8px 14px;
  _margin-bottom: 16px;
}

.site-footer__logo img { height: 34px; width: auto; }

.site-footer__tagline { font-size: 14px; color: var(--text-light-muted); line-height: 1.6; max-width: 260px; margin: 0; }

.site-footer__title { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-light); margin: 0 0 16px; }

.site-footer__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__links a { font-size: 14px; color: var(--text-light-muted); }
.site-footer__links a:hover { color: var(--color-accent); }

/* Contato e redes sociais */
.site-footer__contact { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light-muted); }
.site-footer__contact a:hover { color: var(--color-accent); }
.site-footer__icon { width: 18px; height: 18px; flex: none; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
  font-size: 13px;
  color: var(--text-light-muted);
}


/* ==========================================================================
   12. Responsividade
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-pad: 96px; --section-pad-md: 88px; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }

  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --container-pad: 32px; --section-pad: 80px; --section-pad-md: 80px; }

  /* Menu mobile (com JS). Sem JS, o menu continua visível e quebra linha como na V1. */
  .js .nav-toggle { display: inline-flex; order: 3; }
  .js .site-header__cta { order: 2; margin-left: auto; }
  .js .site-nav {
    order: 4;
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 8px;
    border-top: 1px solid var(--header-border);
  }
  .js .site-header.is-open .site-nav { display: flex; }
  .js .site-nav a { padding: 12px 0; }

  .hero__inner { padding-top: 100px; padding-bottom: 90px; }

  .title-xl { font-size: 36px; }
  .title-lg,
  .cta .title-lg { font-size: 32px; }
  .section--about .title-xl { font-size: 34px; }
  .title-md { font-size: 28px; }

  .grid-2,
  .contact,
  .feature-panel { grid-template-columns: 1fr; }

  .contact { gap: 48px; }
  .whatsapp-card { grid-template-columns: auto 1fr; padding: 40px; }
  .whatsapp-card__btn { grid-column: 2; justify-self: start; }
  .feature-panel { padding: 48px 40px; }
  .grid-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-lines--dark { grid-template-columns: 1fr; }

  .page-intro { padding: 70px 0 50px; }
}

/* Mobile */
@media (max-width: 700px) {
  .flow { flex-direction: column; gap: 8px; }
  .flow__arrow { transform: rotate(90deg); }
}

@media (max-width: 560px) {
  :root { --container-pad: 20px; --section-pad: 64px; --section-pad-md: 64px; }

  .js .site-header__cta { display: none; }
  .js .nav-toggle { margin-left: auto; }

  .hero { min-height: 520px; }
  .hero__inner { padding-top: 80px; padding-bottom: 80px; }
  .hero__text { font-size: 16px; }
  .hero__actions .btn { width: 100%; }

  .title-xl,
  .section--about .title-xl { font-size: 30px; }
  .title-lg,
  .cta .title-lg { font-size: 27px; }
  .title-md { font-size: 24px; }
  .statement { font-size: 19px; }

  .section--snug,
  .section--about { padding: 72px 0; }
  .section-head,
  .section-head--wide,
  .section-head--steps,
  .section-head--ai { margin-bottom: 44px; }

  .card { padding: 28px; }
  .card--wide,
  .card--note { flex-direction: column; align-items: flex-start; }
  .card--note { padding: 32px; }
  .case-card { padding: 0; }
  .case-card__body { padding: 24px 24px 28px; }
  .feature-panel { padding: 36px 24px; }

  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .grid-lines { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .whatsapp-card { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; }
  .whatsapp-card__btn { grid-column: auto; width: 100%; }

  .site-footer { padding-top: 64px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .site-footer__bottom { flex-direction: column; }
}
