/* =====================================================================
   Confiança Assessoria Acadêmica — landing page institucional
   Direção: premium + editorial + institucional.
   Verde institucional #0B5139 preservado da marca, apoiado por um
   verde-noite profundo, off-white frio e um latão discreto.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0E1A15;
  --night: #082419;
  --night-2: #0C3024;
  --brand: #0B5139;
  --brand-600: #0E6447;
  --brand-50: #EAF2EE;
  --paper: #F6F7F4;
  --white: #FFFFFF;
  --mist: #E3E8E4;
  --stone: #56635D;
  --stone-light: #A9B8B0;
  --brass: #B4925A;
  --danger: #A63D32;
  --danger-bg: #FBEFED;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --r-card: 20px;
  --r-field: 12px;

  --shadow-soft: 0 1px 2px rgb(8 36 25 / .04), 0 8px 24px -12px rgb(8 36 25 / .12);
  --shadow-lift: 0 2px 4px rgb(8 36 25 / .04), 0 24px 48px -20px rgb(8 36 25 / .22);

  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}
@media (min-width: 1024px) { :root { --header-h: 80px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: inherit; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--shadow-lift); transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px)  { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 40px; } }

.section { padding-block: 96px; }
@media (min-width: 640px)  { .section { padding-block: 112px; } }
@media (min-width: 1024px) { .section { padding-block: 144px; } }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1.04;
}
.h2 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); }
.lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--stone);
}
.dark .lead { color: var(--stone-light); }
.lead a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { display: flex; flex-direction: column; gap: 32px; max-width: none; }
.section-head--split > div { max-width: 760px; }
@media (min-width: 1024px) {
  .section-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-head--split .btn { flex: none; }
}

.icon {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding-inline: 20px;
  border-radius: 999px;
  font-size: .94rem; font-weight: 500; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--lg { height: 52px; padding-inline: 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--brand-600); box-shadow: var(--shadow-lift); }
.btn--secondary { background: var(--white); color: var(--ink); border: 1px solid var(--mist); }
.btn--secondary:hover { border-color: rgb(11 81 57 / .3); color: var(--brand); }
.btn--light { background: var(--white); color: var(--night); }
.btn--light:hover { background: var(--brand-50); }
.btn--outline-light { color: #fff; border: 1px solid rgb(255 255 255 / .25); }
.btn--outline-light:hover { border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .05); }
.btn__arrow {
  width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn__wa { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; border-radius: 10px; }
.logo__image { width: 132px; height: auto; }
.footer__brand .logo__image { width: 184px; }
@media (max-width: 639px) { .logo__image { width: 112px; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: .92rem; color: var(--stone);
  transition: color .3s, background-color .3s;
}
.nav__list a:hover { color: var(--ink); }
.nav__list a[aria-current="true"] { color: var(--brand); background: var(--brand-50); }
.header__cta { display: none; }
@media (min-width: 640px)  { .header__cta { display: inline-flex; } }
.header__store {
  display: none; align-items: center; gap: 7px; height: 44px; padding-inline: 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--ink); transition: color .3s, background-color .3s;
}
.header__store svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.header__store:hover { color: var(--brand); background: var(--brand-50); }
@media (min-width: 1180px) { .header__store { display: inline-flex; } }
@media (min-width: 1024px) { .nav { display: block; } }

/* Estado após o scroll */
.header.is-scrolled {
  background: rgb(246 247 244 / .82);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 rgb(8 36 25 / .06);
}

