/* ==========================================================================
   TR SOLUTIONS — Design System
   Terceirização de Serviços · Portaria · Limpeza · Obras
   Paleta extraída da identidade visual: vermelho institucional + azul técnico
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --red:            #D6001C;
  --red-dark:       #A80016;
  --red-light:      #FF3B52;
  --blue:           #0084D1;
  --blue-dark:      #005A9C;
  --blue-deep:      #00325C;
  --blue-light:     #4FB4EE;

  /* Neutros */
  --ink:            #0B1C2C;
  --ink-2:          #1E3448;
  --slate:          #4A6076;
  --slate-2:        #6C8199;
  --line:           #DCE6EF;
  --line-soft:      #EDF3F8;
  --surface:        #FFFFFF;
  --surface-2:      #F5F9FC;
  --surface-3:      #EAF2F9;

  /* Semânticos */
  --ok:             #12A150;
  --warn:           #E8A400;
  --star:           #F5A623;

  /* Gradientes */
  --grad-brand:     linear-gradient(115deg, var(--blue-deep) 0%, var(--blue-dark) 45%, var(--blue) 100%);
  --grad-red:       linear-gradient(120deg, var(--red-dark) 0%, var(--red) 100%);
  --grad-sheen:     linear-gradient(115deg, #FFFFFF 0%, #EAF4FC 40%, #BEE0F7 75%, #7EC4EE 100%);

  /* Tipografia */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Escala fluida */
  --fs-hero:  clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem);
  --fs-h1:    clamp(2.0rem, 1.3rem + 2.9vw, 3.4rem);
  --fs-h2:    clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem);
  --fs-h3:    clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  --fs-lead:  clamp(1.02rem, 0.95rem + 0.45vw, 1.25rem);
  --fs-body:  1rem;
  --fs-sm:    0.9rem;
  --fs-xs:    0.79rem;

  /* Espaçamento */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* Formas */
  --r-sm: 6px;  --r-md: 12px;  --r-lg: 18px;  --r-xl: 26px;  --r-pill: 999px;

  /* Sombras */
  --sh-xs: 0 1px 2px rgba(11, 28, 44, .06);
  --sh-sm: 0 2px 8px rgba(11, 28, 44, .07);
  --sh-md: 0 8px 26px rgba(11, 28, 44, .09);
  --sh-lg: 0 20px 55px rgba(11, 28, 44, .13);
  --sh-blue: 0 14px 38px rgba(0, 90, 156, .22);
  --sh-red: 0 14px 34px rgba(214, 0, 28, .24);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --header-h: 78px;

  --ease: cubic-bezier(.22, .68, .35, 1);
  --dur: .38s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.022em;
  margin: 0 0 var(--sp-4);
  font-weight: 800;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--red); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: .38rem; }

strong, b { font-weight: 700; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }

::selection { background: var(--blue); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.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;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding: clamp(3.5rem, 2rem + 6vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0; }
.section--alt { background: var(--surface-2); }
.section--soft { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.section--dark { background: var(--ink); color: #C6D6E4; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: var(--blue-light); }
.section--brand { background: var(--grad-brand); color: #DAEAF6; }
.section--brand h2, .section--brand h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-gap-lg { gap: var(--sp-6); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.stack > * + * { margin-top: var(--sp-4); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }

/* --------------------------------------------------------------------------
   4. TIPOGRAFIA AUXILIAR
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--grad-red);
}
.section--dark .eyebrow, .section--brand .eyebrow { color: var(--blue-light); }
.section--dark .eyebrow::before, .section--brand .eyebrow::before { background: var(--blue-light); }

.lead { font-size: var(--fs-lead); color: var(--slate); line-height: 1.62; }
.section--dark .lead, .section--brand .lead { color: #A9C4D8; }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; }

.muted { color: var(--slate-2); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }

.hl { color: var(--red); }
.hl-blue { color: var(--blue-dark); }
.underline-brand {
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 100% 4px; background-repeat: no-repeat;
  background-position: 0 92%; padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .88rem 1.6rem;
  font-family: var(--font-head); font-size: .95rem; font-weight: 700;
  letter-spacing: .005em; line-height: 1;
  border: 2px solid transparent; border-radius: var(--r-pill);
  cursor: pointer; text-align: center;
  transition: transform .18s var(--ease), box-shadow .28s var(--ease),
              background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--grad-red); color: #fff; box-shadow: var(--sh-red); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 42px rgba(214, 0, 28, .34); }

.btn-blue { background: var(--blue-dark); color: #fff; box-shadow: var(--sh-blue); }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }

.btn-wa { background: #1FAF54; color: #fff; box-shadow: 0 14px 34px rgba(31, 175, 84, .28); }
.btn-wa:hover { background: #178F44; color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); background: var(--surface-2); }

.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { color: var(--red); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }

.btn-sm { padding: .62rem 1.15rem; font-size: .85rem; }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.03rem; }
.btn-block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.btn-group.center { justify-content: center; }

/* Link com seta */
.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-family: var(--font-head); font-size: .93rem;
  color: var(--blue-dark);
}
.arrow-link::after {
  content: "→"; transition: transform .25s var(--ease); font-size: 1.05em;
}
.arrow-link:hover::after { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #9DB4C8;
  font-size: var(--fs-xs);
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; justify-content: space-between; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a { color: #C6D6E4; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; opacity: .75; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.93);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh-md); background: rgba(255,255,255,.98); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand__logo { height: 46px; width: auto; }
.brand:hover { opacity: .88; }

.nav__menu {
  display: flex; align-items: center; gap: .15rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block; padding: .6rem .72rem;
  font-family: var(--font-head); font-size: .9rem; font-weight: 600;
  color: var(--ink-2); border-radius: var(--r-sm);
  position: relative; white-space: nowrap;
}
.nav__menu a::after {
  content: ""; position: absolute; left: .72rem; right: .72rem; bottom: .32rem;
  height: 2.5px; border-radius: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__menu a:hover { color: var(--red); }
.nav__menu a:hover::after,
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav__menu a[aria-current="page"] { color: var(--red); }

.nav__cta { display: flex; align-items: center; gap: .6rem; flex: none; }

.nav__toggle {
  display: none; width: 46px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--surface); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav__toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: calc(var(--header-h) + 1px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: var(--sp-4) 1.25rem var(--sp-6);
    box-shadow: var(--sh-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__menu a { padding: .95rem .4rem; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav__menu a::after { display: none; }
  .nav__cta .btn:not(.nav__cta-main) { display: none; }
}
@media (max-width: 560px) {
  .nav__cta-main { display: none; }
  .brand__logo { height: 38px; }
}

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-brand);
  color: #D5E7F4;
  padding: clamp(3.5rem, 2rem + 7vw, 7rem) 0 clamp(3.5rem, 2rem + 6vw, 6rem);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(79,180,238,.34), transparent 62%),
    radial-gradient(760px 420px at 6% 104%, rgba(214,0,28,.24), transparent 60%);
}
.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  width: 100%; height: auto; opacity: .18; pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: var(--fs-hero); color: #fff; letter-spacing: -.03em;
  margin-bottom: var(--sp-5); text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--blue-light); }
.hero__lead { font-size: var(--fs-lead); color: #B9D3E6; max-width: 58ch; margin-bottom: var(--sp-6); }

.hero__badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: var(--sp-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.14);
}

/* Chip / badge */
.chip {
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .4rem .85rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .01em;
  background: rgba(255,255,255,.11); color: #DCEBF7;
  border: 1px solid rgba(255,255,255,.19);
  backdrop-filter: blur(6px);
}
.chip svg { width: 14px; height: 14px; }
.chip--light { background: var(--surface-3); color: var(--blue-deep); border-color: var(--line); }
.chip--red { background: rgba(214,0,28,.1); color: var(--red-dark); border-color: rgba(214,0,28,.2); }
.chip--ok { background: rgba(18,161,80,.1); color: #0C7A3C; border-color: rgba(18,161,80,.22); }

/* --------------------------------------------------------------------------
   8. PAGE HEADER (páginas internas)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--grad-brand); color: #C9DFEF;
  padding: clamp(2.5rem, 1.6rem + 4vw, 4.6rem) 0 clamp(2.5rem, 1.6rem + 4vw, 4.2rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 400px at 85% 0%, rgba(79,180,238,.3), transparent 60%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 20ch; text-wrap: balance; }
.page-hero .lead { color: #AFCCE2; max-width: 62ch; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  list-style: none; padding: 0; margin: 0 0 var(--sp-4);
  font-size: var(--fs-xs); color: #8FB2CC;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #C9DFEF; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--surface-3); }
.card--pad-lg { padding: var(--sp-6); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--slate); }
.card--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.card--dark p { color: #A9C4D8; }
.card--accent { border-top: 4px solid var(--red); }
.card--accent-blue { border-top: 4px solid var(--blue); }

.card__icon {
  width: 54px; height: 54px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: var(--sp-4);
  background: var(--surface-3); color: var(--blue-dark);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card__icon svg { width: 27px; height: 27px; }
.card--hover:hover .card__icon { background: var(--grad-red); color: #fff; }
.card__icon--red { background: rgba(214,0,28,.09); color: var(--red); }

/* Card de serviço com faixa superior */
.svc-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.svc-card__figure {
  position: relative; aspect-ratio: 16 / 9; background: var(--grad-brand);
  display: grid; place-items: center; overflow: hidden;
}
.svc-card__figure svg { width: 100%; height: 100%; }
.svc-card__tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--blue-deep);
  font-size: var(--fs-xs); font-weight: 700; padding: .3rem .7rem;
  border-radius: var(--r-pill);
}
.svc-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { margin-bottom: var(--sp-2); }
.svc-card__body p { color: var(--slate); font-size: var(--fs-sm); }
.svc-card__list { list-style: none; padding: 0; margin: var(--sp-4) 0; }
.svc-card__list li {
  position: relative; padding-left: 1.5rem; font-size: var(--fs-sm);
  color: var(--slate); margin-bottom: .42rem;
}
.svc-card__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
}
.svc-card__foot { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft); }

/* --------------------------------------------------------------------------
   10. MÉTRICAS / NÚMEROS
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-5); }
.stat { text-align: center; padding: var(--sp-4) var(--sp-3); }
.stat__num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.2rem);
  line-height: 1; color: var(--ink); letter-spacing: -.035em;
  display: block; margin-bottom: .45rem;
}
.stat__num sup, .stat__num .suffix { font-size: .5em; vertical-align: super; color: var(--red); margin-left: .06em; }
.stat__label { font-size: var(--fs-sm); color: var(--slate); line-height: 1.42; }
.section--dark .stat__num, .section--brand .stat__num { color: #fff; }
.section--dark .stat__label, .section--brand .stat__label { color: #9FBDD4; }

.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); overflow: hidden;
}
.stats-bar .stat { padding: var(--sp-5) var(--sp-4); border-right: 1px solid var(--line-soft); }
.stats-bar .stat:last-child { border-right: 0; }

/* --------------------------------------------------------------------------
   11. AVALIAÇÃO GOOGLE / ESTRELAS
   -------------------------------------------------------------------------- */
.rating {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700;
}
.rating__score { font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.section--dark .rating__score, .hero .rating__score { color: #fff; }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; color: var(--star); }
.stars--lg svg { width: 24px; height: 24px; }
.stars--sm svg { width: 13px; height: 13px; }

.google-card {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5);
  align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6); box-shadow: var(--sh-sm);
}
@media (max-width: 600px) { .google-card { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.google-card__score {
  font-family: var(--font-head); font-size: 3.4rem; font-weight: 800;
  line-height: 1; color: var(--ink); letter-spacing: -.045em;
}
.rating-bars { display: grid; gap: .32rem; }
.rating-bar { display: grid; grid-template-columns: 1.6rem 1fr 2.4rem; align-items: center; gap: .6rem; font-size: var(--fs-xs); color: var(--slate); }
.rating-bar__track { height: 7px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.rating-bar__fill { height: 100%; border-radius: 4px; background: var(--star); width: 0; transition: width 1.1s var(--ease); }

/* --------------------------------------------------------------------------
   12. DEPOIMENTOS
   -------------------------------------------------------------------------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.quote-card::before {
  content: "\201C"; position: absolute; top: -.1rem; left: 1.2rem;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1;
  color: var(--surface-3); z-index: 0;
}
.quote-card > * { position: relative; z-index: 1; }
.quote-card__text { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.72; flex: 1; }
.quote-card__foot {
  display: flex; align-items: center; gap: .8rem;
  margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line-soft);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  color: #fff; background: var(--grad-brand); letter-spacing: -.01em;
}
.avatar--red { background: var(--grad-red); }
.quote-card__name { font-weight: 700; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.quote-card__role { font-size: var(--fs-xs); color: var(--slate-2); }

/* --------------------------------------------------------------------------
   13. CLIENTES
   -------------------------------------------------------------------------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-4); }
.client-card {
  display: flex; align-items: center; gap: var(--sp-4);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5); min-height: 104px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.client-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--surface-3); }
.client-card__mark {
  width: 52px; height: 52px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem;
  background: var(--surface-3); color: var(--blue-deep); letter-spacing: -.04em;
}
.client-card__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .97rem; line-height: 1.28; }
.client-card__meta { font-size: var(--fs-xs); color: var(--slate-2); margin-top: .16rem; }

/* Marquee de clientes */
.marquee { overflow: hidden; position: relative; padding: var(--sp-4) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--sp-7); width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  color: var(--slate-2); white-space: nowrap; letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: .6rem;
}
.marquee__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); opacity: .55; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   14. GALERIA
   -------------------------------------------------------------------------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: var(--sp-6); }
.gal-filter {
  padding: .5rem 1.1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-size: .87rem; font-weight: 600; color: var(--slate);
  transition: all .22s var(--ease);
}
.gal-filter:hover { border-color: var(--blue); color: var(--blue-dark); }
.gal-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-4); }
.gal-item {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4 / 3; cursor: pointer; border: 1px solid var(--line);
  background: var(--surface-3); padding: 0; display: block; width: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.gal-item.is-hidden { display: none; }
.gal-item__media { position: absolute; inset: 0; }
.gal-item__media svg, .gal-item__media img { width: 100%; height: 100%; object-fit: cover; }
.gal-item__overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 2.4rem .95rem .9rem; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(6,20,32,.88));
  color: #fff;
}
.gal-item__title { font-family: var(--font-head); font-weight: 700; font-size: .93rem; line-height: 1.3; }
.gal-item__meta { font-size: var(--fs-xs); color: #B7CEE0; margin-top: .12rem; }
.gal-item__badge {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--blue-deep);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: .25rem .58rem; border-radius: var(--r-pill);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 18, 30, .93);
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner { max-width: 960px; width: 100%; }
.lightbox__media {
  border-radius: var(--r-md); overflow: hidden; background: #0A1A28;
  aspect-ratio: 16/10; display: grid; place-items: center;
}
.lightbox__media svg, .lightbox__media img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__caption { color: #DCEBF7; margin-top: var(--sp-4); text-align: center; }
.lightbox__caption h4 { color: #fff; margin-bottom: .2rem; }
.lightbox__close {
  position: absolute; top: 1.1rem; right: 1.2rem;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__close:hover { background: var(--red); border-color: var(--red); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 1.3rem; display: grid; place-items: center;
}
.lightbox__nav:hover { background: var(--blue); border-color: var(--blue); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
@media (max-width: 640px) { .lightbox__nav { display: none; } }

/* --------------------------------------------------------------------------
   15. PROCESSO / TIMELINE
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-5); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--surface-3); line-height: 1; display: block; margin-bottom: .4rem;
  letter-spacing: -.05em;
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px;
  border-radius: 2px; background: var(--grad-red);
}
.step h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.step p { font-size: var(--fs-sm); color: var(--slate); }
.section--dark .step::before { color: rgba(255,255,255,.13); }

.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: .5rem; bottom: .5rem;
  width: 2px; background: linear-gradient(180deg, var(--red), var(--blue));
}
.timeline__item { position: relative; padding-bottom: var(--sp-5); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -2.2rem; top: .42rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 3px var(--surface-2);
}
.timeline__item--red::before { border-color: var(--red); }
.timeline__date { font-size: var(--fs-xs); font-weight: 700; color: var(--red); letter-spacing: .05em; text-transform: uppercase; }
.timeline__item h4 { margin: .18rem 0 .3rem; }
.timeline__item p { font-size: var(--fs-sm); color: var(--slate); }

/* --------------------------------------------------------------------------
   16. FEATURES / LISTAS DE CHECK
   -------------------------------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative; padding-left: 2rem; margin-bottom: .78rem;
  color: var(--slate); line-height: 1.6;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(18,161,80,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312A150' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}
.check-list strong { color: var(--ink); }
.section--dark .check-list li, .section--brand .check-list li { color: #A9C4D8; }
.section--dark .check-list strong, .section--brand .check-list strong { color: #fff; }

.feature-row {
  display: grid; grid-template-columns: 56px 1fr; gap: var(--sp-4);
  align-items: start; padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line-soft);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row__icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--surface-3); color: var(--blue-dark);
}
.feature-row__icon svg { width: 26px; height: 26px; }
.feature-row h4 { margin-bottom: .25rem; }
.feature-row p { font-size: var(--fs-sm); color: var(--slate); margin: 0; }

/* --------------------------------------------------------------------------
   17. GRÁFICOS
   -------------------------------------------------------------------------- */
.chart-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--sh-sm);
}
.chart-card__head { margin-bottom: var(--sp-4); }
.chart-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0 0 .18rem; }
.chart-card__sub { font-size: var(--fs-xs); color: var(--slate-2); margin: 0; }
.chart-card svg { width: 100%; height: auto; overflow: visible; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--slate); }
.chart-legend span { display: inline-flex; align-items: center; gap: .38rem; }
.chart-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }

/* Barras animadas */
.bar-chart { display: grid; gap: var(--sp-4); }
.bar-row { display: grid; gap: .34rem; }
.bar-row__head { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-sm); }
.bar-row__label { color: var(--ink-2); font-weight: 600; }
.bar-row__value { font-family: var(--font-head); font-weight: 700; color: var(--blue-dark); }
.bar-row__track { height: 11px; border-radius: 6px; background: var(--line-soft); overflow: hidden; }
.bar-row__fill {
  height: 100%; border-radius: 6px; width: 0;
  background: var(--grad-brand);
  transition: width 1.3s var(--ease);
}
.bar-row--red .bar-row__fill { background: var(--grad-red); }
.bar-row--red .bar-row__value { color: var(--red); }

/* Donut */
.donut { display: grid; place-items: center; position: relative; }
.donut svg { transform: rotate(-90deg); }
.donut__ring { fill: none; stroke: var(--line-soft); }
.donut__val {
  fill: none; stroke: var(--blue); stroke-linecap: round;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.donut__center {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.donut__num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; }
.donut__cap { font-size: var(--fs-xs); color: var(--slate-2); }

/* --------------------------------------------------------------------------
   18. TABELAS
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
table.data th, table.data td { padding: .82rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data thead th {
  background: var(--surface-2); font-family: var(--font-head); font-weight: 700;
  color: var(--ink); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 2px solid var(--line);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data td strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   19. ACCORDION / FAQ
   -------------------------------------------------------------------------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.15rem 1.4rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.faq__q:hover { background: var(--surface-2); color: var(--blue-dark); }
.faq__q::after {
  content: ""; flex: none; width: 13px; height: 13px;
  border-right: 2.5px solid var(--slate-2); border-bottom: 2.5px solid var(--slate-2);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .3s var(--ease);
}
.faq__q[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .34s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 1.4rem 1.25rem; color: var(--slate); font-size: var(--fs-sm); margin: 0; }
.faq__a p + p { padding-top: 0; }

/* --------------------------------------------------------------------------
   20. CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--grad-red); color: #FFE3E7;
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 1.4rem + 3vw, 3.6rem) clamp(1.5rem, 1rem + 3vw, 3.4rem);
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: #FFD3D9; max-width: 56ch; }
.cta-band__grid { display: grid; grid-template-columns: 1.4fr auto; gap: var(--sp-6); align-items: center; }
@media (max-width: 800px) { .cta-band__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   21. FORMULÁRIO
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-4); }
.field { display: grid; gap: .38rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem 1rem;
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3.5px rgba(0,132,209,.15);
}
.field input::placeholder, .field textarea::placeholder { color: #9FB2C4; }
.field__hint { font-size: var(--fs-xs); color: var(--slate-2); }
.field__error { font-size: var(--fs-xs); color: var(--red); display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--slate); }
.checkbox input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--blue-dark); }

.form-note {
  background: var(--surface-2); border-left: 3px solid var(--blue);
  padding: var(--sp-4); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--fs-sm); color: var(--slate);
}
.form-status { padding: var(--sp-4); border-radius: var(--r-sm); font-size: var(--fs-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(18,161,80,.1); color: #0C7A3C; border: 1px solid rgba(18,161,80,.25); }

/* --------------------------------------------------------------------------
   22. CONTATO
   -------------------------------------------------------------------------- */
.contact-card {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--sp-4);
  align-items: start; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line-soft);
}
.contact-card:last-child { border-bottom: 0; }
.contact-card__icon {
  width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .09em; color: var(--slate-2); font-weight: 700; }
