/* ==========================================================================
   FOLS ADVOCACIA — design system
   Editorial humanista: papel quente + verde da marca + tipografia serifada.
   ========================================================================== */

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/EBGaramond-normal-400.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/EBGaramond-italic-400.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-normal-400_700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f1e7;
  --paper-deep: #efe7d8;
  --surface: #fffcf7;
  --ink: #16241f;
  --ink-soft: #43524b;
  --muted: #5e6963;
  --line: rgba(22, 36, 31, 0.14);
  --line-strong: rgba(22, 36, 31, 0.26);
  --pine: #17332d;
  --pine-2: #1f443b;
  --sage: #5a7f7f;
  --sage-soft: #dde7e2;
  --sage-ink: #3f6259;
  --accent: #b07a32;
  --accent-soft: #e4c88a;
  --accent-ink: #8a5a1f;
  --cream: #f6f1e7;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(22, 36, 31, 0.06);
  --shadow: 0 24px 48px -28px rgba(22, 36, 31, 0.45);
  --font-display: "EB Garamond", "Times New Roman", Times, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
button, input, textarea, select { font: inherit; color: inherit; }
iframe { border: 0; }

::selection { background: var(--accent-soft); color: var(--pine); }

:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 3px;
}
.about :focus-visible,
.site-footer :focus-visible,
.menu-panel :focus-visible {
  outline-color: var(--accent-soft);
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 400;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--pine);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* Reveal on scroll (only when JS is on) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .services-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .services-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .services-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.js .faq-list .reveal:nth-child(2) { transition-delay: 0.05s; }
.js .faq-list .reveal:nth-child(3) { transition-delay: 0.1s; }
.js .faq-list .reveal:nth-child(4) { transition-delay: 0.15s; }
.js .reviews-grid .reveal:nth-child(2) { transition-delay: 0.05s; }
.js .reviews-grid .reveal:nth-child(3) { transition-delay: 0.1s; }
.js .reviews-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.js .reviews-grid .reveal:nth-child(5) { transition-delay: 0.2s; }
.js .reviews-grid .reveal:nth-child(6) { transition-delay: 0.25s; }

