/* ============================================================
   Dr. José Arnaldo · Landing Page
   ============================================================ */

:root {
  --navy-900: #081325;
  --navy-800: #0b1a2e;
  --navy-700: #102542;
  --navy-600: #16314f;
  --gold:     #c9a24b;
  --gold-soft:#e3c987;
  --coral:    #e8503a;
  --coral-dk: #cf3d27;
  --teal:     #1f9d8f;
  --ink:      #14202e;
  --slate:    #4a5b6e;
  --mist:     #f4f7fb;
  --mist-2:   #eaf0f7;
  --white:    #ffffff;
  --line:     rgba(15, 35, 60, 0.10);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(8, 19, 37, 0.08);
  --shadow-md: 0 18px 45px rgba(8, 19, 37, 0.14);
  --shadow-lg: 0 40px 80px rgba(8, 19, 37, 0.22);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.hl { color: var(--gold); font-style: italic; }
.section-dark .hl { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-primary { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 12px 30px rgba(232,80,58,.35); }
.btn-coral:hover { background: var(--coral-dk); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(232,80,58,.45); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  z-index: 1000; transition: width .1s linear;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0; transition: all .35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 30px rgba(8,19,37,.08);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-900); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.brand-text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); line-height: 1.05; }
.brand-text small { font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.navbar:not(.scrolled) .brand-text { color: var(--white); }
.navbar:not(.scrolled) .brand-text small { color: rgba(255,255,255,.7); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--white); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--gold-soft); }
.navbar.scrolled .nav-links a:not(.btn) { color: var(--ink); }
.navbar.scrolled .nav-links a:not(.btn):hover { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: .3s; }
.navbar.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 80px;
  background:
    radial-gradient(1200px 600px at 80% -10%, #173256 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white); overflow: hidden;
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.orb-1 { width: 380px; height: 380px; background: rgba(201,162,75,.35); top: -80px; right: 10%; animation: float1 14s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: rgba(31,157,143,.3); bottom: 5%; left: -60px; animation: float2 18s ease-in-out infinite; }
.orb-3 { width: 240px; height: 240px; background: rgba(232,80,58,.25); top: 40%; left: 40%; animation: float1 16s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,-30px)} }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 8px 16px; border-radius: 100px; font-size: .85rem; font-weight: 600;
  letter-spacing: .02em; margin-bottom: 24px; backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(232,80,58,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(232,80,58,.6)} 70%{box-shadow:0 0 0 12px rgba(232,80,58,0)} 100%{box-shadow:0 0 0 0 rgba(232,80,58,0)} }

.hero-copy h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 34px; font-weight: 400; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats { display: flex; gap: 40px; }
.stat strong { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--gold-soft); display: block; line-height: 1; }
.stat span { font-size: .82rem; color: rgba(255,255,255,.6); letter-spacing: .04em; text-transform: uppercase; }

/* hero media */
.hero-media { position: relative; }
.hero-photo { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.hero-photo > img {
  border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 40px;
  background: var(--white); color: var(--ink); border-radius: 16px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-md);
}
.badge-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg,var(--gold),var(--gold-soft)); display: grid; place-items: center; color: var(--navy-900); font-size: 1.2rem; }
.hero-badge strong { display: block; font-size: .92rem; }
.hero-badge small { color: var(--slate); font-size: .78rem; }
.hero-tag {
  position: absolute; right: -18px; top: 30px;
  background: var(--coral); color: var(--white); font-weight: 700; font-size: .85rem;
  padding: 10px 18px; border-radius: 100px; box-shadow: 0 12px 30px rgba(232,80,58,.4);
}
.floaty { animation: floaty 5s ease-in-out infinite; }
.floaty-2 { animation: floaty 6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; z-index: 3; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--white); border-radius: 4px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:22px} 100%{opacity:0} }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--navy-900); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; font-style: italic; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--mist); }
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: var(--white); }

.kicker { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.kicker.light { color: var(--gold-soft); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head.center { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-sub { color: var(--slate); margin-top: 16px; font-size: 1.08rem; }
.section-dark .section-sub { color: rgba(255,255,255,.7); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; position: relative; z-index: 2; }
.split-accent { position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--teal), var(--navy-700)); z-index: 1; }
.split-accent.gold { background: linear-gradient(135deg, var(--gold), var(--coral)); }
.split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 20px; }
.split-copy p { color: var(--slate); margin-bottom: 16px; }
.section-dark .split-copy p { color: rgba(255,255,255,.78); }
.muted { font-size: .95rem; opacity: .85; }

