/* ==========================================================================
   Aleph Log — LPs (principal + institucional-b + obrigado)
   Tokens de cor e tipografia herdados do site alephlog.com (navy, azul de
   marca, âmbar de CTA, Raleway + Inter). Um só CSS serve as três páginas.
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas, subset latino, variáveis 100–900) ---------- */
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fallbacks com métricas ajustadas: a troca de fonte não empurra o layout */
@font-face { font-family: "Raleway Fallback"; src: local("Arial"); size-adjust: 101.5%; ascent-override: 92.6%; descent-override: 23%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.3%; ascent-override: 90.3%; descent-override: 22.5%; line-gap-override: 0%; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0b1b33;
  --navy-900: #0f2342;
  --navy-800: #142d53;   /* --navy do alephlog.com */
  --navy-700: #1b3762;   /* --primary do alephlog.com */
  --steel: #274777;
  --blue-600: #3d62a8;   /* azul de marca para texto em fundo claro (5,98:1) */
  --blue-500: #4d70b2;   /* --brand do alephlog.com */
  --blue-300: #8fb0ec;   /* azul de marca para texto em fundo escuro (6,27:1) */
  --logo-blue: #1c7cd4;
  --ice: #e9eff7;
  --paper: #f3f5f8;
  --line: #dadee3;
  --field-line: #aab5c3;
  --ink: #192029;
  --muted: #5b6470;
  --on-dark: #ffffff;
  --on-dark-muted: #c7d3e6;
  --amber: #f08a1c;       /* CTA — texto navy por cima (6,2:1) */
  --amber-hover: #f59b2f;
  --amber-press: #e27d10;
  --go: #3ddc84;          /* luz verde do processo Green Light */
  --go-ink: #17803f;
  --danger: #b3261e;
  --danger-on-dark: #ffb4ab;

  --font-display: "Raleway", "Raleway Fallback", system-ui, sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;

  --fs-h1: clamp(2.125rem, 1.5rem + 2.5vw, 3.375rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.7vw, 2.625rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  --r-sm: 4px;
  --r: 6px;
  --r-lg: 12px;
  --shadow-card: 0 1px 2px rgb(15 35 66 / 0.06), 0 10px 28px -14px rgb(15 35 66 / 0.22);
  --shadow-pop: 0 30px 80px -24px rgb(11 27 51 / 0.6);

  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-pad: clamp(4rem, 2.6rem + 5vw, 7.5rem);
  --header-h: 4.25rem;

  --focus-ring: var(--blue-600);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue-600); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  text-wrap: balance;
  font-variant-numeric: lining-nums;  /* Raleway usa algarismos antigos por padrão */
}
p, li, dd { text-wrap: pretty; }
strong { font-weight: 650; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
::selection { background: var(--blue-300); color: var(--navy-950); }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.5rem; }
.has-sticky-header [id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
html:has(dialog[open]) { overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #fff; color: var(--navy-900); padding: 0.75rem 1rem; border-radius: var(--r);
  font-weight: 600; box-shadow: var(--shadow-card);
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--paper { background: var(--paper); }
.section--ice { background: var(--ice); }
.theme-dark { color: var(--on-dark); --focus-ring: var(--blue-300); }
.theme-dark a:not(.btn) { color: #fff; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Tipografia de seção ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head h2 { font-size: var(--fs-h2); color: var(--navy-800); }
.section-head p { margin-top: 1rem; font-size: var(--fs-lead); color: var(--muted); }
.section-head p strong { color: var(--ink); }
.theme-dark .section-head h2 { color: #fff; }
.theme-dark .section-head p { color: var(--on-dark-muted); }
.theme-dark .section-head p strong { color: #fff; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none; display: grid; gap: 1rem 4rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end;
}
.section-head--split p { margin-top: 0; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }
.lead { font-size: var(--fs-lead); line-height: 1.55; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--r);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  letter-spacing: 0.005em; text-align: center; text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: var(--navy-950); }
.btn--primary:hover { background: var(--amber-hover); }
.btn--primary:active { background: var(--amber-press); }
.btn--ghost { border-color: rgb(255 255 255 / 0.4); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgb(255 255 255 / 0.08); border-color: #fff; }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn--lg { min-height: 3.5rem; padding-inline: 2rem; font-size: 1.0625rem; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { cursor: progress; opacity: 0.85; }
.btn__spinner {
  width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Cabeçalho (LP principal) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(11 27 51 / 0.97); color: #fff;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  --focus-ring: var(--blue-300);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(11 27 51 / 0.88); backdrop-filter: saturate(1.3) blur(10px); }
}
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.site-header .btn { white-space: nowrap; flex: none; }
.brand img { height: 2rem; width: auto; }
.site-header__contact { margin-left: auto; display: flex; align-items: center; gap: 0.25rem 1.25rem; font-size: 0.875rem; }
.site-header__contact a {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem;
  color: var(--on-dark-muted); text-decoration: none; white-space: nowrap;
}
.site-header__contact a:hover { color: #fff; }
.site-header__contact .icon { width: 1.05rem; height: 1.05rem; color: var(--blue-300); }
.lang { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; }
.lang [aria-current] { color: #fff; }
.lang a { color: var(--on-dark-muted); text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; padding-inline: 0.2rem; }
.lang a:hover { color: #fff; text-decoration: underline; }
.lang__sep { color: rgb(255 255 255 / 0.3); }
@media (max-width: 1080px) { .hide-lg { display: none !important; } }
@media (max-width: 760px) {
  :root { --header-h: 3.75rem; }
  .brand img { height: 1.625rem; }
  .site-header__inner { gap: 0.5rem; }
  .hide-md { display: none !important; }
  .site-header__contact { gap: 0; }
  .site-header__contact a { width: 2.75rem; justify-content: center; }
  .site-header__contact .icon { width: 1.3rem; height: 1.3rem; }
}
@media (max-width: 420px) {
  .hide-xs { display: none !important; }
  .site-header .btn--sm { padding-inline: 0.875rem; font-size: 0.875rem; }
}

/* ---------- Hero (compartilhado) ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; background: var(--navy-900); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: var(--fs-h1); }
.hero .lead { margin-top: 1.5rem; color: var(--on-dark-muted); max-width: 36rem; }
.hero .lead strong { color: #fff; }

/* Hero — LP principal */
.hero--a { background: radial-gradient(70rem 40rem at 78% 30%, rgb(28 124 212 / 0.28), transparent 65%), var(--navy-900); }
.hero--a .hero__bg { opacity: 0.5; object-position: 30% center; }
.hero--a .hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: end;
}
.hero--a .hero__copy { padding-block: clamp(3rem, 2rem + 4.5vw, 6rem); }
.hero--a h1 { max-width: 19ch; }
.hero__kicker { display: block; font-weight: 400; color: var(--on-dark-muted); letter-spacing: -0.005em; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero__aside-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--on-dark-muted); text-decoration: none; }
.hero__aside-link:hover { color: #fff; text-decoration: underline; }
.hero__aside-link .icon { color: var(--go); }
.hero__media { position: relative; align-self: stretch; display: flex; align-items: end; justify-content: center; min-height: 26rem; }
.hero__tiles {
  position: absolute; top: clamp(2rem, 4vw, 3.5rem); right: 0;
  width: min(100%, 31rem); display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.hero__tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); box-shadow: 0 12px 32px -18px rgb(0 0 0 / 0.8); }
.hero__tiles img:nth-child(2), .hero__tiles img:nth-child(4) { translate: 0 1.5rem; }
.hero__person {
  position: relative; z-index: 1; width: min(100%, 33rem); margin-right: 4%;
  filter: drop-shadow(0 24px 36px rgb(0 0 0 / 0.45));
}
@media (max-width: 900px) {
  .hero--a .hero__grid { grid-template-columns: 1fr; gap: 0; }
  .hero--a .hero__copy { padding-bottom: 2rem; }
  .hero__media { min-height: 0; padding-top: 0.5rem; }
  .hero__tiles { top: 0; left: 50%; right: auto; translate: -50% 0; width: min(92%, 26rem); }
  .hero__person { width: min(86%, 25rem); margin: 3.5rem auto 0; }
}

/* ---------- Faixa de diferenciais (LP principal) ---------- */
.benefits { background: var(--paper); border-bottom: 1px solid var(--line); }
.benefits__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefits__list li {
  display: flex; align-items: center; gap: 0.875rem; padding: 1.35rem 1.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--navy-800);
}
.benefits__list li + li { border-left: 1px solid var(--line); }
.benefits__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ice); color: var(--blue-600); flex: none; }
.benefits__icon .icon { width: 1.35rem; height: 1.35rem; }
@media (max-width: 760px) {
  .benefits__list { grid-template-columns: 1fr; }
  .benefits__list li { padding: 0.9rem 0; }
  .benefits__list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Seção de cotação (LP principal) ---------- */
.quote { position: relative; isolation: isolate; background: var(--navy-900); padding-block: var(--section-pad); }
.quote__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 35 66 / 0.55) 0%, rgb(15 35 66 / 0.9) 70%, var(--navy-900) 100%); }
.quote__title { font-size: var(--fs-h2); color: #fff; text-align: center; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.quote__card {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  max-width: 66rem; margin-inline: auto; background: #fff; color: var(--ink);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop);
  --focus-ring: var(--blue-600);
}
.quote__intro { background: var(--ice); padding: clamp(1.75rem, 1rem + 3vw, 3rem); }
.quote__intro h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); color: var(--navy-800); }
.quote__intro p { margin-top: 1rem; color: var(--muted); }
.quote__intro p strong { color: var(--ink); }
.quote__intro .checklist { margin-top: 1.75rem; }
@media (max-width: 860px) { .quote__card { grid-template-columns: 1fr; } }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.8rem; }
.checklist li { display: grid; grid-template-columns: 1.375rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.checklist li::before {
  content: ""; width: 1.375rem; height: 1.375rem; margin-top: 0.1rem; border-radius: 50%;
  background: var(--check-bg, var(--blue-600)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.checklist--go li::before { --check-bg: var(--go-ink); }

/* ---------- Formulário de lead ---------- */
.lead-form { padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem); }
.lead-form__required { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 1rem; }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.375rem; min-width: 0; align-content: start; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend {
  font-size: 0.875rem; font-weight: 600; line-height: 1.35; color: var(--navy-800); padding: 0;
}
.field .req { color: var(--blue-600); font-weight: 700; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); margin-top: -0.125rem; }
.field input:not([type="radio"]) {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.875rem;
  border: 1px solid var(--field-line); border-radius: var(--r); background: #fff;
  font-size: 1rem; line-height: 1.3; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: #7d8794; }
.field input:not([type="radio"]):hover { border-color: #7f8da0; }
.field input:not([type="radio"]):focus-visible {
  outline: 2px solid transparent; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgb(61 98 168 / 0.28);
}
.field input[aria-invalid="true"] { border-color: var(--danger); background: #fff7f6; }
.field input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgb(179 38 30 / 0.2); }
.field__error { display: flex; align-items: flex-start; gap: 0.375rem; font-size: var(--fs-xs); line-height: 1.4; color: var(--danger); font-weight: 500; }
.field__error::before {
  content: ""; flex: none; width: 0.95rem; height: 0.95rem; margin-top: 0.05rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Sim / Não como botões de opção visíveis (2 opções → rádio, não select) */
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.choice label { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 3rem;
  border: 1px solid var(--field-line); border-radius: var(--r); background: #fff;
  font-weight: 600; color: var(--navy-800); transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.choice label:hover span { border-color: #7f8da0; }
.choice input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.choice input:checked + span::before {
  content: ""; width: 1rem; height: 1rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.choice input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.field[data-invalid] .choice span { border-color: var(--danger); }
/* Pergunta Sim/Não em linha: enunciado à esquerda, opções à direita */
.field--inline-choice { display: block; }
.field--inline-choice > legend { float: left; width: calc(100% - 9.75rem); min-height: 3rem; display: flex; align-items: center; padding-right: 0.75rem; }
.field--inline-choice .choice { width: 9.75rem; margin-left: auto; }
.field--inline-choice .field__error { clear: both; padding-top: 0.375rem; }
@media (max-width: 360px) {
  .field--inline-choice > legend { float: none; width: auto; min-height: 0; margin-bottom: 0.375rem; }
  .field--inline-choice .choice { width: auto; }
}
.lead-form__submit { margin-top: 1.5rem; }
.lead-form__note { margin-top: 0.875rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; text-wrap: balance; }
.lead-form__note .icon { display: inline-block; width: 0.95rem; height: 0.95rem; margin-right: 0.35rem; vertical-align: -0.15em; }
.lead-form__status:empty { display: none; }
.lead-form__status {
  margin-top: 1rem; padding: 0.875rem 1rem; border-radius: var(--r);
  font-size: var(--fs-sm); line-height: 1.45; background: #fff4f2; color: #7f1d17; border: 1px solid #f3c2bc;
}
.lead-form__status a { color: inherit; font-weight: 700; }
.lead-form__status[data-tone="ok"] { background: #edf8f1; color: #145c31; border-color: #bfe4cc; }
@media (max-width: 520px) { .lead-form__grid { grid-template-columns: 1fr; } }

/* ---------- Certificações ---------- */
.certs { background: #fff; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--line); }
.certs__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.cert { display: grid; grid-template-rows: 4.5rem auto; justify-items: center; align-items: center; gap: 0.875rem; text-align: center; }
.cert img { max-height: 4.5rem; width: auto; max-width: min(100%, 9rem); object-fit: contain; }
.cert p { font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); align-self: start; max-width: 13rem; }
@media (max-width: 960px) { .certs__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .certs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Cargas especiais ---------- */
.special__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.special-item img { width: 100%; aspect-ratio: 427 / 242; object-fit: cover; border-radius: var(--r); }
.special-item h3 { margin-top: 1.25rem; font-size: var(--fs-h3); color: var(--navy-800); }
.special-item p { margin-top: 0.5rem; color: var(--muted); }
@media (max-width: 860px) {
  .special__grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
}

/* ---------- Boutique + 5 camadas (LP principal) ---------- */
.boutique {
  background:
    radial-gradient(55rem 32rem at 90% -5%, rgb(28 124 212 / 0.25), transparent 62%),
    radial-gradient(40rem 30rem at -10% 110%, rgb(28 124 212 / 0.14), transparent 60%),
    var(--navy-900);
}
.boutique__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
.boutique h2 { font-size: var(--fs-h2); }
.boutique h2 em { font-style: italic; font-weight: 700; }
.boutique__intro > p { margin-top: 1.25rem; color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 34rem; }
.boutique__intro > p strong { color: #fff; }
.receita-note {
  margin-top: 2.25rem; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg);
  background: var(--navy-700); border: 1px solid rgb(255 255 255 / 0.1); max-width: 34rem;
}
.receita-note p { color: var(--on-dark-muted); }
.receita-note .btn { margin-top: 1.25rem; }
.layers { border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: rgb(255 255 255 / 0.03); }
.layers__title { font-size: var(--fs-h3); }
.layers__lede { margin-top: 0.35rem; color: var(--on-dark-muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .boutique__grid { grid-template-columns: 1fr; } }

/* ---------- Assinatura: trilho Green Light ----------
   Cada camada é uma lâmpada no trilho. Estado estático (sem suporte a
   animação ligada à rolagem, ou com movimento reduzido): todas acesas —
   o processo inteiro concluído. Com suporte, elas acendem uma a uma
   conforme a pessoa rola, e a última libera a carga. */
.signal { --rail: rgb(255 255 255 / 0.16); --lamp-off: #2c4166; --lamp-ring-off: rgb(255 255 255 / 0.22); --step-text: var(--on-dark-muted); --step-title: #fff; }
.signal--light { --rail: var(--line); --lamp-off: #cfd6e0; --lamp-ring-off: #b7c1ce; --step-text: var(--muted); --step-title: var(--navy-800); }
.signal-track { position: relative; list-style: none; padding: 0; margin-top: 1.75rem; }
.signal-track::before, .signal-track::after {
  content: ""; position: absolute; left: calc(0.875rem - 1px); top: 0.875rem; bottom: 0.875rem; width: 2px; border-radius: 2px;
}
.signal-track::before { background: var(--rail); }
.signal-track::after { background: var(--go); transform-origin: top; }
.signal-step { position: relative; padding: 0 0 1.6rem 3rem; }
.signal-step:last-child { padding-bottom: 0; }
.signal-lamp {
  position: absolute; z-index: 1; left: 0; top: 0.05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-950);
  border: 2px solid rgb(61 220 132 / 0.55);
}
.signal--light .signal-lamp { background: #fff; border-color: rgb(23 128 63 / 0.45); }
.signal-lamp::after {
  content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--go); box-shadow: 0 0 0 3px rgb(61 220 132 / 0.18), 0 0 14px 2px rgb(61 220 132 / 0.6);
}
.signal-step h3, .signal-step h4 { font-size: 1.0625rem; color: var(--step-title); line-height: 1.3; }
.signal-step p { margin-top: 0.3rem; color: var(--step-text); font-size: var(--fs-sm); }
.signal-end {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.25rem;
  border-top: 1px dashed var(--rail); font-family: var(--font-display); font-weight: 700; color: var(--go);
}
.signal--light .signal-end { color: var(--go-ink); }
.signal-end__lamp { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgb(61 220 132 / 0.2), 0 0 18px 3px rgb(61 220 132 / 0.65); flex: none; }
/* A "linha de luz" fica a 55% da altura da tela: o trilho enche e cada
   lâmpada acende quando cruza essa linha. */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .signal-track { view-timeline: --signal-track block; }
    .signal-track::after {
      animation: rail-fill linear both;
      animation-timeline: --signal-track;
      animation-range: entry-crossing 45vh entry-crossing calc(100% + 45vh);
    }
    .signal-lamp, .signal-end__lamp { view-timeline: --lamp block; }
    .signal-lamp, .signal-lamp::after, .signal-end__lamp {
      animation: lamp-on linear both;
      animation-timeline: --lamp;
      animation-range: entry-crossing calc(45vh - 2.5rem) entry-crossing calc(100% + 45vh);
    }
  }
}
@keyframes rail-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes lamp-on {
  from { background: var(--lamp-off); border-color: var(--lamp-ring-off); box-shadow: none; }
}

/* ---------- Networking (mapa hexagonal) ---------- */
.network { background: var(--navy-950); }
.network__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.network h2 { font-size: var(--fs-h2); }
.network h2 em { font-style: italic; }
.network__copy p { margin-top: 1.25rem; color: var(--on-dark-muted); font-size: var(--fs-lead); }
.network__copy p strong { color: #fff; }
.hexmap { position: relative; width: min(100%, 36rem); aspect-ratio: 1; margin-inline: auto; }
/* Hexágono em 60% da caixa: vértices laterais em 25,3% / 74,7%, topo em 21,5%, base em 78,5%.
   Os rótulos laterais ficam do lado de fora dos vértices, alinhados para longe deles. */
.hexmap__lines { position: absolute; inset: 20%; width: 60%; height: 60%; color: rgb(143 176 236 / 0.45); }
.hexmap__center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 24%; }
.hexmap__center img { width: 100%; }
.hexmap__list { list-style: none; padding: 0; }
.hexmap__list li {
  position: absolute; display: grid; gap: 0.45rem;
  font-size: var(--fs-xs); font-weight: 600; line-height: 1.35; color: var(--on-dark-muted);
}
.hexmap__list .icon { width: 1.6rem; height: 1.6rem; color: var(--blue-300); }
.hexmap__list li:nth-child(1), .hexmap__list li:nth-child(4) { left: 50%; width: 11rem; translate: -50% 0; justify-items: center; text-align: center; }
.hexmap__list li:nth-child(1) { bottom: calc(78.5% + 0.75rem); }
.hexmap__list li:nth-child(4) { top: calc(78.5% + 0.75rem); }
.hexmap__list li:nth-child(2), .hexmap__list li:nth-child(3) { left: calc(74.7% + 0.9rem); width: calc(25.3% - 0.9rem); translate: 0 -50%; justify-items: start; text-align: left; }
.hexmap__list li:nth-child(5), .hexmap__list li:nth-child(6) { right: calc(74.7% + 0.9rem); width: calc(25.3% - 0.9rem); translate: 0 -50%; justify-items: end; text-align: right; }
.hexmap__list li:nth-child(2), .hexmap__list li:nth-child(6) { top: 35.75%; }
.hexmap__list li:nth-child(3), .hexmap__list li:nth-child(5) { top: 64.25%; }
@media (max-width: 900px) {
  .network__grid { grid-template-columns: 1fr; }
  .hexmap { aspect-ratio: auto; width: 100%; }
  .hexmap__lines, .hexmap__center { display: none; }
  .hexmap__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .hexmap__list li, .hexmap__list li:nth-child(n) {
    position: static; translate: none; width: auto; justify-items: start; text-align: left;
    padding: 1rem; border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--r); font-size: var(--fs-sm);
  }
}

/* ---------- Blocos imagem + texto ---------- */
.split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.split__media img { width: 100%; border-radius: var(--r); }
.split__body h2 { font-size: var(--fs-h2); color: var(--navy-800); }
.split__body > p { margin-top: 1.1rem; color: var(--muted); font-size: var(--fs-lead); }
.split__body > p strong { color: var(--ink); }
.split__body .btn { margin-top: 2rem; }
.split__body .checklist { margin-top: 1.5rem; color: var(--ink); }
.theme-dark .split__body h2 { color: #fff; }
.theme-dark .split__body > p { color: var(--on-dark-muted); }
.theme-dark .split__body > p strong { color: #fff; }
@media (max-width: 860px) {
  .split__grid { grid-template-columns: 1fr; }
  .split--media-end .split__media { order: 2; }
}
.project .split__media img { aspect-ratio: 1; object-fit: cover; max-height: 34rem; }
.pharma .split__media { display: flex; justify-content: center; }
.pharma .split__media img { width: min(100%, 26.75rem); }

/* Hubs nos EUA (foto de fundo) */
.hubs { position: relative; isolation: isolate; background: var(--navy-950); }
.hubs__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.hubs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy-950) 10%, rgb(11 27 51 / 0.7) 60%, rgb(11 27 51 / 0.55)); }
.hubs__ctpat { height: 2.75rem; width: auto; margin-bottom: 1.75rem; }
.hubs .split__media img { max-width: 34rem; margin-left: auto; box-shadow: 0 28px 60px -30px rgb(0 0 0 / 0.9); }

/* ---------- Atendimento ---------- */
.care__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.care-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.5rem 1.75rem; }
.care-item .icon { width: 2rem; height: 2rem; color: var(--blue-600); stroke-width: 1.5; }
.care-item h3 { margin-top: 1rem; font-size: 1.0625rem; color: var(--navy-800); }
.care-item p { margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 960px) { .care__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .care__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__grid .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.5rem; padding: 1rem 1.25rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--navy-800);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--blue-600); transition: rotate 0.2s ease; }
.faq-item[open] summary .icon { rotate: 180deg; }
.faq-item summary:hover { color: var(--blue-600); }
.faq-item__answer { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq-item[open] { border-color: #b7c4d6; }
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq-list { interpolate-size: allow-keywords; }
    .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size 0.25s ease, content-visibility 0.25s allow-discrete; }
    .faq-item[open]::details-content { block-size: auto; }
  }
}
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.final-cta { position: relative; isolation: isolate; background: var(--navy-800); }
.final-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3rem; }
.final-cta h2 { font-size: var(--fs-h2); }
.final-cta p { margin-top: 0.75rem; color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 38rem; }
.final-cta__inner > div:first-child { flex: 1 1 28rem; max-width: 42rem; }
.final-cta--photo .final-cta__inner > div:first-child { flex: none; }
.final-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); font-size: 0.875rem; padding-block: 2.75rem 2rem; --focus-ring: var(--blue-300); }
.site-footer a { color: #fff; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.site-footer__top img { height: 1.75rem; width: auto; }
.site-footer__contacts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; padding: 0; }
.site-footer__contacts a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; text-decoration: none; }
.site-footer__contacts a:hover { text-decoration: underline; }
.site-footer__contacts .icon { width: 1rem; height: 1rem; color: var(--blue-300); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.5rem; }
/* Assinatura discreta: última linha do rodapé, símbolo oficial da V4 sem alteração */
.credit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.4375rem; margin-top: 1rem; font-size: 0.75rem; line-height: 1.4; }
.credit a { display: inline-flex; align-items: center; gap: 0.375rem; text-decoration: none; }
.credit a:hover, .credit a:focus-visible { text-decoration: underline; }
.credit img { width: auto; height: 11px; flex: none; }

