/* =====================================================
   V&F — Ventura e Figueiredo
   Off-white executive · navy · Switzer
   ===================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=switzer@200,300,400,500,600,700,800&f[]=gambarino@400&display=swap');

:root {
  /* Palette */
  --bg:           #F2EEE6;   /* warm off-white */
  --bg-elev:     #ECE7DD;   /* slightly deeper paper */
  --bg-card:     #FBF8F2;   /* card surface */
  --ink:         #0E2A3C;   /* deep navy from logo */
  --ink-2:       #173647;   /* navy variant */
  --ink-soft:    #3B5364;   /* secondary text */
  --ink-mute:    #6B7B89;   /* muted */
  --line:        rgba(14, 42, 60, 0.14);
  --line-strong: rgba(14, 42, 60, 0.28);
  --accent:      #117070;   /* brand teal */
  --accent-deep: #0E5A5A;
  --accent-soft: rgba(17, 112, 112, 0.12);

  /* Type */
  --font-sans: 'Switzer', 'Inter', system-ui, sans-serif;
  --font-display: 'Switzer', 'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1360px;
  --gutter: clamp(20px, 4vw, 64px);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: auto;
  scroll-padding-top: clamp(80px, 11vw, 120px); /* compensa o nav fixo em todos os anchors */
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--ink); color: var(--bg); }

/* ----------------------------------------------------- */
/* LOADER (intro splash)                                  */
/* ----------------------------------------------------- */
.loader {
  position: fixed; inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  animation: loaderLogoIn 0.9s var(--ease-out) forwards;
}
.loader-bar {
  width: clamp(140px, 18vw, 200px);
  height: 1px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}
.loader-bar::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 0%;
  background: var(--accent);
  animation: loaderProgress 1.2s var(--ease-out) forwards;
  animation-delay: 0.2s;
}
.loader-tag {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
  animation: loaderTagIn 0.5s var(--ease-out) 0.5s forwards;
}
@keyframes loaderLogoIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes loaderProgress {
  from { width: 0%; }
  to   { width: 100%; }
}
@keyframes loaderTagIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 0.8; transform: translateY(0); }
}

.is-loading { overflow: hidden; }

/* ----------------------------------------------------- */
/* Utilities                                              */
/* ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.eyebrow.center::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
}

h1, h2, h3, h4, h5, p { margin: 0; }

.headline-xl,
.headline-l,
.headline-m,
.hero-headline {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.headline-xl,
.headline-l,
.headline-m {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
}
.headline-xl { font-size: clamp(40px, 6.6vw, 100px); }
.headline-l  { font-size: clamp(30px, 4.4vw, 68px);  line-height: 1.06; }
.headline-m  { font-size: clamp(24px, 3vw, 42px);   line-height: 1.1; }

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 60ch;
  text-wrap: pretty;
}

.italic-accent { font-family: 'Gambarino', serif; font-style: italic; font-weight: 400; }

/* ----------------------------------------------------- */
/* Reveals                                                */
/* ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: var(--rd, 0ms);
  will-change: transform, opacity;
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"]    { transform: translateX(-24px); opacity: 0; }
[data-reveal="left"].in { transform: translateX(0);    opacity: 1; }
[data-reveal="right"]    { transform: translateX(24px); opacity: 0; }
[data-reveal="right"].in { transform: translateX(0);   opacity: 1; }
[data-reveal="scale"] { transform: scale(1.04); transition-duration: 1.3s; }
[data-reveal="scale"].in { transform: scale(1); }

/* Per-character / per-word stagger */
.split-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}
.split-words .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.split-words.in .word > span {
  transform: translateY(0);
}

