/* =============================================
   GERSIANE DIAS ADVOCACIA MÉDICA
   Design System — v1.0
   ============================================= */

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

/* --- Variáveis --- */
:root {
  --navy:   #0F1A2B;
  --gold:   #C2A46D;
  --white:  #FFFFFF;
  --light:  #EDEDED;
  --gold-hover: #b08f58;
  --text-dark: #1a2a3a;
  --text-muted: #5a6a7a;
  --shadow: 0 4px 24px rgba(15,26,43,0.10);
  --radius: 10px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Tipografia --- */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 400; }
h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); }
p { color: var(--text-muted); line-height: 1.8; }

/* --- Layout --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--navy); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 620px; margin: 0 auto 52px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* --- Botões --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: all 0.2s ease;
  text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #1a2d45; }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn-outline-white:hover { border-color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1ebe5a; }

/* --- Divisor dourado --- */
.gold-line { width: 48px; height: 3px; background: var(--gold); margin: 0 auto 20px; border-radius: 2px; }
.gold-line-left { margin-left: 0; }

/* --- Header / Nav --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(194,164,109,0.2);
  padding: 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Playfair Display', serif;
}
.nav-logo-text { color: var(--white); font-size: 1.1rem; font-weight: 600; line-height: 1.2; }
.nav-logo-sub { color: var(--gold); font-size: 0.72rem; font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: 0.05em; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s; letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* --- Dropdown Especialidades --- */
.nav-dropdown { position: relative; }
.nav-dropdown-btn { display: flex !important; align-items: center; gap: 4px; cursor: pointer; }
.nav-dropdown-btn svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-dropdown:hover .nav-dropdown-btn svg { transform: rotate(180deg); }
.dropdown-menu {
  display: none; list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: var(--navy); border: 1px solid rgba(194,164,109,0.25);
  border-radius: 10px; min-width: 210px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35); z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block; padding: 10px 18px;
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.85rem; white-space: nowrap; border-bottom: none !important;
}
.dropdown-menu a:hover { color: var(--gold) !important; background: rgba(255,255,255,0.04); }

/* --- Mobile Nav --- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy); padding: 16px 24px 24px;
    border-top: 1px solid rgba(194,164,109,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
  .nav-cta { width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; margin-top: 8px; }
  .dropdown-menu {
    position: static; transform: none; box-shadow: none;
    border: none; border-left: 2px solid rgba(194,164,109,0.3);
    border-radius: 0; background: transparent; padding: 0 0 0 14px;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
  .dropdown-menu a { padding: 8px 0 !important; font-size: 0.83rem; }
}

/* --- Hero --- */
.hero {
  background: var(--navy);
  padding: 90px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,164,109,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(194,164,109,0.15); border: 1px solid rgba(194,164,109,0.3); color: var(--gold); font-size: 0.78rem; font-weight: 500; padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold); display: block; }
.hero-desc { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(194,164,109,0.2);
  border-radius: 16px; padding: 36px; backdrop-filter: blur(10px);
}
.hero-card-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.hero-card-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-card-icon { width: 36px; height: 36px; background: rgba(194,164,109,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card-icon svg { width: 18px; height: 18px; stroke: var(--gold); }
.hero-card-title { color: var(--white); font-size: 0.9rem; font-weight: 600; margin-bottom: 2px; }
.hero-card-text { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(194,164,109,0.2); }
.hero-stat-num { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 600; }
.hero-stat-label { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

/* --- Cards --- */
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(15,26,43,0.06);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(15,26,43,0.14); }
.card-icon {
  width: 52px; height: 52px; background: rgba(194,164,109,0.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--gold); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.9rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-top: 16px; transition: gap 0.2s; }
.card-link:hover { gap: 10px; }

/* --- Card dark (em fundo escuro) --- */
.card-dark {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(194,164,109,0.2);
  border-radius: var(--radius); padding: 32px;
}
.card-dark h3 { color: var(--white); margin-bottom: 10px; }
.card-dark p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* --- Steps --- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 42px; bottom: 0; width: 2px; background: rgba(194,164,109,0.3); }
.step-num { width: 40px; height: 40px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--navy); flex-shrink: 0; }
.step-content h4 { margin-bottom: 4px; padding-top: 8px; }
.step-content p { font-size: 0.88rem; }

