/* ==========================================================
   Caetano Contabilidade — estilos do site
   ========================================================== */

/* ---------- Variáveis (cores e medidas da marca) ---------- */
:root {
  --navy: #0C2641;
  --navy-2: #123255;
  --gold: #D7A949;
  --gold-dark: #B98C2E;
  --cream: #F6F3EC;
  --white: #FFFFFF;
  --text-muted: #3E4E62;
  --text-light: #D5DDE7;
  --text-lighter: #E8EDF3;
  --border: #E7E3DA;
  --border-2: #EAE5DA;

  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 104px);
  --header-h: 80px;

  /* permite animar altura até "auto" (usado no FAQ) */
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--font-title); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* acabamento: seleção de texto e foco do teclado com as cores da marca */
::selection { background: rgba(215,169,73,.35); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* quem pediu ao sistema para reduzir animações não vê os efeitos */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utilitários de layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.stack-24, .stack-28, .stack-32, .stack-40, .stack-48 { display: flex; flex-direction: column; }
.stack-24 { gap: 24px; }
.stack-28 { gap: 28px; }
.stack-32 { gap: 32px; }
.stack-40 { gap: 40px; }
.stack-48 { gap: 48px; }

/* Grade responsiva: as colunas se ajustam sozinhas ao espaço */
.grid { display: grid; gap: 20px; }
.grid--200 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.grid--250 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid--260 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--gap-28 { gap: 28px; }

/* Duas colunas (texto + foto) */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.split--380 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.split--top { align-items: start; }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--flush-top { padding-top: 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }

.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head--narrow { max-width: 720px; }
.section-head--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.section-head--row > .section-head { max-width: 680px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow--light { color: var(--gold); }
/* tracinho dourado antes do rótulo */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: currentColor; flex-shrink: 0; }
.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
}
.text { font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.lead { max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.link-gold { font-weight: 700; font-size: 15px; color: var(--gold-dark); }
.link-gold:hover { color: var(--navy); }

/* ==========================================================
   BOTÕES E LINKS (sistema global)

   Botão com formato:
     <a href="..."><button type="button" class="gold" tabindex="-1">Texto</button></a>

     class     → cor:     gold (ação principal) | darkblue | transparent
     data-size → tamanho: sm (opcional)
     hover:  o fundo muda um tom (rápido e discreto)
     clique: diminui e "afunda" (sombra interna)
     os botões gold ganham a seta "›" que vira "→" no hover

     o <a> faz a navegação; o <button> é só o visual
     (tabindex="-1" evita que o Tab pare duas vezes no mesmo botão)

   Link sem formato:
     <a class="link">Texto</a>
     mesma seta "›" → "→" · hover: realce de cor
     em fundo escuro a cor muda sozinha (ver "fundos escuros")
   ========================================================== */

/* o <a> que envolve o botão */
a:has(> button) { display: inline-flex; border-radius: 999px; }

/* ---------- Botão: base ---------- */
button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1.5px solid var(--btn-border, transparent);
  border-radius: 999px;
  background-color: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--navy));
  /* brilho fino no topo: deixa o botão com aspecto "acabado" */
  box-shadow: inset 0 1px 0 rgba(255,255,255,var(--btn-shine, 0));
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
button[data-size="sm"] { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* hover: o fundo muda um tom, o botão sobe 2px e ganha uma sombra suave */
button:hover,
a:is(:hover, :focus-visible) > button {
  background-color: var(--btn-hover-bg);
  border-color: var(--btn-hover-border, var(--btn-hover-bg));
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,var(--btn-shine, 0)), 0 10px 20px -8px var(--btn-shadow, transparent);
}

/* clique: volta ao lugar, diminui e "afunda" */
button:active,
a:active > button { transform: translateY(0) scale(.97); box-shadow: inset 0 2px 6px rgba(0,0,0,.18); }

/* ---------- Botão: cores (class) ---------- */
button.gold {
  --btn-bg: var(--gold);      --btn-fg: var(--navy);  --btn-border: var(--gold);
  --btn-hover-bg: #C99B3B;    --btn-shine: .35;       --btn-shadow: rgba(185,140,46,.7);
}
button.darkblue {
  --btn-bg: var(--navy);      --btn-fg: var(--white); --btn-border: var(--navy);
  --btn-hover-bg: #1B3F66;    --btn-shine: .12;       --btn-shadow: rgba(12,38,65,.6);
}
button.transparent {
  --btn-bg: transparent;      --btn-fg: var(--white); --btn-border: rgba(255,255,255,.55);
  --btn-hover-bg: rgba(255,255,255,.1); --btn-hover-border: var(--white);
}

