/* ============================================================
   Otorrino Mais — CSS v2
   Inspiração: CEMA Hospital + AmorSaúde
   Estilo: colorido, moderno, acessível, cheio de ilustrações
   Tipografia: Poppins (sans moderna, alegre, 100% sem serif)
   Paleta: azul marinho #2E4379 + verde menta #4DD4A0 da marca
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1E293B;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Tokens */
:root {
  --brand: #2E4379;
  --brand-dark: #1E2D54;
  --brand-light: #3E5FA0;
  --accent: #4DD4A0;
  --accent-dark: #2FB583;
  --accent-light: #7EE4B8;

  --orange: #F97316;
  --yellow: #FBBF24;
  --pink: #EC4899;
  --sky: #38BDF8;
  --purple: #A78BFA;

  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-blue: #EFF4FB;
  --bg-green: #E8FAF2;
  --bg-card: #FFFFFF;

  --text: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.10);
  --shadow-accent: 0 8px 24px rgba(77, 212, 160, 0.30);
  --shadow-brand: 0 8px 24px rgba(46, 67, 121, 0.25);

  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--text); }

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

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 0.82rem;
  padding: 10px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.topbar-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 14px; height: 14px; color: var(--accent); }
.topbar-cta {
  background: var(--accent);
  color: var(--brand-dark) !important;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.topbar-cta:hover { background: var(--accent-light); color: var(--brand-dark) !important; }
@media (max-width: 720px) { .topbar-left .hide-mobile { display: none; } .topbar { font-size: 0.75rem; } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--brand); background: var(--bg-blue); }
.nav .nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 10px 22px;
  margin-left: 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav .nav-cta:hover { background: var(--accent); color: var(--brand-dark) !important; transform: translateY(-1px); box-shadow: var(--shadow-accent); }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--text); transition: transform 0.25s var(--ease); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger.open span { background: transparent; }
.burger.open span::before { transform: translateY(7px) rotate(45deg); }
.burger.open span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: fixed; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .nav.open { max-height: 600px; }
  .nav a { padding: 14px 16px; width: 100%; }
  .nav .nav-cta { margin-left: 0; margin-top: 10px; text-align: center; justify-content: center; }
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #EFF4FB 0%, #E8FAF2 100%);
  overflow: hidden;
}
.hero-slider {
  position: relative;
  height: clamp(460px, 60vh, 560px);
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 max(24px, calc((100% - 1200px) / 2));
}
.hero-slide.active { opacity: 1; z-index: 2; }
@media (max-width: 860px) {
  .hero-slide { grid-template-columns: 1fr; padding: 40px 24px; text-align: center; }
  .hero-slider { height: auto; min-height: 580px; }
}

.hero-content .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(77, 212, 160, 0.15);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-content .hero-eyebrow::before { content: "●"; color: var(--accent-dark); }
.hero-content h1 {
  color: var(--brand);
  margin-bottom: 18px;
  font-weight: 800;
}
.hero-content h1 em { font-style: normal; color: var(--accent-dark); }
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 520px;
}
@media (max-width: 860px) { .hero-content p { margin-left: auto; margin-right: auto; } }
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 860px) { .hero-cta { justify-content: center; } }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  justify-self: end;
}
@media (max-width: 860px) { .hero-visual { justify-self: center; max-width: 320px; aspect-ratio: 4/3; } }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* Hero controls */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 32px; height: 4px;
  background: rgba(46, 67, 121, 0.25);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.hero-dot.active { background: var(--brand); }