/* ----------------------------------------------------- */
/* NAV                                                     */
/* ----------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  /* Fix 7: include color so text doesn't snap abruptly at the hero threshold */
  transition: background .5s var(--ease-out), padding .5s var(--ease-out), backdrop-filter .5s, color .4s var(--ease-out);
}
.nav.scrolled {
  background: rgba(242, 238, 230, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav.is-hero { color: #fff; }
.nav.is-hero .nav-links a,
.nav.is-hero .brand,
.nav.is-hero .brand-mark { color: #fff; }
.nav.is-hero .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.nav.is-hero .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  display: inline-block;
  width: 28px; height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  margin-right: 2px;
  transform: translateY(4px);
}
.brand-mark::before {
  content: "&";
  font-family: 'Gambarino', serif;
  font-style: italic;
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: inherit;
  opacity: 0.85;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .35s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }

/* ── Language toggle ─────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.lang-toggle [data-lang-flag] {
  font-size: 16px;
  line-height: 1;
}
.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}
.nav.scrolled .lang-toggle {
  border-color: var(--line);
  color: var(--ink);
}
.nav.scrolled .lang-toggle:hover {
  background: var(--bg-elev);
}
@media (max-width: 768px) {
  .lang-toggle [data-lang-label] { display: none; }
  .lang-toggle { padding: 0 10px; }
}

/* ----- Mobile menu toggle ----- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
}
.nav.is-hero .nav-toggle { border-color: rgba(255,255,255,0.4); color: #fff; }
.nav-toggle span {
  display: block;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
  transition: transform .35s var(--ease-out), opacity .25s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav.menu-open .nav-toggle span { background: transparent; }
.nav.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* mobile nav drawer */
@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100svh;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform .5s var(--ease-out);
    z-index: 90;
    border-left: 1px solid var(--line);
  }
  .nav.menu-open .nav-links { transform: translateX(0); }
  .nav-links a {
    color: var(--ink) !important;
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 300;
    letter-spacing: -0.01em;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav .btn-ghost { display: none; }
  .nav-inner { gap: 12px; }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(14, 42, 60, 0.5);
    backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s, visibility 0s linear .35s;
    z-index: 80;
  }
  .nav.menu-open ~ .nav-backdrop { opacity: 1; visibility: visible; transition: opacity .35s; }
}

/* ----------------------------------------------------- */
/* Logo image (replaces typographic brand)                */
/* ----------------------------------------------------- */
.brand {
  display: inline-flex; align-items: center;
  position: relative;
}
.brand img {
  height: 64px;
  width: auto;
  display: block;
  transition: opacity .4s var(--ease-out), height .4s var(--ease-out);
}
.nav.scrolled .brand img { height: 50px; }
.brand .logo-light,
.brand .logo-dark { display: block; }
/* Fix 6: hidden logo must not intercept pointer events — prevents micro-glitch at threshold */
.brand .logo-light { position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; }
.nav.is-hero .brand .logo-light { opacity: 1; pointer-events: auto; }
.nav.is-hero .brand .logo-dark  { opacity: 0; pointer-events: none; }

/* footer always dark bg → use light logo */
.footer .brand .logo-light { position: static; opacity: 1; }
.footer .brand .logo-dark  { display: none; }
.footer .brand img { height: 84px; }

/* ----------------------------------------------------- */
/* BUTTONS                                                 */
/* ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform .3s var(--ease-out), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-block;
  transition: transform .35s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--ink-2); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.btn-text {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 0;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}
.btn-text .arrow { transition: transform .35s var(--ease-out); }
.btn-text:hover .arrow { transform: translateX(6px); }

/* ----------------------------------------------------- */
/* HERO                                                    */
/* ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: -1;
  /* Fix 3: contain the parallax video so it never bleeds outside the hero */
  overflow: hidden;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* Fix 4: promote to its own GPU compositing layer to avoid repaints on scroll */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0,0,0,0.0), rgba(0,0,0,0.45) 70%),
    linear-gradient(180deg, rgba(8,16,28,0.35) 0%, rgba(8,16,28,0.15) 40%, rgba(8,16,28,0.65) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero-inner {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: clamp(40px, 6vh, 80px);
  padding-top: clamp(96px, 14vh, 140px);
  padding-bottom: clamp(24px, 4vh, 48px);
}
@media (max-width: 640px) {
  .hero-inner {
    grid-template-rows: auto auto 1fr auto;
    row-gap: clamp(20px, 3vh, 36px);
    padding-top: clamp(80px, 11vh, 110px);
  }
  .hero-content { justify-content: flex-start; }
}

.hero-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #6FE7A8; box-shadow: 0 0 12px #6FE7A8; }

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.02;
  font-size: clamp(32px, 5vw, 78px);
  color: #fff;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-headline em {
  font-family: 'Gambarino', serif;
  font-style: italic;
  font-weight: 400;
}
.hero-subline {
  margin-top: clamp(18px, 2.6vh, 28px);
  font-size: clamp(17px, 1.3vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-cta-row {
  margin-top: clamp(28px, 4vh, 44px);
  display: flex; flex-wrap: wrap; gap: 16px;
}
.hero .btn-primary { background: #fff; color: var(--ink); }
.hero .btn-primary:hover { background: var(--bg); }
.hero .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.hero-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .hero-bottom-bar > span:not(.scroll-cue) { display: none; }
  .hero-bottom-bar { justify-content: center; }
}
.hero-bottom-bar .scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-bottom-bar .scroll-cue .line {
  display: block;
  width: 1px; height: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  position: relative;
  overflow: hidden;
}
.hero-bottom-bar .scroll-cue .line::after {
  content: "";
  position: absolute; top: -32px; left: 0;
  width: 1px; height: 32px;
  background: #fff;
  animation: scrollCue 2.4s var(--ease-in-out) infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(0); }
  100% { transform: translateY(64px); }
}

/* ----------------------------------------------------- */
/* SECTION shared                                          */
/* ----------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(72px, 9vw, 140px) 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .section-head .headline-l { font-size: clamp(28px, 5.4vw, 48px); }
}

.section-meta {
  display: flex; flex-direction: column; gap: 18px;
}
.section-meta .num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* ----------------------------------------------------- */
/* INSTITUCIONAL                                           */
/* ----------------------------------------------------- */
.institucional {
  background: var(--bg);
  position: relative;
}
.institucional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) {
  .institucional-grid { grid-template-columns: 1fr; }
}
.institucional-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 22px;
  text-wrap: pretty;
}
.institucional-text p:last-child { margin-bottom: 0; }
.institucional-text .cta-row { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.institucional-aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.aside-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-elev);
}
.aside-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s var(--ease-out);
}
.aside-image.in img { transform: scale(1); }

