/* ---------- Tokens ---------- */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-2: #eaeff5;
  --ink: #0e1d30;
  --muted: #4d5d71;
  --line: rgb(28 65 104 / .13);
  --brand: #1c4168;
  --brand-ink: #1c4168;
  --gold: #b9a676;
  --gold-ink: #7a6634;
  --btn-bg: #1c4168;
  --btn-fg: #ffffff;
  --btn-bg-hover: #16355a;
  --deep: #10263f;
  --deep-ink: #eef2f8;
  --deep-muted: #b3c2d4;
  --shadow: 0 1px 2px rgb(16 38 63 / .06), 0 12px 40px -12px rgb(16 38 63 / .18);
  --radius: 20px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1420;
    --surface: #0f1c2c;
    --surface-2: #132438;
    --ink: #e8edf4;
    --muted: #9fb0c3;
    --line: rgb(159 176 195 / .16);
    --brand: #1c4168;
    --brand-ink: #8fb2dc;
    --gold: #cdbb8a;
    --gold-ink: #d6c595;
    --btn-bg: #cdbb8a;
    --btn-fg: #0a1420;
    --btn-bg-hover: #dccb9b;
    --deep: #122a45;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 48px -16px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1420;
  --surface: #0f1c2c;
  --surface-2: #132438;
  --ink: #e8edf4;
  --muted: #9fb0c3;
  --line: rgb(159 176 195 / .16);
  --brand: #1c4168;
  --brand-ink: #8fb2dc;
  --gold: #cdbb8a;
  --gold-ink: #d6c595;
  --btn-bg: #cdbb8a;
  --btn-fg: #0a1420;
  --btn-bg-hover: #dccb9b;
  --deep: #122a45;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 48px -16px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: #0a1420; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1240px, 100% - 64px); } }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

section { padding-block: clamp(72px, 10vw, 128px); }

.section-title {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
  max-width: 18ch;
}
.section-lead { margin-top: 20px; color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
@media (max-width: 480px) { .eyebrow { letter-spacing: .08em; font-size: .75rem; } }

/* ---------- Buttons ---------- */
.btn {
  --pad: 12px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .9875rem; line-height: 1.2; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease-out), box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { --pad: 16px 28px; font-size: 1.03rem; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 8px 24px -10px rgb(28 65 104 / .55); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-primary i { transition: transform .3s var(--ease-out); }
.btn-primary:hover i { transform: translateX(3px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand-ink); color: var(--brand-ink); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: 1.2rem; transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--brand-ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-symbol {
  width: 34px; height: 39px; background: var(--brand-ink);
  -webkit-mask: url(../img/simbolo.png) center / contain no-repeat;
  mask: url(../img/simbolo.png) center / contain no-repeat;
  transition: transform .5s var(--ease-out);
}
.brand:hover .brand-symbol { transform: rotate(-8deg) scale(1.05); }
.brand-name {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: 1.125rem; color: var(--brand-ink);
}
.brand-name small {
  font-size: .5625rem; font-weight: 600; letter-spacing: .28em; margin-top: 5px; padding-top: 4px;
  border-top: 1px solid var(--gold); color: var(--muted);
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  position: relative; display: block; padding: 8px 12px; border-radius: 999px;
  text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: var(--ink); }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 8px; }
.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease-out), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .site-header:has(.main-nav.is-open) { background: var(--bg); }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 72px; min-height: min(100dvh, 920px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-title {
  font-size: clamp(2.5rem, 1.4rem + 4vw, 4.5rem); font-weight: 600; line-height: 1.06; letter-spacing: -.04em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--brand-ink); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em;
  background: var(--gold); border-radius: 2px; transform-origin: left;
  transform: scaleX(var(--underline, 1));
}
.hero-sub { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--muted); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-media { position: relative; }
.hero-photo {
  margin: 0; border-radius: calc(var(--radius) + 8px); overflow: hidden; aspect-ratio: 1 / 1;
  background: var(--surface-2); box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-symbol {
  position: absolute; right: -6%; top: -8%; width: 38%; aspect-ratio: 278 / 320; z-index: -1;
  background: var(--gold); opacity: .35;
  -webkit-mask: url(../img/simbolo.png) center / contain no-repeat;
  mask: url(../img/simbolo.png) center / contain no-repeat;
}
.hero-note {
  position: absolute; left: -8%; bottom: 10%; display: flex; gap: 12px; align-items: flex-start;
  max-width: 290px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9375rem; line-height: 1.45;
}
.hero-note i { font-size: 1.6rem; color: var(--gold-ink); flex: none; }
.hero-note strong { color: var(--ink); }
.hero-note p { color: var(--muted); }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-bottom: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-note { left: 12px; right: 12px; bottom: -28px; max-width: none; }
  .hero-symbol { right: -4%; top: -6%; width: 30%; }
}

/* ---------- Stats ---------- */
.stats { padding-block: 40px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem);
  letter-spacing: -.04em; line-height: 1; color: var(--brand-ink); font-variant-numeric: tabular-nums;
}
.stat-num sup { font-size: .5em; color: var(--gold-ink); vertical-align: .6em; margin-left: 2px; }
.stat-label { color: var(--muted); font-size: .9375rem; }
@media (max-width: 767px) {
  .stats { padding-top: 72px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- Posicionamento ---------- */
.position { background: var(--surface-2); padding-block: 0; }
.position-pin { padding-block: clamp(72px, 10vw, 120px); }
@media (min-width: 1024px) {
  .position-pin { min-height: 100dvh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 24px) 32px; }
  .position-pin > .container { width: min(1240px, 100% - 64px); }
  .position .section-title { font-size: clamp(1.75rem, 5vh, 3.25rem); max-width: 16ch; }
  .pstep p { font-size: .9375rem; }
  .position-steps { margin-top: clamp(20px, 4vh, 40px); gap: 0; }
  .pstep { padding-block: clamp(8px, 1.6vh, 16px); }
  .chart { max-height: calc(100dvh - var(--header-h) - 120px); aspect-ratio: auto; height: min(560px, calc(100dvh - var(--header-h) - 120px)); }
}
.position-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.position-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 8px; }
.pstep {
  position: relative; padding: 16px 0 16px 24px; border-left: 2px solid var(--line);
  transition: border-color .4s, opacity .4s;
}
.pstep h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.pstep p { color: var(--muted); margin-top: 4px; font-size: 1rem; max-width: 46ch; }
.pstep::before {
  content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--brand-ink);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out);
}
.pstep:last-child::before { background: var(--gold); }
.pstep:last-child h3 { color: var(--brand-ink); }
.js .position.is-scrolly .pstep { opacity: .38; }
.js .position.is-scrolly .pstep.is-active { opacity: 1; }
.pstep.is-active::before { transform: scaleY(1); }

