/* ============================================================
   COAPH – Institutional Website
   Stack: HTML5 + CSS3 + Vanilla JS
   ============================================================ */

:root {
  --red:       #96020f;
  --red-dark:  #7a010c;
  --red-light: #f4e5e8;
  --gray-100:  #f7f7f7;
  --gray-200:  #ebebeb;
  --gray-400:  #aaa;
  --gray-600:  #666;
  --gray-800:  #333;
  --white:     #ffffff;
  --font-display: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --radius:    18px;
  --navbar-h:  57px;
}

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

html { scroll-behavior: smooth; font-size: 20.2px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  padding-top: 129px; /* topbar 72px + navbar 57px, ambos fixed */
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── SECTION BASE ─────────────────────────────────── */
.section { padding: 72px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--red);
  text-align: center;
  margin-bottom: 20px;
}

/* ─── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--outline-red:hover { background: var(--red); color: var(--white); }

.btn--outline-dark {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-800);
}
.btn--outline-dark:hover { background: var(--gray-800); color: var(--white); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover { background: var(--white); color: var(--red); }

.btn--full { width: 100%; text-align: center; }

/* ─── TOP BAR ──────────────────────────────────────── */
.topbar {
  background: var(--red);
  height: 72px;
  min-height: 72px;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 1.20s cubic-bezier(.22,1,.36,1);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 72px;
}

.topbar__logo { display: flex; align-items: center; flex-shrink: 0; }

.topbar__logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}

.topbar__search {
  flex: 1;
  max-width: 640px;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 40px;
  overflow: hidden;
  padding: 0 20px;
  gap: 10px;
  height: 44px;
}
.topbar__search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: .9rem;
  padding: 10px 0;
  color: var(--gray-800);
  background: transparent;
}
.topbar__search button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  display: flex;
  align-items: center;
}

.topbar__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}
.topbar__action-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  text-decoration: none;
  transition: background .2s ease, transform .18s ease, border-color .2s ease;
}
.topbar__action-icon-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.topbar__action-icon-btn:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.32);
  transform: scale(1.06);
}

/* Menu do usuário (avatar), injetado via main.js quando logado */
.topbar__user {
  position: relative;
  display: flex;
  align-items: center;
}

.topbar__user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 190px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 200;
  overflow: hidden;
}

.topbar__user:hover .topbar__user-menu,
.topbar__user:focus-within .topbar__user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.topbar__user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14.3px;
  color: var(--gray-600);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.topbar__user-menu-item svg { flex-shrink: 0; }
.topbar__user-menu-item:hover {
  background: var(--red);
  color: var(--white);
}

/* ─── NAVBAR ───────────────────────────────────────── */
.navbar {
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 99;
  transform: translateY(0);
  transition: transform 1.20s cubic-bezier(.22,1,.36,1);
}
.navbar--hidden {
  transform: translateY(calc(-100% - 72px));
}

.topbar--shadowed {
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-h);
  position: relative;
}

.navbar__menu {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: flex-start;
}

.navbar__menu > li {
  position: relative;
}

.navbar__menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14.2px;
  font-weight: 500;
  color: var(--gray-800);
  border-radius: 4px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.navbar__menu > li > a:hover,
.navbar__menu > li.active > a {
  color: var(--red);
  background: var(--red-light);
}

.navbar__menu .arrow {
  font-size: .65rem;
  opacity: .6;
  transition: transform .2s;
}
.navbar__menu li:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  z-index: 200;
  overflow: hidden;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 14.3px;
  color: var(--gray-600);
  transition: background .18s, color .18s, padding-left .18s;
}
.dropdown li a:hover {
  background: var(--red);
  color: var(--white);
  padding-left: 24px;
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 16px;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── BOTTOM NAV (mobile) ──────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  padding-bottom: env(safe-area-inset-bottom, 0);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.bottom-nav::-webkit-scrollbar { display: none; }

.bottom-nav__item {
  flex: 0 0 21.7%;
  min-width: 78px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 13px 5px 11px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--gray-400);
  cursor: pointer;
  transition: color .18s;
}
.bottom-nav__item svg { width: 21px; height: 21px; flex-shrink: 0; stroke-width: 2.1; }
.bottom-nav__item span {
  display: block;
  min-height: 2.4em;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}
.bottom-nav__item.active { color: var(--red); font-weight: 700; }
.bottom-nav__item.active svg { stroke-width: 2.4; }

/* ─── BOTTOM SHEET "Mais" (mobile) ─────────────────── */
.bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
  pointer-events: none;
}
.bottom-sheet.open { visibility: visible; pointer-events: auto; }

.bottom-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .25s ease;
}
.bottom-sheet.open .bottom-sheet__backdrop { opacity: 1; }

.bottom-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 28px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-sheet.open .bottom-sheet__panel { transform: translateY(0); }

.bottom-sheet__handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
  margin: 12px auto 4px;
  flex-shrink: 0;
}

.bottom-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 14px;
  flex-shrink: 0;
}
.bottom-sheet__header span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gray-800);
}
.bottom-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--gray-600);
  cursor: pointer;
}

.bottom-sheet__body {
  overflow-y: auto;
  padding: 0 20px 24px;
}
.bottom-sheet__group-label {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--red);
  margin: 20px 0 4px;
}
.bottom-sheet__link {
  display: block;
  padding: 12px 4px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
}
.bottom-sheet__link:active { background: var(--gray-100); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  background: #f0eded;
  min-height: 580px;
}

.hero__track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  min-height: 580px;
  width: 100%;
  display: flex;
  overflow: hidden;
  transform: translateX(100%);
  pointer-events: none;
  background: var(--red-dark);
}
.hero__slide.active {
  transform: translateX(0);
  pointer-events: auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Diagonal decorative shapes matching REF */
.hero__shape {
  position: absolute;
  top: 0;
  width: 180px;
  height: 100%;
}

.hero__shape--left {
  left: 0;
  background: var(--red);
  clip-path: polygon(0 0, 60% 0, 100% 100%, 0 100%);
  opacity: .12;
}

.hero__shape--right {
  right: 0;
  background: var(--red);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .12;
}

.hero::before, .hero::after { display: none; }

.hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.hero__text { max-width: 440px; }

.hero__label {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 10px;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
}

.hero__image { flex-shrink: 0; }
.hero__image-placeholder { border-radius: var(--radius); overflow: hidden; }

/* Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--gray-800);
  transition: background .2s;
}
.hero__arrow:hover { background: var(--red); color: var(--white); }
.hero__arrow--prev { left: 28px; }
.hero__arrow--next { right: 28px; }

.hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.2);
  cursor: pointer;
  transition: background .2s;
}
.hero__dot.active { background: var(--red); }

/* ─── QUEM SOMOS ────────────────────────────────────── */
.quem-somos__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.quem-somos__text {
  text-align: justify;
}

.quem-somos__text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* ─── COOPERADO ─────────────────────────────────────── */
.cooperado {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.cooperado__bg-placeholder {
  position: absolute;
  inset: 0;
}

.cooperado__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}

.cooperado__inner {
  position: relative;
  z-index: 2;
  padding: 72px 0;
}

.cooperado__content {
  max-width: 520px;
  color: var(--white);
}

.cooperado__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cooperado__content p {
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: .9;
}

.cooperado__content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 28px;
  font-size: .9rem;
  opacity: .9;
  line-height: 1.8;
}

