/* ==========================================================================
   SEA Contábil — folha de estilo do protótipo
   Estrutura pensada para virar tema WordPress: as seções abaixo espelham
   os futuros arquivos header.php / front-page.php / page.php / footer.php.
   Trocar a paleta = editar apenas o bloco :root.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paleta — azul-marinho + dourado.
     Para adotar o bordô do modelo40: --brand-700 #7E142F / --brand-900 #3F0A18. */
  --brand-900: #071B33;
  --brand-800: #0A2540;
  --brand-700: #123A63;
  --brand-600: #1B5299;
  --brand-100: #E6EDF5;

  --accent-600: #B8860B;
  --accent-500: #E0A82E;
  --accent-100: #FBF1DA;

  --ink-900: #12181F;
  --ink-700: #38414D;
  --ink-500: #6B7684;
  --ink-300: #A9B2BD;

  --surface: #FFFFFF;
  --surface-alt: #F4F6F8;
  --border: #E2E7EC;

  --ok: #1E8E5A;

  --font-sans: "Raleway", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(7, 27, 51, 0.08);
  --shadow-md: 0 6px 24px rgba(7, 27, 51, 0.10);
  --shadow-lg: 0 18px 48px rgba(7, 27, 51, 0.16);

  --header-h: 84px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-600); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--brand-900);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand-800);
  color: #fff;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--brand-800); color: var(--brand-100); }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.section--navy .eyebrow { color: var(--accent-500); }

