/* ==========================================================================
   NAGIS Health — Design System
   Single source of truth for tokens + components.
   Shared by the WordPress theme (template parts) and the static preview.
   ========================================================================== */

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Brand + palette (anchored on the logo teal, tuned to the reference green) */
  --green-950: #0a2622; /* deepest surfaces: CTA / footer / dark ecosystem */
  --green-900: #0e2e28;
  --green-850: #123a33;
  --green-800: #16463d;
  --ink:       #12302b; /* headings on light */
  --brand:     #009696; /* logo teal — solid buttons / badges */
  --brand-2:   #00b4b4;
  --accent:    #12b5a5; /* emerald highlight: heading spans, links, kickers */
  --accent-2:  #17c9a8;
  --mint:      #7fe7c4; /* soft mint glow / light accents on dark */
  --muted:     #5a6b72; /* body text */
  --muted-2:   #8aa5ac; /* muted on dark */
  --line:      #e3ecee; /* hairlines / card borders */
  --line-2:    #eef3f3;
  --surface:   #ffffff;
  --surface-2: #f6f8f7; /* page background / alt sections */
  --tint:      #e6f5f5; /* teal tint chips / tinted cards */
  --tint-2:    #f0faf8;
  --warn-bg:   #fff6e5;
  --warn-bd:   #f0dca8;
  --warn-tx:   #7a5b12;

  /* Typography */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Radii + shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(10, 40, 36, .05);
  --shadow-md: 0 8px 30px rgba(10, 40, 36, .08);
  --shadow-lg: 0 24px 60px rgba(10, 40, 36, .12);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 9vw, 104px);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface-2);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* Resiliência: alguns plugins de "smooth scroll"/sliders fixam altura + overflow:hidden
   no html/body e travam a rolagem nativa. Garantimos que a página sempre role. */
html, body { height: auto !important; overflow-y: auto !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }

/* ----------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }

/* Big rounded "app" panel that holds the light sections (reference motif) */
.page {
  background: var(--surface);
  max-width: 1320px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* Decorative section divider: hairline + diamond nodes at the ends */
.divider { position: relative; height: 1px; max-width: var(--maxw); margin-inline: auto; }
.divider::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.divider .node { position: absolute; top: 50%; width: 10px; height: 10px;
  background: var(--mint); border-radius: 2px; opacity: .55; box-shadow: 0 0 14px 2px rgba(127,231,196,.6); }
.divider .node.l { left: 0; transform: translate(-50%,-50%) rotate(45deg); }
.divider .node.r { right: 0; transform: translate(50%,-50%) rotate(45deg); }

/* ----------------------------------------------------------------- Eyebrow / kicker */
.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.kicker--center { display: block; text-align: center; }

/* Section heading with two-tone highlight */
.h-display { font-size: clamp(30px, 5vw, 52px); letter-spacing: -.03em; }
.h-section { font-size: clamp(28px, 4.4vw, 46px); letter-spacing: -.03em; margin-top: 12px; }
.h-section .hl, .h-display .hl { color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.lead.center { margin-inline: auto; text-align: center; }
.h-section.center, .h-display.center { margin-inline: auto; }

/* ----------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--green-900); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--r-pill); border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  box-shadow: 0 6px 18px rgba(10,40,36,.16);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 10px 26px rgba(10,40,36,.22); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--teal { --btn-bg: var(--brand); }
.btn--teal:hover { background: var(--brand-2); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn--lg { padding: 20px 28px; font-size: 17px; width: 100%; justify-content: center; }
.btn--block { width: 100%; justify-content: center; }
/* Big gradient CTA button (reference final CTA) */
.btn--cta {
  background: linear-gradient(100deg, #0f8a78, var(--brand) 45%, var(--accent-2));
  color: #fff; box-shadow: 0 14px 40px rgba(18,181,165,.35);
}

/* ----------------------------------------------------------------- Tag / pill chip */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint); color: var(--brand);
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 8px 15px; border-radius: var(--r-pill);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(18,181,165,.18); }

/* ----------------------------------------------------------------- Header / nav */
.site-header { position: sticky; top: 14px; z-index: 50; padding-inline: var(--gutter); }
.nav {
  position: relative;
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-pill);
  padding: 12px 14px 12px 22px;
  box-shadow: 0 10px 40px rgba(10,40,36,.10), 0 0 0 1px rgba(18,181,165,.06);
}
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
/* Quando a nav usa um menu do WordPress (itens <li>), remove marcadores e faz o <a> virar item flex. */
.nav__links ul, .nav__links li { list-style: none; margin: 0; padding: 0; display: contents; }
.nav__links a { font-size: 15px; color: var(--ink); font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--brand); }
.nav__cta { margin-left: 6px; }
.nav__toggle { display: none; margin-left: auto; background: transparent; border: 0; width: 44px; height: 44px; border-radius: 12px; }
.nav__toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ----------------------------------------------------------------- Hero */
.hero { padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero__tag { margin-bottom: 22px; }
.hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; letter-spacing: -.03em; max-width: 18ch; line-height: 1.1; }
.hero h1 .hl { color: var(--accent); }
.hero__sub { font-size: clamp(17px, 1.9vw, 21px); color: var(--muted); max-width: 56ch; margin-top: 22px; }
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero__note { font-size: 13.5px; color: var(--muted); }
.hero__note b { color: var(--brand); }