/* ---------- Icons ---------- */
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
}
.icon-wa { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pine);
  color: var(--cream);
  box-shadow: 0 14px 26px -18px rgba(23, 51, 45, 0.8);
}
.btn-primary:hover { background: var(--pine-2); box-shadow: 0 18px 30px -18px rgba(23, 51, 45, 0.75); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { background: var(--surface); border-color: var(--ink); }

.btn-light {
  background: var(--cream);
  color: var(--pine);
}
.btn-light:hover { background: #fffdf8; }

.btn-sm {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 14px;
}

/* ---------- Shared section primitives ---------- */
.section {
  padding: clamp(70px, 8vw, 116px) 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
#servico-acidente,
#servico-gestante,
#servico-horas,
#servico-adicional { scroll-margin-top: calc(var(--header-h) + 32px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--sage-ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.kicker-light { color: #d9c6a2; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 54px); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.25rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 241, 231, 0.84);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 241, 231, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px -24px rgba(22, 36, 31, 0.7);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; text-decoration: none; }
.brand img { height: 30px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline: auto;
}
.nav-desktop a {
  position: relative;
  padding: 12px 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.menu-toggle:hover { background: var(--surface); border-color: var(--ink); }
.menu-toggle .icon { width: 22px; height: 22px; }

/* ---------- Mobile menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 33, 29, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }

.menu-panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: min(92vw, 430px);
  padding: 22px 26px calc(34px + env(safe-area-inset-bottom));
  background: var(--pine);
  color: var(--cream);
  overflow-y: auto;
  transform: translateX(28px);
  transition: transform 0.35s var(--ease);
}
.menu-overlay.is-open .menu-panel { transform: none; }

.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.menu-head img { height: 26px; width: auto; }
.menu-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246, 241, 231, 0.28);
  border-radius: 12px;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}
.menu-close:hover { background: rgba(246, 241, 231, 0.1); }
.menu-close .icon { width: 22px; height: 22px; }

.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246, 241, 231, 0.14);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.menu-nav a:hover { color: var(--accent-soft); padding-left: 6px; }

.menu-cta { width: 100%; margin-top: 4px; }

.menu-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
}
.menu-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: rgba(246, 241, 231, 0.72);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.menu-contact a:last-child { align-items: flex-start; }
.menu-contact a .icon { margin-top: 2px; }
.menu-contact a:hover { color: var(--cream); }
.menu-contact .icon { width: 18px; height: 18px; }

.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(34px, 5.5vw, 72px) 0 clamp(48px, 6vw, 78px);
  background:
    radial-gradient(900px 620px at 80% 4%, rgba(90, 127, 127, 0.17), transparent 62%),
    radial-gradient(720px 540px at 4% 72%, rgba(176, 122, 50, 0.08), transparent 62%),
    var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 36, 31, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(105deg, transparent 38%, #000 78%, transparent 100%);
  mask-image: linear-gradient(105deg, transparent 38%, #000 78%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
}
.hero > .container { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.eyebrow {
  display: block;
  margin: 0 0 18px;
  color: var(--sage-ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  text-wrap: balance;
}
.eyebrow-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: middle;
}

.hero h1 {
  max-width: 19.5ch;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.15vw, 3.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-ink);
}

.hero-sub {
  max-width: 44ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17.5px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}
.hero-proof li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}
.hero-proof .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--sage-ink);
}

/* Portrait */
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 490px; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -16px -16px auto auto;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(90, 127, 127, 0.32);
  border-radius: 50%;
  pointer-events: none;
}
.hero-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 250px 250px 22px 22px;
  background: var(--paper);
  box-shadow: 0 40px 80px -48px rgba(22, 36, 31, 0.5);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hero-badge {
  position: absolute;
  left: -22px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 290px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.35;
}
.hero-badge strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.hero-badge-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--pine);
}
.hero-badge-icon .icon { width: 20px; height: 20px; }

/* Segunda frente de atuação (headline 2) */
.hero-paths {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(40px, 6vw, 66px);
  padding: 20px 26px;
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(90deg, rgba(90, 127, 127, 0.11), rgba(176, 122, 50, 0.05));
}
.hero-paths-text {
  flex: 1 1 420px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.4;
  text-wrap: pretty;
}
.hero-paths-links { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-paths-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.6);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}
.hero-paths-links a .icon { width: 16px; height: 16px; transition: transform 0.22s var(--ease); }
.hero-paths-links a:hover { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.hero-paths-links a:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--paper); border-top: 1px solid var(--line); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease), background 0.28s var(--ease);
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(90, 127, 127, 0.6);
  background: #fffefa;
  box-shadow: 0 26px 52px -34px rgba(22, 36, 31, 0.55);
}
.service-index {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(22, 36, 31, 0.5);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--sage-soft);
  color: var(--pine);
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--pine); color: var(--cream); }

.service-card h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.service-card p {
  max-width: 38ch;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--sage-ink);
  font-size: 13.5px;
  font-weight: 600;
}
.service-link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-link .icon { transform: translateX(4px); }

/* ==========================================================================
   About (dark)
   ========================================================================== */
.about {
  position: relative;
  background: var(--pine);
  color: var(--cream);
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 460px at 92% 6%, rgba(90, 127, 127, 0.24), transparent 65%),
    radial-gradient(600px 420px at 4% 96%, rgba(176, 122, 50, 0.12), transparent 65%);
  pointer-events: none;
}
.about > .container { position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(38px, 6vw, 80px);
  align-items: start;
}
.about-copy h2 { color: var(--cream); }
.about-lead {
  margin: 22px 0 18px;
  color: #f4efe5;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.3vw, 28px);
  line-height: 1.38;
  text-wrap: pretty;
}
.about-copy p:not(.about-lead) {
  max-width: 56ch;
  margin-bottom: 16px;
  color: rgba(246, 241, 231, 0.8);
  font-size: 16.5px;
  line-height: 1.68;
}
.about-copy .btn { margin-top: 16px; }