.lead { font-size: 1.09rem; color: var(--ink-500); }
.section--navy .lead { color: var(--brand-100); opacity: 0.85; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   4. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--accent-500); color: var(--brand-900); }
.btn--primary:hover { background: var(--accent-600); color: #fff; }

.btn--navy { background: var(--brand-800); color: #fff; }
.btn--navy:hover { background: var(--brand-700); color: #fff; }

.btn--ghost { border-color: currentColor; color: var(--brand-800); }
.btn--ghost:hover { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

.section--navy .btn--ghost { color: #fff; }
.section--navy .btn--ghost:hover { background: #fff; color: var(--brand-900); border-color: #fff; }

.btn--block { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   5. Topbar + header  (futuro header.php)
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-900);
  color: var(--brand-100);
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}
.topbar__contacts { display: flex; gap: 1.5rem; }
.topbar__contacts a { display: flex; align-items: center; gap: 0.45rem; color: var(--brand-100); }
.topbar__contacts a:hover { color: var(--accent-500); }
.topbar__client {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
}
.topbar__client:hover { background: var(--accent-500); border-color: var(--accent-500); color: var(--brand-900); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}

/* Lockup do logotipo.
   O nome e a assinatura têm a mesma largura: "S&A Contábil" e "CONTABILIDADE
   DESCOMPLICADA." fecham no mesmo eixo à direita. O fator 0.297 foi medido para
   este par de textos — como a largura de cada linha escala linearmente com o
   próprio font-size, derivar os dois de --logo-fs mantém o alinhamento em
   qualquer tamanho. Mudou o texto da assinatura? O fator precisa ser remedido. */
.logo {
  /* Escala com a viewport: a 2rem cheios o nome quebraria em duas linhas no
     celular. Como as duas linhas derivam desta variável, a razão se mantém. */
  --logo-fs: clamp(1.35rem, 4.2vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brand-900);
}
.logo:hover { color: var(--brand-900); }
/* A marca é mais alta que larga: altura fixa, largura livre, para não achatar. */
.logo__mark { flex: none; height: 42px; width: auto; object-fit: contain; }
.logo__name {
  display: block;
  font-size: var(--logo-fs);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.logo__tag {
  display: block;
  font-size: calc(var(--logo-fs) * 0.297);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-500);
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius);
  color: var(--ink-700);
  font-size: 0.94rem;
  font-weight: 600;
}
.nav a:hover { background: var(--surface-alt); color: var(--brand-800); }
.nav a[aria-current="page"] { color: var(--brand-800); }
.nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 3px;
  background: var(--accent-500);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--brand-800);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(900px 420px at 82% 12%, rgba(27, 82, 153, 0.55), transparent 65%),
    linear-gradient(140deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  /* malha discreta — no WordPress isso vira a imagem de fundo do cliente */
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent-500); }
.hero__lead { font-size: 1.15rem; color: var(--brand-100); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  color: var(--brand-100);
}
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { flex: none; color: var(--accent-500); }

/* Cartão de destaque do hero */
.hero-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.15rem; color: #fff; }
.hero-card p { font-size: 0.9rem; color: var(--brand-100); }
.hero-card__list { display: grid; gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
.hero-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #fff;
}
.hero-card__list svg { flex: none; margin-top: 3px; color: var(--accent-500); }

/* --------------------------------------------------------------------------
   7. Números
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats__item { padding: 1.75rem 1.25rem; background: #fff; text-align: center; }
.stats__num {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-800);
  line-height: 1;
}
.stats__label { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--ink-500); }

/* --------------------------------------------------------------------------
   8. Cards de serviço
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-600);
  box-shadow: var(--shadow-md);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand-700);
}
.card:hover .card__icon { background: var(--accent-100); color: var(--accent-600); }
.card h3 { margin-bottom: 0.4rem; }
.card p { font-size: 0.93rem; color: var(--ink-500); margin-bottom: 1.25rem; }
.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-600);
}
.card__link svg { transition: transform 0.2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   9. Diferenciais / segmentos
   -------------------------------------------------------------------------- */
.feature { display: flex; gap: 1rem; }
.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(224, 168, 46, 0.15);
  color: var(--accent-500);
}
.feature h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.feature p { font-size: 0.9rem; margin: 0; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.chip {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
}
.chip:hover { border-color: var(--brand-600); color: var(--brand-800); }

/* --------------------------------------------------------------------------
   10. Formulário  (no WordPress: Contact Form 7 ou Elementor Forms)
   -------------------------------------------------------------------------- */
.form-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.form-panel__aside { padding: 2.5rem; background: var(--brand-800); color: var(--brand-100); }
.form-panel__aside h2 { color: #fff; }
.form-panel__channels { display: grid; gap: 1.1rem; margin-top: 2rem; }
.form-panel__channels li { display: flex; gap: 0.85rem; align-items: flex-start; }
.form-panel__channels svg { flex: none; margin-top: 3px; color: var(--accent-500); }
.form-panel__channels strong { display: block; color: #fff; font-size: 0.95rem; }
.form-panel__channels span, .form-panel__channels a { font-size: 0.9rem; color: var(--brand-100); }
.form-panel__channels a:hover { color: var(--accent-500); }
.form-panel__form { padding: 2.5rem; background: #fff; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-900);
}
.field .req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff;
  border-color: var(--brand-600);
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 82, 153, 0.12);
}
.field__error { display: none; margin-top: 0.3rem; font-size: 0.8rem; color: #C0392B; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C0392B; }
.field.is-invalid .field__error { display: block; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.consent { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 1.25rem; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.consent label { font-size: 0.82rem; font-weight: 400; color: var(--ink-500); }

.form-note { margin: 1rem 0 0; font-size: 0.78rem; color: var(--ink-500); text-align: center; }

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #E7F5EE; color: var(--ok); border: 1px solid #B9E3CE; }
.form-status--erro { background: #FCEBEA; color: #B02A20; border: 1px solid #F3C6C1; }

/* Honeypot anti-spam: fora da tela para humanos, visível para bots ingênuos.
   Não usar display:none — muitos bots ignoram campos com display:none. */
.sea-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. Links úteis / agenda tributária
   -------------------------------------------------------------------------- */
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.link-card:hover { transform: translateY(-3px); border-color: var(--accent-500); box-shadow: var(--shadow-md); }
.link-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--brand-100);
  color: var(--brand-700);
}
.link-card strong { display: block; font-size: 0.95rem; color: var(--brand-900); }
.link-card span { font-size: 0.82rem; color: var(--ink-500); }

.agenda {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.agenda__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--brand-800);
  color: #fff;
}
.agenda__head h3 { margin: 0; color: #fff; font-size: 1.05rem; }
.agenda__month { font-size: 0.85rem; color: var(--accent-500); font-weight: 700; text-transform: capitalize; }
.agenda__scroll { overflow-x: auto; }
.agenda table { width: 100%; border-collapse: collapse; min-width: 560px; }
.agenda th, .agenda td {
  padding: 0.85rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.agenda th {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--surface-alt);
}
.agenda tbody tr:last-child td { border-bottom: 0; }
.agenda tbody tr:hover { background: var(--surface-alt); }
/* O dia é link para a agenda oficial do mês na Receita (URL montada no JS). */
.agenda__day {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--brand-100);
  color: var(--brand-800);
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
a.agenda__day:hover {
  background: var(--brand-800);
  color: #fff;
  transform: translateY(-2px);
}
.agenda__oblig strong { display: block; color: var(--brand-900); }
.agenda__oblig span { font-size: 0.8rem; color: var(--ink-500); }
.agenda__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--ink-500);
}
.agenda__foot p { margin: 0; max-width: 68ch; }
.agenda__foot .btn { flex: none; padding: 0.7rem 1.2rem; font-size: 0.85rem; }

@media (max-width: 780px) {
  .agenda__foot { flex-direction: column; align-items: stretch; }
  .agenda__foot .btn { justify-content: center; }
}

/* --------------------------------------------------------------------------
   12. CTA área do cliente
   -------------------------------------------------------------------------- */
.cta-client {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700));
  color: var(--brand-100);
}
.cta-client h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-client p { margin: 0; opacity: 0.85; }
.cta-client__actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* --------------------------------------------------------------------------
   13. Footer  (futuro footer.php)
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-900); color: var(--brand-100); font-size: 0.9rem; }
.site-footer a { color: var(--brand-100); }
.site-footer a:hover { color: var(--accent-500); }
.site-footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem;
}
.site-footer h4 {
  margin-bottom: 1.1rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* Bloco da marca no rodapé.
   --logo-tone: cinza leve neutro para o símbolo e o nome (nem branco puro, nem o
   azulado que o parágrafo usa). A assinatura fica no dourado da paleta.
   Atenção: --logo-tone também está chumbado em logo-sa-marca-claro.svg, porque
   um <img> não herda currentColor. Mudou aqui, tem de mudar lá. */
.site-footer__brand {
  --logo-tone: #E3E7EB;
  --footer-muted: #B9C3CE;
}
.site-footer__brand .logo,
.site-footer__brand .logo__name { color: var(--logo-tone); }
.site-footer__brand .logo__tag { color: var(--accent-500); }
.site-footer__brand p { margin-top: 1.1rem; color: var(--footer-muted); max-width: 34ch; }
.site-footer__links li + li { margin-top: 0.6rem; }
.site-footer__contact li { display: flex; gap: 0.7rem; margin-bottom: 0.9rem; }
.site-footer__contact svg { flex: none; margin-top: 3px; color: var(--accent-500); }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
}
.social a:hover { background: var(--accent-500); border-color: var(--accent-500); color: var(--brand-900); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  opacity: 0.75;
}
.site-footer__bottom ul { display: flex; gap: 1.25rem; }