/* Stat cards row */
.stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 46px; }
.stat {
  flex: 1; min-width: 180px;
  background: linear-gradient(180deg, var(--tint-2), #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px 24px;
}
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); letter-spacing: -.02em; }
.stat span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ----------------------------------------------------------------- Logo strip */
.logostrip { padding-block: clamp(28px, 4vw, 44px); }
.logostrip__title { text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.logostrip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 60px); margin-top: 26px; }
.logostrip__row span { color: #93a7ac; font-family: var(--font-display); font-weight: 700; font-size: 16px; filter: grayscale(1); opacity: .8; }

/* ----------------------------------------------------------------- Cards grid */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d4e6e5; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card p b { color: var(--ink); }
.card__more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--brand); font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.card__more .arrow { transition: transform .2s; }
.card:hover .card__more .arrow { transform: translateX(3px); }
.card--tint { background: linear-gradient(180deg, var(--tint), #fff); border-color: transparent; }
.card__big { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 40px); color: var(--accent); letter-spacing: -.03em; margin-bottom: 8px; }
.card__big--ink { color: var(--ink); }
.card__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .04em; color: var(--brand); text-transform: uppercase; }
.card a.link { color: var(--brand); font-weight: 600; }
.card a.link:hover { text-decoration: underline; }

/* ----------------------------------------------------------------- Dark ecosystem section */
.dark {
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(18,181,165,.14), transparent 55%),
    radial-gradient(90% 80% at 85% 90%, rgba(0,180,180,.10), transparent 55%),
    var(--green-950);
  color: #eaf5f2;
  border-radius: var(--r-xl);
  margin-inline: clamp(0px, 2vw, 24px);
  padding-block: var(--section-y);
}
.dark .kicker { color: var(--mint); }
.dark h2 { color: #fff; }
.dark h2 .hl { color: var(--mint); }
.dark .lead { color: #bcd6cf; }

/* solution cards inside the dark section */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.solution {
  border-radius: var(--r-lg); padding: 26px; min-height: 240px;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.solution h3 { color: inherit; font-size: 19px; margin-bottom: 10px; }
.solution p { font-size: 14.5px; line-height: 1.55; }
.solution--a { background: linear-gradient(160deg, #103a33, #0b2a25); color: #dff0ea; }
.solution--b { background: linear-gradient(160deg, #ffe7ea, #fff); color: #3a2a2c; }
.solution--c { background: linear-gradient(160deg, #bff3e4, #e9fbf5); color: #123a33; }
.solution--d { background: linear-gradient(160deg, #123a33, #0b2a25); color: #dff0ea; }
.solution p { opacity: .92; }

/* ----------------------------------------------------------------- Steps (Como funciona) */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.step__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; color: var(--ink); }
.step:nth-child(4n+1) .step__ico { background: var(--brand); color:#fff; }
.step:nth-child(4n+2) .step__ico { background: var(--mint); }
.step:nth-child(4n+3) .step__ico { background: var(--tint); color: var(--brand); }
.step:nth-child(4n+4) .step__ico { background: var(--green-900); color: var(--mint); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step h3 .num { color: var(--accent); }
.step p { color: var(--muted); font-size: 15px; }

/* ----------------------------------------------------------------- Proof accordion (Prova) */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 40px; }
.proof__list { display: flex; flex-direction: column; }
.proof__item { border-top: 1px solid var(--line); }
.proof__item:last-child { border-bottom: 1px solid var(--line); }
.proof__head { width: 100%; text-align: left; background: transparent; border: 0; padding: 22px 0; display: flex; align-items: center; gap: 14px; }
.proof__head h3 { font-size: 20px; transition: color .2s; }
.proof__bar { width: 3px; align-self: stretch; border-radius: 3px; background: transparent; transition: background .2s; }
.proof__item[aria-expanded="true"] .proof__bar { background: var(--accent); }
.proof__item[aria-expanded="true"] .proof__head h3 { color: var(--ink); }
.proof__panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.proof__panel-inner { padding: 0 0 22px 17px; color: var(--muted); font-size: 15px; }
.proof__panel a { color: var(--brand); font-weight: 600; }
/* Fixed height (not aspect-ratio) so the grid row sizes correctly and the
   panel never overflows into the section below. */
.proof__media { position: relative; align-self: start; }
.proof__media .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); height: clamp(280px, 30vw, 400px); }

/* ----------------------------------------------------------------- Testimonial */
.quote {
  background: linear-gradient(160deg, var(--tint), #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(30px, 5vw, 56px);
  max-width: 900px;
}
.quote__mark { width: 54px; height: 54px; border-radius: 14px; overflow: hidden; margin-bottom: 22px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; }
.quote__mark img { width: 40px; height: 40px; object-fit: contain; }
.quote p { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; color: var(--ink); line-height: 1.4; letter-spacing: -.01em; }
.quote__rule { width: 120px; height: 3px; background: var(--accent); border-radius: 3px; margin: 26px 0 18px; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__by b { font-family: var(--font-display); font-size: 16px; }
.quote__by span { color: var(--muted); font-size: 14px; }

/* ----------------------------------------------------------------- Video testimonials */
.videos { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 40px; }
.video {
  position: relative; display: block; overflow: hidden;
  flex: 1 1 300px; max-width: 380px;
  aspect-ratio: 16 / 9; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--green-950);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s, transform .3s ease; }
.video:hover .video__thumb { opacity: 1; transform: scale(1.03); }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,38,34,0) 40%, rgba(10,38,34,.75)); }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 68px; height: 68px; border-radius: 50%; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--brand);
  display: grid; place-items: center; font-size: 22px; padding-left: 4px;
  box-shadow: 0 8px 26px rgba(10,40,36,.35); transition: transform .2s ease, background .2s ease;
}
.video:hover .video__play { transform: translate(-50%,-50%) scale(1.08); background: #fff; }
.video__label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.3; }
.video__label span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: #bcd6cf; margin-top: 3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video.is-playing::after, .video.is-playing .video__play, .video.is-playing .video__label, .video.is-playing .video__thumb { display: none; }

/* ----------------------------------------------------------------- CTA band */
.ctaband {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 12% 120%, rgba(23,201,168,.5), transparent 45%),
    radial-gradient(70% 90% at 110% -10%, rgba(0,180,180,.25), transparent 50%),
    var(--green-950);
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
}
.ctaband h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); max-width: 20ch; }
.ctaband h2 .hl { color: var(--mint); }
.ctaband__sub { color: #bcd6cf; margin-top: 18px; max-width: 62ch; font-size: 16px; }
.ctaband__sub b { color: var(--mint); }
.ctaband .btn--cta { margin-top: 26px; }

/* Honeypot anti-spam (fora da tela) */
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Mensagem de retorno do formulário (contexto escuro: CTA / footer) */
.formmsg { border-radius: var(--r-md); padding: 14px 18px; font-size: 14.5px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 600; max-width: 640px; }
.formmsg--ok { background: rgba(23,201,168,.16); border: 1px solid rgba(23,201,168,.55); color: #eafff8; }
.formmsg--err { background: rgba(255,120,120,.12); border: 1px solid rgba(255,120,120,.5); color: #ffdede; }

/* Lead form (inside CTA) */
.leadform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin-top: 24px; }
.leadform input {
  width: 100%; padding: 15px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff;
  font-family: var(--font-body); font-size: 15px;
}
.leadform input::placeholder { color: #a9c6bf; }
.leadform input:focus { outline: none; border-color: var(--mint); background: rgba(255,255,255,.10); }
.leadform .btn { grid-column: 1 / -1; }
.leadform small { grid-column: 1 / -1; color: #a9c6bf; font-size: 12.5px; }

/* ----------------------------------------------------------------- FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 40px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__head { width: 100%; background: transparent; border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq__icon { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s ease; }
.faq__icon::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq__icon::after { left: 10px; top: 2px; bottom: 2px; width: 2px; }
.faq__item[aria-expanded="true"] .faq__icon::after { transform: scaleY(0); }
.faq__panel { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq__panel p { color: var(--muted); font-size: 15px; padding-bottom: 22px; }

/* ----------------------------------------------------------------- Footer */
.site-footer {
  background:
    radial-gradient(80% 120% at 90% 0%, rgba(18,181,165,.10), transparent 50%),
    var(--green-950);
  color: #c7ddd6;
  padding-block: clamp(48px, 6vw, 72px) 32px;
  margin-top: clamp(40px, 6vw, 72px);
}
.footer__grid { display: grid; grid-template-columns: 1.1fr .9fr 1.4fr; gap: clamp(28px, 5vw, 60px); }
.site-footer h4 { color: var(--mint); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-display); }
.site-footer a { display: block; color: #c7ddd6; font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer__brand img { height: 42px; filter: brightness(0) invert(1); }
.footer__news p { font-size: 14px; color: #a9c6bf; margin: 14px 0 18px; max-width: 42ch; }
.footer__form { display: flex; gap: 10px; max-width: 420px; }
.footer__form input { flex: 1; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-body); font-size: 14.5px; }
.footer__form input::placeholder { color: #91b0a9; }
.footer__form .btn { padding: 14px 20px; }
.footer__contact a { color: #dcefe9; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 12.5px; color: #8fb0a8; }
.footer__glossary { max-width: 100%; line-height: 1.7; }

/* ----------------------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); filter: blur(6px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------------- Calculator (LPs) */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 34px); box-shadow: var(--shadow-sm); margin-top: 30px; }
.calc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.calc__row label { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.calc__val { color: var(--brand); font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--accent-2)); margin: 12px 0 24px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: 0 2px 10px rgba(10,40,36,.28); cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.calc__stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; }
.calc__stat { flex: 1; min-width: 165px; background: var(--tint); border-radius: var(--r-md); padding: 15px 18px; }
.calc__stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink); }
.calc__stat span { font-size: 12.5px; color: var(--muted); }
.calc__stat.hl { background: var(--brand); } .calc__stat.hl b, .calc__stat.hl span { color: #fff; }
.calc__legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.calc__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.calc__table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 16px; }
.calc__table th { text-align: right; color: var(--muted); font-weight: 600; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.calc__table td { text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--line-2); }
.calc__table th:first-child, .calc__table td:first-child { text-align: left; }
.calc__note { font-size: 12px; color: var(--muted); margin-top: 14px; }
.callout { margin-top: 16px; background: var(--warn-bg); border: 1px solid var(--warn-bd); border-radius: var(--r-sm); padding: 14px 16px; font-size: 13.5px; color: var(--warn-tx); }

/* ----------------------------------------------------------------- Split (empresas: reversão de risco / autogestão) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: center; margin-top: 8px; }
.split .barchart { display: grid; place-items: center; }

/* ----------------------------------------------------------------- Utilities */
.mt-s { margin-top: 22px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 64px; }
.muted { color: var(--muted); }
.maxw-720 { max-width: 720px; }
.hide { display: none !important; }

/* ----------------------------------------------------------------- Hero with image */
.hero__grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(28px,4vw,56px); align-items: center; }
.hero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,38,34,0) 55%, rgba(10,38,34,.16)); }