/* ---------- Link sem formato ---------- */
.link {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  transition: color .2s ease;
}
.link:hover,
a:hover > .link { color: var(--navy); }

/* fundos escuros: link dourado claro, realce em branco */
:is(.section--navy, .service--dark, .digital, .footer) .link { color: var(--gold); }
:is(.section--navy, .service--dark, .digital, .footer) .link:hover,
:is(.section--navy, .service--dark, .digital, .footer) a:hover > .link,
a.service--dark:hover > .link { color: var(--white); }

/* ---------- Seta "›" que vira "→" (links e botões gold) ----------
   ::after = a ponta (›)   ::before = o traço que aparece no hover   */
:is(.link, button.gold) { position: relative; padding-right: calc(var(--arrow-right) + 16px); }
.link        { --arrow-right: 1px; }
button.gold  { --arrow-right: 24px; }

:is(.link, button.gold)::after,
:is(.link, button.gold)::before {
  content: "";
  position: absolute;
  top: 50%;
  transition: transform .2s ease;
}
:is(.link, button.gold)::after {
  right: calc(var(--arrow-right) + 1px);
  width: 7px;
  height: 7px;
  border-top: 1.75px solid currentColor;
  border-right: 1.75px solid currentColor;
  transform: translate(-4px, -50%) rotate(45deg);
}
:is(.link, button.gold)::before {
  right: calc(var(--arrow-right) + 1.5px);
  width: 11px;
  height: 1.75px;
  background: currentColor;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
}
.link:hover::after, a:hover > .link::after,
button.gold:hover::after, a:is(:hover, :focus-visible) > button.gold::after { transform: translate(0, -50%) rotate(45deg); }
.link:hover::before, a:hover > .link::before,
button.gold:hover::before, a:is(:hover, :focus-visible) > button.gold::before { transform: translateY(-50%) scaleX(1); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; margin-top: 8px; }

/* ==========================================================
   CABEÇALHO E MENU
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* "vidro fosco": o conteúdo que passa por trás aparece desfocado */
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(12,38,65,.08);
}
.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo { flex-shrink: 0; border-radius: 6px; transition: opacity .2s ease, transform .12s ease; }
.header__logo img { height: 40px; width: auto; }
/* logo: clareia no hover e "afunda" rapidamente no clique */
.header__logo:hover { opacity: .8; }
.header__logo:active { transform: scale(.96); }
.header__actions { display: flex; align-items: center; gap: 12px; }
/* celulares estreitos: logo e espaços menores para tudo caber na linha */
@media (max-width: 420px) {
  .header__bar { gap: 12px; }
  .header__logo img { height: 32px; }
  .header__actions { gap: 8px; }
  .header__actions button[data-size="sm"] { padding: 0 14px; font-size: 13px; }
}

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
/* link do menu: fundo arredondado bem leve no hover */
.nav__link:hover,
.nav__item--has-sub:hover > .nav__link { background: var(--cream); color: var(--navy); }
.nav__caret { font-size: 10px; color: var(--gold); transition: transform .15s ease; }
.nav__item--has-sub:hover .nav__caret { transform: rotate(180deg); }

/* Submenu: aparece ao passar o mouse (ou ao navegar pelo teclado) */
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin-top: 8px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(12,38,65,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
/* "ponte" invisível para o mouse não perder o submenu no espaço entre eles */
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.nav__sub a:hover { background: var(--cream); color: var(--navy); }
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Botão hambúrguer (só aparece no mobile) */
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  position: relative;
  transition: transform .25s, background .25s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-toggle:focus-visible ~ .header__actions .burger { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 1099px) {
  .burger { display: inline-flex; }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
    display: none;
  }
  .menu-toggle:checked ~ .nav { display: block; }

  /* hambúrguer vira um "X" quando aberto */
  .menu-toggle:checked ~ .header__actions .burger span { background: transparent; }
  .menu-toggle:checked ~ .header__actions .burger span::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle:checked ~ .header__actions .burger span::after { transform: translateY(-6px) rotate(-45deg); }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid #EFECE5; padding: 10px 0; }
  .nav__link { padding: 8px 0; font-family: var(--font-title); font-size: 16px; }
  .nav__link:hover, .nav__item--has-sub:hover > .nav__link { background: none; }
  .nav__caret { display: none; }
  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin: 0;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
    min-width: 0;
  }
  .nav__sub::before { display: none; }
  .nav__sub a { padding: 8px 0; color: var(--text-muted); }
  .nav__sub a:hover { background: none; }
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  /* a imagem de fundo fica no style="" da própria seção no index.html, para
     poder ser trocada pelo painel (Site > Textos e imagens) */
  background: var(--navy) center / cover no-repeat;
  color: var(--white);
  padding: clamp(56px, 8vw, 104px) 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}