/* --------------------------------------------------------------------------
   14. WhatsApp flutuante  (no WordPress: plugin Joinchat, como no modelo40)
   -------------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.05); color: #fff; }
.whatsapp-fab svg { flex: none; }

/* --------------------------------------------------------------------------
   15. Barra de cookies (LGPD)
   -------------------------------------------------------------------------- */
.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 95;
  max-width: 420px;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin-bottom: 1rem; }
.cookie-bar__actions { display: flex; gap: 0.6rem; }
.cookie-bar .btn { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   16. Page hero (páginas internas)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  background: linear-gradient(120deg, var(--brand-900), var(--brand-700));
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { max-width: 60ch; color: var(--brand-100); margin: 0; }
.breadcrumb { display: flex; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.82rem; color: var(--brand-100); }
.breadcrumb a { color: var(--brand-100); opacity: 0.8; }
.breadcrumb a:hover { color: var(--accent-500); opacity: 1; }

/* Serviço detalhado */
.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-block:last-child { border-bottom: 0; }
.service-block__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand-700);
}
.service-block ul.checks { display: grid; gap: 0.55rem; margin-top: 1rem; }
.service-block ul.checks li { display: flex; gap: 0.6rem; font-size: 0.92rem; }
.service-block ul.checks svg { flex: none; margin-top: 4px; color: var(--ok); }

/* Mapa (página de contato) */
.mapa {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mapa__frame { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.mapa__info { padding: 2rem; }
.mapa__info h3 { margin-bottom: 0.6rem; }
.mapa__info p { font-size: 0.95rem; }

@media (max-width: 780px) {
  .mapa { grid-template-columns: 1fr; }
  .mapa__frame { min-height: 280px; }
  .mapa__info { padding: 1.5rem; }
}

/* Missão / visão / valores */
.mvv { padding: 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.mvv__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent-600);
}
.mvv h3 { margin-bottom: 0.4rem; }
.mvv p { margin: 0; font-size: 0.93rem; }

.values li {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--border);
}
.values li:last-child { border-bottom: 0; }
.values svg { flex: none; margin-top: 4px; color: var(--accent-500); }
.values strong { color: var(--brand-900); }

/* Páginas legais (Política de Privacidade, Termos de Uso) */
.legal { max-width: 800px; }
.legal__meta {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-500);
}
.legal h2 {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  font-size: 1.3rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: 1.75rem; font-size: 1.05rem; }
.legal p, .legal li { color: var(--ink-700); }
.legal ul { margin: 0 0 1rem; padding-left: 0; }
.legal ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.4rem;
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-500);
}
.legal ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.legal ol li { margin-bottom: 0.5rem; }
.legal a { text-decoration: underline; }

.legal-toc {
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.legal-toc h2 {
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.legal-toc li { margin-bottom: 0.4rem; break-inside: avoid; }
.legal-toc a { color: var(--brand-700); }

@media (max-width: 620px) {
  .legal-toc ol { columns: 1; }
}

/* Aviso de placeholder — remover na versão final */
.todo-note {
  padding: 0.9rem 1.1rem;
  border-left: 4px solid var(--accent-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-100);
  font-size: 0.85rem;
  color: #6B4E0C;
}
.todo-note strong { color: #6B4E0C; }

/* --------------------------------------------------------------------------
   17. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .form-panel { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-client { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform-origin: top;
  }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: 0.9rem 1rem; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--surface-alt); }
}

@media (max-width: 720px) {
  .topbar__contacts { gap: 1rem; }
  .topbar__contacts .topbar__hide { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-panel__aside, .form-panel__form { padding: 1.75rem; }
  .service-block { grid-template-columns: 1fr; gap: 1rem; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .whatsapp-fab { bottom: 12px; right: 12px; padding: 0.8rem; }
  .whatsapp-fab span { display: none; }
  .site-footer__main { grid-template-columns: 1fr; }
}

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