/* ─── NÚMEROS ───────────────────────────────────────── */
.numeros { background: var(--white); }

.numeros__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.numeros__card {
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}
.numeros__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.numeros__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 4px;
}

.numeros__card strong {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--red);
}

.numeros__card span {
  font-size: .82rem;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.4;
}

/* ─── VALORES ───────────────────────────────────────── */
.valores { background: var(--white); }

.valores__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.valores__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: opacity .5s ease;
}

.valores__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.valores__title {
  display: none;
}

.valores__item p {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 220px;
  line-height: 1.5;
}

/* ─── NOTÍCIAS ──────────────────────────────────────── */
.noticias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.noticias__card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow .25s, transform .25s;
}
.noticias__card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.13); transform: translateY(-4px); }

.noticias__thumb { position: relative; overflow: hidden; }
.noticias__thumb svg,
.noticias__img-placeholder { display: block; width: 100%; }

.noticias__img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.noticias__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.noticias__tag--dark { background: #1a1a1a; color: #fff; }
.noticias__tag--gray { background: #555;    color: #fff; }
.noticias__tag--red  { background: var(--red); color: #fff; }

.noticias__body {
  padding: 24px 22px 20px;
  text-align: center;
}

.noticias__body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--red);
}

.noticias__link {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--red);
  border-radius: 20px;
  padding: 6px 18px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.noticias__link:hover { background: var(--red); color: #fff; }

.noticias__meta {
  font-size: .74rem;
  color: var(--gray-400);
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}

.noticias__more {
  text-align: center;
  margin-top: 44px;
}
.noticias__more-btn {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.noticias__more-btn:hover { background: #333; border-color: #333; }

/* ─── MAPA ──────────────────────────────────────────── */
.mapa {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.mapa__placeholder {
  position: relative;
  width: 100%;
  height: 400px;
  cursor: pointer;
  overflow: hidden;
}
.mapa__placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.mapa__placeholder:hover .mapa__placeholder-img { transform: scale(1.02); }
.mapa__placeholder-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  pointer-events: none;
  transition: box-shadow .2s;
}
.mapa__placeholder:hover .mapa__placeholder-btn { box-shadow: 0 6px 28px rgba(0,0,0,.25); }
.mapa__iframe {
  display: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.mapa__iframe.visible {
  display: block;
  opacity: 1;
}

/* ─── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--red);
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.footer__col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .02em;
}

.footer__col ul li {
  margin-bottom: 8px;
}
.footer__col ul li a {
  font-size: .88rem;
  opacity: .85;
  transition: opacity .2s;
}
.footer__col ul li a:hover { opacity: 1; }

.footer__col p,
.footer__col a {
  font-size: .84rem;
  opacity: .85;
  line-height: 1.6;
  display: block;
  margin-bottom: 6px;
}
.footer__col a:hover { opacity: 1; }

.footer__address {
  font-size: .78rem !important;
  opacity: .7 !important;
  margin-top: 8px;
  line-height: 1.6 !important;
}

.footer__logo-mark { margin-top: 24px; }

.footer__logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: .85;
}

/* Newsletter */
.footer__newsletter .newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter__form input[type="text"],
.newsletter__form input[type="email"] {
  padding: 10px 14px;
  border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .85rem;
  outline: none;
  transition: border-color .2s;
}
.newsletter__form input::placeholder { color: rgba(255,255,255,.6); }
.newsletter__form input:focus { border-color: rgba(255,255,255,.8); }

.newsletter__check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .78rem;
  opacity: .85;
  cursor: pointer;
  line-height: 1.4;
}
.newsletter__check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }

.newsletter__feedback { font-size: .78rem; margin: -2px 0 0; line-height: 1.4; }
.newsletter__feedback.ok  { color: #86efac; }
.newsletter__feedback.err { color: #fca5a5; }
.newsletter__form button:disabled { opacity: .65; cursor: default; }

.footer__newsletter .btn--red {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.footer__newsletter .btn--red:hover {
  background: var(--red-light);
  border-color: var(--red-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
  padding: 18px 24px;
  font-size: .8rem;
  opacity: .7;
}

/* ─── WHATSAPP FLOAT ────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
}

/* ─── LIGHTBOX ──────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  cursor: zoom-out;
}
.lightbox__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox__img {
  max-width: 80vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  transition: opacity .2s ease;
}
.lightbox__img.fade { opacity: 0; }

.lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  z-index: 2;
}
.lightbox__arrow:hover { background: rgba(255,255,255,.25); }
.lightbox__arrow--prev { left: -60px; }
.lightbox__arrow--next { right: -60px; }

.lightbox__thumbs {
  display: flex;
  gap: 10px;
}
.lightbox__thumb {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: .5;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.lightbox__thumb.active,
.lightbox__thumb:hover { opacity: 1; border-color: #fff; }

.about__img { cursor: pointer; }

/* ─── ANIMATIONS ────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__headline { animation: fadeInUp .6s ease both; }
.hero__text .btn { animation: fadeInUp .6s .15s ease both; }

.numeros__card,
.valores__item,
.noticias__card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease;
}
.numeros__card.visible,
.valores__item.visible,
.noticias__card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── PAGE LOAD ─────────────────────────────────────── */
@keyframes anim-slide-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes anim-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.topbar     { animation: anim-slide-down .55s cubic-bezier(.22,1,.36,1) both; }
.navbar     { animation: anim-fade-in .55s .1s ease both; }
.marquee    { animation: anim-fade-in .5s .32s ease both; }
.page-header,
.sedes-hero,
.etica-hero,
.blog-hero,
.nep-banner { animation: anim-fade-in .7s .18s ease both; }

/* Hero (.top-banner): a imagem do slide 1 e' a candidata a LCP, entao nao
   pode nascer com opacity:0 — o Lighthouse costuma falhar em registrar o
   LCP quando o elemento so fica totalmente visivel depois de uma animacao.
   O fade-in fica restrito ao texto/overlay e aos controles do carrossel;
   a imagem renderiza em opacity:1 desde o primeiro paint. */
.top-banner__content,
.top-banner__arrow,
.top-banner__dots { animation: anim-fade-in .5s .15s ease both; }
.page-header__title { animation: fadeInUp .6s .25s ease both; }
.page-header__breadcrumb { animation: fadeInUp .6s .15s ease both; }

/* ─── SCROLL REVEAL ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal--left  { transform: translateX(-36px); }
.reveal--right { transform: translateX(36px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}


/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .numeros__grid { grid-template-columns: repeat(2, 1fr); }
  .valores__grid { grid-template-columns: repeat(2, 1fr); }
  .noticias__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__newsletter { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .topbar__search { display: none; }

  .navbar__menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
    gap: 0;
    z-index: 200;
  }
  .navbar__menu.open { display: flex; }

  .navbar__menu > li > a { padding: 12px 24px; border-radius: 0; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--gray-200);
    border-radius: 0;
    display: none;
  }
  .has-dropdown.open .dropdown { display: block; }

  /* Navegação mobile é a bottom nav; a navbar branca some junto com o menu sanduíche. */
  .navbar { display: none; }
  .navbar__burger { display: none; }
  .navbar__inner { justify-content: flex-start; padding-left: 16px; }

  body { padding-top: 72px; padding-bottom: 76px; }
  .bottom-nav { display: flex; }

  /* Sobe o botão do WhatsApp pra não ficar em cima da bottom nav. */
  .whatsapp-float {
    bottom: calc(76px + env(safe-area-inset-bottom, 0) + 16px);
    right: 16px;
    width: 54px;
    height: 54px;
  }

  .hero__content { flex-direction: column; padding: 48px 0; text-align: center; }
  .hero__image { display: none; }
  .hero::before, .hero::after { display: none; }

  .valores__grid { grid-template-columns: 1fr; gap: 32px; }
  .noticias__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .numeros__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .numeros__card { padding: 20px 12px; }
}

/* ============================================================
   NEW LAYOUT — Reference-inspired redesign
   ============================================================ */

/* ─── SECTION LABEL ─────────────────────────────────── */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

/* ─── HERO — visual side + desc + dual CTA ──────────── */
.hero__desc {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__cta-link {
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  transition: color .2s;
}
.hero__cta-link:hover { color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-weight: 700;
}
.btn--white:hover { background: rgba(255,255,255,.88); }
.hero__visual {
  flex-shrink: 0;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero__visual-box {
  width: 360px;
  height: 360px;
  background: rgba(255,255,255,.07);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}

/* ─── TOP BANNER ROTATIVO ───────────────────────────── */
.top-banner {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 660px;
  cursor: grab;
}
.top-banner__content { cursor: grab; }
.top-banner__content p,
.top-banner__content h1,
.top-banner__content h2,
.top-banner__content h3,
.top-banner__content span { cursor: text; }
.top-banner__content a,
.top-banner__content .top-banner__cta { cursor: pointer; }
/* Altura mobile fica no bloco "TOP BANNER — layout mobile" mais abaixo:
   no celular a foto vira uma faixa fixa no topo e o conteudo flui abaixo
   dela (nao mais sobreposto), entao a altura total varia com o texto. */

.top-banner__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.top-banner__slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  overflow: hidden;
  z-index: 0;
}
.top-banner__slide.active {
  transform: translateX(0);
  z-index: 2;
}
.top-banner__slide picture {
  position: absolute;
  inset: 0;
  display: block;
}
.top-banner__slide svg,
.top-banner__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.top-banner__slide img.img--align-right {
  object-position: right center;
}


/* Banner text overlay */
.top-banner__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.top-banner__content .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.top-banner__content--dark .top-banner__subtitle { color: var(--red); }
.top-banner__content--dark .top-banner__title    { color: var(--red); }
.top-banner__content--light .top-banner__subtitle { color: rgba(255,255,255,.85); }
.top-banner__content--light .top-banner__title    { color: #fff; }

.top-banner__subtitle {
  font-size: .95rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: .01em;
}
.top-banner__subtitle--spaced {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.top-banner__title {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 16px;
  max-width: 560px;
}
.top-banner__title--xl {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.top-banner__btn {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid #fff;
  border-radius: 100px;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: background .2s, color .2s;
  backdrop-filter: blur(2px);
}
.top-banner__btn:hover {
  background: #fff;
  color: var(--red);
}

/* ── Banner desc ── */
.top-banner__desc {
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 400px;
}
.top-banner__desc--dark { color: #333; }
.top-banner__content--light .top-banner__desc { color: rgba(255,255,255,.82); }

/* ── Slide 1 estilo ── */
.tb1__subtitle {
  color: var(--gray-800) !important;
  font-weight: 900;
  letter-spacing: .04em;
}
.tb1__title {
  color: var(--gray-800) !important;
}
.tb1__title span { color: var(--red); }

/* ── Slide 1 CTA ── */
.top-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
  max-width: 300px;
  line-height: 1.4;
  transition: background .2s;
}
.top-banner__cta:hover { background: var(--red-dark); }
.top-banner__cta--white { background: #fff; color: #96020F; }
.top-banner__cta--white:hover { background: rgba(255,255,255,.85); }
.top-banner__cta-icon { flex-shrink: 0; color: #f5c518; font-size: 1.1rem; margin-top: 1px; }
.top-banner__cta svg { width: 17px; height: 17px; flex-shrink: 0; }
.top-banner__link svg { width: 17px; height: 17px; flex-shrink: 0; }
.tb2__icon { width: 52px !important; height: 52px !important; display: block; margin-bottom: 14px; }

/* ── Slide 2 stats ── */
.top-banner__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.top-banner__stat { display: flex; flex-direction: column; gap: 2px; }
.top-banner__stat strong { font-size: 1.2rem; font-weight: 800; color: #fff; }
.top-banner__stat span  { font-size: .72rem; color: rgba(255,255,255,.7); }
.top-banner__stat-divider {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.28);
  flex-shrink: 0;
}

/* ── Slide 2 espaçamentos ── */
.top-banner__content--light .top-banner__subtitle { margin-bottom: 14px; }
.top-banner__content--light .top-banner__title    { margin-bottom: 22px; }
.top-banner__content--light .top-banner__desc     { margin-bottom: 22px; }

/* ── Slide 2 link ── */
.top-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.top-banner__link:hover { color: #fff; }

/* ── Slide 3 layout ── */
.tb3 {
  flex-direction: column !important;
  align-items: stretch !important;
}
.tb3__main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 32px 0 20px;
}
.tb3__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.tb3__left {
  flex-shrink: 0;
  width: 300px;
  padding-right: 36px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.tb3__left .top-banner__title  { margin-bottom: 10px; }
.tb3__left .top-banner__desc   { font-size: .82rem; margin-bottom: 18px; max-width: none; }
.tb3__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,.6);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: .76rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  transition: background .2s;
}
.tb3__cta:hover { background: rgba(255,255,255,.12); }
.tb3__cta span { font-size: 1.1rem; font-weight: 700; flex-shrink: 0; }
.tb3__features {
  display: flex;
  gap: 0;
  flex: 1;
}
.tb3__feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,.15);
}
.tb3__feature:first-child { border-left: none; padding-left: 0; }
.tb3__feature-icon {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.tb3__feature-text h4 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.tb3__feature-text p {
  font-size: .76rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
.tb3__footer {
  background: rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 24px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* No mobile a foto (recorte vertical em assets/banners/inicio/rotativos/mobile/)
   ja vem com o fade pra cor solida embutido na propria arte, entao o texto
   fica sobreposto direto nela (mesma logica do desktop), so que ancorado
   embaixo — na parte da foto que ja virou cor solida — em vez de centralizado. */
@media (max-width: 768px) {
  /* Altura padrao, igual pros 3 slides — mesmo o slide 1 (menos texto)
     usa essa altura, de proposito, pra nao ter card "pulando" de tamanho
     de um slide pro outro. */
  .top-banner { height: 700px; }

  .top-banner__slide img.img--align-right { object-position: top center; }

  .top-banner__content {
    align-items: flex-end;
    padding: 14px 0 48px;
  }
  /* Slide 1 tem bem menos texto que os outros dois; com a mesma altura
     padrao, ancorado so no fundo ele sobra vazio demais em cima. Empurra
     o bloco de texto mais pra cima. */
  .top-banner__content--dark { padding-bottom: 72px; }
  /* So' o slide 3 (nao o 2, que usa o mesmo --light) sobe um pouco mais. */
  .tb3__content { padding-bottom: 64px; }
  .top-banner__content .container {
    max-width: 100%;
    padding: 0 28px;
    align-items: center;
    text-align: center;
  }
  .top-banner__desc { max-width: none; }
  .top-banner__stats { justify-content: center; }
  .top-banner__link { text-align: left; }

  /* Os <br> dos titulos foram pensados pra coluna estreita do desktop
     (texto ao lado da foto); no mobile, centralizado e usando a largura
     toda, eles deixam linhas curtas e desalinhadas. Solta o texto pra
     quebrar sozinho e preencher a largura disponivel. */
  .top-banner__title br { display: none; }

  /* Line-height/margens do desktop foram pensadas pra titulo curto de 1-2
     linhas; no mobile o texto quebra em mais linhas e fica com cara de
     bloco colado se nao respirar mais. */
  .top-banner__subtitle { margin-bottom: 10px; }
  /* "--spaced" foi feito pro subtitulo curto do slide 2 (que agora fica ao
     lado do icone); no slide 3 o texto e uma frase inteira e com nowrap
     estoura a largura da tela. */
  .top-banner__subtitle--spaced { white-space: normal; }
  /* Frase decorativa do slide 3 so' cabe bem na coluna estreita do
     desktop; no mobile, empilhada e maior, fica so' ocupando espaco. */
  .tb3__subtitle { display: none; }
  .top-banner__title { line-height: 1.22; margin-bottom: 16px; }
  .top-banner__desc { line-height: 1.35; margin-bottom: 20px; }

  /* Icone + "COMUNICADO IMPORTANTE" lado a lado em vez de empilhados —
     ocupa bem menos altura. */
  .tb2__icon-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .tb2__icon-row .top-banner__subtitle { margin-bottom: 0; white-space: normal; }
  .tb2__icon { width: 26px !important; height: 26px !important; margin-bottom: 0; flex-shrink: 0; }
  /* Reduz o espaco entre o titulo e a descricao so' pro slide 2: como o
     bloco de texto e ancorado no fundo, encolher esse espaco empurra o
     icone+"comunicado"+titulo pra baixo (mais perto da descricao) sem
     mexer na posicao da descricao/botao. */
  .top-banner__content--light .tb2__title { margin-bottom: 12px; }

  /* Slide 3 tem bloco de estatisticas + link alem do texto normal; sem
     compactar isso a altura do card explode. */
  .top-banner__stats { gap: 18px; margin-bottom: 16px; }
  .top-banner__stat { gap: 0; }
  .top-banner__stat strong { font-size: 1.05rem; line-height: 1.15; }
  .top-banner__stat span { font-size: .68rem; line-height: 1.25; }
  .top-banner__link { font-size: .76rem; }

  /* Setas prev/next foram desenhadas pra ficar centralizadas sobre a foto
     inteira (top:50% de um banner curto); num banner mais alto isso cai
     longe demais do conteudo. No mobile ja da pra arrastar e usar os dots,
     entao as setas somem. */
  .top-banner .top-banner__arrow { display: none; }

  .top-banner__dots { bottom: 18px; }
  /* Dots brancos (padrao) leem bem sobre o vermelho dos slides --light;
     sobre o slide --dark (fundo que vira branco) precisam de contraste escuro. */
  .top-banner:has(.top-banner__slide.active .top-banner__content--dark) .top-banner__dot {
    border-color: rgba(0,0,0,.28);
  }
  .top-banner:has(.top-banner__slide.active .top-banner__content--dark) .top-banner__dot.active {
    background: var(--red);
    border-color: var(--red);
  }
}
@media (max-width: 1024px) {
  .tb3__inner { flex-direction: column; gap: 20px; }
  .tb3__left { width: 100%; border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 16px; }
  .tb3__features { flex-direction: column; }
  .tb3__feature { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
  .tb3__feature:first-child { border-top: none; padding-top: 0; }
}

.top-banner__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.35);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(8px);
}
.top-banner__arrow:hover { background: rgba(0,0,0,.55); border-color: rgba(255,255,255,.5); }
.top-banner__arrow--prev { left: 24px; }
.top-banner__arrow--next { right: 24px; }

.top-banner__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.top-banner__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  background: transparent;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
  padding: 0;
}
.top-banner__dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.25);
}

/* ─── MARQUEE ────────────────────────────────────────── */
.marquee {
  background: var(--red);
  overflow: hidden;
}
.marquee__inner {
  display: flex;
  height: 54px;
  align-items: center;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: marquee-scroll 30s linear infinite;
  white-space: nowrap;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee__item {
  color: rgba(255,255,255,.88);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.marquee__sep { color: rgba(255,255,255,.35); font-size: .7rem; }

/* ─── ABOUT / QUEM SOMOS ─────────────────────────────── */
.about { padding: 96px 0; background: var(--white); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about__img { position: relative; border-radius: 16px; overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__img--tall  { height: 260px; }
.about__img--short { height: 185px; }

/* ─── ABOUT — random image fader ───────────────────────── */
.about__fader {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 459px;
  background: var(--gray-200);
}
.about__fader-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}
.about__fader-img.active { opacity: 1; }

.about__headline {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-800);
  margin-bottom: 20px;
}
.about__headline span { color: var(--red); }
.about__text {
  font-size: .94rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
}
.about__stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.about__stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
  font-family: var(--font-display);
  line-height: 1;
}
.about__stat span {
  display: block;
  font-size: .76rem;
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 4px;
}

/* ─── SERVICES / VALORES CARDS ───────────────────────── */
.services { padding: 48px 0 96px; background: var(--gray-100); }
.services__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 32px;
}
.services__header-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.services__header-left .services__view-all { margin-top: 16px; }
.services__header-img {
  flex-shrink: 0;
  width: 720px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
}
.services__header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.services__headline {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.2;
  max-width: 480px;
}
.services__headline span { color: var(--red); }
.services__view-all {
  color: var(--red);
  font-weight: 700;
  font-size: .86rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.services__view-all:hover { gap: 8px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(150,2,15,.1);
}
.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.service-card__desc {
  font-size: .86rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 22px;
}
.service-card__link {
  font-size: .84rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.service-card__link:hover { gap: 8px; }

/* ─── PROCESS / COMO FUNCIONA ────────────────────────── */
.process {
  padding: 96px 0;
  background: url('assets/banners/inicio/Nosso Processo Comprovado/WEB-1920-x-580-Seja-um-cooperado-vermelho-2-copiar.webp') center/cover no-repeat;
}
.process__top { margin-bottom: 60px; }
.process__top .section-label { color: rgba(255,255,255,.75); }
.process__headline {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  margin-top: 8px;
}
.process__headline span { color: rgba(255,255,255,.65); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 29px;
  left: calc(12.5% + 29px);
  right: calc(12.5% + 29px);
  height: 2px;
  background: rgba(255,255,255,.25);
  z-index: 0;
}
.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.process__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red-dark);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  isolation: isolate;
}
.process__num {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red-dark);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.35);
}
.process__step h4 {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}
.process__step p {
  font-size: .82rem;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}

/* ─── NOTICIAS header ────────────────────────────────── */
.noticias { padding: 96px 0; background: var(--gray-100); }
.noticias__header {
  text-align: center;
}
.noticias__headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-800);
}
.noticias__headline span { color: var(--red); }

/* ─── RESPONSIVE additions ───────────────────────────── */
@media (max-width: 1024px) {
  .hero__visual { width: 320px; }
  .hero__visual-box { width: 290px; height: 290px; }
}
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__images { display: none; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .process__steps::before { display: none; }

  .services__header { flex-direction: column; align-items: center; }
  .services__header-img { width: 100%; height: auto; aspect-ratio: 16 / 6; }
}
@media (max-width: 680px) {
  .hero__visual { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services__header { flex-direction: column; align-items: center; }

  .about__stats { flex-wrap: nowrap; gap: 16px; }
  .about__stat strong { font-size: 1.4rem; }
  .about__stat span { font-size: .68rem; }

  /* Conteudo abaixo do hero centralizado no mobile (titulo do hero
     em si fica de fora dessa regra — ver .pre-hero/.gv-hero) */
  .about { padding-top: 56px; }
  .about__content { text-align: center; }
  .about__text { margin-left: auto; margin-right: auto; }
  .about__stats { justify-content: center; }

  .services__header-left { align-items: center; text-align: center; }
  .services__headline { margin-left: auto; margin-right: auto; }

  .process { padding-top: 56px; }
  .process__top { text-align: center; }

  .noticias { padding-top: 56px; }
}

/* ============================================================
   PÁGINAS INTERNAS — componentes compartilhados
   ============================================================ */

/* ─── PAGE HEADER (banner de topo das páginas internas) ──── */
.page-header {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-header__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(150,2,15,.88), rgba(20,20,20,.78));
}
.page-header__inner { position: relative; z-index: 2; }
.page-header__breadcrumb {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  margin-bottom: 14px;
}
.page-header__breadcrumb a { color: #fff; font-weight: 600; }
.page-header__breadcrumb a:hover { text-decoration: underline; }
.page-header__breadcrumb span { margin: 0 8px; opacity: .55; }
.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.page-header__subtitle {
  font-size: .98rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  max-width: 680px;
  animation: fadeInUp .6s .3s ease both;
}

/* ─── ABOUT — variação 2 fotos preenchendo a coluna ──────── */
.about--stretch .about__inner { align-items: stretch; }
.about__images--duo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.about__images--duo .about__img { flex: 1; border-radius: 16px; overflow: hidden; min-height: 200px; }
.about__images--duo .about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__images--duo .about__img:first-child img { object-position: right center; }

/* ─── NOSSO PROPÓSITO ────────────────────────────────────── */
.proposito { padding: 96px 0; background: var(--gray-100); }
.proposito__inner { text-align: center; }
.proposito__inner .section-label { text-align: center; }
.proposito__headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.proposito__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proposito__card {
  background: var(--white);
  border: 1.5px solid var(--red-light);
  border-radius: var(--radius);
  padding: 44px 31px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.proposito__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.proposito__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--red);
}
.proposito__icon svg { width: 29px; height: 29px; }
.proposito__card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 13px;
}
.proposito__card p { font-size: .97rem; color: var(--gray-600); line-height: 1.7; }

/* ─── CONHEÇA NOSSOS SERVIÇOS (banda vermelha) ───────────── */
.servicos-band {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--red-dark), var(--red) 60%);
  overflow: hidden;
}
.servicos-band::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.servicos-band::after {
  content: '';
  position: absolute;
  bottom: -140px;
  left: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.servicos-band__top { position: relative; z-index: 1; text-align: center; margin-bottom: 56px; }
.servicos-band__top .section-label { color: rgba(255,255,255,.75); text-align: center; }
.servicos-band__title {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}
.servicos-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.servicos-band__grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(16.66% + 35px);
  right: calc(16.66% + 35px);
  height: 2px;
  background: rgba(255,255,255,.22);
  z-index: 0;
}
.servicos-band__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 36px 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  backdrop-filter: blur(2px);
  transition: transform .25s, background .25s, box-shadow .25s;
}
.servicos-band__item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.servicos-band__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red-dark);
  border: 2px solid rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
}
.servicos-band__num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: .68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
}
.servicos-band__item h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}
.servicos-band__item p {
  color: rgba(255,255,255,.78);
  font-size: .86rem;
  max-width: 240px;
  line-height: 1.6;
}