.aside-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.aside-stats > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.aside-stats > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.aside-stats > div:nth-child(even) { padding-left: 22px; }
.aside-stats .k {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.aside-stats .l {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-top: 8px;
}

/* ----------------------------------------------------- */
/* INST DECO — SVG do V na section-head                   */
/* ----------------------------------------------------- */
.section-meta--deco {
  position: relative;
}

.inst-deco,
.socios-deco {
  position: absolute;
  bottom: calc(100% - 60px);
  top: calc(-1 * clamp(260px, 34vw, 460px));
  left: -70px;
  width: clamp(220px, 32vw, 420px);
  height: auto;
  color: var(--ink);
  pointer-events: none;
  z-index: 0;
  overflow: visible;
  opacity: 0.20;
}

.section-meta--deco > *:not(svg) {
  position: relative;
  z-index: 1;
}

@media (max-width: 880px) {
  .inst-deco,
  .socios-deco {
    display: none;
  }
}

/* ----------------------------------------------------- */
/* STATS BAND — faixa de indicadores full-width           */
/* ----------------------------------------------------- */
.stats-band {
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: none;
  padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
}
.stats-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 7vw, 100px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-suffix {
  font-size: 0.55em;
  font-weight: 300;
  color: var(--ink-soft);
  vertical-align: super;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  max-width: 18ch;
  margin: 0 auto;
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: clamp(60px, 8vw, 100px);
  background: var(--line);
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .stats-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-divider { display: none; }
  .stat-item {
    padding: clamp(28px, 4vw, 40px) 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }
}

/* ----------------------------------------------------- */
/* COMO ATUAMOS                                            */
/* ----------------------------------------------------- */
.atuamos {
  background: var(--ink);
  color: #fff;
}
.atuamos .eyebrow,
.atuamos .section-meta .num { color: rgba(255,255,255,0.55); }
.atuamos .headline-l { color: #fff; }
.atuamos .lede { color: rgba(255,255,255,0.7); }

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-left: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--ink);
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: background .6s var(--ease-out);
}
.pillar:hover { background: var(--ink-2); }
.pillar:hover .pillar-num { color: var(--accent); }
.pillar:hover .pillar-icon { transform: translateY(-4px) rotate(-3deg); }

