/* ═══════════════════════════════════════════════════════
   DR. DANIEL MESSAGE — CARDIOLOGIA · V2 "clínico premium"
   Porcelana clara + navy sóbrio + azul pontual + pulso discreto
   ═══════════════════════════════════════════════════════ */

:root {
  --paper: #FAFAF8;
  --paper-2: #F1F4F8;
  --card: #FFFFFF;
  --deep: #07203E;
  --deep-2: #0A2A4E;
  --ink: #0C2340;
  --navy: #002E5D;
  --slate: #4A5D74;
  --muted: #8296AC;
  --blue: #1264E3;
  --blue-ice: #DCE9FB;
  --pulse: #E23A6D;
  --line: rgba(12, 35, 64, 0.12);
  --line-soft: rgba(12, 35, 64, 0.08);
  --font-display: 'Sentient', Georgia, serif;
  --font-body: 'Satoshi', -apple-system, sans-serif;
  --wrap: 1240px;
  --radius: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(12, 35, 64, 0.05), 0 4px 16px rgba(12, 35, 64, 0.04);
  --shadow-md: 0 2px 6px rgba(12, 35, 64, 0.06), 0 18px 44px rgba(12, 35, 64, 0.09);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

/* ── tipografia ─────────────────────────── */
.label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h2--big { font-size: clamp(2.5rem, 5.8vw, 4.6rem); }
.h2--light { color: #F2F7FD; }
.h2 em, .contato__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue);
}
.h2--light em { color: #9CC1F5; }

.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--slate); max-width: 58ch; }
.lead--light { color: #B7C9DE; }
.body { color: var(--slate); max-width: 58ch; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--blue); opacity: 0.5; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 30px; height: 1px; background: var(--blue); opacity: 0.5; }
.eyebrow--light { color: #9CC1F5; }
.eyebrow--light::before { background: #9CC1F5; }

.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pulse);
  display: inline-block;
  flex: none;
  animation: pulseDot 1.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 58, 109, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(226, 58, 109, 0); }
}

/* ── seções ─────────────────────────── */
.section { padding-block: clamp(90px, 11vw, 150px); position: relative; }
.section--tint { background: var(--paper-2); }
.section--deep {
  background:
    radial-gradient(1000px 600px at 90% -10%, rgba(18, 100, 227, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(226, 58, 109, 0.07), transparent 60%),
    var(--deep);
}
.section-head { max-width: 800px; margin-bottom: clamp(48px, 6vw, 76px); }
.section-head .lead { margin-top: 24px; }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.section-head__aside { max-width: 36ch; padding-bottom: 8px; }

/* ── botões ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 22px rgba(12, 35, 64, 0.22);
}
.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 46, 93, 0.28);
}
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); background: rgba(0, 46, 93, 0.04); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.82rem; }
.btn--lg { padding: 16px 32px; font-size: 0.96rem; }
.btn--xl { padding: 21px 44px; font-size: 1.08rem; }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--paper);
  display: none;
  align-items: center;
  justify-content: center;
}
html.js .preloader { display: flex; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.preloader__ecg { width: min(240px, 56vw); }
.preloader__label { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.label-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.02em; }
.label-unit { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: transform 0.5s var(--ease-out), background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header__wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 15px;
  max-width: 1400px;
}
.logo { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); }
.logo__mark { width: 37px; height: 37px; flex: none; }
.logo__text { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.01em; }
.logo__text em { font-style: italic; color: var(--blue); }

.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  transition: color 0.3s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: rgba(250, 250, 248, 0.97);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  font-weight: 400;
  color: var(--ink);
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(620px 620px at 77% 46%, rgba(18, 100, 227, 0.1), rgba(220, 233, 251, 0.35) 45%, transparent 68%),
    radial-gradient(900px 600px at 85% 30%, rgba(18, 100, 227, 0.06), transparent 65%),
    radial-gradient(600px 400px at 70% 75%, rgba(226, 58, 109, 0.04), transparent 60%),
    var(--paper);
}

.hero__hello {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--slate);
  margin-bottom: 6px;
}
#heart-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__wrap { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 700px; padding-block: 150px 230px; }
.hero__eyebrow { margin-bottom: 30px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 8.6vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 34px;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.22em; }
.hero__line--accent { font-style: italic; color: var(--navy); }
.hero__line--accent .char {
  color: transparent;
  background: linear-gradient(110deg, var(--navy), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  /* estende a caixa do char pra baixo: sem isso o gradiente não cobre
     o descender do "g" (que pinta fora da caixa) e a letra sai cortada */
  padding-bottom: 0.35em;
  margin-bottom: -0.35em;
}

.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--slate); margin-bottom: 44px; max-width: 54ch; }