/* Menu mobile */
.menu-toggle {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--mist); color: var(--ink); background: rgb(255 255 255 / .6);
  transition: border-color .3s, color .3s;
}
.menu-toggle span {
  position: absolute; left: 50%; width: 18px; height: 1.5px; margin-left: -9px;
  background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.header.menu-is-open { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.header.menu-is-open .header__cta { display: none; }

.mobile-menu { position: fixed; inset: 0; z-index: 1; background: var(--paper); }
.mobile-menu__inner { display: flex; flex-direction: column; height: 100%; padding-top: 112px; padding-bottom: max(40px, env(safe-area-inset-bottom)); }
.mobile-menu ul li { border-bottom: 1px solid var(--mist); opacity: 0; animation: rise .6s var(--ease) forwards; }
.mobile-menu ul li:nth-child(1) { animation-delay: 60ms; }
.mobile-menu ul li:nth-child(2) { animation-delay: 105ms; }
.mobile-menu ul li:nth-child(3) { animation-delay: 150ms; }
.mobile-menu ul li:nth-child(4) { animation-delay: 195ms; }
.mobile-menu ul li:nth-child(5) { animation-delay: 240ms; }
.mobile-menu ul li:nth-child(6) { animation-delay: 285ms; }
.mobile-menu ul a {
  display: flex; justify-content: space-between; align-items: center;
  padding-block: 16px; font-family: var(--font-serif); font-size: 2rem; color: var(--ink); letter-spacing: -.02em;
}
.mobile-menu ul a::after { content: "→"; font-family: var(--font-sans); font-size: 1.1rem; color: var(--brand); }
.mobile-menu ul a.is-external::after { content: "↗"; }
.mobile-menu ul li:nth-child(7) { animation-delay: 330ms; }
.mobile-menu .btn { margin-top: auto; }
.header > .mobile-menu { z-index: -1; }
.header > .container { position: relative; z-index: 2; }

/* ---------- Superfícies escuras ---------- */
.dark { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.dark::after, .hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgb(11 81 57 / .35); filter: blur(120px); pointer-events: none; }
.glow--tl { top: -160px; left: -160px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(60% 70% at 85% 30%, rgb(11 81 57 / .08), transparent 70%),
    linear-gradient(to bottom, #fff, var(--paper));
}
.hero::after { display: none; }
.hero__grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: linear-gradient(to right, var(--brand) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
          mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; align-items: center; gap: 56px;
  padding-top: 128px; padding-bottom: 80px;
}
@media (min-width: 640px) { .hero__inner { padding-top: 144px; } }
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.08fr 1fr; gap: 40px; min-height: min(100svh, 960px); padding-top: 112px; padding-bottom: 96px; }
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--mist); border-radius: 999px; background: #fff;
  font-size: .84rem; color: var(--stone);
}
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.hero__title { margin-top: 28px; font-size: clamp(2.75rem, 1.6rem + 4.2vw, 5.1rem); color: var(--ink); }
.hero__lead { margin-top: 28px; max-width: 52ch; font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); line-height: 1.7; color: var(--stone); }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .hero__ctas { flex-direction: row; } }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; font-size: .9rem; color: var(--stone); }
.hero__proof li { display: flex; align-items: center; gap: 8px; }
.hero__proof svg, .quote__points svg {
  width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Composição da hero */
.hero__visual { will-change: transform; }
.comp { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 5 / 5.4; }
@media (min-width: 640px) { .comp { aspect-ratio: 5 / 4.6; } }
.comp__halo { position: absolute; inset: 8%; border-radius: 50%; background: rgb(11 81 57 / .14); filter: blur(80px); }
.comp__back {
  position: absolute; top: 6%; right: 2%; width: 58%; height: 78%;
  padding: 40px 24px 24px; border-radius: 16px;
  border: 1px solid var(--mist); background: rgb(255 255 255 / .7);
  display: flex; flex-direction: column; gap: 10px;
}
.comp__back i { display: block; height: 6px; border-radius: 99px; background: var(--mist); }
.comp__sheet {
  position: absolute; top: 12%; left: 0; width: 74%;
  padding: 24px; border-radius: 16px; background: #fff; color: var(--ink);
  border: 1px solid var(--mist);
  box-shadow: 0 2px 6px rgb(8 36 25 / .04), 0 40px 70px -30px rgb(8 36 25 / .3);
}
@media (min-width: 640px) { .comp__sheet { padding: 32px; } }
.comp__head { display: flex; align-items: center; justify-content: space-between; }
.comp__head .display { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem); }
.comp__chip { padding: 4px 10px; border-radius: 99px; background: var(--brand-50); color: var(--brand); font-size: .68rem; font-weight: 500; }
.comp__rule { height: 1px; margin-top: 16px; background: var(--mist); }
.comp__toc { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.comp__toc li { display: flex; align-items: center; gap: 12px; }
.comp__toc b { width: 16px; font-size: .75rem; font-weight: 500; color: var(--brass); font-variant-numeric: tabular-nums; }
.comp__toc span { flex: 1; font-size: clamp(.78rem, .74rem + .2vw, .88rem); font-weight: 500; }
.comp__toc i { display: block; height: 4px; margin-top: 6px; border-radius: 99px; background: var(--mist); }
.comp__card {
  position: absolute; right: 0; bottom: 4%; width: 56%;
  padding: 20px; border-radius: 16px;
  border: 1px solid rgb(255 255 255 / .08); background: var(--brand); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -24px rgb(8 36 25 / .45);
}
@media (min-width: 640px) { .comp__card { padding: 24px; } }
.comp__card p { font-size: .78rem; color: rgb(255 255 255 / .7); }
.comp__card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.comp__card li { display: flex; align-items: center; gap: 10px; font-size: clamp(.76rem, .72rem + .2vw, .86rem); }
.tick { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--brand); }
.tick svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.comp__bar { margin-top: 20px; height: 4px; border-radius: 99px; overflow: hidden; background: rgb(255 255 255 / .18); }
.comp__bar span { display: block; height: 100%; border-radius: 99px; background: var(--brass-light, #D9C39A); }

/* ---------- Autoridade ---------- */
.authority { border-bottom: 1px solid var(--mist); }
.authority__inner { display: grid; gap: 48px; padding-block: 80px; }
@media (min-width: 640px)  { .authority__inner { padding-block: 96px; } }
@media (min-width: 1024px) { .authority__inner { grid-template-columns: .8fr 2fr; gap: 64px; } }
.authority__title { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); }
.authority__grid {
  display: grid; gap: 1px; overflow: hidden;
  border: 1px solid var(--mist); border-radius: var(--r-card); background: var(--mist);
}
@media (min-width: 640px)  { .authority__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .authority__grid { grid-template-columns: repeat(4, 1fr); } }
.authority__grid li { padding: 24px; background: var(--paper); }
@media (min-width: 1024px) { .authority__grid li { padding: 28px; } }
.authority__grid .icon { color: var(--brand); }
.authority__grid h3 { margin-top: 24px; font-size: 1.02rem; font-weight: 600; }
.authority__grid p { margin-top: 8px; font-size: .93rem; line-height: 1.65; color: var(--stone); }

/* ---------- Serviços ---------- */
.services__grid { display: grid; gap: 20px; margin-top: 64px; }
@media (min-width: 640px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { gap: 24px; margin-top: 80px; } }
.services__grid > li { display: flex; }
.service {
  position: relative; display: flex; flex-direction: column; width: 100%;
  padding: 28px; border-radius: var(--r-card);
  background: var(--white); border: 1px solid var(--mist);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
@media (min-width: 640px) { .service { padding: 32px; } }
.service:hover { transform: translateY(-4px); border-color: rgb(11 81 57 / .2); box-shadow: var(--shadow-lift); }
.service__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.service:hover .service__icon { background: var(--brand); color: #fff; }
.service__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-top: 32px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.service > p { margin-top: 12px; line-height: 1.7; color: var(--stone); }
.service__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.service__more > div { overflow: hidden; }
.service.is-open .service__more { grid-template-rows: 1fr; }
.service__more ul { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--mist); display: flex; flex-direction: column; gap: 10px; }
.service__more li { position: relative; padding-left: 28px; font-size: .94rem; }
.service__more li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5139' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.3 2.7 2.7L16 9.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.service__quote {
  margin-top: 24px; padding: 10px 16px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .9rem; font-weight: 500;
  transition: background-color .3s;
}
.service__quote:hover { background: var(--brand-600); }
.service__toggle {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto; padding-top: 32px; font-size: .94rem; font-weight: 500; color: var(--brand);
}
.service__toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.service:hover .service__toggle svg { transform: translateX(4px); }
.service.is-open .service__toggle svg { transform: rotate(-90deg); }

/* ---------- Loja ---------- */
.store { padding-bottom: 96px; }
@media (min-width: 1024px) { .store { padding-bottom: 144px; } }
.store__card {
  display: grid; gap: 40px; align-items: center;
  padding: 32px 24px; border-radius: 28px;
  background: linear-gradient(135deg, var(--brand-50), #fff 70%);
  border: 1px solid var(--mist);
}
@media (min-width: 640px)  { .store__card { padding: 48px; } }
@media (min-width: 1024px) { .store__card { grid-template-columns: 1.15fr .85fr; gap: 64px; padding: 64px; } }
.store__title { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); }
.store__text { margin-top: 18px; max-width: 52ch; font-size: 1.08rem; line-height: 1.7; color: var(--stone); }
.store__perks { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.store__perks li { display: flex; align-items: center; gap: 12px; font-size: .96rem; }
.store__perks svg {
  flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--mist);
  fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.store__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .store__actions { flex-direction: row; align-items: center; gap: 28px; } }
.store__alt { font-size: .95rem; font-weight: 500; color: var(--stone); text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.store__alt:hover { color: var(--brand); }

.files {
  max-width: 380px; margin-inline: auto; padding: 22px; border-radius: 20px;
  background: #fff; border: 1px solid var(--mist); box-shadow: var(--shadow-lift);
  transform: rotate(1.5deg); transition: transform .6s var(--ease);
}
.store__card:hover .files { transform: rotate(0deg) translateY(-4px); }
.files__head { padding: 0 4px 14px; font-size: .82rem; color: var(--stone); border-bottom: 1px solid var(--mist); }
.files ul { display: flex; flex-direction: column; }
.files li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--mist); }
.files li:last-child { border-bottom: 0; padding-bottom: 4px; }
.files__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 10px; font-size: .62rem; font-weight: 600; letter-spacing: .02em; }
.files__ic--a { background: var(--brand-50); color: var(--brand); }
.files__ic--b { background: #F6EFE2; color: #8A6A33; }
.files__ic--c { background: #ECEFF3; color: #3E5368; }
.files__txt { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.files__txt b { font-size: .92rem; font-weight: 500; }
.files__txt i { display: block; width: 70%; height: 5px; border-radius: 99px; background: var(--mist); }
.files__dl { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; }
.files__dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Diferenciais ---------- */
.differentials { background: var(--white); border-block: 1px solid var(--mist); }
.differentials__inner { position: relative; z-index: 1; display: grid; gap: 64px; }
@media (min-width: 1024px) { .differentials__inner { grid-template-columns: .9fr 1.4fr; gap: 80px; } }
@media (min-width: 1024px) { .differentials__intro { position: sticky; top: 128px; align-self: start; } }
.differentials__intro .lead { max-width: 44ch; }
.differentials__intro .btn { margin-top: 40px; }
.differentials__grid {
  display: grid; gap: 1px; overflow: hidden;
  border: 1px solid var(--mist); border-radius: var(--r-card); background: var(--mist);
}
@media (min-width: 640px) { .differentials__grid { grid-template-columns: repeat(2, 1fr); } }
.differentials__grid li { padding: 28px; background: var(--white); transition: background-color .5s var(--ease); }
@media (min-width: 640px) { .differentials__grid li { padding: 32px; } }
.differentials__grid li:hover { background: var(--paper); }
.differentials__grid .icon { color: var(--brand); transition: transform .5s var(--ease); }
.differentials__grid li:hover .icon { transform: translateY(-2px); }
.differentials__grid h3 { margin-top: 28px; font-size: 1.12rem; font-weight: 600; }
.differentials__grid p { margin-top: 12px; line-height: 1.7; color: var(--stone); }

/* ---------- Como funciona ---------- */
.timeline { position: relative; margin-top: 72px; }
.timeline__track { position: absolute; background: var(--mist); }
.timeline__progress { position: absolute; inset: 0; background: var(--brand); transition: transform 1.4s var(--ease); }
.timeline__steps { position: relative; display: grid; gap: 48px; }
.step { position: relative; padding-left: 72px; opacity: .25; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.step.is-active { opacity: 1; transform: none; }
.step__num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--mist);
  font-size: .9rem; font-weight: 500; color: var(--stone); font-variant-numeric: tabular-nums;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.step.is-active .step__num { background: var(--brand); border-color: var(--brand); color: #fff; }
.step h3 { padding-top: 10px; font-size: 1.2rem; font-weight: 600; }
.step p { margin-top: 10px; max-width: 34ch; line-height: 1.7; color: var(--stone); }

/* Vertical (mobile) */
.timeline__track { left: 23.5px; top: 24px; bottom: var(--track-end, 24px); width: 1px; }
.timeline__progress { transform-origin: top; transform: scaleY(var(--p, 0)); }

/* Horizontal (desktop) */
@media (min-width: 1024px) {
  .timeline__track { left: 24px; right: calc((100% - 96px) / 4 - 24px); top: 23.5px; bottom: auto; width: auto; height: 1px; }
  .timeline__progress { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .timeline__steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding-left: 0; padding-top: 80px; }
  .step h3 { padding-top: 0; }
}
.process__cta { display: flex; justify-content: center; margin-top: 72px; }

/* ---------- Orçamento ---------- */
.quote { position: relative; padding-block: 96px; background: var(--white); border-block: 1px solid var(--mist); }
@media (min-width: 1024px) { .quote { padding-block: 144px; } }
.quote__inner { display: grid; gap: 48px; }
@media (min-width: 1024px) { .quote__inner { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; } }
@media (min-width: 1024px) { .quote__intro { position: sticky; top: 128px; } }
.quote__points { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.quote__points li { display: flex; align-items: center; gap: 10px; }
.quote__points svg { stroke: var(--brand); }
.quote__alt { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--mist); }
.quote__alt p { margin-bottom: 14px; color: var(--stone); }
.quote__card {
  position: relative; padding: 24px; border-radius: 24px;
  background: var(--paper); border: 1px solid var(--mist);
}
@media (min-width: 640px) { .quote__card { padding: 40px; } }

.form__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; }
.field label, .field .label { margin-bottom: 8px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.field label span[aria-hidden] { color: var(--brand); }
.field__opt { font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border: 1px solid var(--mist); border-radius: var(--r-field); background: var(--white);
  font-size: 1rem; /* evita zoom no iOS */
  transition: border-color .25s, box-shadow .25s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 136px; line-height: 1.6; }
.field ::placeholder { color: #8A968F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #C8D1CB; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(11 81 57 / .1);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgb(166 61 50 / .1); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: rgb(11 81 57 / .4); }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.5px solid var(--stone); border-bottom: 1.5px solid var(--stone); transform: rotate(45deg); pointer-events: none;
}
.select select { padding-right: 44px; cursor: pointer; }
.field__error { min-height: 0; font-size: .85rem; color: var(--danger); }
.field__error:not(:empty) { margin-top: 8px; }
.field__meta { display: flex; justify-content: space-between; gap: 12px; }
.field__count { margin-top: 8px; margin-left: auto; font-size: .8rem; color: var(--stone); font-variant-numeric: tabular-nums; }

.upload {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 24px 16px; border: 1.5px dashed #C8D1CB; border-radius: var(--r-field); background: var(--white);
  cursor: pointer; transition: border-color .25s, background-color .25s;
}
.upload:hover, .upload.is-drag { border-color: var(--brand); background: var(--brand-50); }
.upload:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(11 81 57 / .1); }
.upload svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.upload__text { font-size: .94rem; color: var(--stone); }
.upload__text strong { color: var(--brand); font-weight: 500; }
.upload__hint { font-size: .8rem; color: var(--stone); }
.upload__file {
  display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
  border: 1px solid var(--mist); border-radius: var(--r-field); background: var(--white);
}
.upload__file > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.5; }
.upload__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; }
.upload__remove { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--stone); transition: background-color .2s, color .2s; }
.upload__remove:hover { background: var(--danger-bg); color: var(--danger); }
.upload__remove svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  display: flex; gap: 10px; margin-top: 24px; padding: 14px 16px; border-radius: var(--r-field);
  background: var(--danger-bg); color: var(--danger); font-size: .92rem;
}
.form__footer { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .form__footer { flex-direction: row; align-items: center; } }
.form__submit { min-width: 220px; }
.form__legal { font-size: .82rem; color: var(--stone); }
.form__legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
/* ---------- Sobre ---------- */
.about__inner { display: grid; gap: 40px; }
@media (min-width: 1024px) { .about__inner { grid-template-columns: .9fr 1.4fr; gap: 80px; } }
.about__body p { max-width: 62ch; line-height: 1.8; color: var(--stone); }
.about__body p + p { margin-top: 20px; }
.about__lede { font-family: var(--font-serif); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.45 !important; letter-spacing: -.01em; color: var(--ink) !important; margin-bottom: 32px; }
.about__facts { display: grid; gap: 1px; margin-top: 48px; border: 1px solid var(--mist); border-radius: var(--r-card); overflow: hidden; background: var(--mist); }
@media (min-width: 640px) { .about__facts { grid-template-columns: repeat(3, 1fr); } }
.about__facts div { padding: 20px 24px; background: var(--paper); }
.about__facts dt { font-size: .82rem; color: var(--stone); }
.about__facts dd { margin-top: 4px; font-weight: 500; }