.about-stats {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(246, 241, 231, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(246, 241, 231, 0.05);
}
.about-stats dl { margin: 0; }
.stat + .stat {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
}
.stat dt {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.stat dd {
  margin: 9px 0 0;
  color: rgba(246, 241, 231, 0.66);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(0, 0.85fr);
  gap: 18px;
  margin-top: clamp(36px, 5vw, 56px);
  align-items: stretch;
}
.about-figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
}
.about-figure picture { display: block; height: 100%; }
.about-figure img {
  display: block;
  width: 100%;
  height: clamp(240px, 27vw, 380px);
  object-fit: cover;
  border: 1px solid rgba(246, 241, 231, 0.16);
  border-radius: 18px;
  box-shadow: 0 28px 56px -40px rgba(0, 0, 0, 0.65);
}
.about-figure--office img { object-position: 58% 48%; }
.about-figure--detail img { object-position: 50% 45%; }
.about-figure figcaption {
  color: rgba(246, 241, 231, 0.64);
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.about-coverage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px 44px;
  align-items: end;
  margin-top: clamp(34px, 4.5vw, 52px);
  padding-top: clamp(26px, 3.5vw, 38px);
  border-top: 1px solid rgba(246, 241, 231, 0.18);
}
.coverage-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 14px;
  margin: 2px 0 10px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.coverage-title strong { font-weight: 500; }
.coverage-sep { color: var(--accent-soft); }
.coverage-sub {
  max-width: 48ch;
  margin: 0;
  color: rgba(246, 241, 231, 0.7);
  font-size: 14.5px;
  line-height: 1.6;
}
.coverage-states {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 480px;
  margin: 0;
  justify-content: flex-end;
}
.coverage-states li {
  padding: 7px 10px;
  border: 1px solid rgba(246, 241, 231, 0.22);
  border-radius: 999px;
  background: rgba(246, 241, 231, 0.045);
  color: rgba(246, 241, 231, 0.82);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}

.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;
}

/* ==========================================================================
   Reviews (Google)
   ========================================================================== */
.reviews { background: var(--surface); border-top: 1px solid var(--line); }

