/* ==========================================================================
   VIGNATAX — Editorial Tributário
   Stylesheet (BEM)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --color-teal: #0A3B45;
  --color-teal-deep: #062930;
  --color-teal-soft: #11525E;
  --color-offwhite: #F4EFE3;
  --color-offwhite-2: #EAE3D2;
  --color-gold: #C9A24F;
  --color-gold-deep: #B08F3F;
  --color-orange: #FFA535;
  --color-white: #FFFFFF;
  --color-ink: #1A2D32;
  --color-ink-soft: #5A6B70;
  --color-line-light: rgba(10, 59, 69, 0.12);
  --color-line-dark: rgba(244, 239, 227, 0.14);

  --font-display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);
  /* distância do edge do viewport até o content-edge do container (gutter incluso) */
  --container-edge: calc(var(--gutter) + max(0px, (100vw - var(--maxw)) / 2));

  --radius-pill: 999px;
  --radius-card: 24px;

  --ease-out: cubic-bezier(.16,.84,.32,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ---------- Reusable utilities ---------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* Reveal-on-scroll base state (JS toggles .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Block: section-label (orange/gold pill or kicker) ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-label--on-dark { color: var(--color-gold); }
.section-label--on-light { color: var(--color-gold-deep); }

/* ---------- Block: title (editorial headings) ---------- */
.title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.title em {
  font-style: normal;
  color: var(--color-gold);
  font-weight: 700;
}
.title--xl  { font-size: clamp(38px, 4.9vw, 72px); letter-spacing: -0.028em; }
.title--lg  { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.025em; }
.title--md  { font-size: clamp(26px, 3.2vw, 42px); letter-spacing: -0.022em; }
.title--sm  { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.018em; }
.title--on-dark  { color: var(--color-white); }
.title--on-light { color: var(--color-teal); }

/* ---------- Block: lede (intro paragraph) ---------- */
.lede {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.65;
  color: var(--color-ink-soft);
  max-width: 56ch;
}
.lede--on-dark { color: rgba(244, 239, 227, 0.78); }

/* ---------- Block: btn ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow {
  display: inline-block;
  transition: transform .35s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--color-gold);
  color: var(--color-teal-deep);
}
.btn--primary:hover { background: var(--color-orange); color: var(--color-teal-deep); }

.btn--ghost-dark {
  background: transparent;
  color: var(--color-white);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 227, 0.35);
}
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1px var(--color-gold); color: var(--color-gold); }

.btn--ghost-light {
  background: transparent;
  color: var(--color-teal);
  box-shadow: inset 0 0 0 1px rgba(10, 59, 69, 0.25);
}
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1px var(--color-teal); }

.btn--sm { padding: 11px 18px; font-size: 13px; }

/* ---------- Block: dots (decorative dot grid) ---------- */
.dots {
  --dot: rgba(201, 162, 79, 0.55);
  --dot-size: 3px;
  --dot-gap: 14px;
  width: 168px;
  height: 84px;
  background-image: radial-gradient(circle, var(--dot) 1.4px, transparent 1.4px);
  background-size: var(--dot-gap) var(--dot-gap);
  pointer-events: none;
}
.dots--on-dark { --dot: rgba(201, 162, 79, 0.55); }
.dots--on-light { --dot: rgba(10, 59, 69, 0.35); }
.dots--lg { width: 220px; height: 140px; }
.dots--xl { width: 280px; height: 180px; }

/* ---------- Block: ornament-pill (decorative gold pill, like apresentação) ---------- */
.ornament-pill {
  height: 26px;
  width: 130px;
  background: var(--color-gold);
  border-radius: var(--radius-pill);
}
.ornament-pill--with-dots {
  position: relative;
}
.ornament-pill--with-dots::after,
.ornament-pill--with-dots::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--color-gold);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ornament-pill--with-dots::after  { left: calc(100% + 14px); }
.ornament-pill--with-dots::before { left: calc(100% + 40px); width: 10px; height: 10px; }

/* ---------- Block: ornament-rings (three concentric circles, like slide) ---------- */
.ornament-rings {
  width: 84px;
  height: 28px;
  position: relative;
}
.ornament-rings span {
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 79, 0.55);
}
.ornament-rings span:nth-child(1) { left: 0;  }
.ornament-rings span:nth-child(2) { left: 22px; }
.ornament-rings span:nth-child(3) { left: 44px; }

