/* =========================================================
   UTI Salvar — Remoções Médicas
   Paleta e tipografia do Key Visual (KV UTI SALVAR)
   ========================================================= */
:root {
  /* primárias */
  --red: #F70035;
  --blue: #023ED0;
  --blue-bright: #0070E8;
  --white: #FFFFFF;
  /* complementares (gradientes) */
  --navy: #090E86;
  --red-hot: #F80018;

  /* derivadas */
  --ink: #023ED0;          /* texto principal: azul escuro principal do KV */
  --ink-soft: #4A5578;     /* texto secundário */
  --line: #DCE5F5;
  --bg: #F3F7FD;           /* fundo claro azulado */
  --surface: #FFFFFF;
  --deep: #050A52;         /* navy mais profundo para fundos */

  --grad-hero: radial-gradient(120% 90% at 50% 0%, #1640D8 0%, #0A1A9E 38%, #070C6E 70%, #040847 100%);
  --grad-blue: linear-gradient(135deg, #0070E8 0%, #023ED0 55%, #090E86 100%);
  --grad-red: linear-gradient(135deg, #F80018 0%, #F70035 60%, #C4002B 100%);

  --font-body: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Google Sans Flex", "Google Sans", system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --wrap: 1240px;
  --gutter: 24px;
  --header-h: 84px;

  --shadow-sm: 0 2px 8px rgba(9, 14, 134, .06);
  --shadow-md: 0 14px 40px -12px rgba(9, 14, 134, .18);
  --shadow-lg: 0 40px 80px -30px rgba(5, 10, 82, .45);

  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, dl { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--white); color: var(--blue); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-bright);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(247, 0, 53, .14); }
.on-dark .eyebrow, .eyebrow.light { color: #8FC0FF; }

.h2 { font-size: clamp(34px, 4.4vw, 56px); }
.h2-sm { font-size: clamp(32px, 3.6vw, 46px); }
.hl { color: var(--blue-bright); }
.on-dark .hl { color: #6FB1FF; }
.hl-red { color: var(--red); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); line-height: 1.6; }
.on-dark .lead { color: rgba(255, 255, 255, .78); }

.section { padding: clamp(56px, 6.5vw, 88px) 0; position: relative; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; align-items: center; }
.section-head .lead { max-width: 620px; }

/* ---------- botões ---------- */
.btn {
  --bh: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
}
.btn svg { width: 19px; height: 19px; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg.lucide-arrow-right, .btn:hover svg.lucide-arrow-up-right { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 12px 30px -10px rgba(247, 0, 53, .7); }
.btn-red:hover { background: #ff1a4a; box-shadow: 0 18px 36px -12px rgba(247, 0, 53, .8); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 12px 30px -12px rgba(2, 62, 208, .7); }
.btn-blue:hover { background: #0a4ae6; }
.btn-white { background: var(--white); color: var(--blue); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); }
.btn-white:hover { color: var(--navy); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { --bh: 46px; padding: 0 20px; font-size: 15px; }

.pulse-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s, box-shadow .35s, height .35s var(--ease);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* ao rolar: vidro azul translúcido, no mesmo estilo do selo "+25 anos" (fundo transparente, borda clara, desfoque) */
.header.is-scrolled { background: rgba(2, 62, 208, .78); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .2), 0 12px 30px -18px rgba(5, 10, 82, .55); --header-h: 72px; }
.brand { position: relative; display: block; width: 114px; height: 49px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.brand .logo-azul { opacity: 0; }

.nav { position: relative; display: flex; align-items: center; gap: 4px; }
/* aura deslizante: uma só pílula que corre até a opção sob o mouse e volta para a página atual */
.nav-pill {
  position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; border-radius: 999px;
  background: rgba(225, 230, 245, .18); box-shadow: 0 0 22px 2px rgba(225, 230, 245, .14), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .45s var(--ease), width .45s var(--ease), height .45s var(--ease), opacity .3s, background-color .35s, box-shadow .35s;
}
.nav-pill.no-anim { transition: none; }
.nav.has-pill a { z-index: 1; background: transparent !important; box-shadow: none !important; }
.nav a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .86);
  border-radius: 999px; transition: color .25s, background-color .25s, box-shadow .3s;
}
/* "aura" cinza no hover — o mesmo tom da opção ativa, com brilho suave em volta */
.nav a:hover { color: var(--white); background: rgba(225, 230, 245, .18); box-shadow: 0 0 22px 2px rgba(225, 230, 245, .14), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .14); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 0;
  background: rgba(255, 255, 255, .12); color: var(--white); align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--grad-hero);
  display: flex; flex-direction: column; padding: 20px var(--gutter) 32px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mobile-menu-top .brand { width: 116px; height: 50px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 28px; }
.mobile-menu nav a { color: var(--white); font-family: var(--font-head); font-size: 30px; font-weight: 500; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); letter-spacing: -.02em; }
.mobile-menu .btn { margin-top: auto; width: 100%; }
.menu-close { width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .12); color: var(--white); display: grid; place-items: center; }

/* =========================================================
   ECG (linha de batimento — elemento do KV)
   ========================================================= */
.ecg { position: absolute; left: 0; width: 100%; height: 160px; pointer-events: none; }
.ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ecg .ecg-base { stroke: rgba(255, 255, 255, .07); stroke-width: 3; }
.ecg .ecg-pulse { stroke: var(--red); stroke-width: 3.5; stroke-dasharray: 260 2400; stroke-dashoffset: 260; filter: drop-shadow(0 0 8px rgba(247, 0, 53, .85)); animation: ecg-run 4.2s linear infinite; }
@keyframes ecg-run { from { stroke-dashoffset: 260; } to { stroke-dashoffset: -2400; } }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero {
  position: relative; background: var(--grad-hero); color: var(--white);
  padding: calc(var(--header-h) + clamp(32px, 5.3vh, 63px)) 0 0; overflow: hidden; isolation: isolate;
}
/* pilares verticais — ecoam a fachada da base */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 70px, rgba(120, 170, 255, .1) 70px 72px, rgba(255, 255, 255, 0) 72px 140px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%);
}
.hero::after { /* base clara que recebe a foto */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: var(--bg); z-index: -1;
}
/* a linha do sinal vital passa no respiro entre o texto e os botões, nunca atrás deles */
.hero-actions { position: relative; margin-top: 46px; }
.hero .ecg-hero { top: -73px; left: 50%; width: 100vw; height: 70px; transform: translateX(-50%); z-index: -1; opacity: .9; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 21px; max-width: 920px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 500; color: var(--white);
}
.badge-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.badge-icon svg { width: 15px; height: 15px; }
.hero .badge { margin-bottom: -9px; } /* selo mais colado ao título */
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); font-weight: 600; letter-spacing: -.035em; line-height: .94; }
.hero h1 .hl-red { display: inline-block; position: relative; }
.hero .lead { max-width: 680px; color: rgba(255, 255, 255, .8); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-media { position: relative; margin-top: clamp(32px, 4.4vh, 49px); }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 7.4;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .14);
  background: #0b1a8a;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform 1.2s var(--ease); }
