/*
 * A3M UFPR – Folha de estilos do site institucional
 * Paleta: verde institucional (saúde/esporte) + laranja (CTAs) + magenta (energia)
 * Otimizado para legibilidade, responsividade e acessibilidade.
 */

:root {
  --primary: #025E1A;          /* verde institucional */
  --primary-dark: #013A12;
  --primary-darker: #002808;
  --secondary: #3BB273;        /* verde claro para gradientes */
  --accent: #F06E23;           /* laranja para CTAs */
  --accent-dark: #d95b18;
  --magenta: #E91E63;          /* magenta dos backdrops do Intermed */
  --magenta-dark: #c2185b;
  --background: #FAFCFB;       /* off-white levemente esverdeado */
  --surface: #ffffff;
  --surface-soft: #F4F8F5;
  --dark: #0B2818;             /* preto-esverdeado para texto */
  --muted: #5b6b62;
  --border: #e0e7e3;
  --shadow-xs: 0 1px 3px rgba(0, 30, 10, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 30, 10, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 30, 10, 0.10);
  --shadow-lg: 0 14px 40px rgba(0, 30, 10, 0.16);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --gradient-primary: linear-gradient(135deg, #025E1A 0%, #014312 60%, #0B2818 100%);
  --gradient-celebration: linear-gradient(135deg, #025E1A 0%, #3BB273 50%, #E91E63 120%);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-feature-settings: "kern", "liga", "ss01";
  line-height: 1.6;
  background-color: var(--background);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

::selection { background: var(--accent); color: #fff; }

/* Skip link para acessibilidade */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
  z-index: 999;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ==========================================================
 * CABEÇALHO E NAVEGAÇÃO
 * ========================================================== */
header {
  background: var(--gradient-primary);
  color: #fff;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--accent);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 1px;
}
.logo a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .logo-mark {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.logo a:hover .logo-mark {
  transform: rotate(-6deg);
  background: rgba(255, 255, 255, 0.2);
}
.logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo .logo-text small {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.8;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 1.4rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.18); border-color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover { color: #ffd9b3; }
.nav-links a.active {
  color: #fff;
  border-bottom-color: var(--accent);
}
.nav-links a.cta-link {
  background: var(--accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  transition: background 0.2s ease, transform 0.05s ease;
}
.nav-links a.cta-link:hover {
  background: var(--accent-dark);
  color: #fff;
}

/* ==========================================================
 * HERO BANNER
 * ========================================================== */
.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(110px, 18vw, 180px) 20px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-equipe { background-image: url('../img/hero-equipe.jpg'); background-position: center 30%; }
.hero-delegacao { background-image: url('../img/delegacao-panoramica.jpg'); background-position: center 30%; }
.hero-torcida { background-image: url('../img/celebracao-torcida.jpg'); }
.hero-paixao { background-image: url('../img/torcedor-paixao.jpg'); background-position: center 20%; }
.hero-presidencia { background-image: url('../img/taca-presidencia.jpg'); background-position: center 25%; }
.hero-emocao { background-image: url('../img/momento-emocional.jpg'); background-position: center 30%; }
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(2, 94, 26, 0.45) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(233, 30, 99, 0.35) 100%);
  z-index: -1;
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(233, 30, 99, 0.25), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(2, 94, 26, 0.4), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.hero-banner h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.7s ease-out;
}
.hero-banner h1 .highlight {
  background: linear-gradient(120deg, var(--accent) 0%, #ffb380 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-banner p {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  margin: 0 auto 32px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
  max-width: 680px;
  animation: fadeUp 0.9s ease-out;
}
.hero-banner .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  animation: fadeUp 1.1s ease-out;
}

/* ==========================================================
 * BOTÕES
 * ========================================================== */
.button, .button-primary, .button-secondary, .button-magenta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1.3;
}
.button, .button-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 110, 35, 0.35);
}
.button:hover, .button-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(240, 110, 35, 0.5);
}
.button:active, .button-primary:active { transform: translateY(0); }
.button-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.button-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  transform: translateY(-2px);
}
.button-magenta {
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
}
.button-magenta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(233, 30, 99, 0.5);
}

/* ==========================================================
 * SEÇÕES GENÉRICAS
 * ========================================================== */