.hero__title {
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
}
.hero__side { padding-bottom: 6px; }
.hero__text { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-light); }
/* selo em pílula acima do título */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-light);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(215,169,73,.18); }
/* palavra em destaque no título */
.highlight { color: var(--gold); }

/* ==========================================================
   FOTOS
   ========================================================== */
.photo { width: 100%; border-radius: 16px; overflow: hidden; background: #E9E4D8; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo--portrait { aspect-ratio: 4 / 5; max-height: 640px; border-radius: 20px; }
.photo--square { aspect-ratio: 1 / 1; max-height: 560px; border-radius: 20px; }
.photo--3x4 { aspect-ratio: 3 / 4; }
.photo--16x10 { aspect-ratio: 16 / 10; }
.photo--flat { border-radius: 0; }
/* Espaço reservado para imagens que ainda não existem (ex.: posts do blog) */
.photo--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #EFEBE1 0 12px, #F6F3EC 12px 24px);
  color: #9A8F78;
  font-size: 13px;
  font-weight: 600;
}

/* ==========================================================
   POR QUE ESCOLHER
   ========================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 28px 32px;
}
.feature { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--gold); padding-top: 16px; }
.feature h3 { font-size: 18px; font-weight: 700; }
.feature p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ==========================================================
   SERVIÇOS
   ========================================================== */
.service {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--cream);
  min-height: 300px;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-2px); color: var(--navy); box-shadow: 0 10px 24px rgba(12,38,65,.08); }
.service h3 { font-size: 22px; font-weight: 700; }
.service p { font-size: 15px; line-height: 1.6; color: var(--text-muted); flex: 1; }
.service__num { font-family: var(--font-title); font-weight: 700; font-size: 14px; color: var(--gold-dark); }
.service--dark { background: var(--navy); color: var(--white); }
.service--dark:hover { color: var(--white); }
.service--dark p { color: var(--text-light); }
.service--dark .service__num { color: var(--gold); }

/* ==========================================================
   NÚMEROS
   ========================================================== */
/* faixa de números logo abaixo da hero */
.stats-strip { margin-top: clamp(48px, 6vw, 80px); }
.stats-strip .stats { border-top: 1px solid rgba(255,255,255,.12); padding-top: clamp(32px, 4vw, 44px); }
.stat { display: flex; flex-direction: column; gap: 10px; border-left: 1px solid rgba(215,169,73,.5); padding-left: 20px; }
.stat__num { font-family: var(--font-title); font-size: clamp(36px, 4vw, 52px); font-weight: 700; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { font-size: 15px; line-height: 1.5; color: var(--text-light); }

/* ==========================================================
   SEGMENTOS
   ========================================================== */
.segment { display: flex; flex-direction: column; gap: 14px; }
.segment:hover { color: var(--navy); }
.segment:hover img { transform: scale(1.04); }
.segment__label { display: flex; justify-content: space-between; align-items: center; }
.segment__label h3 { font-size: 18px; font-weight: 700; }
.segment__label span { color: var(--gold-dark); font-weight: 700; transition: transform .2s; }
.segment:hover .segment__label span { transform: translateX(4px); }

/* ==========================================================
   HUB DE SOLUÇÕES
   ========================================================== */
.hub {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: #E2DCCD;
  border: 1px solid #E2DCCD;
  border-radius: 18px;
  overflow: hidden;
}
.hub__item { background: var(--white); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: background-color .2s ease; }
.hub__item:hover { background: #FBF9F4; }
.hub__item span { font-family: var(--font-title); font-size: 13px; font-weight: 700; color: var(--gold-dark); }
.hub__item h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.hub__item p { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ==========================================================
   COMO FUNCIONA
   ========================================================== */
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
}
.step h3 { font-size: 18px; font-weight: 700; }
.step p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ==========================================================
   DEPOIMENTOS
   ========================================================== */
.quote {
  margin: 0;
  padding: 32px;
  border-radius: 18px;
  background: var(--navy-2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-lighter); }
/* aspas grandes com fonte serifada: toque clássico, só como detalhe */
.quote::before {
  content: "\201C";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: .6;
  height: 28px;
  color: var(--gold);
}
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote strong { font-family: var(--font-title); font-size: 15px; }
.quote figcaption span { font-size: 14px; color: var(--gold); }

/* ==========================================================
   PARA VOCÊ QUE
   ========================================================== */
.checklist li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 16px;
  line-height: 1.55;
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* ==========================================================
   FAQ
   ========================================================== */
/* lista limpa: sem caixas, só linhas finas separando as perguntas */
.faq { border-top: 1px solid rgba(12,38,65,.12); }
.faq__item { border-bottom: 1px solid rgba(12,38,65,.12); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-dark); }

/* ícone "+" desenhado com duas linhas; ao abrir gira e vira "×" */
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(12,38,65,.18);
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .3s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.faq__item summary:hover::after { border-color: var(--gold); }
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* resposta: abre deslizando (nos navegadores que suportam) e aparece com fade */
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .3s ease, content-visibility .3s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }
.faq__item p {
  max-width: 60ch;
  padding: 0 56px 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s ease, transform .3s ease;
}
.faq__item[open] p { opacity: 1; transform: none; }