/* ==========================================================================
   Block: site-header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 59, 69, 0.0);
  transition: background .35s var(--ease-out), backdrop-filter .35s var(--ease-out), padding .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(10, 59, 69, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(244, 239, 227, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}
.site-header__logo {
  width: 148px;
  flex: 0 0 auto;
}
.site-header__logo svg { width: 100%; height: auto; }

.site-header__nav {
  display: flex;
  gap: 36px;
}
.site-header__link {
  color: rgba(244, 239, 227, 0.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease-out);
}
.site-header__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--color-gold);
  transition: right .35s var(--ease-out);
}
.site-header__link:hover { color: var(--color-white); }
.site-header__link:hover::after { right: 0; }

.site-header__cta { flex: 0 0 auto; }

.site-header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 227, 0.3);
  position: relative;
}
.site-header__burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1px;
  background: var(--color-offwhite);
  transition: transform .35s var(--ease-out), opacity .25s;
}
.site-header__burger span:nth-child(1) { top: 17px; }
.site-header__burger span:nth-child(2) { top: 22px; }
.site-header__burger span:nth-child(3) { top: 27px; }
.site-header.is-open .site-header__burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.is-open .site-header__burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-header__burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .site-header__nav,
  .site-header__cta { display: none; }
  .site-header__burger { display: block; }

  .site-header__mobile {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--color-teal-deep);
    padding: 96px var(--gutter) 40px;
    transform: translateY(-100%);
    transition: transform .5s var(--ease-out);
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow-y: auto;
  }
  .site-header.is-open .site-header__mobile { transform: translateY(0); }
  .site-header__mobile a {
    color: var(--color-offwhite);
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.018em;
  }
  .site-header__mobile .btn {
    align-self: flex-start;
    margin-top: 18px;
    padding: 12px 22px;
    font-size: 14px;
  }
  .site-header__mobile .btn .btn__arrow { font-size: 16px; }
}
.site-header__mobile { display: none; }
@media (max-width: 960px) { .site-header__mobile { display: flex; } }

/* ==========================================================================
   Block: hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--color-teal);
  color: var(--color-white);
  padding: clamp(160px, 18vw, 220px) 0 clamp(100px, 14vw, 160px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(201, 162, 79, 0.14), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(255, 165, 53, 0.08), transparent 60%);
  z-index: -1;
}
.hero__bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  z-index: -1;
  pointer-events: none;
}

.hero__ornament-pill {
  position: absolute;
  top: 130px;
  left: -32px;
  z-index: 1;
}
.hero__dots-top {
  position: absolute;
  top: 130px;
  right: 9%;
}
.hero__dots-bottom {
  position: absolute;
  bottom: 60px;
  left: 8%;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__dots-top, .hero__dots-bottom, .hero__ornament-pill { display: none; }
}

.hero__kicker { margin-bottom: 24px; }
.hero__title { margin-bottom: 28px; }
.hero__title-line { display: block; }
.hero__lede {
  font-size: clamp(16px, 1.25vw, 19px);
  color: rgba(244, 239, 227, 0.78);
  max-width: 52ch;
  margin-bottom: 40px;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__sidecard {
  position: relative;
  background: rgba(244, 239, 227, 0.04);
  border: 1px solid rgba(244, 239, 227, 0.12);
  border-radius: var(--radius-card);
  padding: 36px 36px 32px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero__sidecard-tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 18px;
}
.hero__sidecard-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--color-white);
  margin-bottom: 28px;
}
.hero__sidecard-quote em { font-style: normal; color: var(--color-gold); font-weight: 600; }
.hero__sidecard-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 227, 0.14);
}
.hero__sidecard-footer-label {
  font-size: 13px;
  color: rgba(244, 239, 227, 0.6);
  letter-spacing: 0.04em;
}
.hero__sidecard-footer-strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-gold);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll span {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scroll-pulse 2.6s var(--ease-out) infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.4; }
}

/* ==========================================================================
   Block: section (generic section base)
   ========================================================================== */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--dark  { background: var(--color-teal);    color: var(--color-white); }
.section--light { background: var(--color-offwhite); color: var(--color-ink); }
.section--deepdark { background: var(--color-teal-deep); color: var(--color-white); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
@media (max-width: 820px) {
  .section__head { grid-template-columns: 1fr; gap: 22px; }
}
.section__kicker { display: flex; flex-direction: column; gap: 16px; }
.section__title { }
.section__lede { font-size: clamp(16px, 1.2vw, 18px); max-width: 60ch; }

/* ==========================================================================
   Block: about (Quem Somos — light)
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
}
.about__copy { display: flex; flex-direction: column; gap: 28px; }
.about__intro {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.32;
  color: var(--color-teal);
  letter-spacing: -0.01em;
}
.about__intro em { font-style: normal; color: var(--color-gold-deep); font-weight: 600; }
.about__paragraph { color: var(--color-ink-soft); max-width: 56ch; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-line-light);
  border: 1px solid var(--color-line-light);
}
.about__stat {
  background: var(--color-offwhite);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .35s var(--ease-out);
}
.about__stat:hover { background: var(--color-offwhite-2); }
.about__stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--color-teal);
}
.about__stat-value sup {
  font-size: 0.45em;
  vertical-align: super;
  color: var(--color-gold-deep);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}
.about__stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-ink-soft);
  font-weight: 500;
}

/* ==========================================================================
   Block: impact (Números de impacto — dark)
   ========================================================================== */
.impact {
  position: relative;
  overflow: hidden;
}
.impact__heading {
  text-align: center;
  max-width: 880px;
  margin: 0 auto clamp(56px, 7vw, 96px);
}
.impact__heading .section-label { justify-content: center; }
.impact__heading .section-label::before { display: none; }

.impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-line-dark);
}
@media (max-width: 820px) {
  .impact__grid { grid-template-columns: 1fr; }
  .impact__cell + .impact__cell { border-top: 1px solid var(--color-line-dark); }
}
.impact__cell {
  padding: 48px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.impact__cell + .impact__cell { border-left: 1px solid var(--color-line-dark); }
@media (max-width: 820px) {
  .impact__cell + .impact__cell { border-left: 0; }
}
.impact__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--color-white);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.impact__num-prefix,
.impact__num-suffix {
  font-size: 0.32em;
  color: var(--color-gold);
  margin-top: 0.4em;
  letter-spacing: 0;
}
.impact__label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.impact__desc {
  color: rgba(244, 239, 227, 0.72);
  font-size: 15px;
  line-height: 1.55;
  max-width: 30ch;
}

