/* ============================================================
   Clínica Vittalit — Vazante · MG
   Identidade: azul #00AEEF · navy · branco
   ============================================================ */

@font-face {
  font-family: 'Jakarta';
  src: url('../fonts/jakarta.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --blue: #00AEEF;
  --blue-deep: #0284c7;
  --cyan: #4fd6ff;
  --navy: #07203f;
  --navy-2: #0b2d55;
  --ink: #10243c;
  --muted: #5b7186;
  --bg: #f4f9fd;
  --card: #ffffff;
  --line: rgba(7, 32, 63, 0.08);
  --shadow-sm: 0 2px 10px rgba(7, 32, 63, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(7, 32, 63, 0.18);
  --shadow-blue: 0 14px 34px -10px rgba(0, 174, 239, 0.45);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --grad: linear-gradient(120deg, #00aeef, #38c6ff 55%, #7ee0ff);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: 'Jakarta', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

section { position: relative; }

/* ---------- reveal animations ---------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.65,.25,1), transform .8s cubic-bezier(.2,.65,.25,1);
  transition-delay: var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- top bar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding: 14px 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}
.nav.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(7,32,63,.25);
  padding: 9px 0;
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .06em; }
.brand img { height: 40px; width: auto; transition: height .35s; }
.nav.scrolled .brand img { height: 34px; }
.brand b { font-size: 1.05rem; color: var(--navy); }
.brand small { display: block; font-size: .6rem; letter-spacing: .34em; color: var(--blue); font-weight: 700; margin-top: -3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: .92rem; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border-radius: 999px; transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(0,174,239,.1); color: var(--blue-deep); }
.nav-links .mob-cta { display: none; }
.nav.open .nav-links .mob-cta { display: block; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: .92rem;
  padding: 10px 20px; border-radius: 999px; box-shadow: var(--shadow-blue);
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(0,174,239,.55); }
.nav-burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background: rgba(0,174,239,.12); color: var(--blue-deep); font-size: 1.3rem; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(1200px 700px at 85% -10%, rgba(0,174,239,.16), transparent 60%),
              radial-gradient(900px 600px at -10% 110%, rgba(0,174,239,.12), transparent 55%),
              linear-gradient(180deg, #eef7fd 0%, #f4f9fd 100%);
  padding: 140px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(7,32,63,.10) 1px, transparent 1.4px);
  background-size: 34px 34px;
  mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 500px at 70% 30%, #000, transparent 75%);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-a { width: 480px; height: 480px; background: rgba(0,174,239,.35); top: -140px; right: -80px; }
.blob-b { width: 380px; height: 380px; background: rgba(126,224,255,.4); bottom: -120px; left: -100px; animation-delay: -8s; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--blue-deep); box-shadow: var(--shadow-sm); text-transform: uppercase;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,174,239,.5); }
  60% { box-shadow: 0 0 0 9px rgba(0,174,239,0); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: var(--navy);
  margin: 22px 0 18px;
}
.hero h1 .hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 34rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; border-radius: 999px; padding: 15px 28px; font-size: 1rem;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px rgba(0,174,239,.55); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(0,174,239,.4); color: var(--blue-deep); }

.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--blue); }

/* hero visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.orb {
  width: min(390px, 78vw); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(150deg, #ffffff, #eaf7ff);
  border: 1px solid rgba(0,174,239,.25);
  box-shadow: inset 0 0 60px rgba(0,174,239,.12), var(--shadow-md);
  display: grid; place-items: center; position: relative;
  animation: float 7s ease-in-out infinite;
}
.orb::before, .orb::after {
  content: ""; position: absolute; inset: -26px; border-radius: 50%;
  border: 1.5px dashed rgba(0,174,239,.3);
  animation: spin 40s linear infinite;
}
.orb::after { inset: -54px; border-color: rgba(0,174,239,.16); animation-duration: 70s; animation-direction: reverse; }
.orb img { width: 55%; margin-top: -6%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  position: absolute; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  font-size: .84rem; font-weight: 700; color: var(--navy);
  animation: float 6s ease-in-out infinite;
}
.chip small { display: block; font-weight: 600; color: var(--muted); font-size: .74rem; }
.chip .ic {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0,174,239,.14); color: var(--blue-deep); flex: none;
}
.chip-a { top: 6%; left: -4%; animation-delay: -2s; }
.chip-b { bottom: 13%; right: -8%; animation-delay: -4s; }
.chip-c { bottom: -7%; left: -2%; animation-delay: -1s; }

/* stats */
.stats { margin-top: 64px; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.stat { padding: 26px 20px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--line); }
.stat b { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.stat b em { font-style: normal; color: var(--blue); }
.stat span { display: block; font-size: .86rem; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ---------- marquee ---------- */
.marquee { margin: 70px 0 0; padding: 18px 0; background: var(--navy); overflow: hidden; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; color: #cfeeff; font-weight: 700; letter-spacing: .04em; font-size: .95rem; white-space: nowrap; text-transform: uppercase; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section headers ---------- */
.sec { padding: 96px 0; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 1.04rem; }

/* ---------- especialidades ---------- */
#especialidades { background: #fff; }
.spec-tools { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; flex-wrap: wrap; }
.search {
  flex: 1 1 280px; display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 13px 20px;
  transition: border-color .25s, box-shadow .25s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,174,239,.14); }
.search input { border: none; outline: none; background: none; font: inherit; width: 100%; color: var(--ink); }
.search svg { color: var(--muted); flex: none; }
.spec-count { font-size: .9rem; color: var(--muted); font-weight: 600; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.spec-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .3s, box-shadow .3s, border-color .3s, background .3s;
}
.spec-card:hover {
  transform: translateY(-6px);
  background: #fff; border-color: rgba(0,174,239,.35); box-shadow: var(--shadow-md);
}
.spec-card .ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,174,239,.16), rgba(126,224,255,.22));
  color: var(--blue-deep); margin-bottom: 6px;
  transition: transform .3s;
}
.spec-card:hover .ic { transform: scale(1.1) rotate(-4deg); }
.spec-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); }
.spec-card p { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.spec-card.hide { display: none; }
.spec-empty { display: none; text-align: center; color: var(--muted); padding: 40px 0; font-weight: 600; }
.spec-empty.show { display: block; }

/* ---------- destaques ---------- */
#destaques { background: linear-gradient(180deg, var(--bg), #eaf5fc); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 46px 0; }
.feat:nth-child(even) .feat-visual { order: 2; }
.feat-visual {
  border-radius: var(--r-lg); aspect-ratio: 5/4; position: relative; overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.feat-visual .grad { position: absolute; inset: 0; opacity: .9; }
.fv-1 .grad { background: radial-gradient(140% 120% at 20% 15%, rgba(0,174,239,.65), transparent 55%), radial-gradient(120% 130% at 90% 90%, rgba(126,224,255,.35), transparent 60%); }
.fv-2 .grad { background: radial-gradient(140% 120% at 80% 10%, rgba(126,224,255,.5), transparent 55%), radial-gradient(130% 130% at 10% 95%, rgba(0,174,239,.6), transparent 60%); }
.feat-visual svg.deco { position: absolute; inset: 0; margin: auto; width: 44%; height: 44%; color: #fff; opacity: .95; filter: drop-shadow(0 12px 30px rgba(0,0,0,.3)); }
.feat-visual .tag {
  position: absolute; left: 22px; bottom: 22px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px);
  color: #fff; font-weight: 700; font-size: .84rem; border-radius: 999px; padding: 9px 18px;
}
.feat-copy .kicker { margin-bottom: 8px; }
.feat-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.feat-copy p { color: var(--muted); margin-bottom: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pills li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink); padding: 8px 15px;
  transition: border-color .25s, color .25s, transform .25s;
}
.pills li:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-2px); }