/* ─── EQUIPE / CONSELHOS ──────────────────────────────────── */
.team { padding: 96px 0; background: var(--white); }
.team__header { text-align: center; margin-bottom: 48px; }
.team__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gray-800);
}
.team__title span { color: var(--red); }
.team__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 48px;
}
.team__grid { gap: 32px 20px; }
.team__member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 205px;
  flex-shrink: 0;
}
.team__photo {
  width: 193px;
  height: 193px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--red-light);
  margin-bottom: 16px;
  background: var(--gray-100);
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.team__photo:hover { border-color: var(--red); transform: translateY(-4px); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__name { font-weight: 700; color: var(--red); font-size: .92rem; margin-bottom: 4px; line-height: 1.3; }
.team__role { font-size: .76rem; color: var(--gray-600); line-height: 1.4; }

.team--compact { padding-top: 0; }
.team--compact .team__grid { gap: 28px 16px; }
.team--compact .team__member { width: 165px; }
.team--compact .team__photo { width: 144px; height: 144px; border-width: 4px; margin-bottom: 12px; }

@media (max-width: 1180px) {
  .team__member { width: 180px; }
  .team--compact .team__member { width: 150px; }
}

/* ─── NOSSA ESTRUTURA ─────────────────────────────────────── */
.estrutura { padding: 96px 0; background: var(--gray-100); }
.estrutura__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.estrutura__content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gray-800);
  margin-bottom: 18px;
  line-height: 1.2;
}
.estrutura__content h2 span { color: var(--red); }
.estrutura__content p { font-size: .92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 24px; }
.estrutura__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--red);
  color: #fff;
  padding: 10px 24px 10px 10px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.estrutura__link:hover { background: var(--red-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.estrutura__link-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.estrutura__link-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.estrutura__link-text small {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}
.estrutura__link-text strong {
  font-size: .92rem;
  font-weight: 800;
}
.estrutura__video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  line-height: 0;
}
.estrutura__video video { width: 100%; display: block; background: #000; }

@media (max-width: 900px) {
  .proposito__grid { grid-template-columns: 1fr; }
  .servicos-band__grid { grid-template-columns: 1fr; gap: 36px; }
  .estrutura__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .sobre-hero {
    min-height: 0;
    align-items: flex-end;
    padding: 56px 0 44px;
  }
  .sobre-hero .page-header__breadcrumb { font-size: .76rem; margin-bottom: 6px; }
  .sobre-hero .page-header__title { font-size: 1.9rem; line-height: 1.15; margin-bottom: 6px; }
  .sobre-hero .page-header__subtitle { font-size: .86rem; line-height: 1.4; }

  .proposito { padding-top: 56px; }
  .servicos-band { padding-top: 56px; }
  .team:not(.team--compact) { padding-top: 56px; }
  .estrutura { padding-top: 56px; }
  .estrutura__content { text-align: center; }
}

/* ─── NOSSAS SEDES — hero dividido ───────────────────────── */
.sedes-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--gray-100);
  overflow: hidden;
  animation: anim-fade-in .7s .18s ease both;
}
.sedes-hero__bg { position: absolute; inset: 0; z-index: 0; }
.sedes-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  display: block;
}
.sedes-hero__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--gray-100) 0%, rgba(247,247,247,.93) 24%, rgba(247,247,247,.5) 42%, rgba(247,247,247,0) 60%);
}
.sedes-hero__inner {
  position: relative;
  z-index: 2;
}
.sedes-hero .page-header__breadcrumb { color: rgba(60,60,60,.7); }
.sedes-hero .page-header__breadcrumb a { color: var(--red); }
.sedes-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--gray-800);
  line-height: 1.08;
  margin-bottom: 18px;
  animation: fadeInUp .6s .25s ease both;
}
.sedes-hero__title span { color: var(--red); }
.sedes-hero__subtitle {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
  animation: fadeInUp .6s .32s ease both;
}
.sedes-hero__desc {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 380px;
  animation: fadeInUp .6s .38s ease both;
}