/* ==========================================================================
   LP institucional-b
   ========================================================================== */
.hero--b { padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero--b .hero__bg { opacity: 0.6; object-position: 72% 30%; }
.hero--b::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(11 27 51 / 0.97) 0%, rgb(11 27 51 / 0.85) 42%, rgb(11 27 51 / 0.6) 100%);
}
.hero-b__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 1rem + 4vw, 4rem); }
.hero-b__top img { height: 2.25rem; width: auto; }
.hero-b__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hero-b__copy { padding-top: clamp(0rem, 2vw, 2rem); }
.hero-b__copy h1 { max-width: 21ch; font-size: clamp(2rem, 1.45rem + 2.2vw, 3.125rem); }
.hero-b__proof { margin-top: 2rem; display: grid; gap: 0.65rem; list-style: none; padding: 0; color: var(--on-dark-muted); }
.hero-b__proof li { display: flex; align-items: center; gap: 0.65rem; }
.hero-b__proof .icon { color: var(--go); width: 1.15rem; height: 1.15rem; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); --focus-ring: var(--blue-600); }
.form-card__head { padding: clamp(1.5rem, 1rem + 1.5vw, 2rem) clamp(1.5rem, 1rem + 1.5vw, 2rem) 0; }
.form-card__head h2 { font-size: clamp(1.3125rem, 1.2rem + 0.5vw, 1.5rem); color: var(--navy-800); }
.form-card__head p { margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--muted); }
.form-card .lead-form { padding: 1.25rem clamp(1.5rem, 1rem + 1.5vw, 2rem) clamp(1.5rem, 1rem + 1.5vw, 2rem); }
@media (max-width: 900px) {
  .hero-b__grid { grid-template-columns: 1fr; }
  .hero--b::before { background: linear-gradient(180deg, rgb(11 27 51 / 0.72) 0%, rgb(11 27 51 / 0.95) 38%, var(--navy-950) 70%); }
  .hero--b .hero__bg { height: 26rem; object-position: 64% 30%; }
}