.hero-photo:hover img { transform: scale(1.02); }
.hero-photo-tag {
  position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: var(--shadow-md); backdrop-filter: blur(10px);
}
.hero-photo-tag .tag-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-red); color: #fff; display: grid; place-items: center; }
.hero-photo-tag .tag-icon svg { width: 22px; height: 22px; }
.hero-photo-tag strong { display: block; font-family: var(--font-head); font-size: 17px; line-height: 1.2; }
.hero-photo-tag span { font-size: 13.5px; color: var(--ink-soft); }

/* entrada do hero */
[data-enter] > * { opacity: 0; transform: translateY(22px); animation: enter .9s var(--ease) forwards; }
[data-enter] > *:nth-child(2) { animation-delay: .08s; }
[data-enter] > *:nth-child(3) { animation-delay: .16s; }
[data-enter] > *:nth-child(4) { animation-delay: .24s; }
[data-enter] > *:nth-child(5) { animation-delay: .32s; }
.hero-media[data-enter-media] { opacity: 0; transform: translateY(48px) scale(.98); animation: enter 1.2s var(--ease) .35s forwards; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* surgir ao rolar: rápido, curto e sem prender a rolagem.
   Só esconde quando o JS está ativo (html.js-reveal); sem JS tudo aparece normal. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: none; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: var(--rd, 0ms); }

