/* ==========================================================================
   DR. BRUNO SOARES · Cirurgia Oncológica
   Direção: azul profundo, brilho safira, detalhes em champanhe, serifa editorial
   ========================================================================== */

:root {
  --font-display: 'Sora', 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ink: #030918;
  --navy-950: #040B1F;
  --navy-900: #071435;
  --navy-800: #0B1D49;
  --navy-700: #12306E;
  --royal: #2F6BFF;
  --royal-deep: #1F4FD1;
  --sky: #8DB8FF;
  --ice: #DCE8FF;
  --gold: #D8C28A;
  --gold-deep: #B79F63;

  --text: #EEF3FF;
  --text-dim: #A9B8D8;
  --text-faint: #7183AB;

  --line: rgba(141, 184, 255, 0.14);
  --line-strong: rgba(141, 184, 255, 0.28);
  --line-gold: rgba(216, 194, 138, 0.38);

  --wa: #25D366;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: linear-gradient(180deg, var(--ink) 0%, var(--navy-950) 38%, #050E26 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Atmosfera ---------- */
.bg-atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(130px); }
.glow-1 { width: 720px; height: 720px; background: var(--royal); opacity: 0.20; top: -260px; right: -180px; }
.glow-2 { width: 640px; height: 640px; background: var(--navy-700); opacity: 0.55; top: 38%; left: -260px; }
.glow-3 { width: 520px; height: 520px; background: var(--royal-deep); opacity: 0.16; bottom: -140px; right: 8%; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 22px; font-size: 0.88rem; }
.btn-lg { padding: 18px 38px; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(135deg, #4C86FF 0%, var(--royal-deep) 100%);
  color: #fff; box-shadow: 0 10px 30px -10px rgba(47, 107, 255, 0.75), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { box-shadow: 0 16px 38px -10px rgba(47, 107, 255, 0.9), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-whatsapp {
  background: linear-gradient(135deg, #2EE07A 0%, #1FB75B 100%);
  color: #04210F; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.6);
}
.btn-whatsapp:hover { box-shadow: 0 16px 38px -10px rgba(37, 211, 102, 0.8); }
.btn-ghost { border-color: var(--line-strong); color: var(--ice); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--sky); background: rgba(141,184,255,0.08); }
.btn-outline { border-color: var(--line-strong); color: var(--ice); width: 100%; margin-top: 26px; font-size: 0.9rem; padding: 14px 20px; }
.btn-outline:hover { background: var(--royal-deep); border-color: var(--royal); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(3, 9, 24, 0.72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(3, 9, 24, 0.88); }
.navbar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-logo-img { height: 42px; width: auto; }
.nav-menu { display: flex; gap: 34px; }
.nav-link { white-space: nowrap; font-size: 0.9rem; color: var(--text-dim); position: relative; padding: 6px 0; transition: color 0.25s var(--ease); }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s var(--ease); }
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ice); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
}
.eyebrow i { display: block; width: 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.section { padding: 128px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(11, 29, 73, 0.38), rgba(7, 20, 53, 0.18)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-header { max-width: 720px; margin-bottom: 64px; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 2.7rem); line-height: 1.16; letter-spacing: -0.035em; color: #fff; }
.section-lead { margin-top: 20px; font-size: 1.05rem; color: var(--text-dim); max-width: 600px; }

/* ---------- Hero ---------- */
.hero { padding: 76px 0 96px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 72px; align-items: center; }
.hero-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 4.7vw, 4rem); line-height: 1.1; letter-spacing: -0.04em; margin: 26px 0 28px; color: #fff; }
.hero-title em { font-style: normal; font-weight: 600; background: linear-gradient(120deg, var(--gold) 10%, #F2E4B8 55%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.hero-lead { font-size: 1.12rem; color: var(--text-dim); max-width: 540px; line-height: 1.75; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 38px 0 52px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, auto); gap: 0; justify-content: start; border-top: 1px solid var(--line); padding-top: 26px; max-width: 560px; }
.hero-proof li { padding: 0 28px; border-left: 1px solid var(--line); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
.hero-proof span { display: block; font-size: 0.78rem; color: var(--text-faint); margin-top: 4px; line-height: 1.4; }

.portrait { position: relative; max-width: 430px; margin-left: auto; }
.portrait::before {
  content: ''; position: absolute; inset: -26px -26px 40px -26px; border-radius: 240px 240px 36px 36px;
  background: radial-gradient(circle at 50% 30%, rgba(47,107,255,0.45), rgba(47,107,255,0) 70%); filter: blur(26px); z-index: -1;
}
.portrait-frame {
  position: relative; border-radius: 220px 220px 28px 28px; padding: 1.5px;
  background: linear-gradient(170deg, var(--gold) 0%, rgba(216,194,138,0.12) 38%, rgba(141,184,255,0.45) 100%);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.02);
}
.portrait-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 14%; border-radius: 218px 218px 26px 26px; background: var(--navy-800); }
.portrait-card {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); width: calc(100% - 44px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; padding: 18px 20px;
  border-radius: 18px; border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(18,48,110,0.82), rgba(7,20,53,0.86));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,0.8);
}
.portrait-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.portrait-role { font-size: 0.8rem; color: var(--sky); letter-spacing: 0.04em; }
.portrait-reg { font-family: var(--font-mono); font-size: 0.68rem; color: var(--gold); letter-spacing: 0.08em; margin-top: 4px; }

