/* ─────────────────────────────────────────────
   Dr. Matheus Schimidt – Design System
   Paleta: branco · azul profundo · ciano
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy:       #021F41;
  --navy-mid:   #163558;
  --blue:       #1D6FA4;
  --cyan:       #0EA5E9;
  --cyan-light: #E0F2FE;
  --green:      #0D9488;
  --bg:         #F8FAFC;
  --surface:    #FFFFFF;
  --border:     #E2E8F0;
  --text:       #1E293B;
  --muted:      #64748B;
  --radius:     10px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 80px 0; }
.section--white { background: var(--surface); }

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1; color: var(--navy); }
h2 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; line-height: 1.2; color: var(--navy); }
h3 { font-size: 20px; font-weight: 700; color: var(--navy); }
h4 { font-size: 15px; font-weight: 700; color: var(--navy); }
p  { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { max-width: 560px; margin: 0 auto; font-size: 17px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  cursor: pointer; border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-primary   { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-mid); }

.btn-cyan      { background: var(--cyan); color: #fff; }
.btn-cyan:hover { background: #0284c7; }

.btn-outline   { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost     { background: transparent; color: var(--muted); font-size: 14px; padding: 0; }
.btn-ghost:hover { color: var(--navy); transform: none; box-shadow: none; }

.btn-wa {
  background: #25d366; color: #fff;
  padding: 15px 32px; font-size: 16px; font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover { background: #1ebe5d; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { height: 42px; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); background: var(--bg); }
.nav-cta {
  background: var(--cyan); color: #fff;
  padding: 9px 20px; border-radius: 7px;
  font-size: 14px; font-weight: 600;
  transition: background .15s;
}
.nav-cta:hover { background: #0284c7; color: #fff; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--navy);
  padding: 64px 0;
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.page-hero p  { color: rgba(255,255,255,.65); margin-top: 10px; font-size: 17px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb span { color: rgba(255,255,255,.7); }

/* ── CARDS ── */
.card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--blue);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── DIVIDER ── */
.divider {
  width: 48px; height: 3px;
  background: var(--cyan); border-radius: 2px;
  margin: 16px 0 24px;
}
.divider--center { margin: 16px auto 24px; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--cyan-light); color: var(--blue);
  font-size: 12px; font-weight: 600; padding: 4px 10px;
  border-radius: 20px;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
details { }
summary {
  padding: 22px 4px;
  font-weight: 600; font-size: 16px; color: var(--navy);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+'; font-size: 20px; color: var(--cyan);
  flex-shrink: 0; font-weight: 400; transition: transform .2s;
}
details[open] summary::after { content: '−'; }
.faq-body {
  padding: 0 4px 22px;
  font-size: 15px; color: var(--muted); line-height: 1.75;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 56px 0 32px;
  color: rgba(255,255,255,.55);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { width: 260px; height: auto; margin-bottom: 16px; opacity: .95; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: rgba(255,255,255,.9); font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,.5);
  transition: color .15s;
}
.footer-col ul a:hover { color: rgba(255,255,255,.9); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 12px;
  flex-wrap: wrap; gap: 12px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px; border-radius: 6px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6);
  transition: background .15s, color .15s;
}
.social-link:hover { background: var(--cyan); color: #fff; }

/* ── FLOATING WA ── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 14px;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 6px 20px rgba(37,211,102,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ── AVISO DEMO ── */
.demo-bar {
  background: #FEF3C7; border-bottom: 1px solid #F59E0B;
  padding: 9px 28px; font-size: 13px; color: #92400E;
  text-align: center; font-weight: 500;
}
.demo-bar strong { color: #DC2626; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.gap-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.gap-3-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gap-4-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── VÍDEOS ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.video-placeholder {
  aspect-ratio: 9/16;
  max-height: 340px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border);
  padding: 24px; text-align: center;
  color: var(--muted); font-size: 13px;
}
.video-placeholder .ph-icon { font-size: 36px; margin-bottom: 4px; }
.video-placeholder strong { color: var(--navy); font-size: 14px; }
.video-label {
  padding: 16px 20px;
}
.video-label strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 3px; }
.video-label span   { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }

/* ── MENU MOBILE ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 8px 28px 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; margin-bottom: 16px; }
.nav-mobile ul li a {
  display: block;
  padding: 13px 0;
  font-size: 16px; font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.nav-mobile ul li:last-child a { border-bottom: none; }
.nav-mobile ul li a:hover,
.nav-mobile ul li a.active { color: var(--cyan); }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav-links    { display: none; }
  .nav-cta      { display: none; }
  .nav-hamburger { display: flex; }
  .gap-2-col { grid-template-columns: 1fr; }
  .gap-3-col { grid-template-columns: 1fr; }
  .gap-4-col { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .gap-4-col { grid-template-columns: 1fr; }
}
