/* =========================================================================
   ADANI Contabilidade — design system
   Direcao: corporativo claro moderno.
   Substitui integralmente o antigo css/estilos.min.css.
   ========================================================================= */

/* -------------------------------------------------------------- 1. tokens */
:root {
  --brand:        #343797;
  --brand-600:    #2b2e80;
  --brand-700:    #20245f;
  --brand-900:    #14174e;
  --brand-050:    #f2f3fb;
  --brand-100:    #e4e6f6;

  --accent:       #fff212;
  --accent-600:   #ffe100;
  --accent-ink:   #1d2050;

  --ink:          #12142e;
  --body:         #545775;
  --muted:        #82859e;
  --line:         #e6e8f2;
  --line-strong:  #d3d7ea;

  --surface:      #ffffff;
  --soft:         #f6f7fc;
  --softer:       #fafbfe;

  --wa:           #25d366;
  --wa-600:       #1fb955;

  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  999px;

  --shadow-sm:    0 1px 2px rgba(18, 20, 46, .04), 0 2px 8px rgba(18, 20, 46, .04);
  --shadow-md:    0 4px 12px rgba(18, 20, 46, .06), 0 12px 32px rgba(18, 20, 46, .08);
  --shadow-lg:    0 8px 24px rgba(18, 20, 46, .08), 0 24px 64px rgba(18, 20, 46, .12);

  --header-h:     78px;
  --container:    1200px;
  --gutter:       24px;

  --ease:         cubic-bezier(.22, .61, .36, 1);

  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

/* --------------------------------------------------------------- 2. reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-700); }

img, svg, video, iframe { max-width: 100%; }
img, svg, video { display: block; height: auto; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin: 0 0 .4em; }

figure { margin: 0; }
address { font-style: normal; }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

table { width: 100%; border-collapse: collapse; }

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

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* compatibilidade com o markup legado */
.limpar { display: none !important; }

/* ------------------------------------------------------------- 3. layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--soft { background: var(--soft); }
.section--brand { background: var(--brand-900); color: rgba(255, 255, 255, .82); }
.section--brand h2, .section--brand h3 { color: #fff; }

.stack > * + * { margin-top: 20px; }

/* ---------------------------------------------------------- 4. tipografia */
.display  { font-size: clamp(2.25rem, 1.35rem + 3.6vw, 4rem); line-height: 1.06; letter-spacing: -.035em; }
.title-xl { font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.9rem); line-height: 1.12; letter-spacing: -.03em; }
.title-lg { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem); line-height: 1.18; letter-spacing: -.025em; }
.title-md { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); line-height: 1.28; letter-spacing: -.015em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 12px; font-weight: 700; line-height: 1;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.eyebrow--light { color: var(--accent); }
.eyebrow--light::before { background: currentColor; }

.lead { font-size: clamp(1.02rem, .97rem + .3vw, 1.2rem); line-height: 1.65; color: var(--body); }