/* =========================================================
   FAIXA DE AUTORIDADE
   ========================================================= */
.stats { padding: clamp(36px, 4vw, 52px) 0 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.stat { padding: 34px 32px; position: relative; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--line); }
.stat-value { font-family: var(--font-head); font-size: clamp(36px, 3.6vw, 50px); font-weight: 700; line-height: 1; letter-spacing: -.035em; color: var(--blue); display: flex; align-items: baseline; gap: 6px; }
.stat-value small { font-size: .5em; font-weight: 600; letter-spacing: -.01em; color: var(--blue-bright); }
.stat-label { font-size: 15px; color: var(--ink-soft); line-height: 1.45; }
.stat-label b { color: var(--ink); font-weight: 600; }

/* =========================================================
   QUEM SOMOS
   ========================================================= */
.about { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-copy p { color: var(--ink-soft); font-size: 18px; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; color: var(--ink); }
.chip svg { width: 16px; height: 16px; color: var(--blue-bright); }
.about-media { position: relative; }
.about-media .media { aspect-ratio: 4 / 4.6; border-radius: var(--r-xl); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 20px 16px 16px;
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-md);
}
.float-card .fc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--grad-blue); flex: none; }
.float-card .fc-icon svg { width: 24px; height: 24px; }
.float-card strong { display: block; font-family: var(--font-head); font-size: 18px; line-height: 1.2; }
.float-card span { font-size: 14px; color: var(--ink-soft); }
.about-media .float-card { left: -28px; bottom: 36px; }

/* =========================================================
   MÍDIA / PLACEHOLDERS DE FOTO
   (troque os arquivos em assets/img — ver LEIA-ME.txt)
   ========================================================= */
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #DDE7F8; isolation: isolate; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a:hover .media img, .media:hover img { transform: scale(1.03); }
.media.is-empty { background:
  radial-gradient(120% 80% at 80% 0%, rgba(0, 112, 232, .35), transparent 60%),
  linear-gradient(160deg, #E7EFFC 0%, #CFDDF6 100%); }
.media.is-empty img { display: none; }
.media.is-empty::before { /* linha de ECG discreta */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 H120 L138 52 L146 70 H190 L206 98 L238 22 L252 70 H286 L298 60 L306 70 H400' fill='none' stroke='%230070E8' stroke-opacity='.35' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 46% no-repeat;
}
.media.is-empty::after {
  content: attr(data-label); position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  margin: 0 auto; width: max-content; max-width: 82%; text-align: center;
  padding: 10px 16px 10px 40px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--blue); line-height: 1.3;
  background: rgba(255, 255, 255, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23023ED0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E") 14px 50% no-repeat;
  box-shadow: 0 6px 18px -8px rgba(2, 62, 208, .4);
}
.on-dark .media.is-empty, .media.dark.is-empty { background: radial-gradient(120% 80% at 80% 0%, rgba(0, 112, 232, .45), transparent 60%), linear-gradient(160deg, #13208F 0%, #0A1263 100%); }
.on-dark .media.is-empty::before, .media.dark.is-empty::before { filter: brightness(2.2); }

/* =========================================================
   SERVIÇOS (carrossel)
   ========================================================= */
.services { overflow: hidden; }
.services-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.carousel-nav { display: flex; gap: 10px; flex: none; }
.carousel-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--surface); color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); display: grid; place-items: center;
  transition: background-color .25s, color .25s, transform .25s var(--ease), opacity .25s;
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.carousel-btn:active { transform: scale(.95); }
.carousel-btn[disabled] { opacity: .4; pointer-events: none; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 360px); gap: 20px;
  margin-top: 32px; overflow-x: auto; scroll-snap-type: none; scrollbar-width: none; overscroll-behavior-x: contain;
  /* faixa de ponta a ponta da tela, alinhada à margem do conteúdo */
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 14px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 34px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.svc-card {
  position: relative; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 480px; border-radius: var(--r-lg); overflow: hidden; color: var(--white); isolation: isolate;
  box-shadow: var(--shadow-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-10px); box-shadow: 0 36px 60px -22px rgba(2, 62, 208, .6), 0 0 0 2px rgba(0, 112, 232, .55); }
.svc-card:hover .media img { transform: scale(1.07); }
.svc-card:hover::after { background: linear-gradient(180deg, rgba(0, 112, 232, .05) 20%, rgba(2, 62, 208, .6) 52%, rgba(3, 40, 165, .94) 100%); }
.svc-card:hover .svc-icon { background: var(--red); box-shadow: 0 10px 22px -8px rgba(247, 0, 53, .8); transform: scale(1.06); }
.svc-icon { transition: background-color .3s, box-shadow .3s, transform .35s var(--ease); }
.svc-card::after { transition: background .4s; }
.svc-card .media { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 62, 208, 0) 30%, rgba(2, 62, 208, .5) 55%, rgba(3, 44, 175, .9) 100%); } /* gradiente azul da marca, mais claro */
.svc-card .media.is-empty::after { top: 32%; }
.svc-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.svc-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); margin-bottom: 6px; }
.svc-icon svg { width: 25px; height: 25px; }
.svc-card h3 { font-size: 25px; font-weight: 600; }
.svc-card p { font-size: 15.5px; color: rgba(255, 255, 255, .82); line-height: 1.5; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 600; font-size: 15px; color: var(--white); }
.svc-more svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-more svg { transform: translateX(4px); }
.svc-tag { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; background: var(--red); color: #fff; }
.carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; }
.carousel-progress { flex: 1; max-width: 340px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--blue); transition: width .2s linear, transform .2s linear; }