/* ==========================================================================
   Block: lines (3 Linhas de Serviço — light)
   ========================================================================== */
.lines__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) {
  .lines__grid { grid-template-columns: 1fr; }
}
.lines__card {
  position: relative;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: 220px / 70px 70px 220px 220px;
  border-radius: var(--radius-card);
  padding: 44px 36px 40px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.lines__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(10, 59, 69, 0.45);
}
.lines__card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(201, 162, 79, 0.0), rgba(201, 162, 79, 0.35));
  z-index: 0;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.lines__card:hover::before { opacity: 0.5; }
.lines__card > * { position: relative; z-index: 1; }

.lines__card-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  font-weight: 500;
}
.lines__card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 79, 0.16);
  margin: 24px 0 32px;
  color: var(--color-gold);
}
.lines__card-icon svg { width: 28px; height: 28px; }
.lines__card-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.lines__card-desc {
  color: rgba(244, 239, 227, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.lines__card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(244, 239, 227, 0.88);
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 227, 0.14);
}
.lines__card-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.lines__card-list li::before {
  content: "—";
  color: var(--color-gold);
}

/* ==========================================================================
   Block: solutions (Soluções em destaque — dark)
   ========================================================================== */
.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line-dark);
  border: 1px solid var(--color-line-dark);
}
@media (max-width: 960px) { .solutions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solutions__grid { grid-template-columns: 1fr; } }

.solutions__cell {
  background: var(--color-teal);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  position: relative;
  transition: background .35s var(--ease-out);
}
.solutions__cell:hover {
  background: var(--color-teal-soft);
}
.solutions__cell-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}
.solutions__cell-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--color-white);
}
.solutions__cell-desc {
  color: rgba(244, 239, 227, 0.7);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.solutions__cell-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .35s var(--ease-out);
}
.solutions__cell:hover .solutions__cell-link { gap: 14px; color: var(--color-orange); }

/* ==========================================================================
   Block: feature-quote (Destaque editorial — light)
   ========================================================================== */
.feature-quote {
  background: var(--color-offwhite);
  position: relative;
  overflow: hidden;
}
.feature-quote::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--color-gold);
}
.feature-quote__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 960px) {
  .feature-quote__inner { grid-template-columns: 1fr; gap: 40px; }
}
.feature-quote__tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.feature-quote__tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-gold);
}
.feature-quote__tag-text {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 500;
}
.feature-quote__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-teal);
  margin-bottom: 28px;
}
.feature-quote__title em { font-style: normal; color: var(--color-gold-deep); font-weight: 600; }
.feature-quote__sub {
  font-family: var(--font-body);
  color: var(--color-ink-soft);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  max-width: 48ch;
}
.feature-quote__stat {
  background: var(--color-teal);
  color: var(--color-white);
  padding: 56px 48px;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}
.feature-quote__stat::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(201,162,79,0.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.feature-quote__stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(72px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--color-white);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 18px;
}
.feature-quote__stat-value sup {
  font-size: 0.32em;
  color: var(--color-gold);
  margin-top: 0.4em;
  font-family: var(--font-body);
  font-weight: 600;
}
.feature-quote__stat-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  color: var(--color-gold);
  margin-bottom: 24px;
}
.feature-quote__stat-desc {
  color: rgba(244, 239, 227, 0.78);
  font-size: 14.5px;
  line-height: 1.6;
  border-top: 1px solid rgba(244, 239, 227, 0.18);
  padding-top: 20px;
}

/* ==========================================================================
   Block: complexity (Complexidade tributária — dark)
   ========================================================================== */
.complexity__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 88px);
}
@media (max-width: 820px) { .complexity__head { grid-template-columns: 1fr; gap: 24px; } }
.complexity__title em { font-style: normal; color: var(--color-gold); font-weight: 600; }
.complexity__sub {
  color: rgba(244, 239, 227, 0.72);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  max-width: 52ch;
}
.complexity__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
}
@media (max-width: 960px) { .complexity__grid { grid-template-columns: 1fr; } }
.complexity__bignum {
  background: var(--color-teal-deep);
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-card);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.complexity__bignum::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 79, 0.18), transparent 65%);
  pointer-events: none;
}
.complexity__bignum-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.complexity__bignum-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(80px, 11vw, 152px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--color-white);
}
.complexity__bignum-value small {
  font-size: 0.32em;
  color: var(--color-gold);
  margin-left: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}
.complexity__bignum-desc {
  color: rgba(244, 239, 227, 0.72);
  font-size: 15px;
  line-height: 1.6;
  max-width: 38ch;
}