section {
  padding: 70px 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.section-subtitle {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 8px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 36px;
}

.lead {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ==========================================================
 * STATS – grid colorido
 * ========================================================== */
.stats-section {
  background: var(--gradient-primary);
  color: #fff;
  padding: 60px 20px;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(233, 30, 99, 0.18), transparent 70%);
  pointer-events: none;
}
.stats-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(240, 110, 35, 0.15), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.stat-item .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item img {
  width: 28px;
  height: 28px;
  filter: invert(100%);
  margin: 0 auto;
}
.stat-item .number {
  font-size: clamp(2.2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  margin: 4px 0 6px;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #fff 0%, #d9f4e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-item .label {
  font-size: 0.95rem;
  opacity: 0.95;
  letter-spacing: 0.3px;
}

/* ==========================================================
 * EVENTOS
 * ========================================================== */
.events-section {
  background-color: var(--background);
  padding: 70px 20px;
  max-width: none;
  margin: 0;
}
.events-section .container {
  max-width: var(--container);
  margin: 0 auto;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: var(--container);
  margin: 0 auto;
}
.event-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.event-card-media {
  position: relative;
  overflow: hidden;
}
.event-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
}
.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-card:hover img { transform: scale(1.05); }
.event-info { padding: 22px; flex-grow: 1; }
.event-info .date {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(240, 110, 35, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}
.event-info h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
}
.event-info p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ==========================================================
 * DESTAQUES (cards)
 * ========================================================== */
.highlights-section { padding: 70px 20px; max-width: var(--container); margin: 0 auto; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.highlight-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.highlight-card-media {
  position: relative;
  overflow: hidden;
}
.highlight-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.highlight-card:hover img { transform: scale(1.06); }
.highlight-content {
  padding: 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.highlight-content h3 { margin: 0 0 10px; color: var(--primary); font-size: 1.25rem; font-weight: 800; }
.highlight-content p { margin: 0 0 16px; font-size: 0.95rem; color: var(--muted); }
.highlight-content a {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  transition: gap 0.2s ease;
}
.highlight-content a:hover { color: var(--accent-dark); gap: 10px; }

/* ==========================================================
 * PAIXÕES
 * ========================================================== */
.passions-section {
  padding: 70px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.passions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.passion-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.passion-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.passion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.passion-card:hover::before { transform: scaleX(1); }
.passion-card .icon-circle {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(2, 94, 26, 0.08), rgba(240, 110, 35, 0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.passion-card .icon-circle img {
  width: 40px;
  height: 40px;
}
.passion-card h3 { color: var(--primary); margin: 6px 0 12px; font-size: 1.35rem; font-weight: 800; }
.passion-card p { font-size: 0.95rem; flex-grow: 1; color: var(--muted); margin: 0 0 20px; }
.passion-card a {
  background-color: var(--primary);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  align-self: center;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.passion-card a:hover { background-color: var(--secondary); transform: translateY(-1px); }

/* ==========================================================
 * QUOTE / CITAÇÃO
 * ========================================================== */
.quote-section {
  background:
    linear-gradient(135deg, rgba(2, 94, 26, 0.92), rgba(1, 67, 18, 0.95)),
    url('../img/celebracao-torcida.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 90px 20px;
  text-align: center;
  max-width: none;
  margin: 0;
  position: relative;
}
.quote-section .quote-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent);
  opacity: 0.9;
}
.quote-section blockquote {
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  margin: 0 auto 16px;
  max-width: 880px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
}
.quote-section cite {
  font-size: 0.95rem;
  font-style: normal;
  opacity: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ==========================================================
 * DEPOIMENTOS
 * ========================================================== */
.testimonials-section {
  background: var(--surface-soft);
  padding: 70px 20px;
  max-width: none;
  margin: 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: var(--container);
  margin: 30px auto 0;
}
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--accent);
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 22px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(240, 110, 35, 0.2);
  line-height: 1;
  font-weight: 900;
}
.testimonial-card p {
  font-size: 0.98rem;
  margin: 0 0 22px;
  color: var(--dark);
  font-style: italic;
  line-height: 1.55;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.testimonial-meta strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
}
.testimonial-meta span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================================================
 * LOJA – seção curta
 * ========================================================== */
.store-section {
  padding: 70px 20px;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.store-section h2 {
  color: var(--primary);
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}
.store-section p { margin: 0 auto 28px; max-width: 600px; color: var(--muted); }

/* ==========================================================
 * CARDS GENÉRICOS (atividades, ações)
 * ========================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.card .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(2, 94, 26, 0.08), rgba(240, 110, 35, 0.12));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .icon-circle img { width: 32px; height: 32px; }
.card h3 { margin: 6px 0 10px; color: var(--primary); font-size: 1.2rem; font-weight: 800; }
.card p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* ==========================================================
 * MODALIDADES
 * ========================================================== */
.modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.modality-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.modality-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.modality-card .icon-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(2, 94, 26, 0.08), rgba(59, 178, 115, 0.18));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modality-card .icon-circle img { width: 32px; height: 32px; }
.modality-card h3 { margin: 6px 0 10px; color: var(--primary); font-size: 1.18rem; font-weight: 800; }
.modality-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.subsection-title {
  font-size: 1.2rem;
  margin: 50px 0 0;
  color: var(--primary);
  text-align: center;
  font-weight: 800;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.subsection-title::before, .subsection-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ==========================================================
 * GALERIA
 * ========================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
  color: #fff;
  padding: 28px 16px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  transform: translateY(10px);
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}
.gallery-feature {
  grid-column: span 2;
}
.gallery-feature img { height: 360px; }
@media (max-width: 700px) {
  .gallery-feature { grid-column: span 1; }
  .gallery-feature img { height: 260px; }
}

/* ==========================================================
 * PAGE HEADER
 * ========================================================== */
.page-header {
  background: var(--gradient-primary);
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(233, 30, 99, 0.2), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(240, 110, 35, 0.18), transparent 60%);
  pointer-events: none;
}
.page-header h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  position: relative;
}
.page-header p {
  margin: 0;
  opacity: 0.95;
  font-size: 1.1rem;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  opacity: 0.85;
  letter-spacing: 0.5px;
}
.page-header .breadcrumb a {
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.page-header .breadcrumb a:hover { border-bottom-color: var(--accent); }
.page-header .breadcrumb .sep { opacity: 0.6; }

.page-header.with-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 110px 20px 90px;
  isolation: isolate;
}
.page-header.with-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(2, 94, 26, 0.7) 0%, rgba(1, 67, 18, 0.85) 60%, rgba(233, 30, 99, 0.5) 110%);
  z-index: -1;
}
.page-header.with-bg h1, .page-header.with-bg p { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }

/* ==========================================================
 * FORMULÁRIO
 * ========================================================== */
form {
  max-width: 640px;
  margin: 0 auto;
  background-color: var(--surface);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
form label {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
}
form input, form textarea, form select {
  width: 100%;
  padding: 12px 14px;
  margin-top: 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--background);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(59, 178, 115, 0.18);
}
form textarea { resize: vertical; min-height: 130px; }
form button {
  margin-top: 24px;
  background-color: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(240, 110, 35, 0.35);
}
form button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(240, 110, 35, 0.5);
}