.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s var(--ease);
}
.hero-arrow:hover { background: var(--brand); color: #fff; transform: translateY(-50%) scale(1.05); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-arrow svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .hero-arrow { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-accent { background: var(--accent); color: var(--brand-dark); box-shadow: var(--shadow-accent); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--bg-blue); }
.btn-ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn svg { width: 20px; height: 20px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 em { font-style: normal; color: var(--accent-dark); }
.section-head p { color: var(--text-muted); font-size: 1.08rem; margin-top: 12px; }

/* ============================================================
   PILLARS (por que a clínica) - 3 colunas com ícones coloridos
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.pillar-icon-green { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%); }
.pillar-icon-blue { background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%); }
.pillar-icon-orange { background: linear-gradient(135deg, var(--orange) 0%, #EA580C 100%); }
.pillar-icon svg { width: 36px; height: 36px; }
.pillar-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.pillar-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; line-height: 1.55; }

/* ============================================================
   STEPS (como funciona, estilo AmorSaúde)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.step-icon {
  width: 88px; height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  position: absolute;
  top: -6px; right: -6px;
  width: 28px; height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 3px solid #fff;
}
.step-icon svg { width: 44px; height: 44px; }
.step-1 svg { color: var(--accent-dark); }
.step-2 svg { color: var(--sky); }
.step-3 svg { color: var(--orange); }
.step-4 svg { color: var(--brand); }
.step h4 { margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ============================================================
   SERVICES GRID (CARDS COLORIDOS)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-color, var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: #fff;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover .service-card-icon { background: rgba(255,255,255,0.2); color: #fff; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255,255,255,0.9); }
.service-card:hover .service-arrow { color: #fff; transform: translateX(4px); }

.service-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--card-color, var(--accent));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}
.service-card-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.15rem; transition: color 0.3s ease; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.5; flex: 1; transition: color 0.3s ease; }
.service-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.service-arrow::after { content: "→"; }

/* Cores para cada card */
.service-card.c-green { --card-color: #2FB583; }
.service-card.c-blue { --card-color: #3E5FA0; }
.service-card.c-orange { --card-color: #F97316; }
.service-card.c-sky { --card-color: #0EA5E9; }
.service-card.c-purple { --card-color: #8B5CF6; }
.service-card.c-pink { --card-color: #DB2777; }

/* ============================================================
   STATS (números em destaque - estilo AmorSaúde)
   ============================================================ */
.stats {
  background: var(--brand);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(77, 212, 160, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(77, 212, 160, 0.08) 0%, transparent 45%);
}
.stats .container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
.stat-item { padding: 0 8px; }
.stat-circle {
  width: 80px; height: 80px;
  margin: 0 auto 14px;
  background: rgba(77, 212, 160, 0.18);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.stat-circle svg { width: 38px; height: 38px; }
.stat-value { font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; font-family: 'Poppins', sans-serif; }
.stat-label { font-size: 0.92rem; color: rgba(255,255,255,0.85); line-height: 1.4; }

/* ============================================================
   TESTIMONIALS (cards coloridos)
   ============================================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.3s var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-stars { color: #F59E0B; font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-quote { color: var(--text); line-height: 1.55; margin-bottom: 18px; font-size: 0.96rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.testimonial-author-name { font-weight: 600; font-size: 0.92rem; color: var(--brand); }
.testimonial-author-source { font-size: 0.8rem; color: var(--text-muted); }

.reviews-badge {
  display: inline-flex; align-items: center; gap: 16px;
  background: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.reviews-badge-rating { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1; }
.reviews-badge-text { font-size: 0.82rem; color: var(--text-muted); }
.reviews-badge-stars { color: #F59E0B; font-size: 0.95rem; letter-spacing: 1px; }

/* ============================================================
   TIPS / BLOG CARDS
   ============================================================ */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tips-grid { grid-template-columns: 1fr; } }

.tip-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.tip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tip-img {
  aspect-ratio: 3/2;
  background: var(--bg-blue);
  position: relative;
  overflow: hidden;
}
.tip-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(46, 67, 121, 0.15));
  z-index: 1;
}
.tip-img-icon {
  position: absolute; top: 14px; left: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.tip-img-icon svg { width: 22px; height: 22px; }
.tip-content { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.tip-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.tip-content h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.3; }
.tip-content p { color: var(--text-muted); font-size: 0.9rem; flex: 1; margin-bottom: 14px; line-height: 1.5; }
.tip-link { color: var(--brand); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.tip-link::after { content: "→"; transition: transform 0.2s; }
.tip-card:hover .tip-link::after { transform: translateX(4px); }

/* Patterns coloridos para ilustrar cards sem foto real */
.tip-pattern-1 { background: linear-gradient(135deg, #EFF4FB, #BFDBFE); }
.tip-pattern-2 { background: linear-gradient(135deg, #E8FAF2, #A7F3D0); }
.tip-pattern-3 { background: linear-gradient(135deg, #FFF7ED, #FDBA74); }

/* ============================================================
   COVENANTS ROW (logos)
   ============================================================ */
.covenants-row {
  display: flex; flex-wrap: wrap;
  gap: 16px; justify-content: center; align-items: center;
}
.covenant-badge {
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--brand);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}
.covenant-badge:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-main { grid-column: span 2; grid-row: span 2; }
.gallery img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform 0.3s ease; }
.gallery-main img { aspect-ratio: 1/1; }
.gallery a { overflow: hidden; border-radius: var(--radius-sm); display: block; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery-main { grid-column: span 2; grid-row: span 1; } }

/* ============================================================
   LOCATION
   ============================================================ */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; gap: 32px; } }

.location-info-list { display: grid; gap: 20px; margin-top: 24px; }
.location-info { display: flex; gap: 14px; align-items: flex-start; }
.location-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-green);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.location-info-icon svg { width: 22px; height: 22px; }
.location-info h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }
.location-info p { margin: 0; line-height: 1.5; }
.location-info a { color: var(--brand); font-weight: 600; }

.location-map {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 212, 160, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(77, 212, 160, 0.10) 0%, transparent 50%);
}
.cta .container { position: relative; }
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta h2 em { color: var(--accent); font-style: normal; }
.cta p { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0B1A3A;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
  font-size: 0.9rem;
}
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; font-weight: 700; font-family: 'Poppins', sans-serif; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--accent); }
.footer-logo img { height: 44px; margin-bottom: 16px; }
.footer-about p { line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}
.footer-social a:hover { background: var(--accent); color: var(--brand-dark); }
.footer-social svg { width: 18px; height: 18px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.footer-bottom {
  padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FLOATING WA
   ============================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 99;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .wa-float { animation: none; }
}

@media print {
  .header, .footer, .wa-float, .cta, .topbar { display: none; }
}

/* ============================================================
   PÁGINAS INTERNAS - page-hero, breadcrumb, prose
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #EFF4FB 0%, #E8FAF2 100%);
  padding: 48px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(46, 67, 121, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero h1 { margin-bottom: 14px; max-width: 820px; }
.page-hero h1 em { font-style: normal; color: var(--accent-dark); }
.page-hero .lead { max-width: 720px; color: var(--text-muted); font-size: 1.1rem; line-height: 1.55; margin: 0; }
.page-hero .hero-eyebrow { margin-bottom: 12px; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span:not(:last-child) { color: var(--text-light); }

/* Prose - conteúdo textual das páginas */
.prose { max-width: 780px; }
.prose h2 { margin-top: 40px; margin-bottom: 18px; color: var(--brand); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; margin-bottom: 12px; color: var(--brand-dark); font-size: 1.15rem; font-weight: 700; }
.prose p { margin-bottom: 14px; line-height: 1.7; color: var(--text); }
.prose ul { margin-bottom: 18px; padding-left: 0; }
.prose ul li {
  padding-left: 28px; position: relative;
  margin-bottom: 10px; line-height: 1.55;
}
.prose ul li::before {
  content: ""; position: absolute; left: 6px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.prose ol { margin-bottom: 18px; padding-left: 20px; counter-reset: item; list-style: none; }
.prose ol li { counter-increment: item; padding-left: 14px; position: relative; margin-bottom: 10px; }
.prose ol li::before { content: counter(item) "."; position: absolute; left: -10px; color: var(--accent-dark); font-weight: 700; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.prose a:hover { color: var(--accent-dark); }
.prose strong { color: var(--brand-dark); font-weight: 600; }

/* Info blocks */
.info-block {
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}
.info-block.warn { border-left-color: #F59E0B; background: #FFFBEB; }
.info-block.danger { border-left-color: #EF4444; background: #FEF2F2; }
.info-block h4 { margin-bottom: 8px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.info-block h4 svg { width: 18px; height: 18px; }
.info-block p:last-child { margin-bottom: 0; }

/* Split layout (2 colunas) para páginas internas */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: flex-start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.team-card .director-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--brand-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.team-card .role {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.team-card .credentials {
  font-size: 0.85rem; color: var(--text-muted);
  padding: 8px 12px; background: var(--bg-blue);
  border-radius: var(--radius-sm); margin-bottom: 14px;
  font-weight: 500;
}
.team-card .credentials .pending { color: #B45309; }
.team-card .bio { color: var(--text); font-size: 0.92rem; line-height: 1.55; margin-bottom: 10px; }
.team-card .bio strong { color: var(--brand); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table thead { background: var(--brand); color: #fff; }
table th { padding: 14px 18px; text-align: left; font-weight: 600; font-size: 0.88rem; }
table td { padding: 14px 18px; border-top: 1px solid var(--border); }
table tbody tr:nth-child(even) { background: var(--bg-soft); }
table svg { width: 20px; height: 20px; }
.check { color: var(--accent-dark); display: inline-flex; align-items: center; }
.check svg { width: 22px; height: 22px; }
.dash { color: var(--text-light); }
.consultar { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

/* FAQ accordion */
.accordion { max-width: 780px; margin: 0 auto; }
.accordion-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s var(--ease);
}
.accordion-item[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.accordion-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  list-style: none;
  color: var(--brand);
  font-size: 1rem;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--accent-dark); font-weight: 400;
  transition: transform 0.25s var(--ease);
  line-height: 1;
  flex-shrink: 0;
}
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-content { padding: 0 24px 22px; color: var(--text); line-height: 1.65; }

/* Contact block */
.contact-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid; gap: 20px;
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-green);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; font-weight: 600; }
.contact-item p { margin: 0; }
.contact-item a { color: var(--brand); font-weight: 600; }

/* Process grid (4 passos pós-consulta para páginas internas) */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.process-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.process-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.process-item h4 { margin-bottom: 6px; font-size: 1.05rem; }
.process-item p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* 404 */
.err-page { padding: 80px 0 120px; text-align: center; }
.err-page .big { font-family: 'Poppins', sans-serif; font-size: 8rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.err-page h1 { margin-bottom: 14px; }
.err-page p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 24px; }
.err-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