.chart {
  position: relative; aspect-ratio: 1 / .9; border-radius: var(--radius);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 25% 25%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 25%,
    var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  margin: 0 0 36px 36px;
}
.axis { position: absolute; font-size: .8125rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.axis-x { left: 0; right: 0; bottom: -30px; text-align: center; }
.axis-y { left: -30px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; }
.axis-end { position: absolute; font-size: .75rem; color: var(--muted); opacity: .8; }
.axis-y-top { left: 12px; top: 10px; }
.axis-x-right { right: 12px; bottom: 10px; }
.chart::before, .chart::after { content: ""; position: absolute; background: var(--muted); opacity: .5; }
.chart::before { left: -1px; bottom: -1px; top: 0; width: 2px; }
.chart::after { left: -1px; bottom: -1px; right: 0; height: 2px; }

.sweet-spot {
  position: absolute; left: 26%; top: 18%; width: 40%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 45%, transparent), transparent 68%);
  opacity: 0; scale: .6;
}
.dot {
  position: absolute; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 600; color: var(--muted);
}
.dot::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--muted);
}
.dot span { background: var(--surface); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.dot-auto { left: 18%; top: 78%; }
.dot-consult { left: 84%; top: 18%; }
.dot-trad { left: 60%; top: 58%; }
.dot-conatus { left: 26%; top: 18%; color: var(--ink); z-index: 2; }
.dot-conatus::before { display: none; }
.dot-mark {
  width: 56px; height: 64px; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: var(--brand-ink) !important;
  -webkit-mask: url(../img/simbolo.png) center / contain no-repeat;
  mask: url(../img/simbolo.png) center / contain no-repeat;
}
.dot-conatus span:last-child { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; font-size: .9375rem; padding: 4px 12px; }

@media (max-width: 1023px) {
  .position-grid { grid-template-columns: 1fr; }
  .position-chart { max-width: 560px; width: 100%; }
  .dot-conatus { top: 24%; }
  .sweet-spot { opacity: 1; scale: 1; }
}
@media (max-width: 480px) {
  .dot { font-size: .75rem; }
  .axis-end { display: none; }
  .dot-mark { width: 40px; height: 46px; }
  .chart { margin-left: 28px; }
  .axis-y { left: -22px; }
}

/* ---------- Serviços ---------- */
.services-layout { margin-top: 56px; display: grid; grid-template-columns: 320px 1fr; gap: 32px; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: transparent;
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; text-align: left; cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.service-tab > i:first-child { font-size: 1.4rem; color: var(--brand-ink); transition: color .3s; }
.service-tab .tab-arrow { margin-left: auto; opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .4s var(--ease-out); }
.service-tab:hover { border-color: var(--brand-ink); }
.service-tab:hover .tab-arrow { opacity: .6; transform: none; }
.service-tab[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: var(--deep-ink); }
.service-tab[aria-selected="true"] > i:first-child { color: var(--gold); }
.service-tab[aria-selected="true"] .tab-arrow { opacity: 1; transform: none; color: var(--gold); }

.service-panels {
  position: relative; overflow: hidden; min-height: 380px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px);
}
.service-panel { position: relative; z-index: 1; max-width: 560px; }
.service-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.service-panel p { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; max-width: 50ch; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: .9375rem; color: var(--ink);
  border: 1px solid var(--line);
}
.service-art { position: absolute; right: -40px; bottom: -60px; width: 300px; pointer-events: none; }
.service-symbol {
  aspect-ratio: 278 / 320; background: var(--brand-ink); opacity: .07;
  -webkit-mask: url(../img/simbolo.png) center / contain no-repeat;
  mask: url(../img/simbolo.png) center / contain no-repeat;
}
@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; }
  .service-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .service-list::-webkit-scrollbar { display: none; }
  .service-tab { width: auto; flex: none; scroll-snap-align: start; padding: 12px 18px; font-size: 1rem; }
  .service-tab .tab-arrow { display: none; }
  .service-panels { min-height: 0; }
  .service-art { width: 200px; }
}