/* ---------- Credenciais ---------- */
.creds { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7, 20, 53, 0.5); margin-top: 18px; }
.creds-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; padding-top: 24px; padding-bottom: 24px; }
.cred { display: flex; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--text-dim); letter-spacing: 0.01em; }
.cred-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(216,194,138,0.8); flex: none; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 96px; align-items: center; }
.about-photo { position: relative; }
.about-photo::before { content: ''; position: absolute; inset: 8% -8% -8% 8%; border-radius: 36px; border: 1px solid var(--line-gold); z-index: -1; }
.about-photo::after { content: ''; position: absolute; inset: -6%; background: radial-gradient(circle at 30% 20%, rgba(47,107,255,0.4), transparent 62%); filter: blur(40px); z-index: -2; }
.about-photo-frame { position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -40px rgba(0,0,0,0.9); }
.about-photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; filter: saturate(0.92) contrast(1.04); }
.about-photo-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,11,31,0) 50%, rgba(4,11,31,0.88) 100%), linear-gradient(135deg, rgba(47,107,255,0.22), transparent 55%); pointer-events: none; }
.about-photo-frame figcaption { position: absolute; left: 28px; right: 28px; bottom: 24px; z-index: 2; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.02em; color: #fff; line-height: 1.25; }
.about-photo-frame figcaption span { display: block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 34px 0 30px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts li { padding: 0 20px; border-left: 1px solid var(--line); }
.about-facts li:first-child { padding-left: 0; border-left: 0; }
.about-facts strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
.about-facts span { display: block; font-size: 0.78rem; color: var(--text-faint); margin-top: 4px; }

.about-text p { font-size: 1.08rem; color: var(--text-dim); line-height: 1.85; margin-bottom: 22px; }
.about-text .section-title { margin-bottom: 28px; }
.about-text p:first-of-type { color: var(--ice); font-size: 1.16rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--gold); font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid var(--line-gold); padding-bottom: 6px; transition: gap 0.3s var(--ease), color 0.3s; }
.link-arrow:hover { gap: 18px; color: #F2E4B8; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; padding: 40px 38px 36px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, rgba(47,107,255,0.11) 0%, rgba(11,29,73,0.55) 46%, rgba(7,20,53,0.7) 100%);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.card::before { content: ''; position: absolute; top: 0; left: 38px; right: 38px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.55; }
.card-wide { grid-column: 1 / -1; }
.card-wide p { max-width: 760px; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px -28px rgba(0,0,0,0.85), 0 0 60px -30px rgba(47,107,255,0.7); }
.card-num { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.16em; color: var(--gold); line-height: 1; opacity: 0.9; }
.card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.22; color: #fff; margin: 20px 0 14px; }
.card p { color: var(--text-dim); font-size: 0.98rem; line-height: 1.75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips span { font-size: 0.76rem; padding: 7px 14px; border-radius: 999px; color: var(--ice); background: rgba(141,184,255,0.08); border: 1px solid var(--line); }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 33px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-gold) 15%, var(--line-gold) 85%, transparent); }
.step { text-align: center; padding: 0 10px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%;
  font-family: var(--font-mono); font-size: 1.25rem; font-weight: 500; color: var(--gold);
  background: radial-gradient(circle at 50% 30%, var(--navy-700), var(--navy-900)); border: 1px solid var(--line-gold);
  box-shadow: 0 0 0 8px var(--navy-950), 0 18px 40px -16px rgba(47,107,255,0.7);
}
.step h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; color: #fff; margin: 26px 0 12px; }
.step p { color: var(--text-dim); font-size: 0.98rem; max-width: 310px; margin: 0 auto; line-height: 1.75; }

/* ---------- Locais ---------- */
.locations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.location {
  display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18,48,110,0.42), rgba(7,20,53,0.72)); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.location:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.loc-badge { align-self: flex-start; font-family: var(--font-mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-gold); padding: 6px 12px; border-radius: 999px; }
.location h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; color: #fff; margin: 20px 0 6px; line-height: 1.1; }
.loc-sub { font-size: 0.82rem; color: var(--sky); line-height: 1.5; }
.loc-addr { font-size: 0.86rem; color: var(--text-faint); margin-top: 16px; }
.loc-when { margin-top: auto; padding-top: 22px; font-size: 0.95rem; color: var(--ice); line-height: 1.5; }
.loc-when span { display: block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.location .btn-outline { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  background: none; border: 0; color: #fff; cursor: pointer; padding: 28px 4px;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; transition: color 0.25s;
}
.faq-question:hover { color: var(--gold); }
.faq-question i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s; }
.faq-question i::before, .faq-question i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: var(--ice); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq-question i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.active .faq-question i { background: var(--royal-deep); border-color: var(--royal); transform: rotate(180deg); }
.faq-item.active .faq-question i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-item.active .faq-answer { max-height: 320px; }
.faq-answer p { padding: 0 64px 30px 4px; color: var(--text-dim); font-size: 1.02rem; line-height: 1.8; }

