/* ============================================================
   Dra. Fabiana Gonçalves — Site de pré-candidatura
   Design premium | v2.0
   ============================================================ */

:root {
  --bg-main: #F7F5FA;
  --bg-alt: #EFEAF5;
  --bg-white: #FFFFFF;
  --primary: #327B4B;
  --primary-dark: #225332;
  --primary-light: #E8F4ED;
  --secondary: #3B6D91;
  --secondary-light: #E6EFF4;
  --secondary-dark: #2F5774;
  --ink: #2A2430;
  --ink-soft: #3D3547;
  --muted: #665F72;
  --border: #DDD3E8;
  --border-soft: #EDE8F4;
  --cta-bg: #327B4B;
  --cta-text: #FFFFFF;
  --warn-bg: #FBF0DD;
  --warn-border: #E3B95C;
  /* Sombras refinadas */
  --shadow-xs: 0 1px 3px rgba(34,27,43,.08), 0 1px 2px rgba(34,27,43,.06);
  --shadow-sm: 0 4px 12px -4px rgba(34,27,43,.15), 0 2px 6px -2px rgba(34,27,43,.08);
  --shadow-md: 0 12px 28px -8px rgba(34,27,43,.18), 0 4px 10px -4px rgba(34,27,43,.10);
  --shadow-lg: 0 24px 48px -12px rgba(34,27,43,.22), 0 8px 16px -6px rgba(34,27,43,.12);
  --shadow-glow-green: 0 0 0 4px rgba(50,123,75,.15);
  --shadow-glow-blue: 0 0 0 4px rgba(59,109,145,.15);
  /* Transições */
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-smooth: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 90px; }
body {
  font-family: 'Mulish', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: 78px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .font-serif {
  font-family: 'Lora', serif;
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.25;
}
p { color: var(--ink); }
a { text-decoration: none; color: inherit; transition: color .25s var(--ease-smooth), background-color .25s var(--ease-smooth); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==================== Layout ==================== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-tight.bg-primary { padding: 30px 0; }
@media (max-width: 1024px) { .section { padding: 64px 0; } }
@media (max-width: 768px) { .section { padding: 44px 0; } .section-tight { padding: 36px 0; } }

.bg-alt { background: var(--bg-alt); }
.bg-secondary-light { background: var(--secondary-light); }
.bg-primary { background: var(--primary); color: #fff; }
.bg-primary h1, .bg-primary h2, .bg-primary h3 { color: #fff; }

/* ==================== Scroll Progress Bar ==================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ==================== Section Labels & Decorators ==================== */
.section-label {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 14px;
}
.bg-primary .section-label { color: #97D8B8; }

.deco-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  margin: 16px 0 22px;
  border-radius: 2px;
}

/* ==================== Botões ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease-spring), box-shadow .2s var(--ease-smooth), background-color .2s var(--ease-smooth), border-color .2s var(--ease-smooth);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Efeito ripple */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.18);
  opacity: 0;
  border-radius: inherit;
  transition: opacity .3s ease;
}
.btn:active::after { opacity: 1; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-text);
  box-shadow: 0 4px 14px -4px rgba(50,123,75,.45);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(50,123,75,.5);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(59,109,145,.45);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(59,109,145,.5);
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ==================== Navbar ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: rgba(247,245,250,.96);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .3s var(--ease-smooth), background .3s var(--ease-smooth);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px -8px rgba(34,27,43,.15);
  background: rgba(247,245,250,.99);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  transition: padding .3s var(--ease-smooth);
}
.navbar.scrolled .nav-container { padding: 10px 24px; }

.nav-brand { font-family: 'Lora', serif; font-weight: 700; font-size: 19px; color: var(--ink); transition: color .2s ease; }
.nav-brand:hover { color: var(--primary); }
.nav-brand span { display: block; font-family: 'Mulish', sans-serif; font-weight: 700; font-size: 10.5px; letter-spacing: .14em; color: var(--secondary); text-transform: uppercase; }

.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width .3s var(--ease-spring);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; gap: 10px; }