/* ---------- Para quem (bento) ---------- */
.audience { padding-top: 0; }
.bento {
  margin-top: 56px; display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(180px, auto);
}
.tile { border-radius: var(--radius); overflow: hidden; position: relative; margin: 0; }
.tile-a { grid-column: span 7; grid-row: span 2; }
.tile-b { grid-column: span 5; }
.tile-c { grid-column: span 5; grid-row: span 2; }
.tile-d { grid-column: span 7; }
.tile-d { grid-column: 1 / span 7; grid-row: 3; }
.tile-c { grid-column: 8 / span 5; grid-row: 2 / span 2; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-photo figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgb(10 20 32 / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #f1f4f8; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem;
}
.tile-quote {
  background: var(--deep); color: var(--deep-ink); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.tile-quote i { font-size: 2rem; color: var(--gold); }
.tile-quote p { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.tile-list { background: var(--surface); border: 1px solid var(--line); padding: 32px; }
.tile-list h3 { font-size: 1.125rem; font-weight: 600; }
.tile-list ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.tile-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.tile-list li i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--brand-ink); font-size: 1.25rem; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile-a, .tile-b, .tile-c, .tile-d { grid-column: auto; grid-row: auto; }
  .tile-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) { .tile-list ul { grid-template-columns: 1fr; } }

/* ---------- Pilares ---------- */
.pillars { background: var(--surface-2); }
.pillars-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pillars-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.8; box-shadow: var(--shadow); }
.pillars-media img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; }
.pillars-copy .section-title { margin-bottom: 40px; }
.pillar { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.pillar > i {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px;
  background: var(--surface); color: var(--gold-ink); font-size: 1.5rem; border: 1px solid var(--line);
  transition: transform .4s var(--ease-out), background-color .3s, color .3s;
}
.pillar:hover > i { transform: rotate(-6deg) scale(1.06); background: var(--deep); color: var(--gold); }
.pillar h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.01em; }
.pillar p { color: var(--muted); margin-top: 4px; }
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-media { aspect-ratio: 4 / 3; }
}

