/* R3 Contabilidade e Associados — identidade visual aprovada
   Dourado #C9A227 · Preto #111111 · Marfim #F6F3EA
   Playfair Display (títulos) + Source Sans 3 (texto)
   Versão 2 do layout (híbrido Soxcess / Contabilizei / Agilize / Crunch) */
:root {
  --gold: #C9A227;
  --black: #111111;
  --pine: #2F4A45;
  --gold-light: #E1C36A;
  --gold-deep: #8A6B12;
  --ivory: #F6F3EA;
  --paper: #FBF9F3;
  --muted: #5C5A54;
  --line: #E4DFD2;
  --white: #FFFFFF;
  --danger: #8A2A2A;
  --ink: #1A1A1A;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
  --radius: 16px;
  --max: 1160px;
  --header-h: 72px;
  --topbar-h: 36px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); }
a:hover { color: var(--black); }
h1, h2, h3, h4, .logo-word, .display {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.15rem, 4.6vw, 3.55rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 12px; z-index: 100; }

/* Top bar — dados locais visíveis, sem endereço de rua */
.topbar {
  background: #0A0A0A;
  color: #C9C3B4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.topbar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; min-height: var(--topbar-h); padding: 6px 0;
}
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar a:hover { color: var(--ivory); }
.topbar-cluster { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }

/* Header — escuro, contínuo com o hero */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.monogram {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  font-family: "Playfair Display", Palatino, serif;
  font-weight: 700; font-size: 1.05rem; color: var(--gold);
  background: #111;
  flex-shrink: 0;
}
.logo-word { font-size: 1.05rem; margin: 0; line-height: 1.1; color: var(--ivory); }
.logo-sub { display: block; font-family: "Source Sans 3", sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; color: #C9C3B4; }
nav.main { display: flex; align-items: center; gap: 2px; }
nav.main > a, .nav-drop > summary {
  text-decoration: none; color: var(--ivory); font-size: 0.95rem; font-weight: 600;
  padding: 8px 11px; border-radius: 8px; cursor: pointer; list-style: none;
}
nav.main > a:hover, .nav-drop > summary:hover,
nav.main > a[aria-current="page"], .nav-drop[open] summary, .nav-drop.is-current > summary {
  background: rgba(246, 243, 234, 0.08); color: var(--gold-light);
}
.nav-drop { position: relative; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); min-width: 260px;
  padding: 8px; display: grid; z-index: 30;
}
.nav-menu a { text-decoration: none; color: var(--black); padding: 10px 12px; border-radius: 8px; font-size: 0.95rem; font-weight: 600; }
.nav-menu a:hover { background: var(--ivory); }

/* Menus do cabeçalho: abrem no hover no desktop, com ponte para o painel */
@media (hover: hover) and (min-width: 901px) {
  .nav-drop::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
  }
  .nav-drop:hover > .nav-menu,
  .nav-drop:focus-within > .nav-menu {
    display: grid;
  }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); color: var(--black); }
.btn-dark { background: var(--black); color: var(--ivory); }
.btn-dark:hover { background: #2a2a2a; color: var(--ivory); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: inherit; }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(246,243,234,0.45); }
.btn-ghost-light:hover { background: rgba(246,243,234,0.08); color: var(--ivory); }
.menu-toggle { display: none; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; color: var(--ivory); }

/* Hero v2 — escuro + dourado, duas colunas */
.hero {
  background: var(--black); color: var(--ivory);
  padding: 56px 0 0; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: auto -20% -50% 30%;
  height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.22), transparent 64%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  padding-bottom: 56px;
}
.hero .eyebrow, .hero .selo {
  color: var(--gold-light);
}
.hero .selo {
  display: inline-block;
  border: 1px solid rgba(201,162,39,0.45);
  border-radius: 999px;
  padding: 6px 14px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.hero h1 { color: var(--ivory); max-width: 16ch; }
.hero h1 em {
  font-style: italic; font-weight: 600; color: var(--gold-light);
  display: block;
}
.hero .lede { color: #D9D4C7; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 4px; }
.hero-paths-note { font-size: 0.92rem; color: #C9C3B4; margin: 0; }
.hero-paths-note a { color: var(--gold-light); font-weight: 600; text-decoration: none; }
.hero-paths-note a:hover { text-decoration: underline; }

.hero-carousel { position: relative; z-index: 1; padding-bottom: 8px; }
.hero-viewport { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
  pointer-events: none;
  z-index: 0;
}
.hero-slide.is-reverse { transform: translateX(-28px); }
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  padding: 4px 0 28px;
  position: relative;
  z-index: 2;
}
.hero-nav, .hero-pause {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.55);
  background: transparent;
  color: var(--gold-light);
  display: inline-grid; place-items: center;
  cursor: pointer;
  padding: 0;
}
.hero-nav:hover, .hero-pause:hover {
  background: rgba(201,162,39,0.14);
  color: var(--ivory);
}
.hero-nav:focus-visible, .hero-pause:focus-visible, .hero-dot:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}
.hero-pause .icon-play { display: none; }
.hero-pause.is-paused .icon-play { display: block; }
.hero-pause.is-paused .icon-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; transform: none; }
  .hero-slide.is-reverse { transform: none; }
}