/* Hambúrguer → X animado */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background .2s ease;
}
.menu-toggle:hover { background: var(--border-soft); }
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease-spring), opacity .25s ease;
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease-out);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 8px 24px -8px rgba(34,27,43,.15);
  }
  .nav-links.open { max-height: 480px; }
  .nav-links a { padding: 16px 24px; width: 100%; border-bottom: 1px solid var(--border-soft); font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-right .btn { display: none; }
}

/* ==================== Hero de conteúdo (sobre, propostas…) ==================== */
.hero {
  background: linear-gradient(160deg, var(--bg-alt), var(--bg-main));
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { order: -1; }
  .hero { padding: 40px 0 36px; }
}
.hero-title { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 6px; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 52ch; margin-bottom: 8px; }
.credencial { font-family: 'Mulish', sans-serif; font-size: 14px; color: var(--secondary); font-weight: 700; letter-spacing: .03em; margin-top: 4px; }
.hero-photo { background: none; text-align: center; }
.hero-photo img {
  width: auto; height: auto; max-width: 100%; max-height: 600px;
  display: inline-block; border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform .4s var(--ease-smooth);
}
.hero-photo img:hover { transform: scale(1.02); }
@media (max-width: 900px) {
  .hero-photo img { max-height: 380px; width: 100%; object-fit: cover; object-position: top center; border-radius: 16px; }
}

/* ==================== Hero Cover (Home) ==================== */
.hero-cover {
  background: linear-gradient(135deg, #422D58, #614280 55%, #7F59A6);
  padding: 40px 0 36px;
}

.hero-cover .hero-grid { position: relative; z-index: 1; }
.hero-cover .section-label { color: rgba(150,216,184,.85); }
.hero-cover .hero-title { color: #fff; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.22; margin-bottom: 4px; }
.hero-cover .hero-accent { color: #97D8B8; }
.hero-cover .hero-sub { color: rgba(240,236,245,.9); font-size: 15.5px; margin-bottom: 6px; }
.hero-cover .credencial { color: rgba(235,229,240,.8); font-size: 12px; }
.hero-cover .deco-line { background: linear-gradient(90deg, #97D8B8, rgba(59,109,145,.6)); margin: 10px 0 14px; width: 48px; }
.hero-cover .btn-row { margin-top: 6px; }
.hero-cover .btn { padding: 11px 22px; font-size: 13.5px; }
.hero-cover .hero-photo img {
  max-height: 420px;
  box-shadow: 0 28px 56px -12px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
  border-radius: 20px;
}
@media (max-width: 900px) {
  .hero-cover { padding: 32px 0 36px; text-align: center; }
  .hero-cover .hero-sub, .hero-cover .credencial, .hero-cover .section-label { margin-left: auto; margin-right: auto; }
  .hero-cover .deco-line { margin: 12px auto 16px; }
  .hero-cover .btn-row { justify-content: center; }
  .hero-cover .hero-photo img { max-height: 360px; width: auto; object-fit: contain; }
}

.btn-mockup-verde { background: var(--primary); color: #fff; border-radius: 999px; box-shadow: 0 4px 16px -4px rgba(50,123,75,.55); }
.btn-mockup-verde:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px -4px rgba(50,123,75,.6); }
.btn-ghost-white {
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* ==================== Cards de pauta ==================== */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-smooth), border-color .3s ease;
}
/* Barra colorida animada no topo */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-spring);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #C5D9C9;
}

.card-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 10px; }
.card h2, .card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; line-height: 1.6; }
.card-link { font-family: 'Mulish', sans-serif; font-weight: 700; font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s ease; }
.card-link:hover { text-decoration: underline; gap: 8px; }

