/*
Theme Name: Siner
Theme URI: https://www.siner.com.br
Author: Siner
Description: Tema institucional da SINER — paleta e padrões visuais extraídos da apresentação institucional (PPT Junho/2025). Leve, sem page builder, focado em performance.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: siner
*/

/* ==========================================================
   Design tokens — extraídos por amostragem de pixel do PPT
   institucional (SINER - PPT institucional - Junho 2025.pdf)
   ========================================================== */
:root {
  --red: #C00000;          /* vermelho institucional — barra, curva, onda */
  --red-light: #FF6B72;    /* tom claro do gradiente da onda/curva */
  --red-dark: #7A0000;     /* tom escuro para hover/gradiente */
  --ink: #111111;          /* títulos */
  --body: #3A3A3A;         /* texto de corpo */
  --muted: #6b6b6b;
  --white: #FFFFFF;
  --bg-light: #F7F7F7;
  --border: #E7E7E7;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* ========================================================== Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red-dark); }
ul { margin: 0; padding: 0; list-style: none; }
/* Conteúdo de página (WYSIWYG) precisa de marcadores reais — o reset acima é só para menus/UI */
.page-content ul:not(.check-list):not(.segments-list):not(.card-grid) {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.page-content ul:not(.check-list):not(.segments-list):not(.card-grid) li {
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

/* ========================================================== Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline:hover { background: var(--white); color: var(--red); }
.btn--outline-red { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline-red:hover { background: var(--red); color: var(--white); }

/* ========================================================== Heading eyebrow (barra vertical vermelha) */
.eyebrow-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.eyebrow-heading__bar {
  width: 5px;
  height: 32px;
  background: var(--red);
  border-radius: 2px;
  flex: none;
}
.eyebrow-heading h2, .eyebrow-heading h1 { margin: 0; }

/* ========================================================== Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.site-header__inner { position: relative; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 12px;
  padding-bottom: 12px;
  max-width: 1440px;
  gap: 24px;
}
.site-logo { display: flex; align-items: center; flex: none; align-self: center; }
.site-logo img { height: 34px; width: auto; display: block; }

.header-actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: none;
  align-self: stretch;
  margin-right: -24px; /* encosta o bloco vermelho na borda, como no site atual */
}
.header-actions__utils {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  border-left: 1px solid var(--border);
}
.header-search-toggle {
  background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--ink); display: flex; align-items: center;
}
.header-search-toggle:hover { color: var(--red); }
.header-social { display: flex; align-items: center; gap: 14px; }
.header-social a { color: var(--muted); display: flex; }
.header-social a:hover { color: var(--red); }
.header-social--mobile { display: none; }
.mobile-only-block { display: none; }
.btn-area-restrita {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 26px;
  white-space: nowrap;
  align-self: stretch;
  margin: -12px 0; /* compensa o padding vertical do header: bloco de altura total */
}
.btn-area-restrita:hover { background: var(--red-dark); color: var(--white); }

/* Modal de busca centralizado */
.search-modal {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 14vh 20px 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.search-modal.is-open { opacity: 1; visibility: visible; }
.search-modal__box {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 40px 40px 32px;
  width: 100%; max-width: 620px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  transform: translateY(-12px);
  transition: transform .25s ease;
}
.search-modal.is-open .search-modal__box { transform: translateY(0); }
.search-modal__close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); display: flex; padding: 6px; border-radius: 4px;
}
.search-modal__close:hover { color: var(--red); background: var(--bg-light); }
.search-modal__label {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 20px; color: var(--ink); margin-bottom: 18px;
}
.search-modal__form {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 6px 6px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-modal__form:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,0,0,.12); }
.search-modal__form svg { color: var(--muted); flex: none; }
.search-modal__form input[type="search"] {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: 16px; color: var(--ink); padding: 12px 0;
}
.search-modal__form .btn { flex: none; padding: 12px 24px; }
.search-modal__hint { display: block; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 600px) {
  .search-modal { padding: 10vh 16px 16px; }
  .search-modal__box { padding: 32px 22px 24px; }
  .search-modal__form { flex-wrap: wrap; padding: 10px 12px; }
  .search-modal__form .btn { width: 100%; justify-content: center; }
}