/* ─── NOSSAS SEDES — lista ────────────────────────────────── */
.sedes { padding: 96px 0; background: var(--white); }
.sedes__header { text-align: center; margin-bottom: 56px; }
.sedes__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gray-800);
}
.sedes__title span { color: var(--red); }
.sedes__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.sede-card {
  position: relative;
  flex: 0 1 calc((100% - 56px) / 3);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sede-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}
.sede-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-light);
}
.sede-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gray-800);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
}
.sede-card__title-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(150,2,15,.25);
}
.sede-card__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.sede-card__row-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.sede-card__row p { font-size: .85rem; color: var(--gray-600); line-height: 1.6; padding-top: 3px; }
.sede-card__row p strong { display: block; color: var(--gray-800); font-weight: 600; }
.sede-card__map {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-light);
  color: var(--red);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: gap .2s, background .2s, color .2s;
}
.sede-card__map:hover { gap: 12px; background: var(--red); color: #fff; }

@media (max-width: 900px) {
  .sedes-hero__bg img { object-position: 80% center; }
  .sede-card { flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width: 768px) {
  .sedes-hero__bg { opacity: .35; }
  .sedes-hero__fade { background: var(--gray-100); }
}
@media (max-width: 600px) {
  .sede-card { flex-basis: 100%; }
}
@media (max-width: 680px) {
  .sedes-hero {
    min-height: 0;
    align-items: flex-end;
    padding: 56px 0 44px;
  }
  .sedes-hero .page-header__breadcrumb { font-size: .76rem; margin-bottom: 6px; }
  .sedes-hero__title { font-size: 1.9rem; line-height: 1.15; margin-bottom: 6px; }
  .sedes-hero__subtitle { font-size: .95rem; margin-bottom: 4px; }
  .sedes-hero__desc { font-size: .82rem; line-height: 1.5; max-width: none; }

  .sedes { padding-top: 56px; }
}

/* ─── COOPERATIVISMO — O que é ───────────────────────────── */
.coop-info { padding: 96px 0; background: var(--white); }
.coop-info__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.coop-info__img { position: relative; border-radius: var(--radius); overflow: hidden; }
.coop-info__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coop-info__img::after {
  content: '';
  position: absolute;
  top: 0; right: -10px; bottom: 0;
  width: 10px;
  background: var(--red);
  border-radius: 6px;
}
.coop-info__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 800;
  color: var(--red);
  margin-bottom: 14px;
}
.coop-info__content p { font-size: .92rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 32px; }
.coop-info__content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.coop-info__list { display: flex; flex-direction: column; gap: 10px; }
.coop-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.coop-info__list svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }

/* ─── COOPERATIVISMO — Princípios (banda vermelha) ───────── */
.principios {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--red-dark), var(--red) 60%);
  overflow: hidden;
}
.principios__top { text-align: center; margin-bottom: 56px; }
.principios__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 14px;
}
.principios__desc { color: rgba(255,255,255,.8); font-size: .92rem; max-width: 620px; margin: 0 auto; line-height: 1.7; }
.principios__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px 28px;
}
.principio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 250px;
  padding: 28px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(2px);
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.principio-item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.09);
  border-color: rgba(245,197,24,.45);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,.45);
}
.principio-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.principio-item:hover .principio-item__icon {
  transform: scale(1.08) rotate(-4deg);
  border-color: #f5c518;
  box-shadow: 0 0 0 6px rgba(245,197,24,.12);
}
.principio-item h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #f5c518;
  margin-bottom: 10px;
  line-height: 1.3;
}
.principio-item p { font-size: .82rem; color: rgba(255,255,255,.78); line-height: 1.65; }

/* ─── COOPERATIVISMO — Sete Ramos ────────────────────────── */
.ramos { padding: 96px 0; background: var(--gray-100); text-align: center; }
.ramos__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-800);
  margin-bottom: 56px;
}
.ramos__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  text-align: left;
}
.ramo-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 1 calc((100% - 84px) / 4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px 22px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ramo-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}
.ramo-item__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s, box-shadow .25s;
}
.ramo-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-light);
}
.ramo-item:hover .ramo-item__icon { transform: scale(1.08); }
.ramo-item span {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--gray-800);
  font-size: 1rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .ramo-item { flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width: 560px) {
  .ramo-item { flex-basis: 100%; }
}