.rotator {
  display: inline-grid;
  vertical-align: bottom;
  text-align: left;
  overflow: hidden;
  height: 1.75em;
}
.rotator__word {
  grid-area: 1 / 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08em;
  color: var(--blue);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(110%);
}
.rotator__word.is-active { opacity: 1; transform: none; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  max-width: 640px;
}
.hero__badges li {
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
}
.hero__badges li:not(:last-child)::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.45;
  margin-inline: 16px;
}

.hero__ecg {
  position: absolute;
  left: 0; right: 0; bottom: 48px;
  width: 100%;
  height: clamp(54px, 7vw, 100px);
  z-index: 1;
  pointer-events: none;
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 20px;
  overflow: hidden;
  background: var(--card);
  position: relative;
  z-index: 3;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  flex: none;
}
.marquee__group span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__group i { color: var(--blue); font-style: normal; font-size: 0.9rem; opacity: 0.6; }

/* ═══════════ SOBRE ═══════════ */
.sobre__grid {
  display: grid;
  grid-template-columns: minmax(300px, 450px) 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.sobre__media { position: relative; }
.sobre__photo {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  position: relative;
  aspect-ratio: 443 / 507;
  box-shadow: var(--shadow-md);
}
.sobre__photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.sobre__chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.sobre__chip--bottom { bottom: 26px; left: -20px; flex-direction: column; align-items: flex-start; gap: 3px; }
.sobre__chip--bottom strong { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.02em; }
.sobre__chip--bottom .label { font-size: 0.58rem; color: var(--muted); }

.sobre__content .lead { margin-bottom: 20px; margin-top: 28px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  border-top: 1px solid var(--line-soft);
  padding-top: 38px;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
  color: var(--navy);
}
.stat__label { display: block; margin-top: 10px; color: var(--muted); font-size: 0.6rem !important; }

/* ═══════════ IMAGEM CARDÍACA (seção escura) ═══════════ */
.imagem__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.icard {
  position: relative;
  border: 1px solid rgba(156, 193, 245, 0.16);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 3.4vw, 44px);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.4s, background 0.4s, transform 0.45s var(--ease-out);
}
.icard:hover {
  border-color: rgba(156, 193, 245, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}
.icard__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(36px, 4.5vw, 70px); }
.icard__num { color: #6E8CB0; font-size: 0.8rem !important; }
.icard__icon { width: 44px; height: 44px; color: #9CC1F5; }
.icard__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2vw, 1.75rem); color: #F2F7FD; margin-bottom: 14px; }
.icard__desc { color: #B7C9DE; margin-bottom: 26px; font-size: 0.98rem; }
.icard__list { display: grid; gap: 10px; }
.icard__list li {
  position: relative;
  padding-left: 24px;
  color: #DCE9FB;
  font-size: 0.93rem;
  font-weight: 500;
}
.icard__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 12px; height: 1.5px;
  border-radius: 2px;
  background: var(--pulse);
  opacity: 0.85;
}

.imagem__where {
  margin-top: clamp(48px, 6vw, 68px);
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(156, 193, 245, 0.14);
  padding-top: 34px;
}
.imagem__where-label { color: #9CC1F5; flex: none; font-size: 0.64rem !important; }
.imagem__places { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.imagem__places li {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.02rem;
  color: #B7C9DE;
  transition: color 0.3s;
}
.imagem__places li:hover { color: #F2F7FD; }

/* ═══════════ SERVIÇOS ═══════════ */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.scard {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--card);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.scard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 100, 227, 0.25);
}
.scard__icon { width: 32px; height: 32px; color: var(--blue); margin-bottom: 20px; }
.scard h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.16rem; color: var(--ink); margin-bottom: 10px; }
.scard p { color: var(--slate); font-size: 0.9rem; line-height: 1.65; }

.scard--featured {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px 34px;
  background:
    radial-gradient(500px 380px at 90% -10%, rgba(18, 100, 227, 0.28), transparent 60%),
    linear-gradient(160deg, var(--deep-2), var(--deep));
  border-color: transparent;
}
.scard--featured:hover { border-color: rgba(156, 193, 245, 0.35); }
.scard--featured .scard__icon { width: 42px; height: 42px; color: #FF7BA3; }
.scard--featured h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); color: #F2F7FD; font-weight: 400; }
.scard--featured p { font-size: 0.98rem; color: #B7C9DE; max-width: 46ch; }
.scard__tag {
  position: absolute;
  top: 24px; right: 24px;
  color: #FF9DBB;
  border: 1px solid rgba(255, 123, 163, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.58rem !important;
  background: rgba(226, 58, 109, 0.1);
}
.scard__link {
  margin-top: 22px;
  color: #DCE9FB;
  font-size: 0.66rem !important;
  display: inline-block;
  transition: color 0.3s;
}
.scard__link:hover { color: #FF9DBB; }

/* ═══════════ TRAJETÓRIA ═══════════ */
.trajetoria__grid {
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.trajetoria__intro { position: sticky; top: 110px; }
.trajetoria__intro .body { margin-top: 26px; }
.trajetoria__photo {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.trajetoria__photo img { width: 100%; will-change: transform; }
.trajetoria__photo figcaption {
  position: absolute;
  bottom: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.56rem !important;
  color: var(--slate);
}

.timeline { position: relative; padding-left: 42px; display: grid; gap: clamp(36px, 4.5vw, 54px); }
.timeline__line {
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--line);
}
.timeline__line i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--pulse), var(--blue));
  transform-origin: top;
  transform: scaleY(0);
}
.tl-item { position: relative; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -38px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 100, 227, 0.1);
}
.tl-item__year {
  color: var(--pulse);
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem !important;
}
.tl-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; color: var(--ink); margin-bottom: 6px; }
.tl-item p { color: var(--slate); font-size: 0.95rem; max-width: 54ch; }