/* =========================================================
   ESTRUTURA (escura)
   ========================================================= */
.on-dark { color: var(--white); }
/* mesmo gradiente do hero, com os pilares verticais da fachada */
.structure { background: var(--grad-hero); overflow: hidden; isolation: isolate; }
.structure::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 70px, rgba(120, 170, 255, .1) 70px 72px, rgba(255, 255, 255, 0) 72px 140px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%);
}
.structure .ecg { bottom: 10%; opacity: .6; }
.bento { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 40px; }
.bento .media { grid-row: span 2; min-height: 520px; border-radius: var(--r-lg); }
.feat {
  position: relative; padding: 30px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 12px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background-color .3s, transform .35s var(--ease);
}
.feat:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.feat-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(0, 112, 232, .2); color: #8FC0FF; box-shadow: inset 0 0 0 1px rgba(143, 192, 255, .25); margin-bottom: 10px; }
.feat-icon svg { width: 26px; height: 26px; }
.feat h3 { font-size: 22px; font-weight: 600; }
.feat p { font-size: 15.5px; color: rgba(255, 255, 255, .72); line-height: 1.55; }
.feat.highlight { background: var(--grad-blue); box-shadow: 0 30px 60px -30px rgba(0, 112, 232, .8); }
.feat.highlight .feat-icon { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.feat.highlight p { color: rgba(255, 255, 255, .88); }
.feat .signal { position: absolute; top: 28px; right: 28px; display: flex; gap: 4px; align-items: flex-end; height: 22px; }
.feat .signal i { width: 5px; border-radius: 3px; background: rgba(255, 255, 255, .9); animation: signal 2.8s ease-in-out infinite; }
.feat .signal i:nth-child(1) { height: 30%; animation-delay: 0s; }
.feat .signal i:nth-child(2) { height: 55%; animation-delay: .2s; }
.feat .signal i:nth-child(3) { height: 78%; animation-delay: .4s; }
.feat .signal i:nth-child(4) { height: 100%; animation-delay: .6s; }
@keyframes signal { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* =========================================================
   EQUIPE
   ========================================================= */
.team-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 620px; display: flex; align-items: flex-end; isolation: isolate; box-shadow: var(--shadow-md); }
.team-frame .media { position: absolute; inset: 0; border-radius: 0; z-index: -2; }
.team-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 10, 82, .55) 0%, rgba(5, 10, 82, 0) 55%); pointer-events: none; }
.team-frame .media.is-empty::after { left: 50%; }
.team-card { margin: clamp(20px, 3vw, 40px); max-width: 520px; padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; }
.team-card p { color: var(--ink-soft); font-size: 17.5px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.role { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: var(--bg); font-size: 14px; font-weight: 600; line-height: 1.3; }
.role svg { width: 22px; height: 22px; color: var(--blue); }

/* =========================================================
   COMO ACIONAR
   ========================================================= */
.steps-wrap { position: relative; margin-top: 44px; }
.steps-line { position: absolute; left: 0; right: 0; top: 18px; height: 80px; width: 100%; }
.steps-line path { fill: none; stroke: var(--blue-bright); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.4s var(--ease); opacity: .5; }
.steps-wrap.in-view .steps-line path { stroke-dashoffset: 0; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step-num { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-family: var(--font-head); font-size: 24px; font-weight: 700; color: #fff; background: var(--grad-blue); box-shadow: 0 14px 26px -12px rgba(2, 62, 208, .8); margin-bottom: 10px; }
.step:last-child .step-num { background: var(--grad-red); box-shadow: 0 14px 26px -12px rgba(247, 0, 53, .8); }
.step h3 { font-size: 22px; font-weight: 600; }
.step p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.steps-cta { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.steps-cta .phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.steps-cta .phone svg { width: 20px; height: 20px; color: var(--blue); }

/* =========================================================
   CHAMADA EVENTOS
   ========================================================= */
.event-cta { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-lg); isolation: isolate; }
.event-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255, 255, 255, .06) 60px 62px); -webkit-mask-image: linear-gradient(90deg, #000, transparent 60%); mask-image: linear-gradient(90deg, #000, transparent 60%); }
.event-copy { padding: clamp(40px, 5.5vw, 76px); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; justify-content: center; }
.event-copy .lead { color: rgba(255, 255, 255, .85); }
.event-cta .media { border-radius: 0; min-height: 460px; }
.event-list { display: flex; flex-wrap: wrap; gap: 8px; }
.event-list span { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }

/* =========================================================
   CONVÊNIOS
   ========================================================= */
.partners { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.partners-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-tile { grid-column: span 2; height: 128px; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.logo-tile:nth-child(4) { grid-column: 2 / span 2; }
.logo-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.logo-tile img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; transition: transform .35s var(--ease); } /* coloridas; para voltar ao cinza: filter: grayscale(1) contrast(1.1); opacity: .75; */
.logo-tile:hover img { transform: scale(1.04); }
.logo-tile span { display: none; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--ink-soft); text-align: center; line-height: 1.2; }
.logo-tile.is-empty img { display: none; }
.logo-tile.is-empty span { display: block; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.final-cta { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad-red); color: #fff; padding: clamp(48px, 6vw, 84px); display: flex; align-items: center; justify-content: space-between; gap: 40px; isolation: isolate; box-shadow: 0 40px 80px -36px rgba(247, 0, 53, .7); }
.final-cta .ecg { bottom: 14px; height: 130px; z-index: -1; }
.final-cta .ecg .ecg-base { stroke: rgba(255, 255, 255, .14); }
.final-cta .ecg .ecg-pulse { stroke: #fff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, .9)); }
.final-cta h2 { font-size: clamp(32px, 4vw, 52px); max-width: 680px; }
.final-cta p { font-size: 19px; color: rgba(255, 255, 255, .88); margin-top: 14px; }
.final-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; flex: none; }
.final-actions .tel { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: #fff; min-height: 48px; }
.final-actions .tel svg { width: 22px; height: 22px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--grad-hero); color: rgba(255, 255, 255, .78); padding: clamp(52px, 6vw, 72px) 0 28px; margin-top: clamp(56px, 6.5vw, 88px); position: relative; overflow: hidden; }
/* mesmo gradiente do hero e da Estrutura, com os pilares verticais */
.footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 70px, rgba(120, 170, 255, .1) 70px 72px, rgba(255, 255, 255, 0) 72px 140px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 45%, transparent 75%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 168px; height: auto; }
.footer-brand p { margin-top: 22px; font-family: var(--font-head); font-size: 24px; font-weight: 500; color: #fff; line-height: 1.25; max-width: 280px; letter-spacing: -.02em; }
.footer h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8FC0FF; margin-bottom: 18px; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact a, .footer-contact div { display: flex; gap: 12px; align-items: flex-start; color: #fff; font-size: 16px; line-height: 1.45; }
.footer-contact svg { width: 20px; height: 20px; color: #8FC0FF; flex: none; margin-top: 2px; }
.footer-contact a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact small { display: block; color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-links a { padding: 6px 0; color: rgba(255, 255, 255, .78); transition: color .2s; width: fit-content; }
.footer-links a:hover { color: #fff; }
.footer-bottom { position: relative; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: rgba(255, 255, 255, .55); flex-wrap: wrap; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; height: 60px; padding: 0 22px 0 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; font-weight: 600;
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .65); transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(37, 211, 102, .75); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-ring 2.6s ease-out infinite; }
@keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }

/* =========================================================
   SUBPÁGINAS
   ========================================================= */
.page-hero { position: relative; background: var(--grad-hero); color: #fff; padding: calc(var(--header-h) + clamp(40px, 7vh, 80px)) 0 clamp(56px, 8vh, 88px); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: repeating-linear-gradient(90deg, transparent 0 70px, rgba(120, 170, 255, .1) 70px 72px, transparent 72px 140px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.page-hero .ecg { bottom: 4%; z-index: -1; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .65); margin-bottom: 26px; }
.crumbs a { color: rgba(255, 255, 255, .85); padding: 6px 0; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg { width: 15px; height: 15px; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -.035em; line-height: 1.02; }
.page-hero .lead { margin-top: 24px; max-width: 680px; color: rgba(255, 255, 255, .8); }
.page-hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.page-hero-split .media { aspect-ratio: 5 / 4.4; border-radius: var(--r-xl); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .14); }
.page-hero-split .media.hero-media { margin-top: 0; }
.page-hero .sub { font-family: var(--font-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; color: #8FC0FF; margin-top: 16px; letter-spacing: -.02em; }
.page-hero .hero-actions { justify-content: flex-start; margin-top: 34px; }

/* chips de navegação dos serviços */
.svc-nav { position: sticky; top: 72px; z-index: 50; background: rgba(243, 247, 253, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.svc-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.svc-nav .wrap::-webkit-scrollbar { display: none; }
.svc-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, background-color .2s, box-shadow .2s; }
.svc-nav a svg { width: 17px; height: 17px; }
.svc-nav a:hover { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.svc-nav a.is-active { background: var(--blue); color: #fff; box-shadow: none; }

.svc-block { padding: clamp(52px, 6vw, 80px) 0; scroll-margin-top: 140px; }
.svc-block + .svc-block { border-top: 1px solid var(--line); }
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.svc-block:nth-of-type(even) .svc-split .media { order: 2; }
.svc-split .media { aspect-ratio: 4 / 3.6; border-radius: var(--r-xl); }
.svc-content { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.svc-content h2 { font-size: clamp(32px, 3.6vw, 48px); }
.svc-type { display: inline-flex; align-items: center; gap: 10px; }
.svc-type .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-red); color: #fff; box-shadow: 0 10px 22px -10px rgba(247, 0, 53, .7); }
.svc-type .ic svg { width: 24px; height: 24px; }
.pill-red { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(0, 112, 232, .1); color: var(--blue); } /* nome mantido; agora em tons de azul */
.spec { width: 100%; display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.spec-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 22px; }
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-row dt { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.spec-row dt svg { width: 18px; height: 18px; color: var(--blue-bright); flex: none; margin-top: 3px; }
.spec-row dd { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 5px 11px; border-radius: 8px; background: var(--bg); font-size: 14px; color: var(--ink); }

/* eventos */
.ev-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.ev-type { display: flex; flex-direction: column; gap: 18px; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; min-height: 200px; }
.ev-type:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ev-type .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(0, 112, 232, .1); color: var(--blue); }
.ev-type .ic svg { width: 26px; height: 26px; }
.ev-type h3 { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; margin-top: auto; }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.offer .media { aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); }
.offer-list { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.offer-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.offer-item .n { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--grad-red); color: #fff; }
.offer-item p { font-size: 17px; color: rgba(255, 255, 255, .9); padding-top: 9px; line-height: 1.45; }

/* formulário */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.quote-copy { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 120px; }
.quote-copy .contact-line { display: flex; align-items: center; gap: 12px; font-weight: 600; margin-top: 8px; }
.quote-copy .contact-line .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(2, 62, 208, .08); color: var(--blue); }
.quote-copy .contact-line svg { width: 20px; height: 20px; }
.form { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: #fff; box-shadow: 0 0 0 4px rgba(0, 112, 232, .14); }
.field .err { display: none; font-size: 13.5px; color: var(--red); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .err { display: block; }
.form .btn { grid-column: 1 / -1; width: 100%; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-soft); text-align: center; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 14.5px; }
  .ev-types { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .media { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about, .svc-split, .offer, .quote, .page-hero-split { grid-template-columns: 1fr; }
  .svc-block:nth-of-type(even) .svc-split .media { order: 0; }
  .about-media .float-card { left: 16px; }
  .event-cta { grid-template-columns: 1fr; }
  .event-cta .media { min-height: 300px; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .final-actions { width: 100%; }
  .quote-copy { position: static; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .ev-types { grid-template-columns: 1fr 1fr; }
  .services-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  .hero-actions, .page-hero .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-photo { aspect-ratio: 4 / 3.6; border-radius: var(--r-lg); }
  .hero-photo img { object-position: 46% 60%; }
  .hero-photo-tag { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .stat { padding: 24px; }
  .bento { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .role { flex-direction: row; align-items: center; }
  .team-frame { min-height: 0; flex-direction: column; align-items: stretch; }
  .team-frame .media { position: relative; height: 300px; }
  .team-frame::after { display: none; }
  .team-frame .media.is-empty::after { left: 0; }
  .team-card { margin: 0; border-radius: 0; max-width: none; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .logo-tile, .logo-tile:nth-child(4) { grid-column: auto; height: 104px; }
  .logo-tile:nth-child(5) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
  .form { grid-template-columns: 1fr; }
  .ev-types { grid-template-columns: 1fr; }
  .ev-type { min-height: 0; flex-direction: row; align-items: center; }
  .ev-type h3 { margin-top: 0; }
  .wa-float { padding: 0; width: 60px; justify-content: center; }
  .wa-float span { display: none; }
  .final-actions .btn { width: 100%; }
  .carousel-track { grid-auto-columns: 84%; }
  .svc-card { min-height: 440px; }
  .svc-nav { top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-enter] > *, .hero-media[data-enter-media], .js-reveal [data-reveal] { opacity: 1; transform: none; }
  .ecg .ecg-pulse { display: none; }
  .steps-line path { stroke-dashoffset: 0; }
}

/* telas de toque (sem mouse): o ícone dos cards de serviço já fica vermelho, como no hover */
@media (hover: none), (max-width: 600px) {
  .svc-card .svc-icon { background: var(--red); box-shadow: 0 10px 22px -8px rgba(247, 0, 53, .8); }
}

/* celular: margem lateral de 24px (o mesmo recuo do texto dentro dos cards) e headlines maiores */
@media (max-width: 600px) {
  .feat, .step, .team-card, .svc-body, .ev-type, .offer-item { padding-left: 24px; padding-right: 24px; }
  .h2, .h2-sm { font-size: 40px; }
  .hero h1 { font-size: min(48px, calc((100vw - 48px) / 7.75)); } /* cabe "Na terra ou no ar," em uma linha */
  .page-hero h1 { font-size: 48px; }
  .final-cta h2 { font-size: 36px; }
  .svc-content h2 { font-size: 36px; }
}

.nowrap { white-space: nowrap; }
/* logo empilhado (Golden Cross) precisa de mais altura para ter o mesmo peso visual */
.logo-tile:has(img[src*="golden-cross"]) { padding: 22px 14px; }
.logo-tile img[src*="golden-cross"] { max-height: 36px; }

/* card de Eventos: amplia a foto e ancora embaixo, cortando a copa das árvores
   para a ambulância e o pórtico subirem e ficarem acima do texto */
.svc-card .media img.fit-low { position: absolute; left: 0; bottom: 0; width: 100%; height: 122%; object-position: 40% 100%; }

/* foto da Estrutura: coluna mais larga (menos zoom, aparecem os equipamentos) e médico no centro */
.bento .media img { object-position: 51% 50%; }
@media (max-width: 1060px) { .bento .media { min-height: 0; aspect-ratio: 4 / 3.2; } }

/* card da UTI Aérea: foto horizontal inteira no topo (avião + ambulância), dissolvendo no azul do card */
.svc-card .media:has(img.fit-wide) { background: #032cb0; }
.svc-card .media img.fit-wide { position: absolute; top: 0; left: 0; width: 100%; height: 68%; object-fit: cover; object-position: 46% 55%;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }

/* foto vertical num bloco de serviço: moldura mais alta = menos zoom */
.svc-split .media.media-tall { aspect-ratio: 4 / 5.3; max-height: 760px; }
@media (max-width: 900px) { .svc-split .media.media-tall { aspect-ratio: 4 / 4.6; } }

/* Equipe: foto à esquerda (recortada no sol, equipe e ambulância), texto ao lado — seção mais baixa, nada coberto */
.team-frame.card-top-right { display: grid; grid-template-columns: 1fr 1.25fr; min-height: 0; align-items: stretch; background: var(--surface); }
.team-frame.card-top-right::after { display: none; }
.team-frame.card-top-right .media { position: relative; inset: auto; min-height: 430px; height: auto; z-index: 0; order: 2; } /* foto à direita */
.team-frame.card-top-right .media img { position: absolute; inset: 0; object-position: 50% 92%; } /* a foto não define a altura */
.team-frame.card-top-right .team-card { margin: 0; max-width: none; border-radius: 0; box-shadow: none; background: var(--surface); justify-content: center; padding: clamp(28px, 3.4vw, 48px); gap: 16px; }
@media (max-width: 900px) {
  .team-frame.card-top-right { grid-template-columns: 1fr; }
  .team-frame.card-top-right .media { min-height: 0; height: 300px; order: 0; }
  .team-frame.card-top-right .media img { object-position: 45% 88%; }
}

/* Eventos, "O que oferecemos": moldura mais alta (menos zoom) para a foto vertical da tenda */
.offer { grid-template-columns: 1.25fr 1fr; }
.offer .media { aspect-ratio: 1103 / 1340; } /* mesmo formato da foto recortada = sem zoom */
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } }

/* chamada de Eventos (home), celular: topo da foto (árvores) fica transparente e revela o gradiente azul do próprio box — sem emenda */
@media (max-width: 900px) {
  .event-cta .media:not(.is-empty) { background: transparent; }
  .event-cta .media:not(.is-empty) img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 14%, rgba(0, 0, 0, .8) 30%, #000 46%);
            mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 14%, rgba(0, 0, 0, .8) 30%, #000 46%);
  }
}

/* CTA final (box vermelho) no celular: conteúdo centralizado, respiro igual dos lados
   e a linha do sinal vital no rodapé do box, abaixo do telefone (não passa atrás dele) */
@media (max-width: 600px) {
  .final-cta { align-items: center; text-align: center; padding: 40px 24px 104px; gap: 28px; }
  .final-cta h2 { font-size: 34px; }
  .final-cta p { font-size: 17px; margin-top: 12px; }
  .final-cta .ecg { bottom: -18px; height: 110px; }
  .final-actions { width: 100%; }
}

/* rodapé: dados legais e link da política */
.footer-legal { display: flex; flex-direction: column; gap: 6px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.footer-meta a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.footer-meta a:hover { color: #fff; }
.form-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 600px) { .footer-meta { align-items: flex-start; } }

/* página da política (texto longo) e 404 */
.page-hero-sm { padding-bottom: clamp(40px, 6vh, 64px); }
.legal { padding-top: clamp(40px, 5vw, 64px); }
.legal-wrap { max-width: 820px; }
.legal-wrap h2 { font-size: clamp(22px, 2.2vw, 26px); margin: 36px 0 12px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.legal-wrap p + p { margin-top: 12px; }
.legal-wrap ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.legal-wrap strong { color: var(--ink); }
.legal-wrap a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-date { font-size: 14px !important; color: var(--ink-soft); }
.page-404 { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.page-404 .wrap { display: flex; flex-direction: column; align-items: center; }
.page-404 .lead { margin-left: auto; margin-right: auto; }
.page-404 .hero-actions { justify-content: center !important; }
.code-404 { font-family: var(--font-head); font-size: clamp(88px, 14vw, 160px); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: rgba(255, 255, 255, .14); margin-bottom: 8px; }
body:has(.page-404) .footer { margin-top: 0; }