.section-head { max-width: 720px; margin: 0 0 clamp(36px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { margin: 16px 0 0; }

/* ------------------------------------------------------------ 5. botoes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; letter-spacing: -.005em;
  text-align: center; text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; box-shadow: var(--shadow-md); }

.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-600); border-color: var(--accent-600); color: var(--accent-ink); box-shadow: var(--shadow-md); }

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

.btn--onbrand { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn--onbrand:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .6); color: #fff; }

.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-600); border-color: var(--wa-600); color: #fff; }

.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--brand);
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brand-700); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------- 6. header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 900;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(18, 20, 46, .07); }

.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 118px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; margin: 0; }

.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--brand-050); color: var(--brand); }
.nav__link.is-current { color: var(--brand); }
.nav__link.is-current::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__caret { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .55; transition: transform .2s var(--ease); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: translateY(1px) rotate(45deg); }

.nav__sub {
  position: absolute; left: 0; top: calc(100% + 10px); z-index: 5;
  min-width: 248px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub li { margin: 0; }
.nav__sub a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.nav__sub a:hover { background: var(--brand-050); color: var(--brand); }

.header__cta { flex-shrink: 0; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-left: auto;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.nav-toggle span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: background .2s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

.nav-scrim {
  position: fixed; inset: 0; z-index: 890;
  background: rgba(18, 20, 46, .45);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 895;
    width: min(360px, 86vw); margin: 0; padding: calc(var(--header-h) + 20px) 20px 32px;
    background: var(--surface); box-shadow: var(--shadow-lg);
    overflow-y: auto; transform: translateX(100%);
    transition: transform .3s var(--ease);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { justify-content: space-between; padding: 14px 12px; font-size: 16px; }
  .nav__link.is-current::after { display: none; }
  .nav__sub {
    position: static; min-width: 0; margin: 0 0 6px 12px; padding: 0 0 0 12px;
    border: 0; border-left: 2px solid var(--line); border-radius: 0;
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__caret { display: none; }
  .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav__cta-mobile { display: block; margin-top: 20px; }
}
@media (min-width: 1025px) { .nav__cta-mobile { display: none; } }

/* ------------------------------------------------------------- 7. hero
   Cinematográfico: foto em tela cheia com zoom lento, véu chapado e
   manchete revelada linha a linha por máscara. Só CSS, sem biblioteca. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  min-height: 640px;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--brand);
}

.hero__photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 56%;
  transform: scale(1.02); transform-origin: 58% 45%;
  animation: heroZoom 32s ease-in-out infinite alternate;
  opacity: .5;
}
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.16); } }

/* véu de cor única — mais denso à esquerda, onde fica o texto */
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 15, 52, .88) 0%, rgba(12, 15, 52, .74) 42%, rgba(12, 15, 52, .46) 100%);
}

.hero__inner {
  position: relative;
  flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 72px);
}

/* --- entradas --- */
@keyframes heroUp   { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes heroMask { from { transform: translateY(108%); }            to { transform: translateY(0); } }
@keyframes heroRule { from { transform: scaleX(0); }                   to { transform: scaleX(1); } }

.hero__kicker {
  display: block; margin: 0 0 clamp(20px, 2.4vw, 30px);
  font-size: clamp(11px, 10px + .18vw, 13px); font-weight: 700; line-height: 1;
  letter-spacing: .24em; text-transform: uppercase; color: var(--accent);
  opacity: 0; animation: heroUp .7s var(--ease) .1s forwards;
}

.hero h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 1.35rem + 4.3vw, 5rem); line-height: .99; letter-spacing: -.04em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.09em; }
.hero__line > span { display: block; transform: translateY(108%); animation: heroMask .95s var(--ease) forwards; }
.hero__line:nth-child(1) > span { animation-delay: .18s; }
.hero__line:nth-child(2) > span { animation-delay: .30s; }
.hero__line:nth-child(3) > span { animation-delay: .42s; }

.hero__rule {
  display: block; width: clamp(72px, 9vw, 128px); height: 5px; margin: clamp(26px, 3vw, 38px) 0 0;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  animation: heroRule .8s var(--ease) .78s forwards;
}

.hero__lead {
  max-width: 48ch; margin: clamp(24px, 2.6vw, 34px) 0 clamp(30px, 3.2vw, 40px);
  font-size: clamp(1.02rem, .96rem + .32vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .8);
  opacity: 0; animation: heroUp .8s var(--ease) .88s forwards;
}

.hero .actions { opacity: 0; animation: heroUp .8s var(--ease) 1s forwards; }
.hero .actions .btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero .actions .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