/* ----------------------------------------------------------------- Card with image (Você é…) */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__img { aspect-ratio: 16/10; overflow: hidden; }
.card--media .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card--media:hover .card__img img { transform: scale(1.045); }
.card--media .card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card--media .card__body .card__more { margin-top: auto; }

/* ----------------------------------------------------------------- Régua card (Como funciona) */
.regua-card { max-width: 780px; margin-inline: auto; display: flex; gap: clamp(24px,4vw,44px); align-items: center; flex-wrap: wrap; justify-content: center; }

/* ----------------------------------------------------------------- Na mídia */
.medialist { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 14px; margin-top: 34px; }
.medialink { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.medialink:hover { transform: translateY(-2px); border-color: #d4e6e5; box-shadow: var(--shadow-md); }
.medialink b { font-family: var(--font-display); font-size: 15px; color: var(--ink); display: block; }
.medialink span { font-size: 12.5px; color: var(--muted); }
.medialink .arrow { color: var(--brand); flex: 0 0 auto; }

/* ----------------------------------------------------------------- Selos / certificações */
.selos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 18px; margin-top: 22px; }
.selo-card { display: flex; gap: 14px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--tint-2), #fff); }
.selo-card__ico { width: 52px; height: 52px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.selo-card__ico svg { width: 26px; height: 26px; fill: currentColor; }
.selo-card b { font-family: var(--font-display); display: block; font-size: 15px; color: var(--ink); }
.selo-card span { font-size: 13px; color: var(--muted); }
.selo-card--logo { flex-direction: column; align-items: flex-start; gap: 18px; }
.selo-card__logo { width: 100%; height: 52px; display: flex; align-items: center; }
.selo-card__logo img { max-height: 52px; max-width: 210px; width: auto; height: auto; object-fit: contain; }
.selo-card--photo { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.selo-card--photo img { width: 100%; height: 160px; object-fit: cover; }
.selo-card--photo .selo-card__cap { padding: 14px 18px; }
.selo-card--photo.is-placeholder { min-height: 200px; align-items: center; justify-content: center; text-align: center; border-style: dashed; color: var(--muted); font-size: 13.5px; padding: 24px; }

/* ----------------------------------------------------------------- Social (footer) */
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #c7ddd6; transition: background .2s, color .2s, border-color .2s, transform .2s; margin: 0; }
.social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* --- Button text color must win over contextual link colors (nav/footer) --- */
a.btn { color: var(--btn-fg); }
.site-footer a.btn { color: #fff; }

/* ----------------------------------------------------------------- Responsive */
@media (max-width: 1000px) {
  .grid--3, .grid--4, .solutions, .steps--4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__news { grid-column: 1 / -1; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16/10; order: -1; }
}
@media (max-width: 760px) {
  :root { --section-y: 56px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__links { display: flex; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 10px); flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; gap: 8px; box-shadow: var(--shadow-md); }
  .nav.is-open .nav__links a { padding: 8px 6px; }
  .grid--3, .grid--4, .grid--2, .solutions, .steps, .steps--4, .proof, .split, .faq__grid, .leadform, .footer__grid { grid-template-columns: 1fr; }
  .proof__media { display: none; }
  .footer__bottom { flex-direction: column; }
  .hero h1 { font-size: clamp(27px, 7.5vw, 38px); }
}