.contact-info {
  max-width: 640px;
  margin: 36px auto 0;
  padding: 30px;
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-info h2 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
}
.contact-info p { margin: 10px 0; }
.contact-info a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.2s ease;
}
.contact-info a:hover { border-bottom-color: var(--accent); }

/* ==========================================================
 * REDES SOCIAIS
 * ========================================================== */
.social-section {
  background: var(--gradient-primary);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.social-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(233, 30, 99, 0.15), transparent 70%);
  pointer-events: none;
}
.social-section h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  position: relative;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.social-icons a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.05);
}
.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(100%);
}

/* ==========================================================
 * RODAPÉ
 * ========================================================== */
footer {
  background-color: var(--primary-darker);
  color: #fff;
  padding: 60px 20px 24px;
  margin-top: 0;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  max-width: var(--container);
  margin: 0 auto;
}
footer h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
  position: relative;
  padding-bottom: 10px;
}
footer h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}
footer p { margin: 8px 0; font-size: 0.92rem; color: #c1ddc8; }
footer a {
  color: #b6e0c2;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
footer a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer-bottom {
  text-align: center;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #9bbfa5;
  max-width: var(--container);
}

/* Botão back-to-top */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-to-top img { width: 18px; height: 18px; filter: invert(100%); }

/* ==========================================================
 * RESPONSIVO
 * ========================================================== */
@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--gradient-primary);
    padding: 20px 24px;
    gap: 14px;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--accent);
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 4px; }
  .nav-links a.cta-link { text-align: center; }
  header { position: sticky; }
}

@media (max-width: 480px) {
  section { padding: 50px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-item .number { font-size: 2rem; }
  .back-to-top { bottom: 80px; right: 16px; }
}

/* Reduz movimento para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .quote-section { background-attachment: scroll; }
}

/* ==========================================================
 * IMAGEM AMPLA (full bleed)
 * ========================================================== */
.full-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* ==========================================================
 * TIMELINE
 * ========================================================== */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 3px;
}
.timeline-item {
  position: relative;
  padding: 16px 0 16px 70px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--secondary), 0 4px 10px rgba(240, 110, 35, 0.3);
}
.timeline-year {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}
.timeline-text { margin: 0; color: var(--muted); }

/* ==========================================================
 * EQUIPE / DIRETORIA
 * ========================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.team-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(2, 94, 26, 0.25);
  border: 4px solid #fff;
}
.team-card h3 {
  margin: 6px 0 4px;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}
.team-role {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  background: rgba(240, 110, 35, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
}
.team-card p { font-size: 0.92rem; margin: 0; color: var(--muted); }

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.dept-card {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.dept-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--magenta);
}
.dept-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
}
.dept-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ==========================================================
 * CALENDÁRIO
 * ========================================================== */
.calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  border: 1px solid var(--border);
}
.calendar-table thead { background: var(--gradient-primary); color: #fff; }
.calendar-table th, .calendar-table td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.calendar-table th { font-weight: 700; letter-spacing: 0.5px; }
.calendar-table tr:last-child td { border-bottom: none; }
.calendar-table tr:hover td { background: rgba(59, 178, 115, 0.06); }
.calendar-month {
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
  font-size: 1rem;
  letter-spacing: -0.2px;
}
.calendar-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-right: 8px;
  vertical-align: middle;
}
.tag-esporte { background: #d1fadf; color: #014312; }
.tag-festa { background: #ffe6cc; color: #8a3b00; }
.tag-social { background: #d6e4ff; color: #002a66; }
.tag-bateria { background: #f7d4ff; color: #4a006e; }

.calendar-legend {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.calendar-legend strong { margin-right: 4px; color: var(--primary); }

/* ==========================================================
 * FAQ
 * ========================================================== */
.faq {
  max-width: 820px;
  margin: 30px auto 0;
}
.faq details {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq details[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--primary);
  list-style: none;
  position: relative;
  padding-right: 56px;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s ease;
  width: 28px;
  height: 28px;
  background: rgba(240, 110, 35, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq details[open] summary::after {
  content: "−";
  background: var(--accent);
  color: #fff;
}
.faq details > p,
.faq details > ul,
.faq details > ol {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--muted);
}

/* ==========================================================
 * BENEFÍCIOS
 * ========================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.benefit-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(240, 110, 35, 0.12), rgba(233, 30, 99, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 110, 35, 0.2);
}
.benefit-icon img { width: 26px; height: 26px; }
.benefit-card h3 { margin: 0 0 6px; color: var(--primary); font-size: 1.05rem; font-weight: 800; }
.benefit-card p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

/* ==========================================================
 * LOJA – PRODUTOS
 * ========================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(233, 30, 99, 0.25), transparent 60%);
  pointer-events: none;
}
.product-image .product-icon {
  width: 90px;
  height: 90px;
  filter: invert(100%) brightness(1.5);
  opacity: 0.9;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image .product-icon { transform: scale(1.08) rotate(-4deg); }
.product-image .product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.product-image .product-tag.tag-magenta { background: var(--magenta); }
.product-info { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.product-info h3 { margin: 0 0 8px; color: var(--primary); font-size: 1.15rem; font-weight: 800; }
.product-info p { margin: 0 0 14px; font-size: 0.92rem; color: var(--muted); flex-grow: 1; line-height: 1.5; }
.product-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.product-info .button {
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 10px 20px;
}

/* ==========================================================
 * CALLOUT (CTA Box)
 * ========================================================== */
.callout {
  background: var(--gradient-celebration);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  margin: 40px auto;
  max-width: 880px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.callout::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.callout h3 {
  margin-top: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.3px;
  position: relative;
}
.callout p {
  margin-bottom: 24px;
  font-size: 1.02rem;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.callout .button {
  background: #fff;
  color: var(--primary);
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.callout .button:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================
 * PROSE
 * ========================================================== */
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose p, .prose ul, .prose ol { margin-bottom: 18px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose h2, .prose h3 {
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 14px;
  font-weight: 800;
}
.prose strong { color: var(--primary-dark); }

/* ==========================================================
 * TÍTULOS
 * ========================================================== */
.titulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 30px auto 0;
}
.titulos-year {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 900;
  text-align: center;
  padding: 18px 8px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(240, 110, 35, 0.25);
  letter-spacing: -0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.titulos-year:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 20px rgba(240, 110, 35, 0.4);
}
.titulos-year small {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.85;
  margin-top: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.titulos-year.featured {
  background: linear-gradient(135deg, var(--magenta), var(--magenta-dark));
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.35);
  position: relative;
}
.titulos-year.featured small { color: #ffd6e6; }

/* ==========================================================
 * STAT BANNER
 * ========================================================== */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 22px;
  margin: 36px 0;
  text-align: center;
  border: 1px solid var(--border);
}
.stats-banner > div {
  position: relative;
  padding: 0 8px;
}
.stats-banner > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border);
}
@media (max-width: 700px) {
  .stats-banner > div + div::before { display: none; }
}
.stats-banner .number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}
.stats-banner .label {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
}

/* ==========================================================
 * IMAGEM COM LEGENDA
 * ========================================================== */
figure.inline-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
}
figure.inline-figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}
figure.inline-figure figcaption {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic;
}

/* ==========================================================
 * UTILITÁRIOS
 * ========================================================== */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.center-narrow { max-width: 600px; margin: 0 auto; }
.muted-note { color: var(--muted); font-size: 0.9rem; }
.muted-note-center { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 20px; }

/* Scroll reveal (sutil, respeita prefers-reduced-motion) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