/* --- faixa de dados dentro do hero --- */
.hero-facts { flex: 0 0 auto; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-facts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hero-facts__item {
  padding: clamp(18px, 2vw, 28px) clamp(14px, 1.8vw, 26px);
  border-left: 1px solid rgba(255, 255, 255, .16);
  opacity: 0; animation: heroUp .7s var(--ease) forwards;
}
.hero-facts__item:first-child { border-left: 0; padding-left: 0; }
.hero-facts__item:nth-child(1) { animation-delay: 1.14s; }
.hero-facts__item:nth-child(2) { animation-delay: 1.22s; }
.hero-facts__item:nth-child(3) { animation-delay: 1.30s; }
.hero-facts__item:nth-child(4) { animation-delay: 1.38s; }
.hero-facts__item strong {
  display: block; font-size: clamp(1.3rem, 1.05rem + .95vw, 1.9rem);
  line-height: 1; letter-spacing: -.035em; color: #fff;
}
.hero-facts__item span {
  display: block; margin-top: 8px;
  font-size: 11.5px; font-weight: 700; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .58);
}

/* --- indicador de rolagem --- */
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 0; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%; color: #fff; font-size: 14px;
  opacity: 0; animation: heroUp .8s var(--ease) 1.5s forwards;
}
.hero__scroll i { animation: heroBob 1.9s ease-in-out infinite; }
@keyframes heroBob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.hero__scroll:hover { background: rgba(255, 255, 255, .14); color: #fff; }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__photo::after { background: rgba(12, 15, 52, .8); }
  .hero-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-facts__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  .hero .actions .btn { width: 100%; }
  .hero-facts__grid { grid-template-columns: 1fr; }
  .hero-facts__item { border-left: 0; padding-left: 0; }
  .hero-facts__item + .hero-facts__item { border-top: 1px solid rgba(255, 255, 255, .16); }
}

/* respeita quem pediu menos movimento: mostra o estado final, sem animar */
@media (prefers-reduced-motion: reduce) {
  .hero__photo img { animation: none; transform: none; }
  .hero__kicker, .hero__lead, .hero .actions, .hero-facts__item, .hero__scroll { opacity: 1; animation: none; }
  .hero__line > span { transform: none; animation: none; }
  .hero__rule { transform: scaleX(1); animation: none; }
  .hero__scroll i { animation: none; }
}

/* ------------------------------------------------------------- 8. cards */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; height: 100%;
  padding: 30px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
a.card { color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 14px; background: var(--brand-050); color: var(--brand);
  font-size: 20px; font-weight: 700; line-height: 1;
}
.card__icon--accent { background: var(--accent); color: var(--accent-ink); }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; letter-spacing: -.02em; }
.card p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--body); }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

/* trilho horizontal com scroll-snap (substitui o owl carousel) */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 20px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: var(--line); border-radius: 3px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.rail::-webkit-scrollbar-thumb:hover { background: var(--brand); }
@media (min-width: 1001px) { .rail { grid-auto-columns: minmax(300px, 1fr); } }

.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.rail-head .section-head { margin-bottom: 0; }
.rail-nav { display: flex; gap: 8px; flex-shrink: 0; }
.rail-nav button {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--ink); font-size: 16px;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.rail-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 700px) { .rail-nav { display: none; } .rail-head { display: block; } }

