/* ===========================================================
   LIDE Grande ABC — folha de estilos
   =========================================================== */

:root {
  --blue: #1948e1;
  --blue-dark: #123aad;
  --blue-text: #1e73be;
  --cream: #f4f2e9;
  --dark: #26272c;
  --gray-text: #4a4a4a;
  --border: #e3e0d5;
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

.section { padding: 64px 0; }

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue-text);
  margin: 0 0 32px;
  letter-spacing: .3px;
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-align: center;
}
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--blue); }
.btn-outline-blue { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-small { padding: 8px 16px; font-size: .85rem; }

/* =================== HEADER =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--blue);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 40px; width: auto; display: block; }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  transition: opacity .2s;
}
.main-nav a:hover { opacity: .75; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-switch { display: flex; gap: 8px; }
.lang-switch img { border-radius: 50%; width: 22px; height: 22px; object-fit: cover; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0c1f4d;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,30,90,.78) 0%, rgba(20,50,150,.55) 45%, rgba(20,50,150,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-badge {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-text h1 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 720px;
}
.hero-text p {
  color: #fff;
  font-size: 1.1rem;
  max-width: 420px;
  margin: 0;
}

/* =================== SOBRE =================== */
.sobre { background: #fff; }
.unidades {
  background: #f6f6f6;
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 48px;
}
.unidades p { color: var(--blue-text); font-size: 1rem; margin: 0 0 18px; }
.unidades p:last-child { margin-bottom: 0; }
.unidades strong { color: var(--blue); }

.bio-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.bio-row.reverse { flex-direction: row-reverse; }
.bio-text { flex: 1 1 60%; }
.bio-text p { color: var(--blue-text); margin: 0 0 16px; }
.bio-text strong { color: var(--blue); }
.bio-photo { flex: 0 0 320px; }
.bio-photo img { border-radius: 6px; width: 100%; height: auto; object-fit: cover; }

/* =================== EVENTOS =================== */
.eventos { background: var(--cream); }
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.evento-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.evento-imagem { overflow: hidden; background: #f0efe8; display: flex; align-items: center; justify-content: center; }
.evento-imagem img { width: 100%; height: auto; display: block; }
.evento-info { padding: 20px 22px 26px; }
.evento-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #26272c;
  margin: 0 0 12px;
  line-height: 1.35;
}
.evento-dado {
  margin: 0 0 6px;
  font-size: .92rem;
  color: var(--gray-text);
}
.evento-dado:last-child { margin-bottom: 0; }
.evento-label { font-weight: 700; color: var(--blue); }

/* =================== STATS =================== */
.stats { background: #fff; text-align: left; }
.stats-lead {
  font-size: 1.3rem;
  color: var(--gray-text);
  max-width: 760px;
  margin: 0 0 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.stat-box {
  border-top: 3px solid #1a1a1a;
  padding-top: 16px;
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: #1a1a1a;
  line-height: 1;
}
.stat-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: #1a1a1a;
  margin: 8px 0 10px;
}
.stat-box p { margin: 0; font-size: .95rem; color: #6b6b6b; }
.stats-cta { text-align: center; }

/* =================== NOTÍCIAS =================== */
.noticias { background: #fdfcf9; }
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.noticia-card a { display: block; }
.noticia-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 14px;
}
.noticia-cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.noticia-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #26272c;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}
.noticia-card a:hover h3 { color: var(--blue); }
.noticias-cta { text-align: center; margin-top: 40px; }

/* =================== PATROCINADORES / LOGOS =================== */
.patrocinadores { background: #fff; text-align: center; }
.logos-title {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #8a8a8a;
  text-transform: uppercase;
  margin: 56px 0 32px;
}
.patrocinadores .logos-title:first-child { margin-top: 0; }

.logos-grid {
  display: grid;
  gap: 40px 32px;
  align-items: center;
  justify-items: center;
}
.logos-grid-2 { grid-template-columns: repeat(2, minmax(120px, 180px)); }
.logos-grid-4 { grid-template-columns: repeat(auto-fit, minmax(120px, 160px)); }
.logos-grid-5 { grid-template-columns: repeat(auto-fit, minmax(110px, 150px)); }
.logos-grid-6 { grid-template-columns: repeat(auto-fit, minmax(100px, 140px)); }

/* efeito de hover: logo em preto/branco vira colorido */
.logo-swap {
  position: relative;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-swap img {
  position: absolute;
  max-width: 100%;
  max-height: 70px;
  width: auto;
  transition: opacity .35s ease;
}
.logo-swap .before { opacity: 1; }
.logo-swap .after { opacity: 0; }
.logo-swap:hover .before { opacity: 0; }
.logo-swap:hover .after { opacity: 1; }

/* =================== NEWSLETTER =================== */
.newsletter { background: var(--dark); padding: 56px 0; }
.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.newsletter h2 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  max-width: 420px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.newsletter-form input {
  background: transparent;
  border: 1px solid #555;
  color: #fff;
  padding: 12px 16px;
  border-radius: 3px;
  min-width: 260px;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: #999; }

/* =================== FOOTER =================== */
.site-footer { background: var(--dark); color: #c9c9c9; }
.footer-top { padding: 32px 0 24px; border-bottom: 1px solid #3a3b40; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.footer-nav a { font-size: .95rem; color: #d9d9d9; }
.footer-nav a:hover { color: #fff; }

.footer-mid {
  padding: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  border-bottom: 1px solid #3a3b40;
}
.footer-social span { display: block; margin-bottom: 14px; color: #fff; font-weight: 600; }
.social-icons { display: flex; gap: 14px; }
.social-icons a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #3a3b40;
  color: #fff;
  transition: background .2s;
}
.social-icons a:hover { background: var(--blue); }

.footer-contacts { text-align: right; }
.footer-contacts h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; letter-spacing: 1px; }
.footer-contacts p { margin: 0 0 6px; font-size: .9rem; }
.footer-contacts strong { color: #fff; }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: #fff; }

/* =================== FLUTUANTES =================== */
.whats-float {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 400;
  background: #fff;
  color: #26272c;
  border-radius: 30px;
  padding: 10px 18px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.whats-float img { border-radius: 50%; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--dark);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.back-to-top.show { display: flex; }

/* =================== COOKIE BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 600;
  background: rgba(235,235,235,.97);
  border-top: 1px solid #ccc;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  transform: translateY(0);
  transition: transform .3s ease;
}
.cookie-banner.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner p { margin: 0; font-size: .85rem; color: #333; max-width: 760px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* =================== RESPONSIVO =================== */
@media (max-width: 900px) {
  .bio-row, .bio-row.reverse { flex-direction: column; }
  .bio-photo { width: 100%; flex: none; }
  .footer-contacts { text-align: left; }
  .footer-mid { flex-direction: column; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .header-inner { justify-content: space-between; gap: 16px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--blue);
    display: none;
    padding: 12px 24px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .header-actions { gap: 12px; }
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-text h1 { font-size: 1.8rem; }
  .section { padding: 44px 0; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}

/* =================== PÁGINA DE NOTÍCIA (ARTIGO) =================== */
.post-hero {
  background: var(--blue);
  padding: 28px 0 8px;
}
.post-breadcrumb { color: rgba(255,255,255,.75); font-size: .85rem; }
.post-breadcrumb a { color: #fff; }
.post-breadcrumb a:hover { text-decoration: underline; }

.post-article { background: #fff; padding: 48px 0 72px; }
.post-cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.post-article h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  margin: 0 0 16px;
  max-width: 900px;
}
.post-lead {
  font-size: 1.15rem;
  color: var(--gray-text);
  max-width: 820px;
  margin: 0 0 28px;
}
.post-meta {
  font-size: .85rem;
  color: #8a8a8a;
  margin: 0 0 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
}
.post-figure { margin: 0 0 36px; }
.post-figure img { width: 100%; border-radius: 6px; }
.post-body { max-width: 820px; }
.post-body p { margin: 0 0 20px; font-size: 1.02rem; color: #333; }
.post-back { margin-top: 40px; }