/* --- Checklist --- */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist-item { display: flex; align-items: flex-start; gap: 10px; }
.check-icon { width: 20px; height: 20px; background: rgba(194,164,109,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-icon svg { width: 10px; height: 10px; stroke: var(--gold); stroke-width: 3; }
.checklist-item span { font-size: 0.92rem; color: var(--text-muted); }

/* --- Destaque / Alerta --- */
.alert-box { border-left: 4px solid var(--gold); background: rgba(194,164,109,0.06); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; }
.alert-box strong { color: var(--navy); display: block; margin-bottom: 6px; }
.alert-box p { font-size: 0.9rem; color: var(--text-muted); }

/* --- FAQ Accordion --- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(15,26,43,0.1); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--navy);
  text-align: left; gap: 16px; transition: background 0.2s;
}
.faq-question:hover { background: rgba(15,26,43,0.03); }
.faq-question.open { background: var(--navy); color: var(--white); }
.faq-arrow { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.3s; }
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding: 20px 24px; background: rgba(15,26,43,0.02); font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; }

/* --- Materiais cards --- */
.material-card {
  background: var(--white); border: 1px solid rgba(15,26,43,0.08);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.material-card:hover { transform: translateY(-4px); }
.material-badge { display: inline-block; background: rgba(194,164,109,0.12); color: var(--gold); font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.material-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.material-card p { font-size: 0.88rem; flex: 1; margin-bottom: 20px; }

/* --- Article cards --- */
.article-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(15,26,43,0.06);
  transition: transform 0.2s;
}
.article-card:hover { transform: translateY(-4px); }
.article-tag { display: inline-block; background: rgba(194,164,109,0.1); color: var(--gold); font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.article-card-body { padding: 24px; }
.article-card h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.article-card p { font-size: 0.85rem; }
.article-card-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-top: 1px solid rgba(15,26,43,0.06); font-size: 0.85rem; font-weight: 600; color: var(--gold); transition: background 0.2s; }
.article-card-link:hover { background: rgba(194,164,109,0.05); }

/* --- Article page --- */
.article-header { background: var(--navy); padding: 60px 0 52px; }
.article-breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.82rem; margin-bottom: 24px; }
.article-breadcrumb a { color: var(--gold); }
.article-tag-large { display: inline-block; background: rgba(194,164,109,0.15); border: 1px solid rgba(194,164,109,0.3); color: var(--gold); font-size: 0.78rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; text-transform: uppercase; }
.article-header h1 { color: var(--white); max-width: 780px; margin-bottom: 16px; }
.article-header p { color: rgba(255,255,255,0.7); max-width: 680px; }
.article-body { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; }
.article-body h2 { font-size: 1.6rem; margin: 40px 0 16px; }
.article-body h3 { font-size: 1.25rem; margin: 28px 0 12px; }
.article-body p { margin-bottom: 18px; color: var(--text-dark); line-height: 1.85; }
.article-body ul, .article-body ol { margin: 16px 0 20px 20px; }
.article-body li { margin-bottom: 8px; color: var(--text-muted); line-height: 1.7; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-cta-box { background: var(--navy); border-radius: var(--radius); padding: 36px; text-align: center; margin: 48px 0; }
.article-cta-box h3 { color: var(--white); margin-bottom: 10px; }
.article-cta-box p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

/* --- CTA band --- */
.cta-band { background: var(--navy); padding: 70px 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 32px; }
.cta-band .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Contato --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { margin-bottom: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(15,26,43,0.08); }
.contact-item:first-child { border-top: 1px solid rgba(15,26,43,0.08); }
.contact-item-icon { width: 44px; height: 44px; background: rgba(194,164,109,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.contact-item-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-item-value { font-weight: 600; color: var(--navy); }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* --- Footer --- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.footer-brand-oab { color: var(--gold); font-size: 0.8rem; margin-bottom: 16px; }
.footer-brand-desc { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }
.footer-col-title { color: var(--gold); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
.footer-bottom a { color: var(--gold); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-bottom { flex-direction: column; text-align: center; } }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold); }

/* --- Page hero interno --- */
.page-hero { background: var(--navy); padding: 60px 0 52px; }
.page-hero h1 { color: var(--white); max-width: 680px; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 600px; font-size: 1.05rem; }

/* --- Badge tag --- */
.tag { display: inline-block; background: rgba(194,164,109,0.12); color: var(--gold); font-size: 0.75rem; font-weight: 600; padding: 5px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- WhatsApp float --- */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.wpp-float:hover { transform: scale(1.08); }
.wpp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* --- Responsivo geral --- */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}