/* ---------- Depoimentos ---------- */
.testimonials__grid { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 1024px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial { padding: 32px; border-top: 1px solid var(--ink); }
.testimonial blockquote p { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.4; }
.testimonial figcaption { margin-top: 24px; display: flex; flex-direction: column; font-size: .92rem; color: var(--stone); }
.testimonial figcaption strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); border-top: 1px solid var(--mist); }
.faq__inner { display: grid; gap: 48px; }
@media (min-width: 1024px) { .faq__inner { grid-template-columns: .8fr 1.4fr; gap: 80px; } .faq__head { position: sticky; top: 128px; align-self: start; } }
.accordion { border-block: 1px solid var(--mist); }
.acc-item + .acc-item { border-top: 1px solid var(--mist); }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; padding-block: 24px; text-align: left;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 500;
  transition: color .3s;
}
.acc-btn:hover, .acc-btn[aria-expanded="true"] { color: var(--brand); }
.acc-icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--mist); color: var(--stone);
  transition: background-color .3s, border-color .3s, color .3s;
}
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform .35s var(--ease); }
.acc-icon::before { width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; }
.acc-icon::after { width: 1.5px; height: 12px; margin: -6px 0 0 -.75px; }
.acc-btn:hover .acc-icon { border-color: rgb(11 81 57 / .4); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel p { max-width: 64ch; padding: 0 48px 28px 0; line-height: 1.75; color: var(--stone); }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative; overflow: hidden; padding-block: 112px; text-align: center;
  background: radial-gradient(70% 90% at 50% 100%, rgb(11 81 57 / .1), transparent 70%), var(--brand-50);
}
@media (min-width: 1024px) { .final-cta { padding-block: 168px; } }
.final-cta__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.final-cta__rings span {
  position: absolute; border-radius: 50%; border: 1px solid rgb(11 81 57 / .14);
  width: min(560px, 120vw); aspect-ratio: 1;
}
.final-cta__rings span:nth-child(2) { width: min(860px, 170vw); border-color: rgb(11 81 57 / .09); }
.final-cta__rings span:nth-child(3) { width: min(1160px, 220vw); border-color: rgb(11 81 57 / .05); }
.final-cta__inner { position: relative; z-index: 1; }
.final-cta__title { max-width: 16ch; margin-inline: auto; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); color: var(--ink); }
.final-cta__store { margin-top: 28px; font-size: .95rem; color: var(--stone); }
.final-cta__store a { color: var(--brand); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.final-cta .lead { margin-inline: auto; }
.final-cta__actions { display: flex; flex-direction: column; justify-content: center; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .final-cta__actions { flex-direction: row; } }

/* ---------- Footer ---------- */
.footer { background: var(--brand); color: var(--stone-light); padding: 72px 0 32px; font-size: .94rem; }
.footer__top { display: grid; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgb(255 255 255 / .1); }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.2fr 2fr; gap: 80px; } }
.footer__brand p { margin-top: 20px; max-width: 36ch; line-height: 1.7; }
.footer__nav { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .footer__nav { grid-template-columns: repeat(3, 1fr); } }
.footer__nav h3 { margin-bottom: 16px; font-size: .9rem; font-weight: 500; color: #fff; }
.footer__nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer a { transition: color .25s; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 24px; }
.social:empty { display: none; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .15); }
.social a:hover { border-color: rgb(255 255 255 / .4); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; font-size: .84rem; }
.footer__bottom ul { display: flex; gap: 24px; }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 10px;
  border: 1px solid var(--mist); border-radius: 999px;
  background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lift); font-size: .9rem; font-weight: 500;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .3s, color .3s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { color: var(--brand); border-color: rgb(11 81 57 / .3); }