@media (max-width: 900px) {
  .coop-info__inner { grid-template-columns: 1fr; }
  .coop-info__img { max-height: 320px; }
}
@media (max-width: 680px) {
  .coop-hero {
    min-height: 0;
    align-items: flex-end;
    padding: 56px 0 44px;
  }
  .coop-hero .page-header__breadcrumb { font-size: .76rem; margin-bottom: 6px; }
  .coop-hero .page-header__title { font-size: 1.9rem; line-height: 1.15; margin-bottom: 6px; }
  .coop-hero .page-header__subtitle { font-size: .86rem; line-height: 1.4; }

  .coop-info { padding-top: 56px; }
  .coop-info__content { text-align: center; }
  .coop-info__list { align-items: center; text-align: left; }

  .principios { padding-top: 56px; }
  .ramos { padding-top: 56px; }
}

/* ─── PAGE FADE OVERLAY (Portal do Cooperado) ────────────── */
.page-fade-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity .45s ease;
}
.page-fade-overlay.active { opacity: 1; }

/* ─── PRÉ-CADASTRO — Hero ─────────────────────────────────── */
.pre-hero { min-height: 460px; }
.page-header__overlay--dark { background: linear-gradient(120deg, rgba(0,0,0,.55), rgba(0,0,0,.75)); }