.pillar-header {
  display: flex; align-items: center; justify-content: space-between;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  transition: color .4s;
}
.pillar-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  transition: transform .5s var(--ease-out);
}
.pillar-icon svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: auto;
}
.pillar p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.6;
  max-width: 38ch;
}
.pillar-cta {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; gap: 10px;
}
.pillar:hover .pillar-cta { color: #fff; }
.pillar-cta .arrow { transition: transform .4s var(--ease-out); }
.pillar:hover .pillar-cta .arrow { transform: translateX(6px); }

.atuamos-foot {
  margin-top: 64px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.atuamos-foot .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.atuamos-foot .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.atuamos .section-head .section-meta {
  align-self: end;
  text-align: right;
}
.atuamos .section-head .section-meta .eyebrow {
  justify-content: flex-end;
}
.atuamos .section-head .section-meta .eyebrow::before {
  display: none;
}
.atuamos .section-head .section-meta .eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ----------------------------------------------------- */
/* AUTORIDADE — parallax + counters                        */
/* ----------------------------------------------------- */
.autoridade {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(160px, 18vw, 240px) 0 clamp(120px, 14vw, 200px);
}
.autoridade-bg {
  position: absolute; inset: -15% 0;
  z-index: -1;
  background-image:
    url("https://krradypqfrkvhohvxnpr.supabase.co/storage/v1/object/public/images/5b0a6b42-2f70-4794-85db-71f45048b134/1779873625291-byfv2g.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  will-change: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
@supports (-webkit-touch-callout: none) {
  .autoridade-bg {
    background-attachment: scroll;
  }
}
.autoridade-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) {
  .autoridade-inner { grid-template-columns: 1fr; }
}
.autoridade .lede { color: rgba(255,255,255,0.78); }
.autoridade .eyebrow { color: rgba(255,255,255,0.7); }
.autoridade .headline-l { color: #fff; }

.counters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.18);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.counters > .counter:nth-child(5) {
  grid-column: 1 / -1;
}
.counter {
  background: transparent;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.counter:nth-child(2n) { border-right: none; }
.counter .num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 6.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
  display: flex; align-items: baseline; gap: 4px;
}
.counter .prefix,
.counter .suffix {
  font-size: 0.5em;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0;
}
.counter .label {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  max-width: 26ch;
}
.counter .marker {
  margin-bottom: 24px;
  display: inline-block;
  width: 24px; height: 1px;
  background: rgba(255,255,255,0.7);
}

/* ----------------------------------------------------- */
/* PROVA SOCIAL                                            */
/* ----------------------------------------------------- */
.prova {
  background: var(--ink);
  color: #fff;
}
.prova .eyebrow,
.prova .section-meta .num { color: rgba(255,255,255,0.55); }
.prova .headline-l,
.prova .headline-m { color: #fff; }
.prova .lede { color: rgba(255,255,255,0.72); }

.logo-marquee {
  margin-top: clamp(48px, 6vw, 88px);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: var(--ink);
}
.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.logo-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.logo-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-cell {
  flex-shrink: 0;
  width: clamp(160px, 16vw, 220px);
  height: 130px;
  display: grid; place-items: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  transition: background .4s;
}
.logo-cell:hover { background: rgba(255,255,255,0.04); }
.logo-cell img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter .5s var(--ease-out), transform .5s var(--ease-out);
}
.logo-cell:hover img {
  filter: brightness(1) invert(0) opacity(1);
  transform: scale(1.04);
}
/* Logos that are already light-on-transparent — keep them light */
.logo-cell.is-light img {
  filter: brightness(0) invert(1) opacity(0.85);
}
.logo-cell.is-light:hover img {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.04);
}
.logo-cell .label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  transition: color .3s;
}
.logo-cell:hover .label { color: #fff; }

.testimonials {
  margin-top: clamp(72px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 880px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--ink);
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.testimonial img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) contrast(1.02) brightness(0.7);
  transition: transform .9s var(--ease-out), filter .6s;
}
.testimonial:hover img { transform: scale(1.04); filter: grayscale(0.2) contrast(1.05) brightness(0.85); }
.testimonial::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,16,28,0) 30%, rgba(8,16,28,0.78) 100%);
}
.testimonial-meta {
  position: absolute;
  left: 22px; right: 22px; bottom: 22px;
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  z-index: 2;
}
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.testimonial-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
.play-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .3s, transform .3s;
}
.testimonial:hover .play-btn { background: #fff; transform: scale(1.06); }
.play-btn svg { width: 14px; height: 14px; fill: #fff; transition: fill .3s; }
.testimonial:hover .play-btn svg { fill: var(--ink); }

/* ----------------------------------------------------- */
/* CULTURA                                                 */
/* ----------------------------------------------------- */
.cultura {
  background: var(--bg-elev);
}
.cultura-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 880px) {
  .cultura-grid { grid-template-columns: 1fr; }
  .cultura-left { position: static !important; }
}

.cultura-left {
  position: sticky; top: 120px;
  display: flex; flex-direction: column; gap: 22px;
  max-width: 100%;
}
.cultura-left .headline-l {
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 300;
}
.cultura-left p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  max-width: 38ch;
}

.cultura-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 720px) { .cultura-cards { grid-template-columns: 1fr; } }

.cultura-card {
  background: #E5E0D6;
  padding: clamp(35px, 3.3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  transition: background .4s;
}
.cultura-card:hover { background: var(--bg-card); }
.cultura-card .num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.cultura-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 24px);
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin-top: auto;
}
.cultura-card h3 em { font-family: var(--font-display); font-style: normal; }
.cultura-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ----------------------------------------------------- */
/* SÓCIOS                                                  */
/* ----------------------------------------------------- */
.socios {
  background: var(--bg);
  position: relative;
}
.socios-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.socio {
  background: var(--bg);
  padding: clamp(36px, 4vw, 56px) 0;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  position: relative;
  cursor: pointer;
  transition: background .4s;
}
@media (max-width: 880px) {
  .socio { grid-template-columns: 1fr; gap: 24px; }
  .socio-portrait { max-width: 320px; }
  .socio-cta { justify-self: start; }
}
.socio:hover { background: var(--bg-card); }
.socio:hover .socio-portrait img { transform: scale(1.04); }
.socio:hover .socio-cta { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.socio-portrait {
  width: 280px;
  height: 350px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
  flex-shrink: 0;
}
@media (max-width: 880px) {
  .socio-portrait { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4/5; }
}
.socio-portrait .socio-num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.socio-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform .8s var(--ease-out);
}
.socio:hover .socio-portrait img { filter: none; }
.socio-portrait::after {
  display: none;
}

.socio-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.socio-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.socio-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 2.6vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.socio-role {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.socio-teaser {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  margin-top: 8px;
}
.socio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.socio-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
}

.socio-cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.socio-cta .arrow { transition: transform .35s var(--ease-out); }
.socio:hover .socio-cta .arrow { transform: translateX(4px); }