/* ==========================================================
   BLOG
   ========================================================== */
.post { display: flex; flex-direction: column; gap: 16px; }
.post:hover { color: var(--navy); }
.post:hover h3 { color: var(--gold-dark); }
.post__cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); }
.post h3 { font-size: 20px; line-height: 1.3; font-weight: 700; transition: color .2s; }
.post p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ==========================================================
   ATENDIMENTO DIGITAL
   ========================================================== */
.digital {
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.digital__content { padding: clamp(32px, 5vw, 64px); justify-content: center; }
.digital__content > a { align-self: flex-start; margin-top: 8px; }
.digital__text { font-size: 16px; line-height: 1.65; color: var(--text-light); }
.digital__photo { min-height: 360px; position: relative; }
.digital__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dash-list { display: flex; flex-direction: column; gap: 12px; }
.dash-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text-lighter); }
.dash-list li::before { content: "—"; color: var(--gold); }

/* ==========================================================
   SEDES
   ========================================================== */
.office { background: var(--white); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.office__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.office__body h3 { font-size: 20px; font-weight: 700; }
.office__body span { font-size: 14px; color: var(--text-muted); }
.office__body .link { margin-top: 8px; }
.office:hover img { transform: scale(1.04); }

/* ==========================================================
   CTA FINAL
   ========================================================== */
.cta {
  max-width: 880px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta__title { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; }
.cta__text { font-size: 17px; line-height: 1.6; color: var(--text-muted); max-width: 600px; }

/* ==========================================================
   RODAPÉ
   ========================================================== */
.footer { background: var(--navy); color: var(--text-light); padding: clamp(56px, 7vw, 80px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand img { height: 44px; width: auto; align-self: flex-start; }
.footer__brand p { font-size: 14px; line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col h4 { font-size: 14px; color: var(--gold); margin-bottom: 6px; }
.footer__col a { color: var(--text-light); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #A9B6C6;
}

/* ==========================================================
   WHATSAPP FLUTUANTE
   ========================================================== */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp svg { width: 24px; height: 24px; }
.whatsapp:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(0,0,0,.4); }
.whatsapp:active { transform: scale(.97); }
/* no celular vira só o ícone redondo */
@media (max-width: 600px) {
  .whatsapp { width: 52px; padding: 0; justify-content: center; }
  .whatsapp span { display: none; }
}

/* -----------------------------------------------------------------------
   Botão flutuante do RD Station.

   O RD Station injeta um botão de WhatsApp próprio (um "botão flutuante"
   criado no painel dele), que cai exatamente em cima do nosso. Ficamos
   com o nosso, que segue o visual do site e abre a conversa direto, sem
   passar por um popup.

   A regra vive aqui, e não no painel do RD, de propósito: o site antigo
   ainda está no ar e aquele botão é o único WhatsApp que ele tem.
   Desligar no painel apagaria o botão de lá também. Como este CSS só
   carrega no site novo, o site antigo continua intacto.

   Por que visibility e não display: o RD força
   "display: block !important" num seletor com #id, que ganha de qualquer
   regra nossa por especificidade — #id vence qualquer quantidade de
   classes. Como ele não mexe em visibility nem em opacity, é por aí que
   dá para esconder sem depender do id, que é um hash e muda se o botão
   for recriado no painel.

   Quando o site assumir a raiz do domínio, o certo é desligar o botão no
   painel do RD Station e apagar este bloco.
   ----------------------------------------------------------------------- */
[id^="bricks-component-"].floating-button {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