.complexity__rank {
  background: var(--color-teal-deep);
  border: 1px solid var(--color-line-dark);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.complexity__rank-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.complexity__rank-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.complexity__rank-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-line-dark);
}
.complexity__rank-item:last-child { border-bottom: 0; }
.complexity__rank-item--brazil {
  color: var(--color-gold);
}
.complexity__rank-pos {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-gold);
}
.complexity__rank-name {
  font-size: 15px;
  color: var(--color-offwhite);
}
.complexity__rank-item--brazil .complexity__rank-name { color: var(--color-gold); font-weight: 600; }
.complexity__rank-hours {
  font-family: var(--font-display);
  font-size: 16px;
  color: rgba(244, 239, 227, 0.6);
}
.complexity__rank-item--brazil .complexity__rank-hours { color: var(--color-gold); }

/* ==========================================================================
   Block: clients (Clientes — light)
   ========================================================================== */
.clients {
  background: var(--color-offwhite);
}
.clients__head { text-align: center; margin-bottom: 64px; }
.clients__head .section-label { justify-content: center; }
.clients__head .section-label::before { display: none; }
.clients__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--color-teal);
  margin: 18px 0 18px;
}
.clients__title em { font-style: normal; color: var(--color-gold-deep); font-weight: 600; }

.clients__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--color-line-light);
  border: 1px solid var(--color-line-light);
  max-height: calc(110px * 3 + 2px);
  overflow: hidden;
}
@media (max-width: 1024px) { .clients__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .clients__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px)  { .clients__grid { grid-template-columns: repeat(2, 1fr); } }

.clients__cell {
  background: var(--color-white);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 22px;
  filter: grayscale(1) contrast(0.95);
  transition: filter .45s var(--ease-out);
}
.clients__cell:hover {
  filter: grayscale(0) contrast(1);
}
.clients__cell img {
  max-width: 78%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: opacity .55s var(--ease-out);
}
.clients__cell.is-swapping img { opacity: 0; }

/* ==========================================================================
   Block: blog (Insights — light)
   ========================================================================== */

/* Sem mudança de cor entre Clientes e Insights — cortamos pela metade
   pra a soma de paddings dar uma "respiração de transição" e não dois
   vazios empilhados. */
.section.clients { padding-bottom: clamp(48px, 6vw, 72px); }
.section.blog    { padding-top:    clamp(48px, 6vw, 72px); }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .blog__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog__grid { grid-template-columns: 1fr; } }

.blog__card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(10, 59, 69, 0.06);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.blog__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -16px rgba(10, 59, 69, 0.18);
}

.blog__card-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.blog__card--teal      .blog__card-visual { background: var(--color-teal); }
.blog__card--gold      .blog__card-visual { background: var(--color-gold); }
.blog__card--teal-deep .blog__card-visual { background: var(--color-teal-deep); }

.blog__card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 80% 10%, rgba(255, 255, 255, 0.06), transparent 70%);
  pointer-events: none;
}

.blog__card-tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-block;
  background: rgba(244, 239, 227, 0.14);
  color: var(--color-offwhite);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.blog__card--gold .blog__card-tag {
  background: rgba(10, 59, 69, 0.16);
  color: var(--color-teal-deep);
}

.blog__card-visual-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--color-white);
  font-weight: 600;
  max-width: 18ch;
}
.blog__card-visual-title em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 700;
}
.blog__card--gold .blog__card-visual-title { color: var(--color-teal-deep); }
.blog__card--gold .blog__card-visual-title em { color: var(--color-white); }

.blog__card-dots {
  position: absolute;
  bottom: -18px;
  right: -22px;
  width: 160px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.32) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 1;
}
.blog__card--gold .blog__card-dots {
  background-image: radial-gradient(circle, rgba(10, 59, 69, 0.28) 1.4px, transparent 1.4px);
}

.blog__card-body {
  padding: 26px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--color-line-light);
}
.blog__card-meta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
}
.blog__card-title {
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--color-teal);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.blog__card-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .35s var(--ease-out), color .35s var(--ease-out);
}
.blog__card:hover .blog__card-link { gap: 14px; color: var(--color-teal); }

.blog__footer {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Block: contact (CTA Final — dark)
   ========================================================================== */
.contact {
  background: var(--color-teal);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 40% at 90% 30%, rgba(201, 162, 79, 0.16), transparent 60%),
    radial-gradient(40% 30% at 10% 90%, rgba(255, 165, 53, 0.08), transparent 60%);
  pointer-events: none;
}
.contact__inner { position: relative; }
.contact__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}
.contact__head .section-label { justify-content: center; }
.contact__head .section-label::before { display: none; }
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 18px 0 20px;
}
.contact__title em { font-style: normal; color: var(--color-gold); font-weight: 600; }
.contact__sub {
  color: rgba(244, 239, 227, 0.78);
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 56ch;
  margin: 0 auto;
}

.contact__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .contact__channels { grid-template-columns: 1fr; } }