/* ========================================================== Contact Form 7 */
.wpcf7-form { max-width: 560px; }
.wpcf7-form p { margin: 0 0 20px; }
.wpcf7-form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 14.5px; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s ease;
}
.wpcf7-form-control.wpcf7-textarea { min-height: 130px; resize: vertical; }
.wpcf7-form-control.wpcf7-select { appearance: auto; cursor: pointer; }
.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,0,0,.12);
}
.wpcf7-form-control.wpcf7-file {
  display: block;
  font-size: 14px;
  color: var(--muted);
}
.wpcf7-form-control.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.wpcf7-form-control.wpcf7-submit:hover { background: var(--red-dark); border-color: var(--red-dark); }
.wpcf7-form-control.wpcf7-submit:disabled { opacity: .6; cursor: not-allowed; }
.wpcf7-not-valid-tip { display: block; color: var(--red); font-size: 13px; margin-top: 6px; }
.wpcf7-response-output {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 14.5px;
}
.wpcf7-mail-sent-ok { border-color: #2e7d32; color: #2e7d32; background: #f1f8f2; }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng { border-color: var(--red); color: var(--red); background: #fdf2f2; }
.wpcf7-spinner { margin-left: 8px; }

.main-nav ul { display: flex; gap: 24px; }
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav .current-menu-item a::after,
.main-nav .current_page_item a::after { transform: scaleX(1); }
.main-nav a:hover { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: .2s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}
.main-nav > ul { flex: 0 1 auto; justify-content: flex-end; }
.header-lang { display: flex; align-items: center; }

/* Telas intermediárias: esconde social do header (já está no rodapé e no menu mobile) */
@media (max-width: 1279px) and (min-width: 1051px) {
  .header-actions .header-social { display: none; }
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: 14px; }
}

@media (max-width: 1050px) {
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav a { display: block; padding: 16px 0; }
  .nav-toggle { display: block; }
  .header-actions { display: none; }
  .mobile-only-block { display: block; }
  .header-social--mobile { display: flex; padding: 20px 24px 24px; gap: 20px; }
  .header-lang { flex-basis: auto; justify-content: flex-start; order: 0; }
  .main-nav > ul { flex: none; }
}

/* ========================================================== Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 110px 0 130px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; max-width: 680px; }
.hero h1 { color: var(--white); }
.hero h1 em {
  font-style: normal;
  color: var(--red-light);
}
.hero p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 540px; }
.hero p a { color: rgba(255,255,255,.95); text-decoration: underline; }
.hero p a:hover { color: var(--white); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ========================================================== Hero slider (banners reais do site) */
.hero-slider { position: relative; height: 560px; max-height: 80vh; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease;
  display: flex; align-items: center;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__eyebrow {
  display: inline-block;
  color: var(--red-light);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}
.hero-slider .hero__inner { max-width: 680px; }
.hero-slider h1 { color: var(--white); }
.hero-slider p, .hero-slider .hero__cta { color: rgba(255,255,255,.9); }
.hero-slider__dots {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 10px; z-index: 2;
}
.hero-slider__dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent; padding: 0; cursor: pointer;
}
.hero-slider__dot.is-active { background: var(--red); border-color: var(--red); }
@media (max-width: 700px) { .hero-slider { height: 460px; } }

/* ========================================================== Check list (padrão "Valores" / "Escopo de Serviços" do PDF) */
.check-list { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.check-list__item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  background: var(--bg-light);
}
.check-list__item:nth-child(even) { background: #efefef; }
.check-list__item svg { flex: none; color: var(--red); }
.check-list__item span { font-weight: 600; font-size: 15px; color: var(--ink); }
.check-list--dark .check-list__item { background: var(--ink); }
.check-list--dark .check-list__item:nth-child(even) { background: #262626; }
.check-list--dark .check-list__item svg { color: var(--white); }
.check-list--dark .check-list__item span { color: var(--white); font-weight: 500; }
.check-list--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-radius: var(--radius); }
@media (min-width: 760px) {
  .check-list--grid.check-list--4col { grid-template-columns: repeat(4, 1fr); }
  .check-list--grid.check-list--3col { grid-template-columns: repeat(3, 1fr); }
}
.check-list--grid .check-list__item { background: transparent; }

/* ========================================================== Cards de obras clicáveis + lightbox */
.case-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.case-card:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.case-card__img { position: relative; display: block; }
.case-card__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.case-card__zoom {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(192,0,0,.92); color: var(--white);
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
}
.case-card__body { display: block; padding: 20px 22px 24px; }
.case-card__body strong { display: block; font-family: var(--font-heading); font-size: 19px; color: var(--ink); margin-bottom: 8px; line-height: 1.25; }
.case-card__body span { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10,10,10,.93);
  display: none; align-items: center; justify-content: center;
  padding: 32px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox__inner { max-width: 1000px; width: 100%; text-align: center; }
.lightbox__img { max-width: 100%; max-height: 68vh; margin: 0 auto; border-radius: 8px; display: block; }
.lightbox__caption { color: var(--white); margin-top: 18px; }
.lightbox__caption strong { display: block; font-family: var(--font-heading); font-size: 20px; margin-bottom: 6px; }
.lightbox__caption span { color: rgba(255,255,255,.8); font-size: 14.5px; }
.lightbox__counter { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 10px; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,.12); border: none; color: var(--white);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1;
  transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--red); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
  .lightbox__img { max-height: 55vh; }
}