.pill { display: inline-block; background: var(--secondary-light); color: var(--secondary); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin: 0 6px 6px 0; transition: background .2s ease; }
.pill:hover { background: #d4e6f0; }

/* ==================== Ensaio Biográfico / Capítulos Editoriais ==================== */
.capitulo-doc {
  position: relative;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border-soft);
}
.capitulo-doc:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.tag-capitulo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.capitulo-doc h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
  line-height: 1.28;
  color: var(--ink);
}

.capitulo-doc p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 18px;
}
.capitulo-doc p:last-child { margin-bottom: 0; }

.quote-editorial {
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--primary-light);
  border-radius: 0 10px 10px 0;
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--primary-dark);
}

/* Raio-X de Trajetória */
.raio-x-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .raio-x-grid { grid-template-columns: 1fr; }
}

.raio-x-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.raio-x-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: #C5D9C9;
}
.raio-x-card .card-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 6px;
  display: block;
}
.raio-x-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}
.raio-x-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Preservando compatibilidade com .ato antigo se usado na home */
.ato { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding: 0 0 40px; position: relative; }
.ato:last-child { padding-bottom: 0; }
.ato::before { content: ''; position: absolute; left: 44px; top: 60px; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--border), transparent); }
.ato:last-child::before { display: none; }
.ato-num {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-size: 26px; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(50,123,75,.45);
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
.ato:hover .ato-num { transform: scale(1.05); box-shadow: 0 12px 24px -6px rgba(50,123,75,.55); }
.ato h3 { font-size: 22px; margin-bottom: 10px; }
.ato p { margin-bottom: 12px; color: var(--ink-soft); }
@media (max-width: 640px) { .ato { grid-template-columns: 64px 1fr; } .ato-num { width: 60px; height: 60px; font-size: 19px; } .ato::before { left: 30px; } }

/* ==================== Citações ==================== */
.quote {
  position: relative;
  background: linear-gradient(135deg, var(--secondary-light), rgba(230,239,244,.5));
  border-left: 4px solid var(--secondary);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px 20px 50px;
  font-style: italic;
  color: var(--ink);
  font-family: 'Lora', serif;
  font-size: 17.5px;
  margin: 24px 0;
  box-shadow: var(--shadow-xs);
}
.quote::before {
  content: '\201C';
  position: absolute;
  left: 14px;
  top: 8px;
  font-family: 'Lora', serif;
  font-size: 42px;
  font-style: normal;
  color: var(--secondary);
  opacity: .45;
  line-height: 1;
}
.eixo {
  position: relative;
  text-align: center;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--ink);
  max-width: 26ch;
  margin: 0 auto;
  padding: 0 8px;
}

.manifesto { font-family: 'Mulish', sans-serif; font-size: clamp(17px, 2vw, 20px); color: var(--ink); line-height: 1.7; margin-top: 10px; }
.manifesto p { color: var(--ink-soft); margin-bottom: 20px; }
.manifesto p:last-child { margin-bottom: 0; }

/* ==================== Atributos HUMANA / PREPARADA / FIRME ==================== */
.atributos { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.atributo {
  flex: 1;
  min-width: 180px;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease, border-color .3s ease;
}
.atributo b { display: block; color: var(--primary); font-family: 'Mulish', sans-serif; font-size: 12.5px; letter-spacing: .09em; margin-bottom: 7px; text-transform: uppercase; }
.atributo span { font-size: 14px; color: var(--muted); line-height: 1.55; }
.atributo-link:hover .atributo { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C5D9C9; }

/* ==================== Stats com contador animado ==================== */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; margin: 26px 0; }
.stat {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--secondary);
  border-radius: 0 14px 14px 0;
  padding: 20px 22px;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease, border-color .3s ease;
}
.stat:hover {
  transform: translateY(-3px) translateX(2px);
  box-shadow: var(--shadow-sm);
  border-left-color: var(--primary);
}
.stat b { display: block; font-family: 'Lora', serif; font-size: 28px; color: var(--ink); line-height: 1.15; margin-bottom: 2px; }
.stat span { display: block; font-size: 13px; color: var(--muted); line-height: 1.25; }
.fonte { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }

/* ==================== Depende / não depende ==================== */
.honesto { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
@media (max-width: 768px) { .honesto { grid-template-columns: 1fr; } }
.honesto-col { border-radius: 14px; padding: 22px 24px; }
.honesto-col.sim { background: linear-gradient(135deg, var(--secondary-light), rgba(230,239,244,.4)); border: 1px solid #CFDDE3; }
.honesto-col.nao { background: linear-gradient(135deg, #E8F4ED, rgba(232,244,237,.4)); border: 1px solid #CEDDD1; }
.honesto-col h3, .honesto-col h4 { font-family: 'Mulish', sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 800; }
.honesto-col.sim h4 { color: var(--secondary); }
.honesto-col.nao h4 { color: var(--primary); }
.honesto-col li { font-size: 14.5px; margin-bottom: 10px; padding-left: 26px; position: relative; line-height: 1.5; color: var(--ink-soft); }
.honesto-col li::before { position: absolute; left: 0; top: 0; font-size: 13px; font-weight: 800; line-height: 1.5; }
.honesto-col.sim li::before { content: '\2713'; color: var(--secondary); }
.honesto-col.nao li::before { content: '\2715'; color: var(--primary); }

/* ==================== FAQ Accordion ==================== */
.faq-list { border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-white);
  transition: background .2s ease;
}
.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: var(--primary-light); }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s ease;
  line-height: 1.35;
}
.faq-item.open .faq-btn { color: var(--primary-dark); }
.faq-btn:hover { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .35s var(--ease-spring);
}
.faq-item.open .faq-icon { background: var(--primary); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; stroke: var(--muted); transition: stroke .25s ease; }
.faq-item.open .faq-icon svg { stroke: #fff; }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.faq-item.open .faq-body { max-height: 600px; }
.faq-body-inner {
  padding: 0 26px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* Fallback estático (para quando não há JS) */
.faq-item-static { border-bottom: 1px solid var(--border-soft); padding: 20px 0; }
.faq-item-static:first-child { padding-top: 0; }
.faq-item-static:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item-static h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item-static p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ==================== Galeria home ==================== */
.galeria-home { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 8px; }
.galeria-home:last-of-type { margin-bottom: 0; }
@media (max-width: 900px) { .galeria-home { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .galeria-home { grid-template-columns: 1fr; } }
.figura-frame {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
.figura-frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.figura-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; box-shadow: none; transition: transform .4s var(--ease-smooth); }
.figura-frame:hover img { transform: scale(1.03); }

/* ==================== Figuras com legenda ==================== */
.fotos-duplas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.fotos-duplas.fotos-triplas { grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); }
@media (max-width: 640px) { .fotos-duplas { grid-template-columns: 1fr; } .fotos-duplas.fotos-triplas { grid-template-columns: 1fr 1fr; } }
@media (min-width: 641px) and (max-width: 900px) { .fotos-duplas.fotos-triplas { grid-template-columns: 1fr 1fr; } }
.figura { margin: 0; }
.figura img { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-smooth), box-shadow .35s ease; }
.figura img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.figura figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; font-style: italic; line-height: 1.4; text-wrap: balance; }
.fotos-triplas .figura img { aspect-ratio: 3/4; object-fit: contain; background: var(--bg-alt); }

.mini-titulo { font-family: 'Mulish', sans-serif; font-weight: 800; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); margin: 36px 0 14px; }
.mini-titulo:first-child { margin-top: 0; }