/* ═══════════ CONTATO ═══════════ */
.contato { text-align: center; overflow: hidden; }
.contato::before {
  content: '';
  position: absolute;
  left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  width: min(900px, 92vw);
  height: 560px;
  background: radial-gradient(ellipse, rgba(18, 100, 227, 0.08), transparent 65%);
  pointer-events: none;
}
.contato .wrap { position: relative; }
.contato__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.8vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 17ch;
  margin-inline: auto;
  margin-bottom: 48px;
}
.contato__cta { margin-bottom: clamp(56px, 7vw, 84px); }
.contato__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 920px;
  margin-inline: auto;
  text-align: left;
}
.contato__info li {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.contato__info li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contato__info .label { color: var(--pulse); font-size: 0.6rem !important; }
.contato__info a { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; line-height: 1.45; color: var(--ink); transition: color 0.3s; }
.contato__info a:hover { color: var(--blue); }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--deep); color: #DCE9FB; }
.footer__wrap { padding-block: 56px 32px; display: grid; gap: 28px; }
.footer__id { display: flex; align-items: center; gap: 14px; }
.footer__id .logo__mark { color: #DCE9FB; }
.footer__id strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; }
.footer__id .label { color: #6E8CB0; font-size: 0.58rem !important; }
.footer__note { color: #8FA6C2; font-size: 0.88rem; max-width: 64ch; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(156, 193, 245, 0.14);
  padding-top: 26px;
}
.footer__bottom .label { color: #6E8CB0; font-size: 0.58rem !important; }
.footer__top { color: #8FA6C2; font-size: 0.58rem !important; transition: color 0.3s; }
.footer__top:hover { color: #fff; }

/* ═══════════ REVEAL (estado base p/ JS) ═══════════ */
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }

html.js [data-split] .char { display: inline-block; transform: translateY(115%); }
[data-split] .word { display: inline-block; white-space: nowrap; }
html.js [data-split-lines] .line-inner { display: inline-block; transform: translateY(110%); }
[data-split-lines] .line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }

/* ═══════════ RESPONSIVO ═══════════ */
@media (max-width: 1080px) {
  .servicos__grid { grid-template-columns: repeat(2, 1fr); }
  .scard--featured { grid-column: span 2; grid-row: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__wrap .btn { display: none; }
  .hero__content { padding-block: 140px 210px; }
  .sobre__grid { grid-template-columns: 1fr; }
  .sobre__media { max-width: 430px; }
  .imagem__cards { grid-template-columns: 1fr; }
  .trajetoria__grid { grid-template-columns: 1fr; }
  .trajetoria__intro { position: static; }
  .trajetoria__photo { max-width: 430px; }
  .contato__info { grid-template-columns: 1fr; max-width: 520px; }
  #heart-canvas { opacity: 0.5; }
}

@media (max-width: 560px) {
  .hero__content { padding-block: 130px 190px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__badges { flex-direction: column; gap: 10px; }
  .hero__badges li:not(:last-child)::after { display: none; }
  .hero__ecg { bottom: 40px; }
  .servicos__grid { grid-template-columns: 1fr; }
  .scard--featured { grid-column: span 1; }
  .sobre__chip--bottom { left: 8px; }
}

/* ═══════════ MOVIMENTO REDUZIDO ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js [data-split] .char,
  html.js [data-split-lines] .line-inner { opacity: 1 !important; transform: none !important; }
  .pulse-dot { animation: none; }
  #heart-canvas { display: none; }
  * { scroll-behavior: auto !important; }
}