/* ---------- CTA final ---------- */
.final-cta { padding: 40px 0 128px; }
.final-inner {
  text-align: center; padding: 88px 40px; border-radius: 32px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(47,107,255,0.55), rgba(18,48,110,0.55) 45%, rgba(7,20,53,0.9) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -50px rgba(47,107,255,0.7);
}
.final-inner::before { content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.final-inner h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.04em; color: #fff; }
.final-inner p { margin: 20px auto 40px; max-width: 520px; color: var(--ice); opacity: 0.85; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: rgba(3, 9, 24, 0.7); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.footer-logo { height: 46px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--text-faint); font-size: 0.92rem; max-width: 340px; line-height: 1.75; }
.footer h4 { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer li { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 11px; }
.footer a:hover { color: #fff; }
.footer-wa { color: var(--sky); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--text-faint); }

/* ---------- WhatsApp flutuante ---------- */
.floating-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #04210F;
  background: linear-gradient(135deg, #2EE07A, #1FB75B); box-shadow: 0 14px 36px -8px rgba(37,211,102,0.7);
  transition: transform 0.3s var(--ease);
}
.floating-wa:hover { transform: scale(1.08); }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards-grid .reveal:nth-child(2n), .js .locations .reveal:nth-child(2), .js .steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.js .locations .reveal:nth-child(3), .js .steps .reveal:nth-child(3) { transition-delay: 0.2s; }
.js .locations .reveal:nth-child(4) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .location { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1240px) { .nav-menu { gap: 22px; } .nav-link { font-size: 0.85rem; } .btn-sm { padding: 10px 18px; } }

@media (max-width: 1080px) {
  .locations { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 56px; }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .nav-menu {
    position: fixed; inset: 76px 0 0 0; flex-direction: column; gap: 0; padding: 24px 28px;
    background: rgba(3, 9, 24, 0.97); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-menu.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-link { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; color: #fff; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }

  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .portrait { margin: 0 auto; max-width: 380px; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .navbar { height: 68px; }
  .nav-menu { inset: 68px 0 0 0; }
  .nav-logo-img { height: 36px; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 18px; border-top: 1px solid var(--line); }
  .hero-proof li { padding: 0; border-left: 0; display: flex; align-items: baseline; gap: 12px; }
  .hero-proof span { margin-top: 0; }
  .creds-row { gap: 12px 26px; justify-content: flex-start; }
  .locations { grid-template-columns: 1fr; }
  .card { padding: 32px 26px 28px; }
  .about-facts { grid-template-columns: 1fr; gap: 14px; }
  .about-facts li { padding: 0; border-left: 0; display: flex; gap: 10px; align-items: baseline; }
  .faq-question { font-size: 1.28rem; padding: 24px 0; }
  .faq-answer p { padding: 0 8px 26px 0; }
  .final-inner { padding: 60px 24px; border-radius: 26px; }
  .floating-wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- Registro verificável ---------- */
.registry { padding: 0 0 128px; }
.registry-inner { width: calc(100% - 56px); display: grid; grid-template-columns: 1.1fr 1.3fr auto; align-items: center; gap: 48px; padding: 44px 48px; border-radius: 26px; border: 1px solid var(--line-gold); background: linear-gradient(135deg, rgba(18,48,110,0.35), rgba(7,20,53,0.7)); }
.registry-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.03em; color: #fff; line-height: 1.2; }
.registry-inner p { margin-top: 10px; color: var(--text-dim); font-size: 0.95rem; }
.registry-inner .section-tag { margin-bottom: 14px; }
.registry-list { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.registry-list li { padding: 0 20px; border-left: 1px solid var(--line); }
.registry-list li:first-child { border-left: 0; padding-left: 0; }
.registry-list span { display: block; white-space: nowrap; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.registry-list strong { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 500; color: var(--gold); white-space: nowrap; }
.registry-btn { width: auto; margin-top: 0; white-space: nowrap; }
.map-link { display: inline-block; margin-left: 6px; color: var(--sky); border-bottom: 1px solid var(--line-strong); font-size: 0.8rem; }
.map-link:hover { color: #fff; }

@media (max-width: 960px) {
  .registry-inner { grid-template-columns: 1fr; gap: 28px; padding: 34px 28px; }
  .registry-list { grid-template-columns: 1fr; gap: 14px; }
  .registry-list li, .registry-list li:first-child { padding: 0; border-left: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .registry-btn { width: 100%; }
}

/* ==========================================================================
   CAMADA TECNOLÓGICA (sutil)
   ========================================================================== */

/* grade técnica muito leve no topo */
.bg-atmosphere::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(141,184,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(141,184,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 62% 8%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 55% at 62% 8%, #000 0%, transparent 72%);
}

/* títulos com leve degradê */
.section-title, .final-inner h2 {
  background: linear-gradient(180deg, #FFFFFF 30%, #BFD4FF 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}

/* marcadores de mira no retrato */
.portrait::after {
  content: ''; position: absolute; inset: -16px -16px 24px -16px; pointer-events: none; z-index: 3;
  --tick: rgba(216,194,138,0.8);
  background:
    linear-gradient(var(--tick), var(--tick)) top left / 22px 1.5px no-repeat,
    linear-gradient(var(--tick), var(--tick)) top left / 1.5px 22px no-repeat,
    linear-gradient(var(--tick), var(--tick)) top right / 22px 1.5px no-repeat,
    linear-gradient(var(--tick), var(--tick)) top right / 1.5px 22px no-repeat,
    linear-gradient(var(--tick), var(--tick)) bottom left / 22px 1.5px no-repeat,
    linear-gradient(var(--tick), var(--tick)) bottom left / 1.5px 22px no-repeat,
    linear-gradient(var(--tick), var(--tick)) bottom right / 22px 1.5px no-repeat,
    linear-gradient(var(--tick), var(--tick)) bottom right / 1.5px 22px no-repeat;
}

/* varredura lenta sobre o retrato */
.portrait-frame { overflow: hidden; }
.portrait-frame::after {
  content: ''; position: absolute; left: 0; right: 0; top: -20%; height: 18%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(110,165,255,0.16), transparent);
  animation: scan 7s var(--ease) infinite;
}
@keyframes scan { 0% { top: -20%; opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { top: 105%; opacity: 0; } }

/* holofote que segue o mouse nos cards */
.card, .location { --mx: 50%; --my: 0%; }
.card::after, .location::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79,134,255,0.20), transparent 62%);
}
.location { position: relative; overflow: hidden; }
.card:hover::after, .location:hover::after { opacity: 1; }

/* brilho que varre os botões primários */
.btn-primary, .btn-whatsapp { position: relative; overflow: hidden; }
.btn-primary::after, .btn-whatsapp::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); transition: left 0.7s var(--ease);
}
.btn-primary:hover::after, .btn-whatsapp:hover::after { left: 130%; }

/* indicador "ao vivo" no rótulo do topo */
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4C86FF; box-shadow: 0 0 0 0 rgba(76,134,255,0.7); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(76,134,255,0.65); } 70% { box-shadow: 0 0 0 9px rgba(76,134,255,0); } 100% { box-shadow: 0 0 0 0 rgba(76,134,255,0); } }

/* linhas finas de dados nos blocos de prova */
.hero-proof strong, .about-facts strong, .registry-list strong { font-variant-numeric: tabular-nums; }
.cred { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(141,184,255,0.04); }

@media (prefers-reduced-motion: reduce) {
  .portrait-frame::after, .eyebrow::before { animation: none; }
  .btn-primary::after, .btn-whatsapp::after { display: none; }
}
@media (max-width: 640px) { .cred { padding: 7px 14px; } }

/* ==========================================================================
   MOTION E EXPERIÊNCIA
   ========================================================================== */

/* barra de progresso de leitura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--royal), var(--sky) 60%, var(--gold)); box-shadow: 0 0 14px rgba(79,134,255,0.8); }

/* brilho que acompanha o cursor */
.cursor-glow { position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.6s;
  background: radial-gradient(circle, rgba(79,134,255,0.16), transparent 62%); will-change: transform; }
.cursor-glow.on { opacity: 1; }

/* rede de partículas no topo */
.hero { overflow: hidden; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 2s var(--ease) 0.4s;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.ready .hero-net { opacity: 0.9; }
.hero .hero-grid { position: relative; z-index: 1; }

/* texto dividido em palavras, revelado com máscara */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.wi { display: inline-block; transform: translateY(115%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 75ms + var(--d, 0ms)); will-change: transform; }
.section-title .wi { -webkit-text-fill-color: #EEF4FF; color: #EEF4FF; background: none; }
.section-header.in .wi, .about-text.in .wi, .in > .section-title .wi, .section-title.in .wi { transform: none; }
.hero-title .wi { --d: 250ms; }
.ready .hero-title .wi { transform: none; }
.hero-title em .wi { background: linear-gradient(120deg, var(--gold) 10%, #F2E4B8 55%, var(--gold-deep) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* entrada em cascata do topo */
.js .eyebrow, .js .hero-lead, .js .hero-ctas, .js .hero-proof { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ready .eyebrow { opacity: 1; transform: none; transition-delay: 0.1s; }
.ready .hero-lead { opacity: 1; transform: none; transition-delay: 0.75s; }
.ready .hero-ctas { opacity: 1; transform: none; transition-delay: 0.9s; }
.ready .hero-proof { opacity: 1; transform: none; transition-delay: 1.05s; }
.js .portrait { opacity: 0; transform: translateY(46px) scale(0.96); transition: opacity 1.2s var(--ease) 0.35s, transform 1.4s var(--ease) 0.35s; }
.ready .portrait { opacity: 1; transform: none; }
.js .portrait-card { opacity: 0; transform: translate(-50%, 24px); transition: opacity 1s var(--ease) 1.2s, transform 1s var(--ease) 1.2s; }
.ready .portrait-card { opacity: 1; transform: translateX(-50%); }
.js .header { transform: translateY(-100%); transition: transform 0.9s var(--ease) 0.2s, border-color 0.3s, background 0.3s; }
.ready .header { transform: none; }

/* inclinação 3D */
.portrait-frame { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.35s var(--ease); will-change: transform; }
.portrait-img { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.06); transition: transform 0.5s var(--ease); }
.card { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform 0.35s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.location:hover { transform: translateY(-5px); }

/* botões magnéticos */
.btn { transform: translate(var(--bx, 0px), var(--by, 0px)); }
.btn:hover { transform: translate(var(--bx, 0px), calc(var(--by, 0px) - 2px)); }

/* faixa em movimento */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: rgba(3,9,24,0.55); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; color: rgba(190, 210, 255, 0.72); white-space: nowrap; transition: color 0.3s; }
.marquee span:hover { color: #fff; }
.marquee i { font-style: normal; color: var(--gold); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* foto do "sobre" revelada com cortina */
.js .about-photo-frame { clip-path: inset(0 0 100% 0 round 32px); transition: clip-path 1.5s var(--ease); }
.js .about-photo.in .about-photo-frame { clip-path: inset(0 0 0 0 round 32px); }
.about-photo-frame img { transform: translate3d(0, var(--sy, 0px), 0) scale(1.14); will-change: transform; }

/* linha dos passos se desenha */
.steps::before { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--ease) 0.2s; }
.steps.drawn::before { transform: scaleX(1); }
.js .step .step-num { transform: scale(0.6); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease); }
.js .step.in .step-num { transform: none; opacity: 1; }

/* auras que acompanham a rolagem */
.glow { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .eyebrow, .js .hero-lead, .js .hero-ctas, .js .hero-proof, .js .portrait, .js .portrait-card, .js .header { opacity: 1; transform: none; filter: none; }
  .wi { transform: none !important; transition: none; }
  .js .about-photo-frame { clip-path: none; }
  .steps::before { transform: none; }
  .hero-net, .cursor-glow, .progress { display: none; }
}
@media (hover: none) { .cursor-glow { display: none; } }
@media (max-width: 960px) { .marquee span { font-size: 0.88rem; } .marquee-track { gap: 24px; } }
.hero-proof strong [data-count] { display: inline; font-size: inherit; color: inherit; margin: 0; line-height: inherit; }

/* ==========================================================================
   FUNDO DO TOPO: ambiente cirúrgico desfocado + monitor de batimento
   ========================================================================== */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('assets/bg-ambiente-cirurgico.jpg') 75% 22% / cover no-repeat;
  opacity: 0.4;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at 78% 40%, rgba(47,107,255,0.20), transparent 70%),
    linear-gradient(90deg, rgba(3,9,24,0.96) 0%, rgba(3,9,24,0.78) 42%, rgba(3,9,24,0.35) 100%),
    linear-gradient(180deg, rgba(3,9,24,0.0) 60%, rgba(4,11,31,0.95) 100%);
}
.hero-net { z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%, #000 100%); }
.hero-net { z-index: 1; }
.hero .hero-grid { z-index: 2; }

/* ==========================================================================
   LAYOUT CENTRALIZADO (topo e cabeçalhos de seção)
   ========================================================================== */
.hero { padding: 72px 0 104px; }
.hero-grid { grid-template-columns: 1fr; gap: 72px; justify-items: center; text-align: center; }
.hero-content { display: flex; flex-direction: column; align-items: center; max-width: 920px; }
.hero-title { font-size: clamp(2.3rem, 5.6vw, 4.7rem); line-height: 1.08; max-width: 900px; margin: 26px auto 28px; }
.hero-lead { max-width: 640px; margin: 0 auto; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-ctas { justify-content: center; margin: 40px 0 56px; }
.hero-proof { grid-template-columns: repeat(3, auto); justify-content: center; max-width: none; width: 100%; border-top: 1px solid var(--line); padding-top: 28px; text-align: center; }
.hero-proof li { padding: 0 36px; }
.hero-proof li:first-child { padding-left: 36px; border-left: 1px solid var(--line); }
.hero-proof li:first-child { border-left: 0; }
.hero-visual { width: 100%; display: flex; justify-content: center; }
.portrait { margin: 0 auto; max-width: min(420px, 82vw); }

.section-header { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .section-lead { margin-left: auto; margin-right: auto; }
.faq-wrap .section-header { text-align: center; }
.final-inner { text-align: center; }

/* ---------- Ajustes de responsividade ---------- */
@media (max-width: 1080px) {
  .hero-proof li { padding: 0 24px; }
  .cards-grid { gap: 20px; }
  .card { padding: 34px 30px 30px; }
  .registry-inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .registry-list { justify-content: start; }
  .registry-btn { width: auto; justify-self: start; }
}
@media (max-width: 960px) {
  .hero { padding: 44px 0 80px; }
  .hero-grid { gap: 56px; }
  .hero-ctas { margin: 32px 0 44px; }
  .portrait { max-width: min(380px, 80vw); }
  .about-photo { max-width: 400px; }
  .about-text .section-title { text-align: left; }
}
@media (max-width: 720px) {
  .hero-proof { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; }
  .hero-proof li, .hero-proof li:first-child { padding: 0; border-left: 0; display: flex; justify-content: center; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .hero-proof span { margin-top: 0; }
  .creds-row { justify-content: center; }
  .cred { font-size: 0.8rem; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 44px; }
  .step p { max-width: 340px; }
  .final-cta { padding: 24px 0 88px; }
  .footer { padding: 56px 0 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: clamp(2rem, 9.4vw, 2.6rem); }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .portrait-card { width: calc(100% - 28px); padding: 14px 14px; }
  .portrait-name { font-size: 1rem; }
  .loc-when { font-size: 0.9rem; }
  .registry-inner { padding: 28px 22px; width: calc(100% - 36px); }
  .about-facts { margin: 26px 0 24px; }
  .faq-question { font-size: 1.05rem; gap: 14px; }
  .faq-question i { width: 30px; height: 30px; }
  .card h3 { font-size: 1.25rem; }
  .final-inner h2 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .btn-lg { width: 100%; padding: 17px 24px; }
}
@media (max-width: 360px) {
  .nav-logo-img { height: 32px; }
  .hero-title { font-size: 1.9rem; }
}
@media (max-width: 720px) {
  .eyebrow { justify-content: center; text-align: center; flex-wrap: wrap; gap: 10px; line-height: 1.5; }
  .eyebrow i { display: none; }
}

@media (max-width: 720px) {
  .glow { filter: blur(80px); }
  .glow-1 { width: 420px; height: 420px; }
  .glow-2 { width: 380px; height: 380px; }
  .glow-3 { display: none; }
  .hero-net { opacity: 0.7 !important; }
}

/* ==========================================================================
   PARIDADE DESKTOP / CELULAR
   Mesmo visual, mesmos elementos, mesma ordem. Só diminui a escala.
   ========================================================================== */

/* correção da foto do "Sobre mim" que colapsava em telas menores */
.about-photo { width: 100%; min-width: 0; }
.about-photo-frame img { min-height: 100%; }

/* tipografia fluida: acompanha a largura da tela */
.section-title { font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2.7rem); }
.card h3 { font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.4rem); }
.card { padding: clamp(24px, 3.2vw, 40px) clamp(22px, 3vw, 38px) clamp(22px, 3vw, 36px); }
.card p { font-size: clamp(0.9rem, 0.85rem + 0.25vw, 0.98rem); }

/* tablet e celular grande: mantém as duas colunas do desktop */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; }
  .about-photo { max-width: none; margin: 0; }
  .about-text p { font-size: 1rem; }
  .about-text p:first-of-type { font-size: 1.05rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps::before { display: block; top: 26px; }
  .step { padding: 0 4px; }
  .step-num { width: 52px; height: 52px; font-size: 1.05rem; box-shadow: 0 0 0 6px var(--navy-950), 0 14px 30px -14px rgba(47,107,255,0.7); }
  .step h3 { font-size: 1rem; margin: 18px 0 8px; }
  .step p { font-size: 0.84rem; line-height: 1.6; }
  .nav-actions .btn { display: inline-flex; }
}

/* celular: mesmo desenho, escala menor */
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { max-width: 440px; margin: 0 auto; }
  .about-photo-frame figcaption { font-size: 0.95rem; left: 20px; right: 20px; bottom: 18px; }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-actions { gap: 10px; }
  .nav-actions .btn { padding: 9px 14px; font-size: 0.78rem; }

  /* credenciais do topo em 3 colunas, como no desktop */
  .hero-proof { grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 22px; }
  .hero-proof li, .hero-proof li:first-child { display: block; padding: 0 8px; text-align: center; border-left: 1px solid var(--line); }
  .hero-proof li:first-child { border-left: 0; }
  .hero-proof strong { font-size: 0.82rem; line-height: 1.25; }
  .hero-proof span { font-size: 0.66rem; margin-top: 4px; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-ctas .btn { width: auto; flex: 1 1 auto; padding: 14px 18px; font-size: 0.88rem; }
  .about-facts { grid-template-columns: repeat(3, 1fr); }
  .about-facts li, .about-facts li:first-child { display: block; padding: 0 10px; border-left: 1px solid var(--line); }
  .about-facts li:first-child { border-left: 0; padding-left: 0; }
  .about-facts strong { font-size: 0.82rem; }
  .about-facts span { font-size: 0.66rem; }
  .registry-list { grid-template-columns: repeat(3, auto); gap: 0; }
  .registry-list li, .registry-list li:first-child { display: block; padding: 0 14px; border-left: 1px solid var(--line); }
  .registry-list li:first-child { border-left: 0; padding-left: 0; }
  .registry-list strong { font-size: 0.95rem; }
}

@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; flex: 1 1 100%; }
  .steps { gap: 10px; }
  .step p { font-size: 0.74rem; }
  .step h3 { font-size: 0.88rem; }
  .step-num { width: 44px; height: 44px; font-size: 0.95rem; }
  .steps::before { top: 22px; }
  .faq-question { font-size: 1rem; }
  .cred { font-size: 0.74rem; padding: 6px 12px; }
}

/* telas de toque: o retrato "respira" no lugar da inclinação do mouse */
@media (hover: none) {
  .portrait-frame { animation: floaty 7s ease-in-out infinite; }
  @keyframes floaty { 0%, 100% { transform: perspective(1100px) rotateX(1.5deg) rotateY(-3deg) translateY(0); } 50% { transform: perspective(1100px) rotateX(-1.5deg) rotateY(3deg) translateY(-8px); } }
}
@media (prefers-reduced-motion: reduce) { .portrait-frame { animation: none; } }
.nav-actions .btn { white-space: nowrap; }
@media (max-width: 720px) {
  .about-photo::before { inset: 6% -3% -4% 5%; }
  .navbar { gap: 10px; }
  .nav-logo-img { height: 32px; }
  .nav-actions .btn { padding: 9px 13px; font-size: 0.74rem; }
}
@media (max-width: 380px) {
  .nav-logo-img { height: 28px; }
  .nav-actions .btn { padding: 8px 11px; font-size: 0.7rem; }
}

/* fundo do topo limpo: sem foto desfocada, só azul profundo com brilho suave */
.hero::before { content: none; background: none; }
.hero::after {
  background:
    radial-gradient(ellipse 60% 70% at 50% 62%, rgba(47,107,255,0.16), transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 10%, rgba(47,107,255,0.10), transparent 70%);
}

/* credenciais: mais respiro entre as pílulas e as linhas da faixa */
.creds { margin-top: 28px; }
.creds-row { padding-top: 40px; padding-bottom: 40px; gap: 16px 20px; }
@media (max-width: 720px) {
  .creds { margin-top: 20px; }
  .creds-row { padding-top: 34px; padding-bottom: 34px; gap: 14px 12px; }
  .cred { padding: 10px 16px; }
}
.marquee { margin-top: 0; padding: 22px 0; }

/* registro profissional: nada pode ultrapassar o card */
.registry-inner { box-sizing: border-box; margin-left: auto; margin-right: auto; }
.registry-inner > * { min-width: 0; }
.registry-title, .registry-inner p { overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .registry-inner { width: calc(100% - 40px); }
  .registry-list { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .registry-list li, .registry-list li:first-child { min-width: 0; }
  .registry-list span { white-space: normal; letter-spacing: 0.1em; line-height: 1.35; font-size: 0.58rem; }
  .registry-list strong { font-size: clamp(0.85rem, 3.6vw, 1.05rem); }
  .registry-btn { width: 100%; justify-self: stretch; white-space: normal; text-align: center; }
}
@media (max-width: 480px) {
  .registry-inner { width: calc(100% - 28px); padding: 26px 20px; gap: 22px; }
  .registry-list li, .registry-list li:first-child { padding: 0 10px; }
  .registry-list li:first-child { padding-left: 0; }
  .registry-title { font-size: 1.3rem; }
}

/* ritmo vertical: menos vazio entre as seções */
.section { padding: 104px 0; }
.registry { padding: 0 0 72px; }
.registry + .section { padding-top: 64px; }
.final-cta { padding: 24px 0 104px; }
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .registry { padding-bottom: 48px; }
  .registry + .section { padding-top: 40px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .registry { padding-bottom: 36px; }
  .registry + .section { padding-top: 28px; }
  .final-cta { padding: 12px 0 72px; }
}

/* chamada final: o espaçamento interno nunca pode ser anulado pela regra .container */
.final-inner { padding: 88px 40px; box-sizing: border-box; }
.final-inner > * { min-width: 0; }
@media (max-width: 960px) { .final-inner { padding: 68px 32px; width: calc(100% - 40px); } }
@media (max-width: 480px) {
  .final-inner { padding: 54px 24px 50px; width: calc(100% - 28px); border-radius: 26px; }
  .final-inner h2 { margin-bottom: 0; }
  .final-inner p { margin: 16px auto 30px; font-size: 0.98rem; }
  .final-inner .btn-lg { width: 100%; padding: 16px 20px; }
}
.footer-bottom { padding-top: 26px; }
.creds-row { padding-left: 18px; padding-right: 18px; }


/* ==========================================================================
   BLINDAGEM CONTRA ROLAGEM LATERAL (nada pode passar da largura da tela)
   ========================================================================== */
html { overflow-x: hidden; max-width: 100%; overscroll-behavior-x: none; }
@supports (overflow-x: clip) {
  html { overflow-x: clip; }
  body { overflow-x: clip; }
}
body { position: relative; width: 100%; max-width: 100%; touch-action: pan-y pinch-zoom; overscroll-behavior-x: none; }
main, footer, section, header { max-width: 100%; }
main, footer { overflow-x: clip; }
.hero, .section, .final-cta, .registry, .creds, .tech-band { overflow-x: clip; }
.marquee { max-width: 100vw; contain: paint; }
.marquee-track { max-width: none; }
.bg-atmosphere { contain: paint; clip-path: inset(0); max-width: 100vw; }
.glow { max-width: 100vw; }
.hero-net { max-width: 100%; }
.nav-menu { max-width: 100vw; }
img, canvas, svg, video { max-width: 100%; }
.about-photo::before, .about-photo::after { max-width: 100%; }
@media (max-width: 720px) {
  .portrait::before { inset: -14px -10px 30px -10px; }
  .portrait::after { inset: -10px -10px 24px -10px; }
  .about-photo::before { inset: 6% -2% -3% 4%; }
}

/* ---------- Crédito do rodapé ---------- */
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--text-faint); text-align: center; }
.footer-credit strong { color: var(--ice); font-weight: 600; }
.footer-credit a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--sky); background: rgba(141,184,255,0.05); transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s; }
.footer-credit a:hover { background: var(--royal-deep); border-color: var(--royal); color: #fff; }

/* crédito discreto */
.footer-credit { margin-top: 18px; padding-top: 0; border-top: 0; justify-content: center; }
.footer-credit a { padding: 0; border: 0; background: none; border-radius: 0; gap: 6px; font-size: 0.7rem; letter-spacing: 0.04em; color: rgba(113,131,171,0.7); opacity: 0.8; }
.footer-credit a:hover { background: none; border: 0; color: var(--sky); opacity: 1; }
.footer-credit svg { opacity: 0.85; }

/* botão flutuante do WhatsApp: cor sólida e sempre acima de tudo */
.floating-wa {
  background: #25D366; background-image: none; color: #fff; opacity: 1;
  box-shadow: none; filter: drop-shadow(0 10px 16px rgba(37, 211, 102, 0.38));
  z-index: 9999; isolation: isolate; transform: translateZ(0); will-change: transform;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  -webkit-tap-highlight-color: transparent;
}
.floating-wa:hover, .floating-wa:active { background: #20BA5A; transform: translateZ(0) scale(1.06); }
.floating-wa svg { fill: currentColor; }
@media (max-width: 480px) { .floating-wa { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================================
   CORREÇÃO iOS: fundo sempre azul-escuro sólido, sem camadas que o Safari falha ao pintar
   ========================================================================== */
html { background-color: #030918; }
body { background-color: #030918; }
.bg-atmosphere { contain: none; clip-path: none; max-width: none; }
.glow { max-width: none; }
@media (max-width: 960px) {
  .glow { filter: none; opacity: 1; }
  .glow-1 { width: 520px; height: 520px; top: -160px; right: -200px; background: radial-gradient(circle, rgba(47,107,255,0.22), transparent 65%); }
  .glow-2 { width: 480px; height: 480px; top: 38%; left: -240px; background: radial-gradient(circle, rgba(18,48,110,0.7), transparent 65%); }
  .glow-3 { display: none; }
}


/* ==========================================================================
   EXPERIÊNCIA MOBILE FIRST
   Regras seguras para iOS: sem filter, sem clip-path e sem contain em camadas fixas.
   ========================================================================== */

/* toque: resposta imediata em todos os botões */
.btn:active, .dock a:active, .faq-question:active { transform: scale(0.97); }
.btn, .dock a, .faq-question, .nav-link { -webkit-tap-highlight-color: transparent; }

/* linha "hoje" (calculada pelo dia da semana em Fortaleza) */
.today-line { display: inline-flex; align-items: center; gap: 10px; margin: -26px 0 40px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(141,184,255,0.06); font-size: 0.86rem; color: var(--ice); line-height: 1.4; text-align: left; }
.today-line[hidden] { display: none; }
.today-line i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2EE07A; box-shadow: 0 0 0 0 rgba(46,224,122,0.7); animation: ping-green 2.2s infinite; }
@keyframes ping-green { 0% { box-shadow: 0 0 0 0 rgba(46,224,122,0.6); } 70% { box-shadow: 0 0 0 9px rgba(46,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(46,224,122,0); } }
.location { position: relative; }
.location.is-today { border-color: rgba(46,224,122,0.5); box-shadow: 0 0 0 1px rgba(46,224,122,0.18), 0 24px 50px -30px rgba(46,224,122,0.45); }
.loc-today { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; color: #04210F; background: #2EE07A; padding: 5px 10px; border-radius: 999px; font-weight: 500; }

/* barra de ação fixa (só no celular) */
.dock { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: 78px; font-size: 16px; }

  /* topo imersivo: a foto ocupa a tela inteira, o texto sobe por cima */
  .hero { padding: 0; min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: flex; }
  .hero-grid { position: relative; width: 100%; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; gap: 0; padding: 0 20px 30px; }
  .hero-visual { position: absolute; inset: 0; z-index: 0; width: 100%; display: block; margin: 0; }
  .hero-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,9,24,0.30) 0%, rgba(3,9,24,0) 24%, rgba(3,9,24,0.50) 50%, rgba(3,9,24,0.94) 74%, #030918 92%); }
  .portrait { position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; margin: 0; }
  .portrait::before, .portrait::after { display: none; }
  .portrait-frame { height: 100%; border-radius: 0; padding: 0; background: none; box-shadow: none; overflow: hidden; transform: none; animation: none; }
  .portrait-frame::after { display: none; }
  .portrait-img { height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: 50% 6%; transform: scale(1.04); animation: kenburns 26s ease-in-out infinite alternate; background: var(--navy-900); }
  .portrait-card { display: none; }
  .hero-net { z-index: 1; }
  .hero-content { position: relative; z-index: 2; max-width: none; width: 100%; }
  .hero-title { font-size: clamp(2rem, 9.2vw, 2.7rem); margin: 18px auto 14px; text-shadow: 0 2px 24px rgba(3,9,24,0.6); }
  .hero-lead { font-size: 1rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 520px; }
  .hero-ctas { flex-direction: column; gap: 10px; margin: 22px 0 0; width: 100%; }
  .hero-ctas .btn { width: 100%; padding: 16px 20px; font-size: 1rem; }
  .today-line { margin: 14px auto 0; font-size: 0.8rem; padding: 8px 14px; }
  .hero-proof { display: none; }

  /* especialidades: cartas que se empilham ao rolar */
  .cards-grid { display: block; }
  .card { position: sticky; top: calc(84px + var(--n, 0) * 14px); margin-bottom: 18px; background: linear-gradient(160deg, #0E2257 0%, #0A1B47 48%, #071435 100%); box-shadow: 0 -22px 40px -26px rgba(0,0,0,0.95); transform: none; transition: none; }
  .card:hover { transform: none; }
  .cards-grid .card:nth-child(1) { --n: 0; }
  .cards-grid .card:nth-child(2) { --n: 1; }
  .cards-grid .card:nth-child(3) { --n: 2; }
  .cards-grid .card:nth-child(4) { --n: 3; }
  .cards-grid .card:nth-child(5) { --n: 4; }
  .card p { font-size: 1rem; line-height: 1.7; }
  .card h3 { font-size: 1.35rem; }
  .about-text p, .faq-answer p, .step p { font-size: 1rem; }
  .step p { font-size: 0.9rem; }

  /* alvos de toque confortáveis */
  .faq-question { min-height: 56px; }
  .nav-link { min-height: 56px; display: flex; align-items: center; }

  /* barra de ação fixa */
  .dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(4,11,31,0.97); border-top: 1px solid var(--line-strong); transform: translateY(110%); transition: transform 0.5s var(--ease); }
  .dock.show { transform: translateY(0); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 14px; font-weight: 700; font-size: 0.98rem; text-decoration: none; }
  .dock-main { flex: 1; background: #25D366; color: #04210F; }
  .dock-alt { flex: 0 0 auto; padding: 0 20px; border: 1px solid var(--line-strong); color: var(--ice); font-weight: 600; background: rgba(141,184,255,0.06); }
  .floating-wa { display: none; }
}
@media (max-width: 720px) {
  .hero-ctas { flex-wrap: nowrap; align-items: stretch; }
  .hero-ctas .btn { flex: 0 0 auto; width: 100%; }
  .hero-ctas .btn-ghost { padding: 12px 20px; font-size: 0.92rem; background: rgba(3,9,24,0.55); }
  .hero-visual::after { background: linear-gradient(180deg, rgba(3,9,24,0.30) 0%, rgba(3,9,24,0) 20%, rgba(3,9,24,0.35) 36%, rgba(3,9,24,0.92) 54%, #030918 72%); }
  .portrait-img { object-position: 50% 0%; }
  .hero-grid { padding-bottom: 22px; }
  .hero-title { margin: 14px auto 12px; }
}
@media (max-width: 720px) {
}
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1.2%, 0); } }
@media (prefers-reduced-motion: reduce) { .portrait-img { animation: none; } }

/* link "Quero conversar" centralizado no celular e tablet */
@media (max-width: 960px) {
  .about-text .link-arrow { display: flex; width: fit-content; max-width: 100%; margin: 30px auto 0; justify-content: center; }
}


/* ==========================================================================
   TOPO MOBILE v2: foto em faixa (rosto inteiro, sem texto por cima) + conteúdo abaixo
   ========================================================================== */
@media (max-width: 720px) {
  .hero { display: block; min-height: 0; padding: 0; }
  .hero-grid { display: flex; flex-direction: column; justify-content: flex-start; min-height: 0; gap: 0; padding: 0 20px 28px; }
  .hero-visual { order: -1; position: relative; inset: auto; z-index: 1; width: calc(100% + 40px); margin: 0 -20px; height: clamp(340px, 112vw, 470px); }
  .hero-visual::after { background: linear-gradient(180deg, rgba(3,9,24,0) 0%, rgba(3,9,24,0) 62%, rgba(3,9,24,0.75) 88%, #030918 100%); }
  .portrait { position: absolute; inset: 0; width: 100%; height: 100%; }
  .portrait-img { object-position: 50% 0%; transform: scale(1.02); }
  .hero-content { position: relative; z-index: 2; margin-top: -26px; }
  .hero .eyebrow { margin: 0 auto; font-size: 0.64rem; }
  .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.3rem); line-height: 1.08; margin: 12px auto 12px; text-shadow: none; }
  .hero-lead { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 0.92rem; line-height: 1.55; max-width: 36ch; margin: 0 auto; }
  .hero-ctas { margin: 20px 0 0; gap: 10px; }
  .hero-ctas .btn { padding: 15px 20px; font-size: 1rem; }
  .hero-ctas .btn-ghost { padding: 13px 20px; font-size: 0.92rem; background: transparent; }
  .today-line { margin: 16px auto 0; font-size: 0.8rem; padding: 8px 14px; max-width: 100%; }
  .today-line span { white-space: normal; }
  .hero-net { opacity: 0.28; z-index: 0; }
  .hero-ctas .btn-ghost { background: #050E27; }
  .today-line { background: #071435; }
}

/* ==========================================================================
   DESKTOP (1025px+): textos à esquerda, foto do doutor à direita
   Não afeta celular nem tablet.
   ========================================================================== */
@media (min-width: 1025px) {
  .hero { padding: 80px 0 100px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; justify-items: stretch; align-items: center; text-align: left; }
  .hero-content { align-items: flex-start; max-width: none; text-align: left; }
  .hero .eyebrow { justify-content: flex-start; }
  .hero-title { font-size: clamp(2.6rem, 4.3vw, 4.2rem); max-width: none; margin: 26px 0 26px; text-align: left; }
  .hero-lead { margin: 0; max-width: 540px; font-size: 1.12rem; text-align: left; }
  .hero-ctas { justify-content: flex-start; margin: 38px 0 0; }
  .today-line { margin: 22px 0 0; }
  .hero-proof { grid-template-columns: repeat(3, auto); justify-content: start; width: auto; max-width: 560px; margin-top: 40px; padding-top: 26px; text-align: left; }
  .hero-proof li { padding: 0 28px; border-left: 1px solid var(--line); }
  .hero-proof li:first-child { padding-left: 0; border-left: 0; }
  .hero-visual { width: 100%; justify-content: flex-end; }
  .portrait { margin: 0 0 0 auto; max-width: 430px; }
}