/* ==================== Galeria de imprensa ==================== */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.galeria a {
  display: block;
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
.galeria a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.galeria img { width: 100%; aspect-ratio: 4/5; object-fit: contain; display: block; border-radius: 12px; background: var(--bg-alt); transition: transform .4s var(--ease-smooth); }
.galeria a img { border-radius: 0; }
.galeria a:hover img { transform: scale(1.06); }
.galeria a.figura-frame { display: flex; border-radius: 14px; }
.galeria a.figura-frame:hover img { transform: scale(1.03); }

/* ==================== Box info / aviso ==================== */
.box-info {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 14.5px;
  color: #6b5225;
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.box-info b { color: #5a4318; }

/* ==================== Footer ==================== */
.footer {
  background: var(--primary-dark);
  color: #D6E3D9;
  padding: 16px 0 10px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; margin-bottom: 10px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 16px; } }
.footer-social { display: flex; gap: 10px; margin-top: 2px; }
.footer-social a {
  color: #A8C4B0;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  transition: background .2s ease, color .2s ease, transform .25s var(--ease-spring);
}
.footer-social a:hover { color: #fff; background: var(--primary); transform: translateY(-3px); }
.footer-social svg { width: 15px; height: 15px; }
.footer h4 { color: #97D8B8; font-family: 'Mulish', sans-serif; font-size: 11px; letter-spacing: .10em; text-transform: uppercase; margin-bottom: 5px; font-weight: 800; }
.footer p { color: #C0D3C4; font-size: 13px; line-height: 1.4; }
.footer-links a { display: block; color: #A8C4B0; font-size: 13px; padding: 1.5px 0; transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; display: flex; justify-content: space-between; flex-wrap: wrap; row-gap: 8px; font-size: 11.5px; color: #889C8C; }
.footer-bottom-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-bottom a { color: #889C8C; transition: color .2s ease; }
.footer-bottom a:hover { color: #fff; }
.footer-nexora { font-weight: 800; color: #fff !important; }
.footer-partido { display: flex; align-items: center; gap: 8px; color: #889C8C; }
.footer-partido:hover { color: #fff; }
.footer-partido img { height: 20px; width: auto; display: block; }



/* ==================== Breadcrumb ==================== */
.breadcrumb { font-family: 'Mulish', sans-serif; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { text-decoration: underline; }

/* ==================== Reveal on scroll (variantes) ==================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal-right.in { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease-out), transform .5s var(--ease-spring); }
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* Delays para grids */
.grid-3 .card:nth-child(1) { transition-delay: 0s; }
.grid-3 .card:nth-child(2) { transition-delay: .1s; }
.grid-3 .card:nth-child(3) { transition-delay: .2s; }
.grid-2 .card:nth-child(1) { transition-delay: 0s; }
.grid-2 .card:nth-child(2) { transition-delay: .12s; }
.atributos .atributo:nth-child(1) { transition-delay: 0s; }
.atributos .atributo:nth-child(2) { transition-delay: .1s; }
.atributos .atributo:nth-child(3) { transition-delay: .2s; }

/* ==================== Página de erro 404 ==================== */
.err-wrap { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.err-wrap .big { font-family: 'Lora', serif; font-size: 96px; color: var(--border-soft); line-height: 1; }

/* ==================== Ajustes Finos Globais de Mobile ==================== */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .btn { width: 100%; justify-content: center; padding: 14px 20px; }
  .btn-row { flex-direction: column; gap: 10px; }
  .stat-grid { grid-template-columns: 1fr; gap: 12px; }
  .stat { border-radius: 10px; padding: 16px 18px; }
  .stat b { font-size: 24px; }
  .quote { padding: 16px 18px 16px 36px; font-size: 16px; margin: 18px 0; }
  .quote::before { left: 10px; top: 4px; font-size: 32px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer-bottom-group { flex-direction: column; gap: 10px; }
  .footer-bottom .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* ==================== Banner de cookies ==================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.4); z-index: 1000;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-text { font-size: 13.5px; line-height: 1.5; flex: 1; min-width: 220px; color: #EDEAF0; }
.cookie-banner-text b { color: #fff; }
.cookie-banner-text a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 9px 18px; font-size: 13px; }
.cookie-banner .cookie-decline { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.cookie-banner .cookie-decline:hover { background: rgba(255,255,255,.1); }
.cookie-banner .cookie-accept { background: var(--primary); color: #fff; border: none; }
.cookie-banner .cookie-accept:hover { background: var(--primary-dark); }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