/* ---------- exames ---------- */
#exames { background: #fff; }
.ultra-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy), #0e3a6b);
  border-radius: var(--r-lg); padding: 22px 28px; color: #fff; margin-bottom: 40px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.ultra-banner::after {
  content: ""; position: absolute; top: -60%; right: -10%; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,174,239,.5), transparent 70%); pointer-events: none;
}
.ultra-banner .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(0,174,239,.25); display: grid; place-items: center; color: var(--cyan); }
.ultra-banner b { font-size: 1.06rem; }
.ultra-banner p { font-size: .9rem; color: #bfe6fb; }
.ultra-banner .btns { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  background: var(--bg); color: var(--muted); border: 1.5px solid var(--line);
  transition: all .3s;
}
.tab:hover { color: var(--blue-deep); border-color: rgba(0,174,239,.4); }
.tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }

.tab-panel { display: none; animation: fadeUp .5s cubic-bezier(.2,.65,.25,1); }
.tab-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.exam {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 18px; font-size: .93rem; font-weight: 600; color: var(--ink);
  transition: border-color .25s, transform .25s, background .25s;
}
.exam:hover { border-color: rgba(0,174,239,.45); background: #fff; transform: translateX(4px); }
.exam svg { color: var(--blue); flex: none; }

/* ---------- portal ---------- */
#portal { background: var(--navy); color: #fff; overflow: hidden; }
#portal::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(800px 480px at 25% 40%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(800px 480px at 25% 40%, #000, transparent 70%);
}
#portal .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
#portal .kicker { color: var(--cyan); }
#portal h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
#portal .soon {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; vertical-align: middle;
  background: rgba(0,174,239,.2); border: 1px solid rgba(0,174,239,.5); color: var(--cyan);
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; padding: 6px 13px; border-radius: 999px; text-transform: uppercase;
}
#portal p.lead { color: #a9c8e2; margin-top: 16px; font-size: 1.05rem; }
.portal-feats { margin-top: 30px; display: grid; gap: 16px; }
.pf { display: flex; gap: 15px; align-items: flex-start; }
.pf .ic {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  background: rgba(0,174,239,.18); border: 1px solid rgba(0,174,239,.4);
  display: grid; place-items: center; color: var(--cyan);
}
.pf b { font-size: .98rem; }
.pf span { display: block; font-size: .87rem; color: #a9c8e2; }

/* portal mock app */
.mock {
  background: linear-gradient(165deg, #ffffff, #f2faff);
  border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.55);
  color: var(--ink); overflow: hidden; max-width: 460px; margin-left: auto;
  transform: rotate(1.5deg);
  transition: transform .5s;
}
.mock:hover { transform: rotate(0deg) scale(1.01); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mock-bar i:first-child { background: #ff7b72; } .mock-bar i:nth-child(2) { background: #ffcf5c; } .mock-bar i:nth-child(3) { background: #58d68d; }
.mock-bar span { margin-left: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 22px; }
.mock-hello { font-size: .85rem; color: var(--muted); }
.mock-hello b { display: block; font-size: 1.1rem; color: var(--navy); }
.mock-tabs { display: flex; gap: 7px; margin: 16px 0; }
.mock-tabs span { font-size: .74rem; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.mock-tabs span.on { background: var(--grad); color: #fff; }
.mock-item {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}
.mock-item .ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(0,174,239,.13); display: grid; place-items: center; color: var(--blue-deep); flex: none; }
.mock-item b { font-size: .86rem; color: var(--navy); display: block; }
.mock-item small { font-size: .74rem; color: var(--muted); }
.mock-item .badge { margin-left: auto; font-size: .68rem; font-weight: 800; color: #16a34a; background: rgba(22,163,74,.12); padding: 5px 10px; border-radius: 999px; }
.mock-item .badge.new { color: var(--blue-deep); background: rgba(0,174,239,.14); }

/* ---------- agenda semanal ---------- */
#agenda { background: linear-gradient(180deg, #eaf5fc, var(--bg)); }
.agenda-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.ag-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ag-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(0,174,239,.35); }
.ag-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.ag-card h3 svg { color: var(--blue); flex: none; }
.ag-days { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-days span {
  font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: rgba(0,174,239,.11); color: var(--blue-deep); border-radius: 999px; padding: 5px 11px;
}
.ag-card.full { grid-column: 1 / -1; }
.ag-card p { font-size: .86rem; color: var(--muted); }
.agenda-note { text-align: center; color: var(--muted); font-size: .88rem; font-weight: 600; margin-top: 26px; }
.agenda-note a { color: var(--blue-deep); font-weight: 700; }

/* ---------- corpo técnico ---------- */
#equipe { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tm-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,174,239,.35); }
.tm-photo {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(0,174,239,.4), var(--shadow-sm);
  background: var(--grad); display: grid; place-items: center;
  color: #fff; font-size: 1.7rem; font-weight: 800; letter-spacing: .02em;
}
.tm-photo img { width: 100%; height: 100%; object-fit: cover; }
.tm-card h3 { font-size: 1rem; font-weight: 800; color: var(--navy); }
.tm-card .role { font-size: .84rem; color: var(--blue-deep); font-weight: 700; margin-top: 2px; }
.tm-card .detail { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* ---------- parceiros ---------- */
#parceiros { background: var(--bg); padding-top: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pt-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,174,239,.35); }
.pt-logo { height: 62px; display: grid; place-items: center; }
.pt-logo img { max-height: 62px; max-width: 150px; object-fit: contain; }
.pt-logo .ph {
  width: 56px; height: 56px; border-radius: 14px; background: rgba(0,174,239,.12);
  display: grid; place-items: center; color: var(--blue-deep); font-weight: 800; font-size: 1.2rem;
}
.pt-card b { font-size: .94rem; color: var(--navy); }
.pt-card small { font-size: .78rem; color: var(--muted); }

/* ---------- ouvidoria ---------- */
#ouvidoria { background: #fff; }
#ouvidoria .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: start; }
.ouv-info h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
.ouv-info > p { color: var(--muted); margin-top: 14px; }
.ouv-points { margin-top: 26px; display: grid; gap: 16px; }
.ouv-points .pf { display: flex; gap: 14px; align-items: flex-start; }
.ouv-points .pf .ic {
  width: 44px; height: 44px; flex: none; border-radius: 13px;
  background: rgba(0,174,239,.12); color: var(--blue-deep); display: grid; place-items: center;
}
.ouv-points b { font-size: .96rem; color: var(--navy); }
.ouv-points span { display: block; font-size: .86rem; color: var(--muted); }
.ouv-form {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.ouv-form .field { margin-bottom: 14px; }
.ouv-form label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.ouv-form input, .ouv-form select, .ouv-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 15px;
  background: #fff; outline: none; font: inherit; color: var(--ink);
  transition: border-color .25s, box-shadow .25s; box-sizing: border-box;
}
.ouv-form input:focus, .ouv-form select:focus, .ouv-form textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,174,239,.13);
}
.ouv-form textarea { min-height: 120px; resize: vertical; }
.ouv-form .hint { font-size: .76rem; color: var(--muted); margin-top: 5px; }
.ouv-msg { display: none; border-radius: 12px; padding: 12px 15px; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.ouv-msg.show { display: block; }
.ouv-msg.ok { background: rgba(22,163,74,.1); color: #16a34a; }
.ouv-msg.err { background: rgba(220,38,38,.09); color: #dc2626; }

/* ---------- sobre ---------- */
#sobre { background: #fff; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 20px; }
.value {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,174,239,.35); }
.value .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow-blue); }
.value h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.value p { font-size: .88rem; color: var(--muted); }
.quote {
  margin-top: 54px; text-align: center; font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 700; color: var(--navy); letter-spacing: -.01em;
}
.quote .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- contato ---------- */
#contato { background: linear-gradient(180deg, var(--bg), #e8f4fc); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ccard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0,174,239,.35); }
.ccard .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(0,174,239,.13); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: 12px; }
.ccard b { color: var(--navy); font-size: 1rem; }
.ccard span, .ccard a.val { color: var(--muted); font-size: .92rem; font-weight: 600; }
.ccard a.val:hover { color: var(--blue-deep); }
.ccard .go { margin-top: auto; padding-top: 12px; font-size: .84rem; font-weight: 700; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 6px; }

.cta-final {
  margin-top: 60px; text-align: center; background: linear-gradient(120deg, var(--navy), #0e3a6b);
  border-radius: var(--r-lg); padding: 64px 32px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cta-final::before, .cta-final::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.cta-final::before { width: 340px; height: 340px; background: rgba(0,174,239,.4); top: -160px; left: -80px; }
.cta-final::after { width: 300px; height: 300px; background: rgba(126,224,255,.25); bottom: -140px; right: -60px; }
.cta-final h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; position: relative; }
.cta-final p { color: #a9c8e2; margin: 14px auto 30px; max-width: 34rem; position: relative; }
.cta-final .hero-ctas { justify-content: center; margin-top: 0; position: relative; }
.cta-final .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.cta-final .btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #a9c8e2; padding: 60px 0 30px; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot img { height: 74px; width: auto; margin-bottom: 16px; }
.foot p { font-size: .9rem; max-width: 26rem; }
.foot h4 { color: #fff; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.foot ul { display: grid; gap: 10px; font-size: .92rem; }
.foot a:hover { color: var(--cyan); }
.foot-base { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 26px; font-size: .8rem; color: #6f93b5; }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  transition: transform .3s;
  animation: waPop .6s cubic-bezier(.3,1.4,.5,1) both; animation-delay: 1.4s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPop { from { transform: scale(0); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding-top: 120px; }
  .hero-visual { margin-top: 10px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat { padding: 22px 12px; }
  .feat { grid-template-columns: 1fr; gap: 30px; }
  .feat:nth-child(even) .feat-visual { order: 0; }
  #portal .wrap { grid-template-columns: 1fr; }
  #ouvidoria .wrap { grid-template-columns: 1fr; gap: 34px; }
  .mock { margin-inline: auto; }
  .foot { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .nav.open { background: #fff; box-shadow: var(--shadow-md); }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 12px 24px 24px; box-shadow: 0 30px 40px -20px rgba(7,32,63,.25);
    border-top: 1px solid var(--line);
  }
  .nav.open .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav.open .nav-links .mob-cta {
    margin-top: 10px; background: var(--grad); color: #fff; text-align: center;
    border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-blue);
  }
  .chip-a { left: -2%; } .chip-b { right: -2%; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .sec { padding: 58px 0; }
  .sec-head { margin-bottom: 32px; }
  .hero { padding-top: 112px; }
  .hero p.lead { font-size: 1.02rem; }
  .hero-ctas { margin-top: 24px; }
  .hero-trust { gap: 10px; margin-top: 22px; }
  .btn { width: 100%; justify-content: center; }
  .ultra-banner { padding: 20px; }
  .ultra-banner .btns { margin-left: 0; width: 100%; }
  .ultra-banner .btns .btn { width: 100%; }
  .stats { margin-top: 46px; }
  .marquee { margin-top: 52px; }

  /* especialidades: cards compactos em linha */
  .spec-grid { gap: 10px; }
  .spec-card { flex-direction: row; align-items: center; gap: 14px; padding: 13px 15px; }
  .spec-card .ic { margin-bottom: 0; width: 42px; height: 42px; flex: none; }
  .spec-card:hover { transform: none; }
  .spec-card .tx { min-width: 0; }
  .spec-card h3 { font-size: .94rem; }
  .spec-card p { font-size: .78rem; }

  .feat { padding: 30px 0; gap: 22px; }
  .feat-visual { aspect-ratio: 16/9; }
  .pills li { font-size: .78rem; padding: 7px 12px; }

  .mock { transform: none; }
  .portal-feats { gap: 13px; }

  .values { gap: 12px; }
  .value { padding: 20px; }
  .quote { margin-top: 40px; }

  .contact-grid { gap: 12px; }
  .ccard { padding: 22px; }
  .cta-final { padding: 46px 22px; margin-top: 44px; }

  .foot { gap: 26px; padding-bottom: 30px; }
  .foot img { height: 58px; }
  .foot-base { flex-direction: column; gap: 6px; }

  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}