@media (max-width: 680px) {
  .pre-hero {
    min-height: 0;
    align-items: flex-end;
    padding: 56px 0 44px;
  }
  .pre-hero .page-header__breadcrumb { font-size: .76rem; margin-bottom: 6px; }
  .pre-hero .page-header__title { font-size: 1.9rem; line-height: 1.15; margin-bottom: 6px; }
  .pre-hero .page-header__subtitle { font-size: .86rem; line-height: 1.4; }
  .pre-hero .page-header__subtitle[style*="margin-bottom:8px"] { margin-bottom: 14px !important; }
  .pre-hero .page-header__subtitle:not([style]) { font-size: .68rem; line-height: 1.45; }
}

/* ─── PRÉ-CADASTRO — Benefícios ───────────────────────────── */
.beneficios { padding: 96px 0; background: var(--white); }
.beneficios__top { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.beneficios__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--red);
  margin-bottom: 14px;
}
.beneficios__desc { color: var(--gray-600); font-size: .95rem; line-height: 1.7; }
.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.beneficio-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.beneficio-item__icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.beneficio-item p { font-size: .9rem; color: var(--gray-600); line-height: 1.6; padding-top: 8px; }

/* ─── PRÉ-CADASTRO — Nossa Estrutura (carrossel) ──────────── */
.estrutura-band {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(135deg, var(--red-dark), var(--red) 60%);
  overflow: hidden;
  text-align: center;
}
.estrutura-band__top { margin-bottom: 48px; }
.estrutura-band__top h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 12px;
}
.estrutura-band__top p { color: rgba(255,255,255,.8); font-size: .95rem; }
.estrutura-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.estrutura-carousel__track {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.estrutura-carousel__track::-webkit-scrollbar { display: none; }
.estrutura-carousel__slide {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.4);
}
.estrutura-carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.estrutura-carousel__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.estrutura-carousel__arrow:hover { background: rgba(255,255,255,.28); }
.estrutura-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.estrutura-carousel__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.estrutura-carousel__dots button.active { background: #fff; transform: scale(1.2); }

/* ─── PRÉ-CADASTRO — Serviços de apoio ────────────────────── */
.apoio { padding: 96px 0; background: var(--gray-100); text-align: center; }
.apoio__top { max-width: 640px; margin: 0 auto 56px; }
.apoio__top h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--red);
  margin-bottom: 12px;
}
.apoio__top p { color: var(--gray-600); font-size: .95rem; }
.apoio__grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.apoio-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.apoio-item__icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.apoio-item p { font-weight: 700; color: var(--red); font-size: .95rem; }

/* ─── PRÉ-CADASTRO — Profissionais ─────────────────────────── */
.profissionais-band { padding: 0; background: #1a5f8c; overflow: hidden; }
.profissionais-band__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
}
.profissionais-band__content { padding: 72px 24px; color: #fff; }
.profissionais-band__content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.profissionais-band__content p { color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.7; margin-bottom: 32px; }
.profissionais-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}
.profissionais-band__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .92rem;
}
.profissionais-band__item span {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profissionais-band__img { position: relative; min-height: 320px; }
.profissionais-band__img img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

/* ─── PRÉ-CADASTRO — Seus Direitos ─────────────────────────── */
.direitos { padding: 96px 0; background: var(--white); }
.direitos__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.direitos__img { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.direitos__img img { width: 100%; height: 100%; object-fit: cover; }
.direitos__content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--red);
  margin-bottom: 14px;
}
.direitos__content > p { color: var(--gray-600); font-size: .95rem; margin-bottom: 24px; }
.direitos__list { display: flex; flex-direction: column; gap: 16px; }
.direitos__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--gray-600);
  font-size: .9rem;
  line-height: 1.6;
}
.direitos__list li span {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ─── PRÉ-CADASTRO — Como posso ser um cooperado ──────────── */
.cadastro { padding: 96px 0; background: var(--gray-100); }
.cadastro__top { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.cadastro__top h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--red);
  margin-bottom: 14px;
}
.cadastro__top p { color: var(--gray-600); font-size: .95rem; line-height: 1.7; }
.cadastro__inner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: start;
}
.cadastro__docs h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  font-size: .95rem;
  margin: 24px 0 14px;
}
.cadastro__docs h4:first-child { margin-top: 0; }
.cadastro__checklist { display: flex; flex-direction: column; gap: 10px; }
.cadastro__checklist li {
  position: relative;
  padding-left: 26px;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.cadastro__checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--red-light);
  border: 1.5px solid var(--red);
}
.cadastro__checklist li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.cadastro__img { border-radius: var(--radius); overflow: hidden; cursor: pointer; align-self: center; }
.cadastro__img img { width: 100%; height: auto; display: block; }
.cadastro__cta { text-align: center; margin-top: 48px; }