.contact-card__value { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.contact-card__value a { color: var(--ink); }
.contact-card__value a:hover { color: var(--red); }
.contact-card__note { font-size: var(--fs-xs); color: var(--slate-2); }

/* --------------------------------------------------------------------------
   23. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #90A9BE; font-size: var(--fs-sm); }
.footer-main { padding: clamp(2.8rem, 2rem + 3vw, 4.5rem) 0 var(--sp-6); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: var(--sp-6);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand__logo { height: 46px; margin-bottom: var(--sp-4); }
.footer-brand p { color: #8AA3B8; font-size: var(--fs-sm); max-width: 34ch; }
.footer-col h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .11em;
  margin-bottom: var(--sp-4); font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: #90A9BE; }
.footer-col a:hover { color: #fff; }

.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: .22rem; color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: var(--sp-4) 0;
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: #6E879C;
}
.footer-bottom a { color: #90A9BE; }

/* --------------------------------------------------------------------------
   24. WHATSAPP FLUTUANTE
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #1FAF54; color: #fff; border-radius: var(--r-pill);
  padding: .82rem 1.25rem; font-family: var(--font-head); font-weight: 700; font-size: .93rem;
  box-shadow: 0 12px 34px rgba(31,175,84,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); color: #fff; box-shadow: 0 18px 42px rgba(31,175,84,.5); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float__label { display: inline; }
@media (max-width: 560px) {
  .wa-float { padding: .85rem; border-radius: 50%; right: .9rem; bottom: .9rem; }
  .wa-float__label { display: none; }
}
.wa-float::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit;
  border: 2px solid rgba(31,175,84,.5); animation: pulse-ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { transform: scale(.95); opacity: .8; }
  70%  { transform: scale(1.14); opacity: 0; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* --------------------------------------------------------------------------
   25. UTILITÁRIOS DE FUNDO / DECORAÇÃO
   -------------------------------------------------------------------------- */
.bg-dots {
  background-image: radial-gradient(var(--line) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
}
.bg-grid {
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
}
.deco-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .4; pointer-events: none; z-index: 0;
}

.media-frame {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface-2); box-shadow: var(--sh-md); position: relative;
}
.media-frame svg { width: 100%; height: auto; display: block; }
.media-frame--flush { box-shadow: var(--sh-lg); }

.badge-float {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: .7rem .95rem; box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: .65rem;
}
.badge-float__num { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); line-height: 1; }
.badge-float__txt { font-size: var(--fs-xs); color: var(--slate); line-height: 1.28; }

/* --------------------------------------------------------------------------
   26. ANIMAÇÕES DE ENTRADA
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   27. IMPRESSÃO
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .wa-float, .topbar, .nav__toggle, .cta-band { display: none !important; }
  body { color: #000; }
  .section { padding: 1rem 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