.contact__channel {
  background: rgba(244, 239, 227, 0.05);
  border: 1px solid rgba(244, 239, 227, 0.12);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  transition: transform .4s var(--ease-out), background .35s var(--ease-out), border-color .35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.contact__channel:hover {
  transform: translateY(-6px);
  background: rgba(244, 239, 227, 0.08);
  border-color: rgba(201, 162, 79, 0.5);
}
.contact__channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 162, 79, 0.18);
  color: var(--color-gold);
}
.contact__channel-icon svg { width: 22px; height: 22px; }
.contact__channel-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}
.contact__channel-value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-white);
}
.contact__channel-hint {
  font-size: 14px;
  color: rgba(244, 239, 227, 0.62);
  margin-top: auto;
}

/* ==========================================================================
   Header nav active state
   ========================================================================== */
.site-header__link.is-active { color: var(--color-gold); }
.site-header__link.is-active::after { right: 0; }

/* ==========================================================================
   Block: page-hero (internal page hero — page-name as dominant H1)
   ========================================================================== */
.page-hero {
  position: relative;
  background: var(--color-teal);
  color: var(--color-white);
  padding: clamp(120px, 13vw, 168px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(201, 162, 79, 0.14), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(255, 165, 53, 0.08), transparent 60%);
  z-index: -1;
}
.page-hero__inner { max-width: 920px; }

.page-hero__crumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.5);
  margin-bottom: 36px;
  font-weight: 500;
}
.page-hero__crumb a {
  color: var(--color-gold);
  transition: color .25s var(--ease-out);
}
.page-hero__crumb a:hover { color: var(--color-orange); }
.page-hero__crumb span[aria-hidden] { color: rgba(244, 239, 227, 0.32); }
.page-hero__crumb span[aria-current] { color: var(--color-offwhite); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 116px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: 26px;
}
.page-hero__title em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 600;
}

.page-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.022em;
  color: rgba(244, 239, 227, 0.88);
  font-weight: 500;
  max-width: 36ch;
  margin-bottom: 22px;
}
.page-hero__tagline em { color: var(--color-gold); font-style: normal; font-weight: 700; }

.page-hero__sub {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: rgba(244, 239, 227, 0.6);
  max-width: 58ch;
}

/* ==========================================================================
   Block: areas-grid (Quem Somos — áreas de atuação)
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-line-dark);
  border: 1px solid var(--color-line-dark);
}
@media (max-width: 820px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }

.areas-grid__cell {
  background: var(--color-teal);
  padding: 28px 24px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  color: var(--color-offwhite);
  letter-spacing: -0.005em;
  transition: background .35s var(--ease-out), color .35s var(--ease-out);
  display: flex;
  align-items: center;
  gap: 12px;
}
.areas-grid__cell::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex: 0 0 auto;
}
.areas-grid__cell:hover {
  background: var(--color-teal-soft);
  color: var(--color-white);
}

/* ==========================================================================
   Block: method-grid (Quem Somos — metodologia)
   ========================================================================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method-grid { grid-template-columns: 1fr; } }

.method-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  border: 1px solid var(--color-line-light);
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(10, 59, 69, 0.16);
}
.method-card__step {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
}
.method-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-teal);
  font-weight: 600;
}
.method-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-top: auto;
}

/* ==========================================================================
   Block: process (7-step horizontal flow — /quem-somos)
   ========================================================================== */
.process { background: var(--color-offwhite-2); }

.process__controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-line-light);
}
.process__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
}
.process__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--color-ink-soft);
  font-weight: 500;
}
.process__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.process__legend-dot--gold { background: var(--color-gold); }
.process__legend-dot--teal { background: var(--color-teal); }
.process__legend-item strong { color: var(--color-teal); font-weight: 600; }

.process__nav { display: flex; gap: 8px; }
.process__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line-light);
  background: var(--color-white);
  color: var(--color-teal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), color .25s var(--ease-out), opacity .25s var(--ease-out);
  font-size: 18px;
}
.process__arrow:hover:not(:disabled) {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}
.process__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Rail sangra dos dois lados até as bordas do viewport,
   mas o CONTEÚDO começa alinhado com o container (padding-left no inner).
   Sem scroll-snap: o JS controla a navegação por step com clamp no max,
   evitando que o snap engine "puxe" pra snap-points inatingíveis no final. */
.process__rail {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  margin-inline: calc(-1 * var(--container-edge));
  padding-inline: 0;
}
.process__rail::-webkit-scrollbar { display: none; }

.process__rail-inner {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-top: 36px;
  /* offset à esquerda alinha primeiro card com container; à direita, respiro até viewport */
  padding-left: var(--container-edge);
  padding-right: var(--gutter);
  position: relative;
}
.process__step,
.process__badge {
  flex: 0 0 clamp(280px, 24vw, 320px);
  position: relative;
  border-radius: var(--radius-card);
  padding: 60px 24px 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
}
.process__step {
  background: var(--color-white);
  border: 1px solid var(--color-line-light);
}
.process__step:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 14px 30px -16px rgba(10, 59, 69, 0.14);
}