/* ========================================================== Grid de produtos (foto + legenda, padrão do PDF) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 28px 0;
}
@media (min-width: 760px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__img {
  background: var(--bg-light);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.product-card__img img { max-height: 100%; width: auto; object-fit: contain; }
.product-card figcaption {
  padding: 16px 18px 20px;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.5;
}
.product-card figcaption strong { color: var(--ink); }
.product-card figcaption em { color: var(--muted); font-size: 13.5px; }

/* ========================================================== Faixa institucional com vídeo */
.video-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 72px 0;
  color: var(--white);
}
.video-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .video-band__grid { grid-template-columns: 1fr 1.15fr; gap: 56px; }
}
.video-band__text h2 { color: var(--white); margin-bottom: 20px; }
.video-band__text p { color: rgba(255,255,255,.92); margin-bottom: 18px; }
.video-band__text strong { color: var(--white); }
.video-band__text .btn { margin-top: 8px; }
.video-band .video-block { box-shadow: 0 24px 60px rgba(0,0,0,.35); margin: 0; max-width: none; }

/* ========================================================== Vídeo institucional */
.video-block {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
  background: #000;
}
.video-block video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-block__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(192,0,0,.92);
  border: 4px solid rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
  padding: 0;
}
.video-block__play svg { margin-left: 4px; }
.video-block__play:hover { transform: scale(1.08); background: var(--red); }
.video-block.is-playing .video-block__play { display: none; }
@media (max-width: 700px) { .video-block__play { width: 68px; height: 68px; } .video-block__play svg { width: 26px; height: 26px; } }

/* ========================================================== Segments tag list */
.segments-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.segments-list__tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
}

/* ========================================================== Stats strip */
.stats {
  background: var(--red);
  color: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 0;
  text-align: center;
}
.stats__value { font-family: var(--font-heading); font-size: 34px; font-weight: 800; }
.stats__label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .9; margin-top: 4px; }
@media (max-width: 700px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }

/* ========================================================== Content block (padrão "Quem Somos" do PDF) */
.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .content-block { grid-template-columns: 1fr 1fr; }
  .content-block--reverse .content-block__media { order: 2; }
  .content-block--reverse .content-block__text { order: 1; }
}
.content-block__media {
  position: relative;
  padding: 0 0 28px 28px;
}
.content-block__media::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 70%;
  height: 60%;
  background: var(--red);
  border-radius: var(--radius) 0 var(--radius) var(--radius);
  z-index: 0;
}
.content-block__media img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.content-block__text strong { color: var(--ink); }

/* ========================================================== Cards (Produtos / Serviços) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
@media (min-width: 760px) {
  .card-grid--3col { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }
.card__thumb { display: block; }
.card__thumb img,
.card__thumb-fallback {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.card__thumb-fallback {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

/* Paginação de arquivo/blog */
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  margin: 0 3px; border-radius: 4px;
  color: var(--red); font-weight: 600; font-size: 14px;
}
.page-numbers:hover { background: var(--bg-light); }
.page-numbers.current { background: var(--red); color: var(--white); }
.page-numbers.dots { color: var(--muted); }

/* ========================================================== CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 28px; }

/* ========================================================== Footer + onda vermelha */
.site-footer { background: transparent; color: rgba(255,255,255,.75); position: relative; }
.footer-wave { display: block; width: 100%; height: auto; margin-bottom: -6px; }
.footer-main {
  background: var(--red);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1.3fr;
  gap: 32px;
  color: rgba(255,255,255,.92);
}
.footer-grid h4 { color: var(--white); font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-grid a { color: rgba(255,255,255,.85); }
.footer-grid a:hover { color: var(--white); }
.footer-grid li { margin-bottom: 10px; font-size: 14.5px; }
.footer-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer-units .footer-unit { margin-bottom: 22px; }
.footer-units .footer-unit:last-child { margin-bottom: 0; }
.footer-units .footer-unit strong { display: block; color: var(--white); font-size: 14px; margin-bottom: 5px; }
.footer-units .footer-unit span { display: block; font-size: 14px; color: rgba(255,255,255,.88); margin-bottom: 8px; line-height: 1.55; }
.footer-unit__map {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 2px;
}
.footer-unit__map:hover { color: var(--white); border-bottom-color: var(--white); }
.footer-tagline { color: rgba(255,255,255,.85); font-style: italic; margin: 12px 0 16px; }
.footer-main .header-social a { color: rgba(255,255,255,.85); }
.footer-main .header-social a:hover { color: var(--white); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-bottom-wrap { background: #8a0000; }
.footer-bottom {
  padding: 16px 0;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.8); }
.footer-bottom a:hover { color: var(--white); }

/* ========================================================== WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: 15px; right: 15px;
  width: 50px; height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  z-index: 200;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 700px) { .whatsapp-float { bottom: 10px; right: 10px; } }

/* ========================================================== GTranslate inline flags widget */
.gtranslate_wrapper { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
@media (max-width: 900px) {
  .header-lang { padding: 20px 24px; border-top: 1px solid var(--border); margin-top: 8px; }
  .gtranslate_wrapper { gap: 8px; }
}

/* ========================================================== Utilities */
.mt-0 { margin-top: 0; }
.section-header { max-width: 640px; margin: 0 auto 48px; }
.section-header.text-center .eyebrow-heading { justify-content: center; }