/* hidden full-bio data block — read by JS */
.socio-full { display: none; }

.socios-leadership {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

/* ----------------------------------------------------- */
/* MODAL — Sócio detail                                    */
/* ----------------------------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0;
  z-index: 200;
  background: rgba(14, 42, 60, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility 0s linear .4s;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  overscroll-behavior: contain;
  touch-action: none;
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s var(--ease-out);
}
.modal {
  background: var(--bg);
  width: 100%;
  max-width: 1080px;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
  position: relative;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease-out);
}
.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
@media (max-width: 760px) {
  .modal {
    position: relative;
    grid-template-columns: 1fr;
    max-height: 92svh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .modal-portrait { width: 100%; height: 280px; aspect-ratio: auto; }
  .modal-body { max-height: none; overflow: visible; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 210;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(14, 42, 60, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
  color: #fff;
  font-size: 18px;
}
.modal-close:hover { background: #fff; color: var(--ink); transform: rotate(90deg); }

.modal-portrait {
  width: 360px;
  height: 100%;
  min-height: 450px;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}
.modal-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: none;
}
.modal-portrait::after {
  display: none;
}
.modal-portrait .num {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-family: var(--font-display);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.modal-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  max-height: 92vh;
}
.modal-role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.modal-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.modal-bio p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.modal-bio p:last-child { margin-bottom: 0; }

.modal-meta {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.modal-meta .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modal-meta .k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.modal-meta .v {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: var(--scroll-y, 0);
}

/* ----------------------------------------------------- */
/* CTA FINAL                                               */
/* ----------------------------------------------------- */
.cta {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(17, 112, 112, 0.22), transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(17, 112, 112, 0.14), transparent 60%);
}
.cta-inner {
  padding: clamp(100px, 12vw, 180px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
  position: relative;
}
.cta-headline {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(36px, 5.6vw, 84px);
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: #fff;
  max-width: 22ch;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.cta-headline em { font-family: 'Gambarino', serif; font-style: italic; font-weight: 400; }
.cta-lede {
  font-size: clamp(17px, 1.3vw, 20px);
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  line-height: 1.55;
  text-wrap: pretty;
}
.cta .btn-primary {
  background: #fff; color: var(--ink);
  padding: 18px 34px;
  font-size: 15px;
}
.cta .btn-primary:hover { background: var(--accent); color: var(--ink); }

/* ----------------------------------------------------- */
/* FOOTER                                                  */
/* ----------------------------------------------------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand .brand {
    display: flex;
    justify-content: center;
  }
  .footer-col h4 {
    text-align: center;
  }
  .footer-col p,
  .footer-col a {
    text-align: center;
  }
}

.footer-brand .brand { color: #fff; }
.footer-brand p {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col p, .footer-col a {
  font-size: 14px;
  line-height: 1.65;
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.75);
  transition: color .3s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
@media (max-width: 540px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

/* ----------------------------------------------------- */
/* Headline size overrides                                 */
/* ----------------------------------------------------- */
.atuamos .headline-l {
  max-width: 20ch;
}
.prova .headline-l {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

/* ----------------------------------------------------- */
/* CONTATO FORM — WhatsApp                                 */
/* ----------------------------------------------------- */
.contato-form {
  background: var(--bg-elev);
}
.contato-form-inner {
  max-width: 860px;
  margin: 0 auto;
}
.contato-form-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.form-field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  width: 100%;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #c0392b;
}
.form-field.has-error input:focus,
.form-field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.form-error {
  font-size: 12px;
  color: #c0392b;
  display: none;
}
.form-field.has-error .form-error {
  display: block;
}
.form-submit-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  padding: 16px 28px;
  font-size: 15px;
  gap: 10px;
}
.btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}

/* ----------------------------------------------------- */
/* Reduced motion                                          */
/* ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-words .word > span { transform: none; }
}

/* =============================================
   MODAL CONTATO
   ============================================= */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.form-modal[hidden] {
  display: none;
}
.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 38, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.form-modal-panel {
  position: relative;
  background: var(--bg);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 56px);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 24px 80px rgba(10, 26, 38, 0.18);
}
.form-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 6px;
  line-height: 1;
  transition: color .2s;
}
.form-modal-close:hover { color: var(--ink); }