.process__step-num {
  position: absolute;
  top: 36px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-teal);
  border: 4px solid var(--color-offwhite-2);
  letter-spacing: -0.02em;
  z-index: 2;
  transform: translateY(-50%);
}
.process__step--early .process__step-num {
  background: var(--color-gold);
  color: var(--color-teal-deep);
}
.process__step-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--color-teal);
  font-weight: 600;
}
.process__step-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--color-ink-soft);
  margin-top: auto;
}

/* Selo Berkley = 8º card */
.process__badge {
  background: var(--color-teal);
  color: var(--color-white);
  overflow: hidden;
}
.process__badge::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 140px; height: 100px;
  background-image: radial-gradient(circle, rgba(201, 162, 79, 0.4) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  pointer-events: none;
}
.process__badge-icon {
  position: absolute;
  top: 36px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-offwhite-2);
  z-index: 2;
  transform: translateY(-50%);
}
.process__badge-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-white);
  line-height: 1.22;
  position: relative;
  z-index: 1;
}
.process__badge-list {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(244, 239, 227, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(244, 239, 227, 0.78);
  position: relative;
  z-index: 1;
}
.process__badge-list li::before { content: "✓ "; color: var(--color-gold); margin-right: 4px; }
.process__badge-brand {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  z-index: 1;
}

/* ==========================================================================
   Block: cta-band (final CTA strip on internal pages)
   ========================================================================== */
.cta-band {
  background: var(--color-teal);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 820px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: 28px; }
}
.cta-band__lede {
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(244, 239, 227, 0.78);
  margin-top: 14px;
  max-width: 52ch;
}

/* ==========================================================================
   Block: solucoes-page — listas estendidas
   ========================================================================== */
.solucao-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--color-line-light);
}
.solucao-block:last-child { border-bottom: 0; }
@media (max-width: 820px) { .solucao-block { grid-template-columns: 1fr; gap: 24px; } }
.solucao-block__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.solucao-block__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 14px;
}
.solucao-block__title em { font-style: normal; color: var(--color-gold-deep); font-weight: 700; }
.solucao-block__sub {
  font-size: 14px;
  color: var(--color-ink-soft);
}
.solucao-block__body { font-size: 16px; line-height: 1.7; color: var(--color-ink-soft); }
.solucao-block__body p + p { margin-top: 14px; }
.solucao-block__list {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
}
@media (max-width: 560px) { .solucao-block__list { grid-template-columns: 1fr; } }
.solucao-block__list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--color-teal);
  font-weight: 500;
}
.solucao-block__list li::before { content: "—"; color: var(--color-gold); }

/* Tributos por esfera */
.spheres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line-dark);
  border: 1px solid var(--color-line-dark);
}
@media (max-width: 820px) { .spheres { grid-template-columns: 1fr; } }
.sphere {
  background: var(--color-teal);
  padding: 36px 32px;
}
.sphere__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.sphere__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.sphere__list { display: flex; flex-direction: column; gap: 10px; }
.sphere__list li {
  font-size: 14px;
  color: rgba(244, 239, 227, 0.78);
  padding-left: 16px;
  position: relative;
}
.sphere__list li::before {
  content: "→";
  color: var(--color-gold);
  position: absolute;
  left: 0;
}

/* Diagnóstico bullets list */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .diag-grid { grid-template-columns: 1fr; } }
.diag-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  border: 1px solid var(--color-line-light);
}
.diag-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
  margin-bottom: 10px;
}
.diag-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  color: var(--color-teal);
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   Block: offices-grid
   ========================================================================== */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line-light);
  border: 1px solid var(--color-line-light);
}
@media (max-width: 960px) { .offices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .offices-grid { grid-template-columns: 1fr; } }

.office {
  background: var(--color-white);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
  transition: background .3s var(--ease-out);
}
.office:hover { background: var(--color-offwhite); }
.office__state {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
}
.office__city {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.1;
  color: var(--color-teal);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.office__city span { display: block; font-size: 13px; color: var(--color-ink-soft); font-weight: 500; letter-spacing: 0; margin-top: 4px; }
.office__addr {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-ink-soft);
  margin-top: auto;
}
.office--sede {
  background: var(--color-teal);
}
.office--sede:hover { background: var(--color-teal-soft); }
.office--sede .office__state { color: var(--color-gold); }
.office--sede .office__city { color: var(--color-white); }
.office--sede .office__city span { color: rgba(244, 239, 227, 0.7); }
.office--sede .office__addr { color: rgba(244, 239, 227, 0.78); }

/* ==========================================================================
   Block: sectors (clientes por setor)
   ========================================================================== */
.sectors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .sectors { grid-template-columns: 1fr; } }
.sector {
  background: rgba(244, 239, 227, 0.04);
  border: 1px solid rgba(244, 239, 227, 0.12);
  border-radius: var(--radius-card);
  padding: 30px 30px 28px;
}
.sector__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.sector__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 16px;
}
.sector__list {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244, 239, 227, 0.78);
}

/* ==========================================================================
   Block: article-hero (post page colored hero)
   ========================================================================== */
.article-hero {
  position: relative;
  padding: clamp(140px, 16vw, 200px) 0 clamp(64px, 8vw, 100px);
  background: var(--color-teal);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}
.article-hero--teal      { background: var(--color-teal); }
.article-hero--teal-deep { background: var(--color-teal-deep); }
.article-hero--gold      { background: var(--color-gold); color: var(--color-teal-deep); }