/* Faixa de pilares */
.pillars { background: var(--navy-950); border-top: 1px solid rgb(255 255 255 / 0.08); }
.pillars__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars__list li {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 1.15rem 0.75rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--on-dark-muted);
}
.pillars__list li + li { border-left: 1px solid rgb(255 255 255 / 0.1); }
.pillars__list .icon { color: var(--blue-300); }
@media (max-width: 760px) {
  .pillars__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars__list li { justify-content: flex-start; padding-inline: 0.5rem; }
  .pillars__list li:nth-child(3) { border-left: 0; }
  .pillars__list li:nth-child(n + 3) { border-top: 1px solid rgb(255 255 255 / 0.1); }
}

/* Problema: imagens saem do topo do card (arte original da LP) */
.problem__grid { container-type: inline-size; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; }
/* Espaço para a arte que sai do topo: 26,4% da largura do card mais alto (todos alinhados) */
.problem__grid > li { display: flex; padding-top: calc(0.264 * (100cqi - 3rem) / 3); }
.problem-card { display: flex; flex-direction: column; width: 100%; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-card); }
.problem-card__media { position: relative; aspect-ratio: 429 / 374; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(180deg, #fff, #eef2f7); }
.problem-card__media img { position: absolute; left: 0; bottom: 0; width: 100%; }
.problem-card__body { padding: 1.5rem 1.5rem 1.75rem; }
.problem-card h3 { font-size: var(--fs-h3); color: var(--navy-800); }
.problem-card p { margin-top: 0.6rem; color: var(--muted); }
@media (max-width: 900px) {
  .problem__grid { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; gap: 1rem; }
  .problem__grid > li { padding-top: calc(var(--pop, 0) * 100cqi); }
}

/* Ponte */
.bridge { background: var(--navy-800); padding-block: 2.5rem; }
.bridge__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.bridge p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.3; max-width: 40rem; }
.bridge p strong { font-weight: 800; }

/* Green Light (B) */
.greenlight__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.greenlight__intro h2 { font-size: var(--fs-h2); color: var(--navy-800); }
.greenlight__intro p { margin-top: 1.1rem; color: var(--muted); font-size: var(--fs-lead); }
.greenlight__intro img { margin-top: 2rem; width: min(100%, 27rem); }
.greenlight .signal-track { margin-top: 0.25rem; }
.greenlight .signal-step { padding-bottom: 2rem; }
.greenlight .signal-step h3 { font-size: 1.1875rem; }
.greenlight .signal-step p { font-size: 1rem; }
@media (max-width: 900px) {
  .greenlight__grid { grid-template-columns: 1fr; }
  .greenlight__intro img { width: min(80%, 22rem); margin-inline: auto; }
}

/* Números */
.numbers { position: relative; isolation: isolate; background: var(--navy-950); }
.numbers__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.numbers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 27 51 / 0.6), rgb(11 27 51 / 0.92)); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.stat { display: flex; flex-direction: column; padding: clamp(1.5rem, 1rem + 1.5vw, 2rem); border-radius: var(--r); background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.13); }
.stat__value { order: -1; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 1.9rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; color: #fff; }
.stat__value small { font-size: 0.45em; font-weight: 700; letter-spacing: 0; margin-left: 0.2em; }
.stat dt { margin-top: 0.9rem; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--blue-300); }
.stat__text { margin-top: 0.5rem; color: var(--on-dark-muted); }
.numbers__cta { margin-top: 2.5rem; display: flex; justify-content: center; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Segmentos */
.segments__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; }
.segment { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.segment:nth-child(4) { grid-column: 2 / span 2; }
.segment:nth-child(5) { grid-column: 4 / span 2; }
.segment img { width: 100%; aspect-ratio: 429 / 374; object-fit: cover; }
.segment__body { padding: 1.25rem 1.5rem 1.6rem; }
.segment h3 { font-size: 1.1875rem; color: var(--navy-800); }
.segment p { margin-top: 0.45rem; font-size: var(--fs-sm); color: var(--muted); }
.segments__cta { margin-top: 2.5rem; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .segments__grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 22rem);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding-bottom: 1rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .segment, .segment:nth-child(4), .segment:nth-child(5) { grid-column: auto; scroll-snap-align: start; }
  .segments__hint { display: block; }
}
.segments__hint { display: none; margin-top: 0.25rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }

/* FAQ centrado (B) */
.faq--center .faq__wrap { max-width: 48rem; margin-inline: auto; }

/* CTA final com foto (B) */
.final-cta--photo { background: var(--navy-950); text-align: center; }
.final-cta--photo .final-cta__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.final-cta--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 27 51 / 0.55), rgb(11 27 51 / 0.8)); }
.final-cta--photo .final-cta__inner { flex-direction: column; justify-content: center; }
.final-cta--photo p { margin-inline: auto; }

/* ==========================================================================
   Pop-up de intenção de saída
   ========================================================================== */
.exit-popup {
  margin: auto; /* devolve a centralização do <dialog> que o reset de margem zera */
  width: min(100% - 2rem, 47rem); max-width: none; max-height: min(100dvh - 2rem, 46rem);
  padding: 0; border: 0; border-radius: var(--r-lg); overflow: auto; overscroll-behavior: contain;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-pop);
  --focus-ring: var(--blue-600);
}
.exit-popup::backdrop { background: rgb(11 27 51 / 0.72); }
@supports (backdrop-filter: blur(2px)) { .exit-popup::backdrop { backdrop-filter: blur(3px); } }
.exit-popup__layout { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); min-height: 100%; }
.exit-popup__aside {
  display: grid; place-items: center; padding: 2rem 1.5rem;
  background: radial-gradient(20rem 16rem at 30% 20%, rgb(28 124 212 / 0.45), transparent 70%), var(--navy-800);
}
.exit-popup__cover {
  width: 10.5rem; rotate: -3deg; border-radius: 3px 6px 6px 3px;
  box-shadow: 0 22px 34px -14px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.12);
}
.exit-popup__main { position: relative; padding: 2.25rem 2rem 1.75rem; }
.exit-popup__close {
  position: absolute; top: 0.625rem; right: 0.625rem; z-index: 1;
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 0; background: transparent; color: var(--muted);
}
.exit-popup__close:hover { background: var(--paper); color: var(--navy-900); }
.exit-popup__close .icon { width: 1.35rem; height: 1.35rem; }
.exit-popup__kicker { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--blue-600); }
.exit-popup h2 { margin-top: 0.4rem; padding-right: 2rem; font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem); color: var(--navy-800); }
.exit-popup h2:focus { outline: none; }
.exit-popup__sub { margin-top: 0.65rem; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.exit-popup__sub strong { color: var(--ink); }
.exit-popup .lead-form { padding: 1.25rem 0 0; }
.exit-popup .lead-form__grid { gap: 0.8rem; }
.exit-popup .field input:not([type="radio"]) { min-height: 2.875rem; }
.exit-popup__thanks { text-align: center; padding-block: 1.5rem 0.5rem; }
.exit-popup__thanks h2 { padding-right: 0; }
.exit-popup__thanks p { margin-top: 0.75rem; color: var(--muted); }
.exit-popup__thanks .btn { margin-top: 1.5rem; }
.exit-popup__ok {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin: 0 auto 1rem; border-radius: 50%;
  background: #e6f6ec; color: var(--go-ink);
}
.exit-popup__ok .icon { width: 1.6rem; height: 1.6rem; stroke-width: 2.5; }
@media (max-width: 640px) {
  .exit-popup__layout { grid-template-columns: 1fr; }
  .exit-popup__aside { display: none; }
  .exit-popup__main { padding: 1.75rem 1.25rem 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .exit-popup[open] { animation: pop-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .exit-popup[open]::backdrop { animation: fade-in 0.28s ease-out; }
}
@keyframes pop-in { from { opacity: 0; translate: 0 10px; scale: 0.98; } }
@keyframes fade-in { from { opacity: 0; } }

/* ==========================================================================
   Aviso de cookies
   ========================================================================== */
.cookie {
  position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; max-width: 46rem; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding: 1rem 1.25rem; border-radius: var(--r-lg); background: #fff; color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 16px 40px -14px rgb(11 27 51 / 0.45);
  font-size: var(--fs-sm); --focus-ring: var(--blue-600);
}
.cookie p { flex: 1 1 13rem; }
@media (max-width: 480px) { .cookie { padding: 0.875rem 1rem; gap: 0.75rem; font-size: 0.875rem; } }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie .btn { min-height: 2.75rem; }

/* ==========================================================================
   Obrigado
   ========================================================================== */
.thanks-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--navy-900); }
.thanks { position: relative; isolation: isolate; flex: 1; padding-block: clamp(2rem, 4vw, 3rem) var(--section-pad); overflow: clip; }
.thanks__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.thanks__brand { display: flex; justify-content: center; }
.thanks__brand img { height: 2.25rem; width: auto; }
.thanks__hero { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.thanks__ok {
  display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.5rem; border-radius: 50%;
  background: rgb(61 220 132 / 0.14); color: var(--go); box-shadow: 0 0 0 1px rgb(61 220 132 / 0.35), 0 0 30px rgb(61 220 132 / 0.35);
}
.thanks__ok .icon { width: 2rem; height: 2rem; stroke-width: 2.5; }
.thanks__hero h1 { font-size: var(--fs-h2); }
.thanks__hero p { margin-top: 0.9rem; color: var(--on-dark-muted); font-size: var(--fs-lead); }
.thanks__about {
  margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; max-width: 60rem; margin-inline: auto;
}
.thanks__about h2 { font-size: var(--fs-h3); }
.thanks__about p { margin-top: 0.8rem; color: var(--on-dark-muted); }
.thanks__about img { width: 100%; border-radius: var(--r); }
.thanks__social { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.25rem; color: var(--on-dark-muted); }
.thanks__social ul { display: flex; gap: 0.5rem; list-style: none; padding: 0; }
.thanks__social a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.25); color: #fff;
}
.thanks__social a:hover { background: rgb(255 255 255 / 0.1); }
.thanks__social .icon { width: 1.15rem; height: 1.15rem; }
@media (max-width: 760px) { .thanks__about { grid-template-columns: 1fr; } }