.form-modal:not([hidden]) .form-modal-panel {
  animation: modalIn .3s var(--ease-out) both;
}
.form-modal:not([hidden]) .form-modal-backdrop {
  animation: fadeIn .3s ease both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (max-width: 540px) {
  .form-modal { padding: 0; align-items: flex-end; }
  .form-modal-panel { border-radius: 16px 16px 0 0; max-height: 95vh; }
}

/* =============================================
   PÁGINAS DE SERVIÇO
   ============================================= */
.servico-hero {
  padding-top: clamp(120px, 16vw, 180px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.servico-hero .eyebrow { margin-bottom: 24px; }
.servico-hero .headline-xl {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.06;
  max-width: 18ch;
  margin-bottom: 32px;
}
.servico-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}

.servico-intro {
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.servico-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.servico-intro-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.servico-intro-body {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
  color: var(--ink-soft);
}
.servico-intro-body p + p { margin-top: 20px; }
@media (max-width: 860px) {
  .servico-intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

.sub-servico {
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.sub-servico + .sub-servico { border-top: none; }
.sub-servico-header { margin-bottom: clamp(40px, 5vw, 64px); }
.sub-servico-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 32px;
  margin-bottom: 20px;
}
.sub-servico-header h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.12;
  max-width: 22ch;
  margin-bottom: 20px;
}
.sub-servico-header .sub-servico-lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
}
.sub-servico-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
}
.sub-servico-col h4 {
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.sub-servico-col p,
.sub-servico-col li {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
}
.sub-servico-col ul {
  list-style: none;
  padding: 0; margin: 0;
}
.sub-servico-col ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
}
.sub-servico-col ul li::before {
  content: "—";
  color: var(--ink-mute);
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .sub-servico-body { grid-template-columns: 1fr; gap: 40px; }
}

.servico-closing {
  padding: clamp(64px, 8vw, 120px) 0;
  background: #0e2a3c;
}
.servico-closing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.servico-closing .headline-m {
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  color: #fff;
  margin: 0;
}
.servico-closing-right p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .servico-closing-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =============================================
   FAQ — Páginas de Serviço
   ============================================= */
.servico-faq {
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.servico-faq-header {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.servico-faq-header .eyebrow { margin-bottom: 16px; }
.servico-faq-header h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  max-width: 32ch;
}
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  color: var(--ink);
  font-family: inherit;
  transition: color .2s;
}
.faq-question:hover { color: var(--ink-soft); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--ink-mute);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 12px; transition: transform .3s var(--ease-out); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease-out);
}
.faq-item.is-open .faq-answer { max-height: 400px; }
.faq-answer p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: var(--ink-soft);
  padding-bottom: 24px;
  max-width: 68ch;
}

/* =============================================
   PÁGINAS DE SERVIÇO — sub landing pages
   ============================================= */
:root { --dark: #0E2A3C; }

/* --- HERO PARALLAX ----------------------------- */
.sp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(100px, 14vw, 160px);
  padding-bottom: clamp(64px, 8vw, 120px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.sp-hero-bg {
  position: absolute; inset: -15% 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(8,16,28,0.45) 0%, rgba(8,16,28,0.72) 60%, rgba(8,16,28,0.92) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  will-change: auto;
}
@supports (-webkit-touch-callout: none) {
  .sp-hero-bg { background-attachment: scroll; inset: 0; }
}
.sp-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.sp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}
.sp-hero-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: rgba(255,255,255,0.45);
}
.sp-hero h1 {
  font-size: clamp(28px, 4.2vw, 68px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 28px;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 680px) {
  .sp-hero h1 {
    font-size: clamp(24px, 6vw, 36px);
    max-width: 100%;
    letter-spacing: -0.01em;
  }
}
.sp-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 54ch;
  margin-bottom: 40px;
}
.sp-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- INTRO STRIP (bege) ----------------------- */
.sp-intro,
.sp-toggle-section,
.sp-flow,
.sp-for,
.sp-faq,
.sp-closing {
  overflow: hidden;
}
.sp-intro {
  background: var(--bg);
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.sp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.sp-intro-left .eyebrow { margin-bottom: 20px; }
.sp-intro-left h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  font-weight: 400;
  color: var(--ink);
}
.sp-intro-right p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.sp-intro-right p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .sp-intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- TOGGLE (escuro) -------------------------- */
.sp-toggle-section {
  background: var(--dark);
  color: #fff;
  padding: clamp(64px, 8vw, 120px) 0;
}
.sp-toggle-header { margin-bottom: clamp(40px, 5vw, 64px); }
.sp-toggle-header .eyebrow { color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.sp-toggle-header h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 300;
  color: #fff;
  max-width: 28ch;
}
.sp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
  overflow-x: hidden;
  scrollbar-width: none;
  flex-wrap: wrap;
}
.sp-tabs::-webkit-scrollbar { display: none; }
.sp-tab {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background .25s, border-color .25s, color .25s;
}
.sp-tab:hover {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
}
.sp-tab.is-active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.sp-tab-panel { display: none; }
.sp-tab-panel.is-active {
  display: block;
  animation: panelIn .3s ease both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sp-panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: clamp(32px, 4vw, 48px);
}
.sp-panel-grid > * { min-width: 0; }
@media (max-width: 920px) { .sp-panel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .sp-panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sp-tabs { gap: 6px; }
  .sp-tab { padding: 10px 16px; font-size: 11px; }
}
.sp-panel-col h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sp-panel-col-desc {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
}
.sp-panel-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.sp-panel-list li {
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; gap: 10px; align-items: baseline;
}
.sp-panel-list li::before {
  content: "—";
  color: rgba(255,255,255,0.3);
  flex-shrink: 0; font-size: 12px;
}