.check-list { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: var(--navy-900);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px;
}

.creds { display: flex; gap: 26px; flex-wrap: wrap; margin: 26px 0 30px; }
.cred { border-left: 3px solid var(--gold); padding-left: 14px; }
.cred strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.cred span { font-size: .85rem; color: var(--slate); }

/* ---------- Info cards (você sabia) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.info-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 38px 30px; transition: transform .35s, border-color .35s, background .35s;
}
.info-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); border-color: var(--gold-soft); }
.info-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--gold-soft); opacity: .55; margin-bottom: 10px; }
.info-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.info-card p { color: rgba(255,255,255,.74); font-size: .98rem; }

/* ---------- Condition / Service cards ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.condition-card, .service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .4s, box-shadow .4s; display: flex; flex-direction: column;
}
.condition-card:hover, .service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.condition-img, .service-img { aspect-ratio: 4/3; overflow: hidden; }
.condition-img img, .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.condition-card:hover .condition-img img, .service-card:hover .service-img img { transform: scale(1.08); }
.condition-body, .service-body { padding: 22px 22px 26px; }
.condition-body h3, .service-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.condition-body p, .service-body p { color: var(--slate); font-size: .92rem; }

.services.cards-3 { grid-template-columns: repeat(3, 1fr); }
.section-soft .service-card { background: var(--white); }

/* ---------- Ebook ---------- */
.ebook { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); padding: 90px 0; position: relative; overflow: hidden; }
.ebook::before { content:""; position:absolute; width:500px; height:500px; border-radius:50%; background: radial-gradient(circle, rgba(232,80,58,.25), transparent 70%); top:-150px; right:-100px; }
.ebook-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.ebook-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.ebook-copy p { color: rgba(255,255,255,.78); margin-bottom: 22px; max-width: 480px; }
.ebook-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; font-size: .85rem; color: var(--gold-soft); font-weight: 600; }
.ebook-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; display: grid; gap: 18px; margin: 26px 0 32px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.25rem; }
.contact-list strong { display: block; font-size: 1rem; }
.contact-list span { color: rgba(255,255,255,.72); font-size: .92rem; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- Instagram ---------- */
.instagram { background: linear-gradient(180deg, var(--white), var(--mist)); }
.ig-wrap { max-width: 980px; margin: 0 auto; }
.ig-feed {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--white);
  min-height: 360px;
}
.ig-feed iframe { width: 100%; min-height: 540px; border: 0; display: block; }
/* Quando houver um iframe do widget, esconde o fallback */
.ig-feed:has(iframe) .ig-fallback { display: none; }

.ig-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 14px; padding: 70px 28px; min-height: 360px;
}
.ig-glyph {
  width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center;
  color: var(--white);
  background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%);
  box-shadow: 0 14px 34px rgba(238,42,123,.35);
}
.ig-fallback h3 { font-size: 1.5rem; }
.ig-fallback p { color: var(--slate); max-width: 420px; }

.ig-cta { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 50px 0 36px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer .brand-text { color: var(--white); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--gold-soft); }
.copy { font-size: .82rem; opacity: .6; }

/* ---------- FAB WhatsApp ---------- */
.fab-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(37,211,102,.45); transition: transform .3s;
}
.fab-whatsapp:hover { transform: scale(1.1) translateY(-2px); }
.fab-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: fabpulse 2.2s infinite; }
@keyframes fabpulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.8);opacity:0} }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .ebook-inner { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-media { max-width: 480px; margin: 0 auto; }
  .hero { min-height: auto; }
  .map-wrap iframe { height: 320px; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: var(--navy-800); flex-direction: column; align-items: flex-start;
    justify-content: center; padding: 40px; gap: 26px; transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22,1,.36,1); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { color: var(--white) !important; font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.open span { background: var(--white) !important; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .cards-3, .cards-4, .services.cards-3 { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero-stats { gap: 26px; }
  .stat strong { font-size: 1.8rem; }
  .hero-badge { left: 8px; bottom: 12px; }
  .hero-tag { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