/* ---------- Impressão ---------- */
@media print {
  .site-header, .cookie, .exit-popup, .hero__bg, .quote__bg, .hubs__bg, .numbers__bg { display: none !important; }
  .hero, .quote, .boutique, .network, .hubs, .numbers, .final-cta, .site-footer { background: #fff !important; color: #000 !important; }
}

/* ==========================================================================
   Interações e movimento
   Tudo aqui é camada extra: sem JS ou com "movimento reduzido" a página fica
   exatamente como antes, com todo o conteúdo visível e estático.
   ========================================================================== */

/* ---------- Barra de progresso de leitura ---------- */
.read-progress {
  position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--logo-blue), var(--go));
  transform-origin: left; transform: scaleX(0); pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .read-progress { animation: rail-fill-x linear both; animation-timeline: scroll(root block); }
}
@keyframes rail-fill-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Cabeçalho ganha sombra ao rolar ---------- */
.site-header { transition: box-shadow 0.25s ease, background-color 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.8); }

/* ---------- Botões ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary { box-shadow: 0 6px 18px -10px rgb(240 138 28 / 0.7); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}
@media (hover: hover) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgb(240 138 28 / 0.85); }
  .btn--primary:hover::after { transform: translateX(120%); transition: transform 0.7s ease; }
  .btn--ghost:hover, .btn--outline:hover { transform: translateY(-2px); }
}

/* ---------- Cards: elevação no hover ---------- */
@media (hover: hover) {
  .segment, .care-item, .problem-card, .stat, .faq-item, .cert, .receita-note, .form-card {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
  }
  .segment:hover, .care-item:hover, .problem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 4px rgb(15 35 66 / 0.06), 0 22px 44px -18px rgb(15 35 66 / 0.35);
    border-color: #b7c4d6;
  }
  .stat:hover { transform: translateY(-6px); background: rgb(255 255 255 / 0.09); border-color: rgb(143 176 236 / 0.45); }
  .cert:hover { transform: translateY(-4px) scale(1.04); }
  .faq-item:hover { border-color: #b7c4d6; box-shadow: 0 10px 24px -18px rgb(15 35 66 / 0.4); }
}