.hero-visual { position: relative; min-height: 420px; display: flex; align-items: stretch; }
.hero-brand {
  margin: 0; width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,0.38);
  background: #111;
  min-height: 420px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.hero-brand img, .hero-brand svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-pattern {
  position: absolute; inset: 28px -18px -18px 72px;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
}
.hero-pattern img, .hero-pattern svg { width: 100%; height: 100%; object-fit: cover; }
.person-card {
  position: relative;
  background: #161616;
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column;
  margin-right: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.photo-slot, .team-slot {
  background: repeating-linear-gradient(-45deg, #161616, #161616 12px, #1c1c1c 12px, #1c1c1c 24px);
  border: 1px dashed rgba(201,162,39,0.55);
  border-radius: var(--radius);
  min-height: 180px;
  display: grid; place-items: center; text-align: center; color: #C9C3B4; padding: 20px;
}
.person-card .photo-slot {
  flex: 1; border: 0; border-radius: 0; min-height: 280px; color: #C9C3B4;
}
.person-badge {
  background: var(--ivory); color: var(--black);
  padding: 16px 18px;
  display: grid; gap: 2px;
}
.person-badge strong { font-family: "Playfair Display", Palatino, serif; font-size: 1.15rem; }
.person-badge .crc { font-weight: 700; color: var(--gold-deep); }
.person-badge .muted { font-size: 0.85rem; color: var(--muted); }
.placeholder-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid var(--gold); border-radius: 999px;
  padding: 2px 8px; margin-bottom: 8px;
}

/* Faixa de prova */
.proof-strip {
  background: #F6F3EA;
  color: var(--black);
  border-top: 1px solid rgba(201,162,39,0.25);
  padding: 0;
}
.proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.proof-item {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: 0; }
.proof-item strong {
  display: block;
  font-family: "Playfair Display", Palatino, serif;
  font-size: 1.15rem; line-height: 1.25; margin-bottom: 4px;
}
.proof-item span { font-size: 0.88rem; color: var(--muted); }
.proof-item.is-placeholder strong { color: var(--gold-deep); }

/* Sections */
section, .section { padding: 72px 0; }
.section-head { margin-bottom: 36px; max-width: 680px; }
.bg-ivory { background: var(--ivory); }
.bg-dark { background: var(--black); color: var(--ivory); }
.bg-dark .eyebrow { color: var(--gold-light); }
.bg-dark .lede, .bg-dark p { color: #D9D4C7; }
.bg-dark h2, .bg-dark h3 { color: var(--ivory); }
.bg-pine { background: var(--pine); color: var(--ivory); }
.bg-pine .eyebrow, .bg-pine a { color: var(--gold-light); }
.bg-pine .lede { color: #D7E0DC; }

.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.serv-grid { grid-template-columns: repeat(3, 1fr); }
.serv-grid .card-outros { grid-column: 1 / -1; }
.serv-note { margin: 0; font-size: 0.92rem; color: var(--muted); }

.serv-partner { display: flex; align-items: center; gap: 10px; margin: 0; }
.serv-partner img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: contain;
}
.prose .serv-partner { margin: 0 0 1em; }
.footer-split h3:not(:first-child) { margin-top: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 1px 0 rgba(17,17,17,0.03);
}
.card h3 { margin-bottom: 0.2em; }
.card p { color: var(--muted); flex: 1; }
.card .link { font-weight: 600; text-decoration: none; color: var(--gold-deep); }
.card:hover { border-color: var(--gold); }
.card.path-card { padding: 28px 24px; }
.card.path-card h3 { font-size: 1.45rem; }
.serve-card { padding: 28px 26px; }
.serve-card h3 { font-size: 1.4rem; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 8px 28px 8px 0; border-right: 1px solid rgba(201,162,39,0.2); margin-right: 28px; }
.step:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.step-num {
  font-family: "Playfair Display", Palatino, serif;
  font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 10px; display: block;
}
.bg-dark .step p { margin: 0; }

/* Comparação ética */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.compare-col { padding: 22px 24px; }
.compare-col h3 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: "Source Sans 3", sans-serif; }
.compare-common { background: var(--ivory); }
.compare-r3 { background: var(--black); color: var(--ivory); }
.compare-r3 h3 { color: var(--gold-light); }
.compare-r3 p, .compare-r3 li { color: #D9D4C7; }
.compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare li { padding-left: 1.2em; position: relative; }
.compare-common li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #9A9588; position: absolute; left: 0; top: 0.55em; }
.compare-r3 li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 0.55em; }

/* Page hero (internas) */
.page-hero { padding: 48px 0 32px; background: var(--black); color: var(--ivory); }
.page-hero h1 { max-width: 18ch; color: var(--ivory); }
.page-hero .lede { color: #D9D4C7; }
.page-hero .eyebrow { color: var(--gold-light); }
.breadcrumb { font-size: 0.9rem; color: #C9C3B4; margin-bottom: 16px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--black); }
.prose li { margin-bottom: 0.4em; }
.callout, .notice {
  border-left: 3px solid var(--gold);
  background: var(--ivory);
  padding: 16px 18px; border-radius: 0 12px 12px 0;
  margin: 1.4rem 0;
}
.notice-warn { border-left-color: var(--pine); }

.cta-band { padding: 56px 0; }
.cta-box {
  background: var(--black); color: var(--ivory);
  border-radius: 24px; padding: 40px 36px;
  display: grid; gap: 16px; align-items: center;
  grid-template-columns: 1.4fr auto;
}
.cta-box h2 { color: var(--ivory); margin: 0; }
.cta-box p { color: #D9D4C7; margin: 0; }
.cta-band .cta-box { border: 1px solid rgba(201,162,39,0.25); }

form.contact { display: grid; gap: 14px; max-width: 640px; }
label { font-size: 0.9rem; font-weight: 600; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white); color: var(--black);
}
textarea { min-height: 140px; resize: vertical; }
.consent { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.consent input { margin-top: 5px; }
.form-status { font-size: 0.95rem; }
.form-status.ok { color: var(--pine); }
.form-status.err { color: var(--danger); }
.hours-note { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }

.site-footer { background: var(--black); color: #C9C3B4; padding: 48px 0 24px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer h3 { color: var(--ivory); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-legal { border-top: 1px solid #2A2A2A; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: 0.85rem; }
.proto-note { color: var(--gold-light); }

/* WhatsApp = canal humano principal; Rê = assistente virtual, menor */
.float-stack {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.float-btn {
  border-radius: 999px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow);
  text-decoration: none; font-family: inherit;
}
.float-iar3 {
  width: auto; height: 46px; padding: 0 14px 0 12px;
  background: #1A1A1A; color: var(--gold);
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 0.82rem;
  border: 1px solid rgba(201,162,39,0.45);
  flex-direction: column; gap: 0; line-height: 1.1; padding-inline: 14px;
}
.float-iar3 small {
  font-family: "Source Sans 3", sans-serif; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #C9C3B4;
}
.float-wa {
  height: 56px; padding: 0 18px 0 14px;
  background: #25D366; color: #08391A; font-weight: 700; font-size: 0.95rem;
}
.float-wa svg { flex-shrink: 0; }
.float-wa-label { font-family: "Source Sans 3", sans-serif; }

.iar3-panel {
  position: fixed; right: 18px; bottom: 90px; z-index: 60;
  width: min(380px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 120px));
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line); display: none; flex-direction: column; overflow: hidden;
}
.iar3-panel.open { display: flex; }
.iar3-head { background: var(--black); color: var(--ivory); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.iar3-head strong { font-family: "Playfair Display", serif; }
.iar3-head button { background: none; border: 0; color: var(--ivory); font-size: 1.2rem; cursor: pointer; }
.iar3-body { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.bubble { max-width: 90%; padding: 10px 12px; border-radius: 14px; font-size: 0.95rem; }
.bubble.bot { background: var(--ivory); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.user { background: var(--black); color: var(--ivory); align-self: flex-end; border-bottom-right-radius: 4px; }
.iar3-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.iar3-choices button, .iar3-foot button.chip {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 7px 12px; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.iar3-choices button:hover { border-color: var(--gold); background: var(--ivory); }
.iar3-foot { padding: 10px 12px; border-top: 1px solid var(--line); background: var(--white); }
.iar3-disclaimer { font-size: 0.75rem; color: var(--muted); padding: 0 14px 10px; }

.cookie-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 45;
  width: min(420px, calc(100vw - 32px));
  background: var(--black); color: var(--ivory);
  border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow);
}
.cookie-bar p { font-size: 0.9rem; color: #D9D4C7; margin: 0 0 12px; }
.cookie-bar a { color: var(--gold-light); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.list-clean { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-clean li { padding-left: 1.2em; position: relative; }
.list-clean li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: 0.55em; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card .photo-slot { min-height: 220px; background: var(--ivory); color: var(--muted); border: 0; border-bottom: 1px dashed var(--gold); border-radius: 0; }
.team-card .body { padding: 18px 20px; }
.team-card .crc { font-weight: 700; color: var(--gold-deep); }

@media (max-width: 980px) {
  .hero-grid, .steps, .compare, .proof-grid, .team-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .step { border-right: 0; margin-right: 0; padding: 0 0 24px; border-bottom: 1px solid rgba(201,162,39,0.2); margin-bottom: 20px; }
  .step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .hero-visual { min-height: 0; padding-right: 62px; }
  .hero-brand { min-height: 320px; max-width: 480px; margin-inline: 0 auto; }
  .person-card { min-height: 0; max-width: 420px; }
}
@media (max-width: 900px) {
  .grid-4, .grid-3, .serv-grid, .footer-grid, .cta-box { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #111; border-bottom: 1px solid rgba(201,162,39,0.22);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
  }
  nav.main.open { display: flex; }
  .nav-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 8px; background: transparent; }
  .nav-menu a { color: var(--ivory); }
  .nav-menu a:hover { background: rgba(246,243,234,0.08); }
  .header-inner .btn { display: none; }
  .topbar { font-size: 0.75rem; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .serv-grid, .footer-grid, .cta-box { grid-template-columns: 1fr; }
  section, .section { padding: 52px 0; }
  .hero { padding: 36px 0 0; }
  .hero-grid { padding-bottom: 20px; gap: 28px; }
  .hero-controls { padding-bottom: 24px; padding-right: 8px; }
  .cookie-bar { left: 12px; right: 12px; width: auto; bottom: 88px; }
  .float-stack { right: 10px; bottom: 14px; gap: 8px; }
  .float-wa-label { display: none; }
  .float-wa { width: 48px; height: 48px; padding: 0; border-radius: 50%; }
  .float-iar3 { width: 40px; height: 40px; padding: 0; border-radius: 50%; font-size: 0.68rem; }
  .float-iar3 small { display: none; }
  .iar3-panel { right: 10px; bottom: 72px; height: min(560px, calc(100vh - 96px)); }
  .hero-visual { padding-right: 58px; }
  .hero-controls { padding-right: 58px; }
  .hero-paths-note { padding-right: 72px; }
  .topbar-cluster span:nth-child(n+3) { display: none; }
}

/* Rê — assistente virtual com IA */
.compare-single { grid-template-columns: 1fr; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bubble p { margin: 0 0 6px; }
.bubble p:last-child { margin-bottom: 0; }
.bubble ul { margin: 4px 0 6px; padding-left: 1.1em; }
.bubble li { margin: 2px 0; }
.bubble.bot a { color: #7A5C00; }
.re-input { display: flex; gap: 8px; align-items: flex-end; }
.re-input[hidden] { display: none; }
.re-input textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; font: inherit; font-size: 0.95rem; max-height: 110px; background: var(--white); }
.re-input textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.re-send { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--black); color: var(--gold-light, #E2C770); cursor: pointer; display: grid; place-items: center; }
.re-input.busy .re-send { opacity: 0.5; cursor: wait; }
.re-wa { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: #1F7A4D; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; }
.re-wa::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9BE7B8; }
.re-wa:hover { background: #17633E; }
.re-typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.re-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9A9588; animation: re-blink 1.2s infinite ease-in-out; }
.re-typing span:nth-child(2) { animation-delay: 0.2s; }
.re-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes re-blink { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .re-typing span { animation: none; opacity: 0.6; } }
.iar3-disclaimer { padding-top: 8px; }
.re-input textarea { min-height: 40px; height: 40px; line-height: 1.35; }
.re-team { white-space: nowrap; color: #1F7A4D; font-weight: 600; }
.team-grid { align-content: start; }