.wa-float__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; }
.wa-float__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.wa-float__label { display: none; }
@media (min-width: 640px) { .wa-float { right: 24px; bottom: 24px; padding-right: 16px; } .wa-float__label { display: inline; } }

/* ---------- Voltar ao topo ---------- */
.back-to-top {
  position: fixed; right: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 64px); z-index: 39;
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--brand); color: #fff;
  box-shadow: var(--shadow-lift);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.back-to-top:hover { background: var(--brand-600); transform: translateY(-2px); }
.back-to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) { .back-to-top { right: 24px; bottom: 84px; } }

/* =====================================================================
   Movimento
   Uma sequência orquestrada na abertura da hero + revelações curtas
   por scroll. Tudo desligado com prefers-reduced-motion.
   ===================================================================== */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes sheet { from { opacity: 0; transform: translate3d(0, 40px, 0) rotate(var(--r, 0deg)); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }

.load { opacity: 0; animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.sheet-in { opacity: 0; animation: sheet 1.1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.line-in { transform-origin: left; transform: scaleX(0); animation: grow .7s var(--ease) forwards; animation-delay: var(--d, 0ms); }
.tick { opacity: 0; animation: pop .5s var(--ease) forwards; animation-delay: var(--d, 0ms); }

[data-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--stagger, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal], .no-js .step { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .load, .sheet-in, .tick, [data-reveal], .step, .mobile-menu ul li { animation: none !important; opacity: 1 !important; transition: none !important; }
  [data-reveal], .load, .step { transform: none !important; }
  .sheet-in { transform: rotate(var(--r, 0deg)) !important; }
  .line-in { animation: none !important; transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  body { font-size: .96rem; }
  .hero__title { font-size: clamp(2.64rem, 1.536rem + 4.032vw, 4.896rem); }
  .hero__lead { font-size: clamp(1.0176rem, .96rem + .288vw, 1.2rem); }
  .h2 { font-size: clamp(2.208rem, 1.536rem + 2.496vw, 3.456rem); }
  .lead { font-size: 1.08rem; }
  .authority__title { font-size: clamp(1.92rem, 1.536rem + 1.344vw, 2.4rem); }
  .store__title { font-size: clamp(1.92rem, 1.44rem + 1.728vw, 2.784rem); }
  .about__lede { font-size: clamp(1.296rem, 1.152rem + .576vw, 1.632rem); }
  .final-cta__title { font-size: clamp(2.4rem, 1.536rem + 3.456vw, 4.416rem); }
}