/* ---------- Fotos: zoom dentro da moldura ---------- */
.zoom { overflow: hidden; border-radius: var(--r); }
.zoom img, .segment img, .split__media img, .problem-card__media img, .hero__tiles img {
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.split__media { overflow: hidden; border-radius: var(--r); }
.pharma .split__media, .hubs .split__media { overflow: visible; }
@media (hover: hover) {
  .special-item:hover .zoom img, .segment:hover img, .project .split__media:hover img { transform: scale(1.06); }
  .problem-card:hover .problem-card__media img { transform: translateY(-6px) scale(1.03); }
  .hubs .split__media:hover img, .pharma .split__media:hover img { transform: translateY(-6px); }
  .special-item h3, .segment h3, .service h3, .care-item h3 { transition: color 0.25s ease; }
  .special-item:hover h3, .segment:hover h3, .service:hover h3, .care-item:hover h3 { color: var(--blue-600); }
}

/* ---------- Ícones ---------- */
.benefits__icon, .service__icon, .care-item .icon, .pillars__list .icon, .hexmap__list .icon, .site-footer__contacts .icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, color 0.25s ease;
}
@media (hover: hover) {
  .benefits__list li:hover .benefits__icon { background: var(--blue-600); color: #fff; transform: rotate(-10deg) scale(1.08); }
  .care-item:hover .icon { transform: scale(1.15) rotate(-6deg); color: var(--logo-blue); }
  .pillars__list li:hover .icon { transform: scale(1.2); color: var(--go); }
  .hexmap__list li:hover { color: #fff; }
  .hexmap__list li:hover .icon { transform: scale(1.25); color: var(--go); }
  .site-footer__contacts a:hover .icon { transform: translateY(-2px); }
}

/* ---------- Revelar ao rolar (só com JS + movimento liberado) ---------- */
.motion-ok [data-reveal] {
  opacity: 0; translate: 0 28px;
  transition: opacity 0.7s ease, translate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion-ok [data-reveal="left"] { translate: -36px 0; }
.motion-ok [data-reveal="right"] { translate: 36px 0; }
.motion-ok [data-reveal="zoom"] { translate: none; scale: 0.94; transition-property: opacity, scale; }
.motion-ok [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }

/* ---------- Hero: entrada em sequência ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero-b__copy > *, .hero-b__top, .form-card, .thanks__hero > * {
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .hero__copy > :nth-child(2), .hero-b__copy > :nth-child(2) { animation-delay: 0.12s; }
  .hero__copy > :nth-child(3), .hero-b__copy > :nth-child(3) { animation-delay: 0.24s; }
  .form-card { animation-delay: 0.3s; }
  .hero-b__proof li { animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero-b__proof li:nth-child(1) { animation-delay: 0.4s; }
  .hero-b__proof li:nth-child(2) { animation-delay: 0.5s; }
  .hero-b__proof li:nth-child(3) { animation-delay: 0.6s; }
  .hero__tiles img { animation: tile-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .hero__tiles img:nth-child(1) { animation-delay: 0.15s; }
  .hero__tiles img:nth-child(2) { animation-delay: 0.28s; }
  .hero__tiles img:nth-child(3) { animation-delay: 0.41s; }
  .hero__tiles img:nth-child(4) { animation-delay: 0.54s; }
  .hero__person { animation: person-in 1.1s 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .thanks__ok { animation: pop 0.6s 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both, glow 2.4s 1s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes tile-in { from { opacity: 0; transform: scale(0.85); } }
@keyframes person-in { from { opacity: 0; transform: translateY(48px); } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } }
@keyframes glow { 50% { box-shadow: 0 0 0 1px rgb(61 220 132 / 0.5), 0 0 44px rgb(61 220 132 / 0.6); } }

/* Fotos do hero acompanham o ponteiro (valores definidos pelo JS) */
.hero__tiles { transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px), 0); transition: transform 0.4s ease-out; }
.hero__person { translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 6px); transition: translate 0.4s ease-out; }
@media (hover: hover) { .hero__tiles img:hover { transform: scale(1.05); z-index: 1; position: relative; } }

/* ---------- Infográfico: mapa hexagonal ---------- */
.hexmap__pulses { display: none; }
.motion-ok .hexmap__pulses { display: inline; }
.hex-inner { animation: march 12s linear infinite; }
@keyframes march { to { stroke-dashoffset: -50; } }
.motion-ok .hexmap:not(.is-in) .hex-outer, .motion-ok .hexmap:not(.is-in) .hex-spokes { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion-ok .hexmap .hex-outer, .motion-ok .hexmap .hex-spokes { stroke-dasharray: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.6, 0, 0.2, 1); }
.motion-ok .hexmap.is-in .hex-outer { stroke-dashoffset: 0; }
.motion-ok .hexmap.is-in .hex-spokes { stroke-dashoffset: 0; transition-delay: 0.6s; }
.motion-ok .hexmap .hex-nodes circle, .motion-ok .hexmap .hexmap__center, .motion-ok .hexmap__list li {
  opacity: 0; transition: opacity 0.5s ease, scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.motion-ok .hexmap .hexmap__center { scale: 0.7; transition-delay: 0.2s; }
.motion-ok .hexmap__list li { scale: 0.85; transition-delay: calc(0.9s + var(--i, 0) * 0.12s); }
.motion-ok .hexmap .hex-nodes circle { transition-delay: 1.4s; }
.motion-ok .hexmap.is-in .hex-nodes circle, .motion-ok .hexmap.is-in .hexmap__center, .motion-ok .hexmap.is-in .hexmap__list li { opacity: 1; scale: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hexmap.is-in .hexmap__center img { animation: breathe 4s 2s ease-in-out infinite; }
}
@keyframes breathe { 50% { filter: drop-shadow(0 0 14px rgb(28 124 212 / 0.8)); } }
@media (max-width: 900px) { .motion-ok .hexmap__list li { scale: 1; } }

/* ---------- Infográfico: trilho Green Light — última luz pulsa ---------- */
@media (prefers-reduced-motion: no-preference) {
  .signal-end__lamp { position: relative; }
  .signal-end__lamp::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--go);
    animation: ping 2s ease-out infinite;
  }
  .signal-step { transition: transform 0.3s ease; }
  .signal-step:hover { transform: translateX(4px); }
}
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }

/* ---------- Números que contam ---------- */
.stat__value { font-variant-numeric: lining-nums tabular-nums; }
.stat { position: relative; overflow: hidden; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--logo-blue), var(--go)); transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.6, 0, 0.2, 1) 0.2s;
}
.stat.is-in::before, html:not(.motion-ok) .stat::before { transform: scaleX(1); }