/* ---------- Mapa ---------- */
.where-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.state-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-weight: 600; font-size: .9375rem; transition: background-color .25s, color .25s, border-color .25s;
}
.chip-btn:hover { border-color: var(--brand-ink); }
.chip-btn.is-active { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.city-list {
  list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px;
  min-height: 12.5rem; align-content: start;
}
.city-list li { display: flex; align-items: center; gap: 10px; font-size: .9875rem; padding: 4px 0; cursor: default; border-radius: 8px; transition: color .2s; }
.city-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.city-list li small { color: var(--muted); font-size: .8125rem; margin-left: auto; }
.city-list li.is-hot { color: var(--brand-ink); font-weight: 600; }

.map-wrap { position: relative; }
.br-map { width: 100%; height: auto; overflow: hidden; border-radius: var(--radius); }
.br-map .state {
  fill: var(--surface-2); stroke: var(--bg); stroke-width: 1.2; transition: fill .35s, opacity .35s;
}
.br-map .state.is-served { fill: color-mix(in srgb, var(--brand-ink) 78%, var(--bg)); cursor: pointer; }
.br-map .state.is-served:hover, .br-map .state.is-served:focus-visible, .br-map .state.is-served.is-focus { fill: var(--brand-ink); outline: none; }
.br-map.has-filter .state.is-served:not(.is-focus) { opacity: .45; }
.br-map.is-pending .state.is-served:not(.is-lit) { fill: var(--surface-2); }
.br-map .state.is-served { transition: fill .6s var(--ease-out), opacity .35s; }
.br-map .uf-label { font-family: var(--font-display); font-size: 17px; font-weight: 600; fill: #fff; pointer-events: none; }
.br-map .state { vector-effect: non-scaling-stroke; }
.br-map .pin circle.core { fill: var(--gold); stroke: var(--bg); stroke-width: 2; }
.br-map .pin circle.halo { fill: var(--gold); opacity: .35; transform-box: fill-box; transform-origin: center; }
.br-map .pin { cursor: pointer; }
.br-map .pin.is-hot circle.core { fill: var(--ink); }
.br-map.has-filter .pin:not(.is-in) { opacity: .15; }
@media (prefers-reduced-motion: no-preference) {
  .br-map .pin circle.halo { animation: pulse 2.4s var(--ease-out) infinite; animation-delay: var(--d, 0s); }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
.map-tip {
  position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 14px));
  padding: 8px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: .875rem; font-weight: 600;
  white-space: nowrap; box-shadow: var(--shadow);
}
.map-tip small { display: block; font-weight: 400; opacity: .75; }
@media (max-width: 900px) {
  .where-grid { grid-template-columns: 1fr; }
  .map-wrap { order: -1; max-width: 560px; margin-inline: auto; width: 100%; }
}

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid > .section-title { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-list { display: grid; gap: 10px; }
.faq details {
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s;
}
.faq details[open] { border-color: color-mix(in srgb, var(--brand-ink) 45%, transparent); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; background: var(--surface-2); transition: transform .4s var(--ease-out), background-color .3s, color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--btn-bg); color: var(--btn-fg); }
.faq-body { padding: 0 24px 22px; color: var(--muted); max-width: 62ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid > .section-title { position: static; } }

/* ---------- Contato ---------- */
.contact { padding-top: 0; }
.contact-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px); border-radius: calc(var(--radius) + 8px); background: var(--deep); color: var(--deep-ink);
}
.contact-copy { position: relative; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.contact .section-title { color: var(--deep-ink); }
.contact-copy > p { color: var(--deep-muted); font-size: 1.125rem; max-width: 40ch; }
.insta-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; color: var(--gold);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.insta-link i { font-size: 1.4rem; }
.insta-link:hover { border-color: var(--gold); }
.contact-symbol {
  position: absolute; left: -12%; bottom: -55%; width: 70%; aspect-ratio: 278 / 320; pointer-events: none;
  background: #fff; opacity: .05;
  -webkit-mask: url(../img/simbolo.png) center / contain no-repeat;
  mask: url(../img/simbolo.png) center / contain no-repeat;
}
.contact-form {
  position: relative; display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field input, .field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--muted) 55%, transparent);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: color-mix(in srgb, var(--muted) 85%, transparent); }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-ink) 18%, transparent); }
.field.has-error input { border-color: #c2413a; }
.field-error { color: #b3372f; font-size: .875rem; min-height: 0; }
:root[data-theme="dark"] .field-error { color: #f08a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field-error { color: #f08a80; } }
.btn-submit { width: 100%; margin-top: 4px; }
.btn-submit.is-loading { pointer-events: none; opacity: .8; }
.btn-submit.is-loading i { animation: fly 1s var(--ease-out) infinite; }
@keyframes fly { 50% { transform: translate(4px, -4px); opacity: .4; } }
.form-success {
  position: absolute; inset: 0; border-radius: inherit; background: var(--surface);
  display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 32px;
}
.form-success[hidden] { display: none; }
.start-steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; counter-reset: s; }
.start-steps li { display: flex; gap: 14px; align-items: center; color: var(--deep-ink); counter-increment: s; }
.start-steps li::before {
  content: counter(s); flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); color: var(--gold); font-family: var(--font-display); font-weight: 600; font-size: .9375rem;
}
.form-success i { font-size: 3.5rem; color: var(--gold-ink); }
.form-success p { max-width: 28ch; color: var(--muted); }
.form-success strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; }
@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-symbol { bottom: auto; top: -20%; left: auto; right: -20%; width: 60%; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 56px 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px 48px; align-items: center; }
.footer-logo { width: 120px; }
:root[data-theme="dark"] .footer-logo { filter: brightness(0) invert(.92); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .footer-logo { filter: brightness(0) invert(.92); } }
.footer-inner > p { color: var(--muted); max-width: 42ch; font-size: .9375rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-inner nav a { text-decoration: none; color: var(--muted); font-size: .9375rem; }
.footer-inner nav a:hover { color: var(--ink); }
.footer-inner small { grid-column: 1 / -1; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Estados iniciais de animação (somente com JS e sem reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-hero], .js [data-hero-media], .js .reveal { opacity: 0; }
  .js .hero-title .line > span { transform: translateY(110%); }
}