/* --- FLUXO DE ATUAÇÃO (bege) ------------------ */
.sp-flow {
  background: var(--bg);
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.sp-flow-header { margin-bottom: clamp(48px, 6vw, 80px); }
.sp-flow-header .eyebrow { margin-bottom: 16px; }
.sp-flow-header h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  max-width: 28ch;
}
.sp-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.sp-flow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.sp-flow-step {
  padding: 0 clamp(12px, 2vw, 24px);
  position: relative;
  z-index: 1;
  min-width: 0;
}
.sp-flow-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 20px;
  transition: background .4s, border-color .4s, color .4s;
}
.sp-flow-step.in .sp-flow-step-num {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}
.sp-flow-step h4 {
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500; color: var(--ink);
  margin-bottom: 10px; line-height: 1.3;
}
.sp-flow-step p {
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.65; color: var(--ink-soft);
}
@media (max-width: 760px) {
  .sp-flow-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sp-flow-steps::before { display: none; }
}
@media (max-width: 480px) { .sp-flow-steps { grid-template-columns: 1fr; } }
.sp-flow-step { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.sp-flow-step.in { opacity: 1; transform: translateY(0); }
.sp-flow-step:nth-child(1) { transition-delay: 0ms; }
.sp-flow-step:nth-child(2) { transition-delay: 120ms; }
.sp-flow-step:nth-child(3) { transition-delay: 240ms; }
.sp-flow-step:nth-child(4) { transition-delay: 360ms; }

/* --- PARA QUEM É INDICADO (escuro) ------------ */
.sp-for {
  background: var(--dark);
  color: #fff;
  padding: clamp(64px, 8vw, 120px) 0;
}
.sp-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.sp-for-left .eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.sp-for-left h2 {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 300; color: #fff;
  line-height: 1.2; margin-bottom: 24px;
}
.sp-for-left p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75; color: rgba(255,255,255,0.65);
}
.sp-for-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sp-for-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; padding: 20px;
  transition: background .3s;
}
.sp-for-card:hover { background: rgba(255,255,255,0.08); }
.sp-for-card-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: rgba(255,255,255,0.6);
}
.sp-for-card-icon svg { width: 16px; height: 16px; }
.sp-for-card p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); }
@media (max-width: 860px) {
  .sp-for-grid { grid-template-columns: 1fr; }
  .sp-for-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .sp-for-cards { grid-template-columns: 1fr; } }

/* --- FAQ (bege) -------------------------------- */
.sp-faq {
  background: var(--bg);
  padding: clamp(64px, 8vw, 120px) 0;
  border-bottom: 1px solid var(--line);
}
.sp-faq-header { margin-bottom: clamp(40px, 5vw, 64px); }
.sp-faq-header .eyebrow { margin-bottom: 16px; }
.sp-faq-header h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; max-width: 28ch; }
.sp-faq-list { max-width: 820px; }
.sp-faq-item { border-top: 1px solid var(--line); }
.sp-faq-item:last-child { border-bottom: 1px solid var(--line); }
.sp-faq-q {
  width: 100%; background: none; border: none;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer; text-align: left;
  font-size: clamp(15px, 1.2vw, 16px);
  font-weight: 500; color: var(--ink);
  font-family: inherit; transition: color .2s;
}
.sp-faq-q:hover { color: var(--ink-soft); }
.sp-faq-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  position: relative; color: var(--ink-mute);
}
.sp-faq-icon::before, .sp-faq-icon::after {
  content: ''; position: absolute;
  background: currentColor; border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.sp-faq-icon::before { width: 12px; height: 1.5px; }
.sp-faq-icon::after { width: 1.5px; height: 12px; transition: transform .3s var(--ease-out); }
.sp-faq-item.is-open .sp-faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.sp-faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease-out); }
.sp-faq-item.is-open .sp-faq-a { max-height: 400px; }
.sp-faq-a p {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.78; color: var(--ink-soft);
  padding-bottom: 22px; max-width: 68ch;
}

/* --- CLOSING CTA (escuro) --------------------- */
.sp-closing {
  background: var(--dark);
  color: #fff;
  padding: clamp(80px, 10vw, 160px) 0;
}
.sp-closing-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.sp-closing h2 {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  max-width: 22ch;
  margin-bottom: 20px;
}
.sp-closing p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 52ch;
}
.sp-closing-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: clamp(28px, 3vw, 40px);
}
.sp-closing-actions .btn {
  width: 100%;
  justify-content: center;
}
.sp-closing-note {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 16px;
  width: 100%;
}
@media (max-width: 760px) {
  .sp-closing-inner { grid-template-columns: 1fr; }
}