/* ---------- Faixa de pilares em movimento (B) ---------- */
.pillars.is-marquee { overflow: hidden; }
.pillars.is-marquee .pillars__list {
  display: flex; width: max-content; margin: 0; animation: marquee 32s linear infinite;
}
.pillars.is-marquee .pillars__list li { flex: none; padding-inline: 2.25rem; border-top: 0; border-left: 1px solid rgb(255 255 255 / 0.1); }
.pillars.is-marquee:hover .pillars__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Acordeão: ícone gira com mola ---------- */
.faq-item summary .icon { transition: rotate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }

@media (prefers-reduced-motion: reduce) {
  .read-progress, .pillars.is-marquee .pillars__list { animation: none !important; }
  .hex-inner { animation: none; }
  .hero__tiles, .hero__person { transform: none; translate: none; }
}


/* ==========================================================================
   Hero da principal: diferenciais na faixa escura, sempre na primeira tela
   ========================================================================== */
.hero--a .hero__copy { padding-block: clamp(2rem, 7vh, 5.5rem); }
.hero--a h1 { font-size: min(var(--fs-h1), 5.9vh + 0.4rem); }
.hero--a .hero__media { min-height: min(26rem, 52vh); }
.hero__strip {
  position: relative; z-index: 2;
  background: rgb(7 18 36 / 0.78); border-top: 1px solid rgb(255 255 255 / 0.1);
}
@supports (backdrop-filter: blur(8px)) { .hero__strip { background: rgb(7 18 36 / 0.62); backdrop-filter: blur(12px) saturate(1.2); } }
.hero__benefits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero__benefits li {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: #fff;
  transition: background-color 0.3s ease;
}
.hero__benefits li + li { border-left: 1px solid rgb(255 255 255 / 0.1); }
.hero__benefit-icon {
  display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgb(143 176 236 / 0.1); border: 1px solid rgb(143 176 236 / 0.35); color: var(--blue-300);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero__benefit-icon .icon { width: 1.3rem; height: 1.3rem; }
@media (hover: hover) {
  .hero__benefits li:hover { background: rgb(255 255 255 / 0.04); }
  .hero__benefits li:hover .hero__benefit-icon { background: var(--logo-blue); border-color: var(--logo-blue); color: #fff; transform: scale(1.06); }
}
@media (max-width: 760px) {
  .hero__benefits li { flex-direction: column; justify-content: flex-start; gap: 0.5rem; padding: 1rem 0.375rem; text-align: center; font-size: 0.8125rem; line-height: 1.3; }
  .hero__benefit-icon { width: 2.5rem; height: 2.5rem; }
}

/* ==========================================================================
   Cards (componente único: cargas especiais, soluções, atendimento,
   segmentos, problemas e números)
   ========================================================================== */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e2e7ef; border-radius: 14px;
  box-shadow: 0 1px 2px rgb(15 35 66 / 0.05), 0 14px 34px -22px rgb(15 35 66 / 0.35);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.card::before {
  content: ""; position: absolute; z-index: 3; left: -1px; right: -1px; top: -1px; height: 3px;
  border-radius: 14px 14px 0 0; background: linear-gradient(90deg, var(--logo-blue), var(--go));
  transform: scaleX(0); transform-origin: left; transition: transform 0.55s cubic-bezier(0.6, 0, 0.2, 1);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 2px 4px rgb(15 35 66 / 0.06), 0 30px 54px -26px rgb(15 35 66 / 0.5); }
  .card:hover::before { transform: scaleX(1); }
}
.card h3 { font-size: var(--fs-h3); color: var(--navy-800); transition: color 0.3s ease; }
.card p { color: var(--muted); }
.card--media { overflow: hidden; }
.card .card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 13px 13px 0 0; }
.card .card__media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(11 27 51 / 0.45)); transition: opacity 0.4s ease; }
.card__badge {
  position: relative; z-index: 2; display: grid; place-items: center; flex: none;
  width: 3.5rem; height: 3.5rem; margin: -1.75rem 0 0 1.5rem; border-radius: 14px;
  background: #fff; color: var(--blue-600); border: 1px solid #e2e7ef;
  box-shadow: 0 12px 26px -12px rgb(15 35 66 / 0.55);
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card__badge .icon { width: 1.5rem; height: 1.5rem; }
.card__badge--alert { color: var(--danger); }
.card .card__body { padding: 1rem 1.5rem 1.75rem; }
.card--media h3, .card .card__body h3 { margin-top: 0; }
.card .card__body p { margin-top: 0.5rem; }
.card--icon { padding: 1.75rem 1.5rem 1.85rem; }
.card .card__icon {
  display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 12px;
  background: var(--ice); color: var(--blue-600);
  transition: background 0.35s ease, color 0.35s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card .card__icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; }
.card--icon h3 { margin-top: 1.25rem; }
.card--icon p { margin-top: 0.45rem; }
@media (hover: hover) {
  .card:hover h3 { color: var(--blue-600); }
  .card:hover .card__media img { transform: scale(1.07); }
  .card:hover .card__media::after { opacity: 0.6; }
  .card:hover .card__badge { background: var(--blue-600); color: #fff; border-color: var(--blue-600); transform: rotate(-8deg) scale(1.05); }
  .card:hover .card__badge--alert { background: var(--danger); border-color: var(--danger); }
  .card:hover .card__icon { background: linear-gradient(135deg, var(--logo-blue), var(--blue-600)); color: #fff; transform: rotate(-8deg) scale(1.06); }
}
/* Grades que recebem os cards */
.special__grid { align-items: stretch; }
.services__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.care__grid { gap: 1.25rem; }
.care-item.card { padding: 1.6rem 1.4rem 1.7rem; }
.care-item.card h3 { font-size: 1.0625rem; }
.care-item.card p { font-size: var(--fs-sm); }
@media (max-width: 960px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }
/* Segmentos (B) */
.segment.card { border-radius: 14px; }
.segment.card h3 { font-size: 1.1875rem; }
.segment.card p { font-size: var(--fs-sm); }
/* Problemas (B): a arte continua saindo do topo, o card ganha o mesmo acabamento */
.problem-card.card { border-radius: 14px; }
.problem-card.card .problem-card__media { border-radius: 13px 13px 0 0; }
.problem-card.card .card__body { padding-top: 1rem; }
/* Números (B): cartão escuro com o mesmo raio e a mesma faixa de destaque */
.stat { border-radius: 14px; }

/* ==========================================================================
   Farmacêutico como infográfico
   ========================================================================== */
.pharma .pharma__media { position: relative; overflow: visible; display: flex; justify-content: center; padding: 1.5rem 0; }
.pharma .pharma__media > img { width: min(100%, 26.75rem); border-radius: 14px; box-shadow: 0 30px 60px -30px rgb(15 35 66 / 0.6); }
.pharma__chip {
  position: absolute; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1rem; border-radius: 14px; background: rgb(255 255 255 / 0.94);
  border: 1px solid #e2e7ef; box-shadow: 0 20px 44px -18px rgb(15 35 66 / 0.55);
  font-size: var(--fs-xs); line-height: 1.35; color: var(--muted);
}
@supports (backdrop-filter: blur(8px)) { .pharma__chip { background: rgb(255 255 255 / 0.82); backdrop-filter: blur(10px); } }
.pharma__chip strong { display: block; font-family: var(--font-display); font-size: 0.9375rem; color: var(--navy-800); }
.pharma__chip--temp { top: 9%; left: 0; width: 15.5rem; }
.pharma__chip--iata { right: 0; bottom: 12%; }
.pharma__chip--iata img { height: 2.25rem; width: auto; }
.pharma__chip-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: #e6f6ec; color: var(--go-ink); flex: none; }
.pharma__chip-icon .icon { width: 1.3rem; height: 1.3rem; }
.pharma__chip--temp > span:nth-child(2) { flex: 1; }
.pharma__spark { flex-basis: 100%; height: 1.75rem; width: 100%; }
.pharma__spark rect { fill: rgb(61 220 132 / 0.16); }
.pharma__spark path { fill: none; stroke: var(--go-ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (max-width: 860px) {
  .pharma__chip--temp { left: 0.5rem; top: 2.5rem; width: 14rem; }
  .pharma__chip--iata { right: 0.5rem; bottom: 2.5rem; }
}

.direct-flow {
  margin: 1.75rem 0 0; padding: 1.4rem 1rem 1.1rem; border-radius: 14px;
  background: linear-gradient(180deg, var(--paper), #fff); border: 1px solid #e2e7ef;
}
.direct-flow__nodes { position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.direct-flow__nodes::before {
  content: ""; position: absolute; top: calc(1.75rem - 1px); left: 16.66%; right: 16.66%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-500) 0 8px, transparent 8px 14px);
}
.direct-flow__nodes::after {
  content: ""; position: absolute; top: calc(1.75rem - 5px); left: 16.66%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--go); box-shadow: 0 0 0 4px rgb(61 220 132 / 0.2), 0 0 12px rgb(61 220 132 / 0.8); opacity: 0;
}
.direct-flow__nodes li {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.55rem; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--navy-800);
}
.direct-flow__icon {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: #fff; border: 1px solid #d3dbe7; color: var(--blue-600); box-shadow: 0 10px 22px -14px rgb(15 35 66 / 0.6);
}
.direct-flow__icon .icon { width: 1.45rem; height: 1.45rem; }
.direct-flow__nodes .is-key .direct-flow__icon { background: var(--navy-800); border-color: var(--navy-800); box-shadow: 0 0 0 6px rgb(28 124 212 / 0.14), 0 12px 24px -12px rgb(15 35 66 / 0.8); }
.direct-flow__nodes .is-key .direct-flow__icon img { width: 1.75rem; height: 1.75rem; }
.direct-flow__skip {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 1rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.01em; color: var(--danger);
}
.direct-flow__skip .icon { width: 1rem; height: 1rem; padding: 0.15rem; border-radius: 50%; background: #fde8e6; stroke-width: 3; }
.split__body > .guarantees__lead { margin-top: 1.75rem; font-size: 1rem; color: var(--ink); }
.guarantees { list-style: none; padding: 0; margin-top: 0.85rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
.guarantees li {
  display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.875rem; align-items: start;
  padding: 1.1rem; border-radius: 14px; background: #fff; border: 1px solid #e2e7ef;
  box-shadow: 0 1px 2px rgb(15 35 66 / 0.05), 0 12px 28px -22px rgb(15 35 66 / 0.35);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.guarantees__icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px; background: #e6f6ec; color: var(--go-ink); transition: background-color 0.3s ease, color 0.3s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.guarantees__icon .icon { width: 1.35rem; height: 1.35rem; }
.guarantees p { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.guarantees p strong { color: var(--navy-800); }
@media (hover: hover) {
  .guarantees li:hover { transform: translateY(-4px); border-color: rgb(23 128 63 / 0.35); box-shadow: 0 24px 40px -24px rgb(15 35 66 / 0.45); }
  .guarantees li:hover .guarantees__icon { background: var(--go-ink); color: #fff; transform: rotate(-8deg) scale(1.06); }
}
.split__body > .pharma__note {
  margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid var(--go);
  border-radius: 0 12px 12px 0; background: linear-gradient(90deg, #edf8f1, rgb(237 248 241 / 0));
  font-size: var(--fs-sm); color: var(--ink);
}
@media (max-width: 560px) { .guarantees { grid-template-columns: 1fr; } .direct-flow__nodes li { font-size: 0.8125rem; } }

/* Movimento do infográfico */
@media (prefers-reduced-motion: no-preference) {
  .pharma__chip { animation: bob 5s ease-in-out infinite alternate; }
  .pharma__chip--iata { animation-delay: -2.5s; }
  .direct-flow__nodes::before { animation: dash-run 0.9s linear infinite; }
  .direct-flow__nodes::after { animation: travel 3.2s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
  .motion-ok .pharma__media:not(.is-in) .pharma__spark path { stroke-dashoffset: 1; }
  .motion-ok .pharma__media .pharma__spark path { transition: stroke-dashoffset 1.8s ease 0.4s; }
}
@keyframes bob { to { transform: translateY(-8px); } }
@keyframes dash-run { to { background-position: 14px 0; } }
@keyframes travel {
  0% { left: 16.66%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(83.34% - 10px); opacity: 0; }
}

/* Ajuste de altura: título, espaços e foto escalam pela altura da tela para a
   faixa de diferenciais caber inteira na primeira dobra. */
.hero--a { display: flex; flex-direction: column; }
.hero--a .hero__copy { padding-block: clamp(1.5rem, 4.5vh, 4rem); }
.hero--a h1 { max-width: 22ch; font-size: min(var(--fs-h1), calc(0.4rem + 4.8vh)); }
.hero--a .lead { margin-top: clamp(0.875rem, 2vh, 1.5rem); }
.hero--a .hero__actions { margin-top: clamp(1.25rem, 3vh, 2.25rem); }
.hero--a .hero__media { min-height: 0; }
.hero--a .hero__person { width: auto; max-width: min(100%, 33rem); max-height: calc(100svh - var(--header-h) - 9.5rem); }
.hero--a .hero__tiles { top: clamp(1.25rem, 4vh, 3.5rem); width: min(100%, 31rem, calc(62svh - 3rem)); }
@media (max-width: 900px) {
  .hero--a .hero__grid { display: contents; }
  .hero--a .hero__copy, .hero--a .hero__media { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
  .hero--a .hero__copy { order: 1; padding-bottom: 1.5rem; }
  .hero--a .hero__strip { order: 2; }
  .hero--a .hero__media { order: 3; padding-top: 1.5rem; }
  .hero--a .hero__person { max-height: none; width: min(86%, 25rem); }
  .hero--a .hero__tiles { width: min(92%, 26rem); top: 1.5rem; }
}

/* Farmacêutico: foto alinhada ao topo e fixa enquanto o texto rola (desktop) */
.pharma .split__grid { align-items: start; }
@media (min-width: 861px) {
  .pharma .pharma__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.pharma__chip--iata { flex-wrap: nowrap; padding-block: 0.65rem; }
.pharma__chip--iata img { height: 1.9rem; }
.pharma__chip--iata span { white-space: nowrap; }

/* Blocos que entram deslizando nunca geram rolagem horizontal (clip não quebra o sticky) */
main { overflow-x: clip; }

/* Cards de problema (B): a arte sai do topo, então a linha de destaque do hover
   fica na base do card e a foto só sobe, sem aumentar além das bordas. */
.problem-card.card::before { top: auto; bottom: -1px; border-radius: 0 0 14px 14px; }
@media (hover: hover) {
  .problem-card:hover .problem-card__media img { transform: translateY(-6px); }
}

/* Cabeçalho sem contatos (conversão 100% pelo formulário): só idioma + CTA */
.site-header__lang { margin-left: auto; }
.site-footer__lang a { color: var(--on-dark-muted); font-size: 0.875rem; text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer__lang a:hover { color: #fff; text-decoration: underline; }

/* Card "Desde 2006": prefixo menor antes do ano */
.stat__value .stat__prefix { margin: 0 0.35em 0 0; font-size: 0.42em; font-weight: 700; letter-spacing: 0; color: var(--blue-300); vertical-align: 0.35em; }