@media (max-width: 900px) {
  .beneficios__grid { grid-template-columns: 1fr 1fr; }
  .estrutura-carousel__slide { flex-basis: calc((100% - 20px) / 2); }
  .profissionais-band__inner { grid-template-columns: 1fr; }
  .profissionais-band__img { min-height: 260px; }
  .direitos__inner { grid-template-columns: 1fr; }
  .cadastro__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .beneficios__grid { grid-template-columns: 1fr; }
  .estrutura-carousel__slide { flex-basis: 100%; }
  .estrutura-carousel__arrow { display: none; }
  .apoio__grid { gap: 40px; }

  .beneficios, .estrutura-band, .apoio, .direitos, .cadastro { padding-top: 56px; }
}

/* ─── TERMO DE ADESÃO — Arquivo ────────────────────────────── */
.termo-arquivo { padding: 80px 0; background: var(--white); }
.termo-arquivo__card {
  background: linear-gradient(135deg, var(--red-dark), var(--red) 70%);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}
.termo-arquivo__card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: #fff;
  margin-bottom: 24px;
}

/* ─── PDF MODAL ─────────────────────────────────────────────── */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.pdf-modal.open { opacity: 1; pointer-events: all; }
.pdf-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.pdf-modal__box {
  position: relative;
  z-index: 1;
  width: min(900px, 92vw);
  height: min(85vh, 1100px);
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pdf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.pdf-modal__header p { font-weight: 700; color: var(--gray-800); font-size: .95rem; }
.pdf-modal__close {
  background: var(--gray-100);
  border: none;
  color: var(--gray-800);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.pdf-modal__close:hover { background: var(--gray-200); }
.pdf-modal__box iframe { flex: 1; width: 100%; border: 0; }

/* ============================================================
   GOVERNANÇA – Documentos Accordion
   ============================================================ */
.gov-docs {
  padding: 72px 0 80px;
  background: #fff;
}
.gov-docs__inner {
  max-width: 960px;
  margin: 0 auto;
}
.gov-docs__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.gov-docs__text { flex: 1; }
.gov-docs__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 18px;
  line-height: 1.25;
}
.gov-docs__bar {
  display: inline-block;
  width: 5px;
  min-width: 5px;
  height: 1.5em;
  background: var(--red);
  border-radius: 3px;
}
.gov-docs__desc {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 540px;
}
.gov-docs__desc strong { color: var(--gray-800); }
.gov-docs__cta { color: #1a5fa8; }
.gov-docs__logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gov-docs__logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

/* Accordion */
.gov-accordion { display: flex; flex-direction: column; gap: 0; }
.gov-accordion__item {
  border: 1px solid var(--gray-200);
  border-bottom: none;
}
.gov-accordion__item:last-child { border-bottom: 1px solid var(--gray-200); }
.gov-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: background .2s;
}
.gov-accordion__trigger:hover { background: var(--gray-200); }
.gov-accordion__sign {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--gray-600);
  line-height: 1;
  min-width: 16px;
  transition: transform .25s;
}
.gov-accordion__item.open .gov-accordion__sign { content: '–'; }
.gov-accordion__body {
  display: none;
  background: #fff;
  padding: 0;
}
.gov-accordion__item.open .gov-accordion__body { display: block; }
.gov-accordion__list {
  list-style: none;
  padding: 8px 0;
}
.gov-accordion__list li {
  border-bottom: 1px solid var(--gray-200);
}
.gov-accordion__list li:last-child { border-bottom: none; }
.gov-accordion__doc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px 14px 62px;
  text-decoration: none;
  transition: background .15s;
}
.gov-accordion__doc:hover { background: var(--gray-100); }
.gov-accordion__doc-date {
  font-size: .73rem;
  color: var(--gray-600);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.gov-accordion__doc-sep {
  font-size: .73rem;
  color: var(--gray-400);
}
.gov-accordion__doc-name {
  font-size: .73rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: .06em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gov-accordion__doc:hover .gov-accordion__doc-name { color: var(--red-dark); }

@media (max-width: 680px) {
  .gov-docs__header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .gov-docs__logo { width: 120px; }
  .gov-accordion__doc { padding-left: 24px; flex-wrap: wrap; }
}

/* ─── COMMENTS ──────────────────────────────────────────────── */
.comments-section {
  background: var(--gray-100);
  padding: 64px 0 80px;
}
.comments-inner {
  max-width: 800px;
  margin: 0 auto;
}
.comments-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.comments-count {
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}
.comment-item {
  background: var(--white);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}
.comment-meta { display: flex; flex-direction: column; gap: 2px; }
.comment-author { font-weight: 700; font-size: .88rem; color: #1a1a1a; }
.comment-date   { font-size: .73rem; color: var(--gray-400); }
.comment-text   { font-size: .9rem; color: #444; line-height: 1.75; }
.comments-empty {
  text-align: center;
  padding: 28px 0;
  color: var(--gray-400);
  font-size: .88rem;
}
.comments-load-more {
  display: block;
  margin: 4px auto 0;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--gray-200, #e2e2e2);
  border-radius: var(--radius);
  color: var(--red);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.comments-load-more:hover {
  background: var(--gray-50, #f7f7f7);
  border-color: var(--red);
}

/* form */
.comment-form-wrap {
  margin-top: 44px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.comment-form-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
}
.comment-form-field { margin-bottom: 14px; }
.comment-form-field input,
.comment-form-field textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: .88rem;
  color: #1a1a1a;
  background: var(--white);
  transition: border-color .2s;
  resize: vertical;
}
.comment-form-field input:focus,
.comment-form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.comment-form-field textarea { min-height: 110px; }
.comment-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.comment-submit-btn:hover   { background: var(--red-dark); transform: translateY(-1px); }
.comment-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.comment-form-msg {
  margin-top: 12px;
  font-size: .82rem;
  border-radius: 8px;
  padding: 8px 14px;
  display: none;
}
.comment-form-msg.success { display: block; background: #e8f5e9; color: #2e7d32; }
.comment-form-msg.error   { display: block; background: #fdecea; color: #c62828; }

@media (max-width: 600px) {
  .comment-form-wrap { padding: 20px 16px; }
}