/* =============================================
   CARROSSEL DE LISTA — painéis de serviço
   ============================================= */
.sp-carousel-col {
  display: flex;
  flex-direction: column;
}
.sp-carousel-col h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sp-carousel-stage {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  flex: 1;
}
.sp-carousel-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}
.sp-carousel-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.sp-carousel-item::before {
  content: "—";
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  font-size: 12px;
}
.sp-carousel-item span {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}
.sp-carousel-progress {
  margin-top: 20px;
  height: 2px;
  background: rgba(255,255,255,0.10);
  border-radius: 2px;
  overflow: hidden;
}
.sp-carousel-bar {
  height: 100%;
  background: rgba(255,255,255,0.55);
  border-radius: 2px;
  width: 0%;
  transition: width linear;
}
.sp-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.sp-carousel-counter {
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.35);
}
.sp-carousel-nav {
  display: flex;
  gap: 8px;
}
.sp-carousel-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-size: 12px;
  line-height: 1;
  padding: 0;
  font-family: inherit;
}
.sp-carousel-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* =============================================
   ACCORDION CARROSSEL — páginas de serviço
   ============================================= */
.sp-acc-list { margin-top: 8px; }
.sp-acc-item { border-top: 1px solid rgba(255,255,255,0.10); }
.sp-acc-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.sp-acc-trigger {
  width: 100%; background: none; border: none;
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-family: inherit; gap: 12px;
}
.sp-acc-trigger-left { display: flex; align-items: center; gap: 12px; }
.sp-acc-num { font-size: 11px; letter-spacing: .10em; color: rgba(255,255,255,0.25); flex-shrink: 0; }
.sp-acc-label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.40); transition: color .2s; text-align: left;
}
.sp-acc-item.is-open .sp-acc-label { color: #fff; }
.sp-acc-icon {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.40); font-size: 16px; font-weight: 300;
  line-height: 1; transition: background .2s, color .2s, transform .3s; flex-shrink: 0;
}
.sp-acc-item.is-open .sp-acc-icon {
  background: rgba(255,255,255,0.12); color: #fff; transform: rotate(45deg);
}
.sp-acc-body { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(0.4,0,0.2,1); }
.sp-acc-item.is-open .sp-acc-body { max-height: 300px; }
.sp-acc-carousel { padding-bottom: 20px; }
.sp-acc-stack { position: relative; height: 140px; margin-bottom: 14px; overflow: hidden; }
.sp-acc-card {
  position: absolute; left: 0; width: 100%;
  padding: 14px 18px; border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
  transition: all 0.45s cubic-bezier(0.4,0,0.2,1);
}
.sp-acc-card.active {
  top: 0; transform: scale(1); opacity: 1;
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.15); z-index: 3;
}
.sp-acc-card.peek-1 {
  top: 56px; transform: scale(0.96); opacity: 0.35;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); z-index: 2; pointer-events: none;
}
.sp-acc-card.peek-2 {
  top: 100px; transform: scale(0.92); opacity: 0.15;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); z-index: 1; pointer-events: none;
}
.sp-acc-card.out-top { top: -56px; transform: scale(0.92); opacity: 0; z-index: 0; pointer-events: none; }
.sp-acc-card.hidden { top: 160px; opacity: 0; z-index: 0; pointer-events: none; }
.sp-acc-card-dash { color: rgba(255,255,255,0.25); font-size: 12px; flex-shrink: 0; }
.sp-acc-card.active .sp-acc-card-text { font-size: clamp(13px,1.1vw,15px); line-height: 1.55; color: rgba(255,255,255,0.85); }
.sp-acc-card.peek-1 .sp-acc-card-text { font-size: 13px; color: rgba(255,255,255,0.38); }
.sp-acc-card.peek-2 .sp-acc-card-text { font-size: 12px; color: rgba(255,255,255,0.18); }
.sp-acc-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sp-acc-progress { flex: 1; height: 1.5px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.sp-acc-bar { height: 100%; background: rgba(255,255,255,0.45); border-radius: 2px; width: 0%; }
.sp-acc-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sp-acc-counter { font-size: 11px; color: rgba(255,255,255,0.28); letter-spacing: .06em; min-width: 32px; text-align: center; }
.sp-acc-nav { display: flex; gap: 6px; }
.sp-acc-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1; font-family: inherit;
  transition: background .2s, color .2s;
}
.sp-acc-btn:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Grid 2 colunas para painéis com accordion */
.sp-panel-grid { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 860px) { .sp-panel-grid { grid-template-columns: 1fr; } }

/* Camada de segurança anti-overflow para telas ≤ 480px */
@media (max-width: 480px) {
  .sp-toggle-section,
  .sp-flow,
  .sp-for,
  .sp-faq,
  .sp-closing {
    overflow-x: hidden;
  }
  .sp-panel-grid,
  .sp-for-grid,
  .sp-closing-inner {
    width: 100%;
    max-width: 100%;
  }
}