.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 40px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.reviews-title h2 { text-wrap: balance; }

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.reviews-score-box { display: flex; align-items: center; gap: 12px; }
.reviews-score {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); }
.stars .icon { width: 17px; height: 17px; }
.reviews-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.3;
}
.reviews-count strong { color: var(--ink); font-weight: 600; }
.reviews-count .icon { width: 16px; height: 16px; }
.reviews-summary .btn { min-height: 44px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 127, 127, 0.55);
  box-shadow: 0 24px 44px -34px rgba(22, 36, 31, 0.5);
}
.review-quote { margin: 0; }
.review-quote p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.66;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--pine);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.review-meta { display: grid; gap: 3px; }
.review-meta strong { color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.review-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.review-meta .icon { width: 13px; height: 13px; }

.reviews-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.reviews-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sage-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
.reviews-note a:hover { color: var(--pine); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper-deep); border-top: 1px solid var(--line); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-intro .btn { margin-top: 26px; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q { margin: 0; }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  min-height: 64px;
  padding: 21px 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.42;
  transition: color 0.2s var(--ease);
}
.faq-trigger:hover { color: var(--sage-ink); }
.faq-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--sage-ink);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-icon .icon { width: 18px; height: 18px; }
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--pine);
  border-color: var(--pine);
  color: var(--cream);
}
.faq-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.js .faq-panel { grid-template-rows: 0fr; }
.js .faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p {
  max-width: 60ch;
  margin: 0;
  padding: 0 52px 24px 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.66;
}
.faq-item.is-open .faq-panel-inner p { padding-top: 2px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 18px;
  align-items: stretch;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--sage-ink);
}
.contact-icon .icon { width: 22px; height: 22px; }
.contact-body h3 {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-body p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.contact-value { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.contact-value a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(22, 36, 31, 0.28);
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.contact-value a:hover { color: var(--sage-ink); text-decoration-color: currentColor; }
.copy-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.copy-btn .icon { width: 16px; height: 16px; }
.copy-btn:hover { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.copy-btn.is-copied { color: var(--pine); border-color: var(--sage); background: var(--sage-soft); }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 0;
  margin-top: 4px;
  color: var(--sage-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}
.contact-link .icon { width: 15px; height: 15px; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background 0.2s var(--ease);
}
.social .icon { width: 18px; height: 18px; }
.social a:hover { border-color: var(--pine); color: var(--pine); background: var(--surface); }

.contact-map {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 300px at 70% 30%, rgba(90, 127, 127, 0.16), transparent 70%),
    var(--paper-deep);
  overflow: hidden;
}
.contact-map iframe {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  filter: saturate(0.85) contrast(0.98);
}
.map-fallback {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 28px;
  color: var(--ink-soft);
  text-align: center;
}
.map-fallback .icon { width: 34px; height: 34px; margin-bottom: 10px; color: var(--sage-ink); }
.map-fallback strong { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.map-fallback span { color: var(--muted); font-size: 14px; }
.map-link {
  position: relative;
  grid-area: 2 / 1;
  justify-self: start;
  margin: 14px 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.96);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px -16px rgba(22, 36, 31, 0.6);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.map-link .icon { width: 16px; height: 16px; }
.map-link:hover { background: var(--pine); border-color: var(--pine); color: var(--cream); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--pine);
  color: var(--cream);
  padding-top: clamp(48px, 6vw, 68px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(36px, 5vw, 54px);
}
.footer-brand img { width: 190px; height: auto; margin-bottom: 18px; }
.footer-brand a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand p {
  max-width: 30ch;
  margin: 0;
  color: rgba(246, 241, 231, 0.66);
  font-size: 14.5px;
  line-height: 1.6;
}
.footer-nav { display: flex; flex-direction: column; padding-top: 4px; }
.footer-nav a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(246, 241, 231, 0.78);
  font-size: 14.5px;
  line-height: 1.55;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(246, 241, 231, 0.16);
}
.footer-bottom p { margin: 0; color: rgba(246, 241, 231, 0.62); font-size: 13px; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: rgba(246, 241, 231, 0.75);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.to-top:hover { color: var(--cream); }
.to-top .icon { width: 15px; height: 15px; }

/* ==========================================================================
   Fixed CTAs + toast
   ========================================================================== */
.whats-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  background: #0f7a40;
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 16px 32px -12px rgba(15, 122, 64, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: background 0.2s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.2s var(--ease), opacity 0.25s var(--ease),
    visibility 0.25s var(--ease);
}
body.show-float .whats-float { opacity: 1; visibility: visible; pointer-events: auto; }
.whats-float .icon { width: 28px; height: 28px; }
.whats-float span {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--pine);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s var(--ease);
}
.whats-float:hover,
.whats-float:focus-visible { background: #0c6636; transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(15, 122, 64, 0.6); }
.whats-float:hover span,
.whats-float:focus-visible span { opacity: 1; visibility: visible; transform: translateY(-50%); }

.mobile-cta { display: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--pine);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: grid; }
  .hero-media { max-width: 440px; }
  .about-grid { gap: 44px; }
}

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .brand img { height: 28px; }

  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { max-width: 100%; }
  .hero-media {
    justify-self: stretch;
    max-width: 430px;
    margin-inline: auto;
  }
  .hero-badge { left: auto; right: 10px; bottom: 14px; }
  .hero-paths { align-items: flex-start; flex-direction: column; }
  .hero-paths-text { flex: 0 1 auto; }

  .about-grid { grid-template-columns: 1fr; }
  .about-copy { max-width: 640px; }
  .about-stats { max-width: 520px; }
  .about-gallery { grid-template-columns: 1fr; gap: 22px; }
  .about-figure--office img { height: auto; aspect-ratio: 2 / 1; object-position: 62% 50%; }
  .about-figure--detail { max-width: 280px; }
  .about-figure--detail img { height: auto; aspect-ratio: 4 / 5; }
  .about-coverage { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .coverage-states { justify-content: flex-start; max-width: none; }

  .reviews-head { align-items: flex-start; }
  .reviews-summary { width: 100%; justify-content: space-between; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro { position: static; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-map,
  .contact-map iframe { min-height: 360px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }

  .whats-float { display: none; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 252, 247, 0.94);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transform: translateY(110%);
    transition: transform 0.3s var(--ease);
  }
  body.show-float .mobile-cta { transform: none; }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 96px; }
  .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(86px + 12px); }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .header-inner { height: 68px; }
  .brand img { height: 26px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.12em; gap: 8px; }

  body { font-size: 16.5px; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: clamp(2.15rem, 8.4vw, 2.7rem); }
  .hero-sub { font-size: 16.5px; }
  .hero-actions .btn { width: 100%; }
  .hero-paths { padding: 18px 20px; }
  .hero-paths-links { width: 100%; }
  .hero-paths-links a { flex: 1; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 24px; }
  .service-card p { max-width: 46ch; }

  .faq-trigger { font-size: 16px; gap: 16px; }
  .faq-panel-inner p { padding-right: 0; }

  .reviews-summary { padding: 16px; gap: 14px 18px; }
  .reviews-score { font-size: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 22px 20px 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .contact-map,
  .contact-map iframe { min-height: 300px; }
  .toast { left: 16px; right: 16px; transform: translateY(8px); text-align: center; }
  .toast.is-visible { transform: none; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.05rem; }
  .hero-paths-links { flex-direction: column; }
  .hero-badge { position: static; margin-top: 14px; width: 100%; max-width: none; justify-content: flex-start; }
  .hero-media::before { display: none; }
  .services-grid { gap: 12px; }
  .contact-card { grid-template-columns: 40px minmax(0, 1fr); padding: 18px; }
  .contact-icon { width: 40px; height: 40px; }
}

/* ==========================================================================
   Reduced motion / print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .menu-overlay, .menu-panel, .toast { transition: none !important; }
}

@media print {
  .site-header, .menu-overlay, .whats-float, .mobile-cta, .to-top,
  .toast, .hero-paths-links, .contact-map { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .about, .site-footer { background: #fff; color: #000; }
  .about-copy p:not(.about-lead), .stat dd, .footer-brand p { color: #333; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
}

/* Evita que o WhatsApp flutuante cubra o botão "Voltar ao topo" no desktop */
@media (min-width: 961px) {
  .footer-bottom .to-top {
    margin-right: 92px;
  }
}

/* ---------- Fallback sem JavaScript ---------- */
.nojs-nav { display: none; border-bottom: 1px solid var(--line); background: var(--surface); }
.nojs-nav .container { display: flex; flex-wrap: wrap; gap: 0 18px; padding: 8px 20px; }
.nojs-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.nojs-nav a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .nojs-nav { display: block; } }
html:not(.js) .faq-panel { height: auto !important; overflow: visible !important; }
html:not(.js) .faq-panel-inner { padding: 0 24px 24px; }
html:not(.js) .faq-trigger { cursor: default; }
html:not(.js) .menu-toggle { display: none !important; }
html:not(.js) .faq-icon { display: none; }
.footer-brand .footer-legal {
  max-width: 42ch;
  margin-top: 14px;
  color: rgba(246, 241, 231, 0.64);
  font-size: 12px;
  line-height: 1.55;
}
.footer-legal span { display: block; }
.footer-legal span + span { margin-top: 4px; }
.footer-legal strong { color: rgba(246, 241, 231, 0.84); font-weight: 600; }