.article-hero__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
.article-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.6);
  margin-bottom: 36px;
  font-weight: 500;
  transition: color .25s var(--ease-out), gap .25s var(--ease-out);
}
.article-hero__back:hover { color: var(--color-gold); gap: 14px; }
.article-hero--gold .article-hero__back { color: rgba(10, 59, 69, 0.55); }
.article-hero--gold .article-hero__back:hover { color: var(--color-teal-deep); }

.article-hero__tag {
  display: inline-block;
  background: rgba(244, 239, 227, 0.14);
  color: var(--color-offwhite);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}
.article-hero--gold .article-hero__tag {
  background: rgba(10, 59, 69, 0.16);
  color: var(--color-teal-deep);
}

.article-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 28px;
}
.article-hero__title em {
  color: var(--color-gold);
  font-style: normal;
  font-weight: 700;
}
.article-hero--gold .article-hero__title { color: var(--color-teal-deep); }
.article-hero--gold .article-hero__title em { color: var(--color-white); }

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: rgba(244, 239, 227, 0.7);
  letter-spacing: 0.04em;
}
.article-hero__meta strong { color: var(--color-gold); font-weight: 600; }
.article-hero__meta span { display: inline-flex; align-items: center; gap: 14px; }
.article-hero__meta span + span::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(244, 239, 227, 0.3);
}
.article-hero--gold .article-hero__meta { color: rgba(10, 59, 69, 0.6); }
.article-hero--gold .article-hero__meta strong { color: var(--color-teal-deep); }
.article-hero--gold .article-hero__meta span + span::before { background: rgba(10, 59, 69, 0.3); }

.article-hero__dots {
  position: absolute;
  bottom: -50px;
  right: -60px;
  width: 320px;
  height: 220px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 1;
}
.article-hero--gold .article-hero__dots {
  background-image: radial-gradient(circle, rgba(10, 59, 69, 0.28) 1.4px, transparent 1.4px);
}

/* ==========================================================================
   Block: article (post body)
   ========================================================================== */
.article {
  background: var(--color-offwhite);
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 120px);
}
.article__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.article__lede {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--color-teal);
  font-weight: 500;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line-light);
}

.article__body {
  font-size: clamp(16.5px, 1.15vw, 18px);
  line-height: 1.72;
  color: var(--color-ink);
}
.article__body > * + * { margin-top: 22px; }
.article__body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--color-teal);
  line-height: 1.15;
  margin-top: 56px;
  margin-bottom: 16px;
}
.article__body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-teal);
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 12px;
}
.article__body strong { color: var(--color-teal); font-weight: 600; }
.article__body em { color: var(--color-gold-deep); font-style: normal; font-weight: 600; }
.article__body a {
  color: var(--color-gold-deep);
  border-bottom: 1px solid var(--color-gold);
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.article__body a:hover { color: var(--color-teal); border-color: var(--color-teal); }
.article__body ul, .article__body ol {
  padding-left: 24px;
  list-style: disc;
}
.article__body ol { list-style: decimal; }
.article__body li { margin: 8px 0; }
.article__body li::marker { color: var(--color-gold); }
.article__body blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--color-teal);
  font-weight: 500;
  border-left: 3px solid var(--color-gold);
  padding-left: 28px;
  margin: 40px 0;
}
.article__body blockquote p { margin: 0; }
.article__body blockquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
  font-style: normal;
  margin-top: 16px;
}

.article__pullquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--color-teal);
  text-align: center;
  margin: 64px 0;
  padding: 32px 0;
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}
.article__pullquote em { color: var(--color-gold-deep); font-style: normal; }

.article__footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-ink-soft);
}

/* ==========================================================================
   Block: insights-list (página /insights)
   ========================================================================== */
.insights-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .insights-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .insights-list { grid-template-columns: 1fr; } }

.insights-empty {
  background: var(--color-white);
  border: 1px solid var(--color-line-light);
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  color: var(--color-ink-soft);
}
.insights-empty strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-teal);
  margin-bottom: 8px;
  font-weight: 600;
}

/* ==========================================================================
   Block: form (contato — minimal underlined inputs, split layout, dark bg)
   ========================================================================== */
.form-section {
  background: var(--color-teal);
  color: var(--color-white);
}
.form-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) {
  .form-section__grid { grid-template-columns: 1fr; gap: 40px; }
}

.form-section__intro {
  position: sticky;
  top: 100px;
}
@media (max-width: 880px) { .form-section__intro { position: static; } }
.form-section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--color-white);
  font-weight: 600;
  margin: 18px 0 22px;
}
.form-section__title em { color: var(--color-gold); font-style: normal; font-weight: 700; }
.form-section__lede {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: rgba(244, 239, 227, 0.72);
  max-width: 44ch;
  margin-bottom: 28px;
}
.form-section__anchor {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 239, 227, 0.14);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: var(--color-offwhite);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 36ch;
}
.form-section__anchor::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 18px;
}

.form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  position: relative;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.form__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}
.form__label span { color: var(--color-orange); margin-left: 4px; }
.form__label small {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(244, 239, 227, 0.5);
  font-weight: 400;
  font-size: 12px;
  margin-left: 6px;
}