/* ------------------------------------------------------- 9. faixa CTA */
.cta-band {
  position: relative; overflow: hidden;
  padding: clamp(52px, 6vw, 84px) 0;
  background: linear-gradient(128deg, var(--brand-900) 0%, var(--brand) 58%, var(--brand-700) 100%);
  color: rgba(255, 255, 255, .8);
}
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 242, 18, .12);
}
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-band h2 { color: #fff; margin: 0 0 12px; }
.cta-band p { max-width: 560px; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
@media (max-width: 900px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .cta-band__actions { width: 100%; } .cta-band__actions .btn { width: 100%; } }

/* -------------------------------------------------- 10. numeros / stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat {
  padding: 32px 28px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat strong { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1;
  letter-spacing: -.04em; color: var(--brand); }
.stat span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--body); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* -------------------------------------------------- 11. depoimentos */
.quote {
  display: flex; flex-direction: column; height: 100%;
  padding: 30px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.quote__mark { font: 700 44px/1 Georgia, "Times New Roman", serif; color: var(--accent); margin-bottom: 4px; }
.quote p { flex: 1 1 auto; margin: 0 0 22px; font-size: 15.5px; line-height: 1.7; color: var(--body); }
.quote footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote__avatar { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-050); color: var(--brand); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.quote cite { font-style: normal; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.quote cite span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }

/* -------------------------------------------------- 12. logos / acessos */
.logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 12px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.logo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.logo-tile img { max-height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .2s var(--ease), opacity .2s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile span { font-size: 11.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 1100px) { .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 780px)  { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* -------------------------------------------------- 13. destaque/blog */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 64px); }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5;
}
.badge--onmedia { position: absolute; left: 16px; top: 16px; }
.badge--soft { background: var(--brand-050); color: var(--brand); }
.feature h2 { margin: 0 0 14px; }
.feature p { margin: 0 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tags li { margin: 0; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--surface); font-size: 13px; font-weight: 500; color: var(--brand); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
}

/* -------------------------------------------------- 14. formularios */
.field { margin: 0 0 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; color: var(--ink); }
.input, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%; padding: 13px 16px;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 15.5px; color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
.input:focus, input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-050);
}
textarea { min-height: 150px; resize: vertical; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.form-note { margin: 4px 0 20px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.form-card { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter__form .input { flex: 1 1 190px; width: auto; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .newsletter__form .input, .newsletter__form .btn { flex: 1 1 100%; width: 100%; } }

/* -------------------------------------------------- 15. header interno */
.page-header {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + clamp(40px, 5vw, 64px)) 0 clamp(36px, 4.5vw, 60px);
  background:
    radial-gradient(700px 380px at 92% 0%, rgba(52, 55, 151, .10), transparent 60%),
    radial-gradient(520px 320px at 2% 100%, rgba(255, 242, 18, .18), transparent 62%),
    linear-gradient(180deg, var(--softer), var(--surface));
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin: 0; max-width: 20ch; }
.page-header p { max-width: 62ch; margin: 16px 0 0; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none;
  font-size: 13.5px; color: var(--muted); }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* -------------------------------------------------- 16. pagina interna */
.page-body { padding: clamp(48px, 6vw, 84px) 0; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: clamp(32px, 4vw, 60px); }
@media (max-width: 980px) { .page-layout { grid-template-columns: 1fr; } }

.prose { font-size: 16.5px; line-height: 1.78; color: var(--body); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.4rem, 1.2rem + .9vw, 1.8rem); }
.prose h3 { margin-top: 1.9em; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 + p, .prose h3 + ul, .prose h2 + p, .prose h2 + ul { margin-top: .7em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand-100); }
.prose a:hover { text-decoration-color: var(--brand); }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: .5em; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px var(--brand-050);
}
.prose ol { padding-left: 22px; }
.prose ol li::marker { color: var(--brand); font-weight: 700; }
.prose iframe { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  padding: 20px 24px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--soft); color: var(--ink);
}

/* selos / certificados */
.seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.seal { padding: 26px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.seal img { margin: 0 auto 18px; max-height: 130px; width: auto; }
.seal p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }
@media (max-width: 560px) { .seals { grid-template-columns: 1fr; } }

/* -------------------------------------------------- 17. sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
@media (max-width: 980px) { .sidebar { position: static; } }

.side-card { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.side-card--brand {
  background: linear-gradient(155deg, var(--brand-900), var(--brand));
  border-color: transparent; color: rgba(255, 255, 255, .8);
}
.side-card__title {
  display: block; margin: 0 0 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
}
.side-card--brand .side-card__title { color: var(--accent); }
.side-links { display: grid; gap: 8px; }
.side-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  color: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.35;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.side-link:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateX(3px); }
.side-link small { flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

.side-contact { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; }
.side-contact li { display: flex; gap: 12px; margin: 0; }
.side-contact i { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand-050); color: var(--brand); font-size: 14px; }
.side-contact strong { display: block; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* -------------------------------------------------- 18. footer */
.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .68); }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--accent); }

.footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 76px) 0 clamp(36px, 4vw, 52px); }
.footer__brand img { width: 150px; margin-bottom: 20px; background: #fff; padding: 12px 16px; border-radius: var(--radius-sm); }
.footer__brand p { font-size: 14.5px; line-height: 1.7; max-width: 34ch; }

.footer__title { display: block; margin: 0 0 18px; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.footer__list li { margin: 0; }

.footer__contact { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 15px; line-height: 1.55; }
.footer__contact li { display: flex; gap: 12px; margin: 0; }
.footer__contact i { flex-shrink: 0; width: 20px; text-align: center; color: var(--accent); line-height: 1.6; }

.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-size: 16px;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px; color: rgba(255, 255, 255, .55);
}
.footer__bottom p { margin: 0; }
.footer__legal { padding: 0 0 26px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .38); text-align: center; }

@media (max-width: 1000px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer__main { grid-template-columns: 1fr; } .footer__bottom { justify-content: flex-start; } }

/* -------------------------------------------------- 19. flutuantes */
.to-top {
  position: fixed; right: 18px; bottom: 148px; z-index: 850;
  display: grid; place-items: center; width: 46px; height: 46px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 50%;
  box-shadow: var(--shadow-md); color: var(--ink); font-size: 15px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background .2s var(--ease), color .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.float-wa {
  position: fixed; right: 18px; bottom: 88px; z-index: 860;
  display: grid; place-items: center; width: 54px; height: 54px;
  background: var(--wa); border-radius: 50%; color: #fff; font-size: 27px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .38);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.float-wa:hover { color: #fff; transform: scale(1.06); box-shadow: 0 12px 30px rgba(37, 211, 102, .5); }

.float-bot { position: fixed; left: 16px; bottom: 16px; z-index: 855; display: flex; align-items: center; gap: 10px; }
.float-bot img { width: 72px; }
.float-bot__balloon {
  position: relative; max-width: 168px; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--brand); color: #fff; font-size: 13px; line-height: 1.35; text-align: center;
  box-shadow: var(--shadow-md);
}
.float-bot__balloon::after {
  content: ""; position: absolute; left: -6px; top: 50%; margin-top: -5px;
  border: 5px solid transparent; border-right-color: var(--brand); border-left: 0;
}
@media (max-width: 640px) { .float-bot__balloon { display: none; } .float-bot img { width: 56px; } }

.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 880;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px;
  padding: 16px 20px;
  background: rgba(20, 23, 78, .97); backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.5; text-align: center;
}
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar button {
  padding: 9px 20px; border: 0; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 700;
  transition: background .2s var(--ease);
}
.cookie-bar button:hover { background: var(--accent-600); }

/* -------------------------------------------------- 20. animacao */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------------------------------------------------- 21. utilitarios */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* -------------------------------------------------- 22. resultados de pesquisa */
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .results { grid-template-columns: 1fr; } }

.result {
  display: flex; flex-direction: column; height: 100%; padding: 26px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.result:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.result__value { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem); line-height: 1; letter-spacing: -.04em;
  font-weight: 700; color: var(--brand); }
.result h3 { margin: 12px 0 8px; font-size: 1.05rem; }
.result p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: var(--body); }
.result figure { margin-top: auto; }
.result img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--softer); }

/* -------------------------------------------------- 23. FAQ (accordion) */
.faq { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq__item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq__item > summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; color: var(--ink);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-top: 6px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .22s var(--ease);
}
.faq__item[open] > summary::after { transform: rotate(-135deg); }
.faq__item > summary:hover { color: var(--brand); }
.faq__body { padding: 0 24px 24px; }
.faq__body > .prose { font-size: 16px; }

/* -------------------------------------------------- 24. grupo de acoes */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--center { justify-content: center; }
@media (max-width: 560px) { .actions .btn { width: 100%; } }