.form__input,
.form__textarea {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 227, 0.22);
  border-radius: 0;
  padding: 10px 0 12px;
  width: 100%;
  font-weight: 500;
  transition: border-color .25s var(--ease-out);
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(244, 239, 227, 0.35); font-weight: 400; }
.form__textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.55;
}
.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
  border-bottom-width: 1px;
}

.form__field--has-error .form__input,
.form__field--has-error .form__textarea {
  border-bottom-color: #e57670;
}
.form__error {
  font-size: 12.5px;
  color: #e57670;
  font-weight: 500;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(244, 239, 227, 0.7);
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
}
.form__check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-gold);
  flex: 0 0 auto;
  cursor: pointer;
}
.form__check a {
  color: var(--color-gold);
  border-bottom: 1px solid currentColor;
}
.form__check.form__field--has-error { color: #e57670; }

.form__submit {
  justify-self: start;
  margin-top: 12px;
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__success {
  padding-top: 24px;
  border-top: 2px solid var(--color-gold);
}
.form__success-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.form__success-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.08;
}
.form__success-title em { color: var(--color-gold) !important; font-style: normal; }
.form__success-sub {
  color: rgba(244, 239, 227, 0.72);
  font-size: 16px;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 32px;
}

/* ==========================================================================
   Block: contact-page (página /contato)
   ========================================================================== */
.contact-info {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 820px) { .contact-info { grid-template-columns: 1fr; gap: 32px; } }
.contact-info__hq {
  background: var(--color-offwhite-2);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}
.contact-info__hq-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-info__hq-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  color: var(--color-teal);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.contact-info__hq-addr { color: var(--color-ink-soft); line-height: 1.55; }
.contact-info__hq-hours {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line-light);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-teal);
}
.contact-info__hq-hours strong { color: var(--color-gold-deep); }

.contact-info__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.contact-info__socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-line-light);
  font-size: 14px;
  color: var(--color-teal);
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.contact-info__socials a:hover {
  border-color: var(--color-gold);
  background: var(--color-offwhite);
}

/* ==========================================================================
   Block: site-footer
   ========================================================================== */
.site-footer {
  background: var(--color-teal-deep);
  color: rgba(244, 239, 227, 0.7);
  padding: clamp(72px, 9vw, 112px) 0 32px;
  border-top: 1px solid var(--color-line-dark);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0.5;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 960px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer__logo { width: 160px; }
.site-footer__tagline {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.4;
  color: rgba(244, 239, 227, 0.82);
  max-width: 32ch;
}
.site-footer__tagline em { font-style: normal; color: var(--color-gold); font-weight: 600; }
.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.site-footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(244, 239, 227, 0.2);
  color: rgba(244, 239, 227, 0.75);
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}
.site-footer__social a:hover {
  background: var(--color-gold);
  color: var(--color-teal-deep);
  box-shadow: none;
}
.site-footer__social svg { width: 16px; height: 16px; }

.site-footer__col-title {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 22px;
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__list a,
.site-footer__list span {
  font-size: 14.5px;
  color: rgba(244, 239, 227, 0.75);
  transition: color .25s var(--ease-out);
}
.site-footer__list a:hover { color: var(--color-gold); }

.site-footer__bottom {
  border-top: 1px solid var(--color-line-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(244, 239, 227, 0.5);
}
.site-footer__bottom a { color: rgba(244, 239, 227, 0.7); }
.site-footer__bottom a:hover { color: var(--color-gold); }

.site-footer__elleven {
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity .25s var(--ease-out);
}
.site-footer__elleven:hover { opacity: 1; }
.site-footer__elleven img {
  height: 12px;
  width: auto;
  display: block;
}

/* ==========================================================================
   VTX overrides (conversão Plooma)
   ========================================================================== */
/* Cards de solução (home) e cards de escritório agora são <a> — remove o
   estilo padrão de link e mantém a aparência original de card. */
a.solutions__cell {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.solutions__cell:hover { text-decoration: none; }
/* Compensa o header fixo ao pular para a âncora de uma solução em /solucoes. */
.solucao-block { scroll-margin-top: 110px; }
/* Ícone dos cards de linha agora vem da galeria (<img>), não mais <svg> inline. */
.lines__card-icon img { width: 28px; height: 28px; display: block; }
/* Telefone do escritório (link tel:) */
.office__phone {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gold-deep);
  letter-spacing: 0.01em;
  text-decoration: none;
}
.office__phone:hover { color: var(--color-gold); text-decoration: underline; }
/* Link "Ver no mapa" no rodapé do card */
.office__map {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  text-decoration: none;
  transition: color .25s var(--ease-out);
}
.office__map:hover { color: var(--color-gold); }
.office__map span { transition: transform .25s var(--ease-out); display: inline-block; }
.office__map:hover span { transform: translateX(3px); }
/* Endereço não empurra mais tudo pro rodapé sozinho; o mapa fica por último. */
.office__addr { margin-top: auto; }
.office--sede .office__phone,
.office--sede .office__map { color: var(--color-gold); }
