@charset "UTF-8";
/* =============================================
   SBOT-CE — Design System 2.0
   ============================================= */

/* =============================================
   1. CSS VARIABLES
   ============================================= */
:root {
  /* Brand greens */
  --green:       #0a5c3f;
  --green-2:     #0e7a55;
  --green-3:     #074d35;
  --green-dark:  #052e1f;
  --green-light: #e6f4ed;
  --green-glow:  rgba(10, 92, 63, 0.10);

  /* Accent */
  --gold:        #c8961a;
  --gold-2:      #b8841a;
  --gold-light:  #fef8e8;

  /* Neutrals */
  --dark:   #0e1c16;
  --text:   #1c2b24;
  --muted:  #647870;
  --line:   #dde8e2;
  --bg:     #ffffff;
  --soft:   #f5f9f7;
  --soft-2: #edf4f0;

  /* Shadows */
  --shadow-xs: 0 1px 6px rgba(10, 60, 40, 0.06);
  --shadow-sm: 0 2px 14px rgba(10, 60, 40, 0.08);
  --shadow:    0 6px 28px rgba(10, 60, 40, 0.11);
  --shadow-md: 0 12px 44px rgba(10, 60, 40, 0.14);
  --shadow-lg: 0 24px 64px rgba(10, 60, 40, 0.18);

  /* Shape */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Layout */
  --max: 1360px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 320px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

/* =============================================
   3. LAYOUT UTILITIES
   ============================================= */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 72px 0; }

.section-kicker {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-2);
  background: var(--green-light);
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* =============================================
   4. HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(10, 60, 40, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Top bar */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.site-header .brand {
  width: min(260px, 34vw);
  height: 104px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  overflow: hidden;
}

.site-header .brand::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: url("../img/logo-sbot-ce-oficial.png") left center / contain no-repeat;
}

.site-header .brand-logo-svg,
.site-header .brand > img,
.site-header .brand-text { display: none; }

.brand-logo-svg { flex-shrink: 0; }

.brand-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}

.brand-text small {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  line-height: 1.35;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Top actions */
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* COTECE button */
.cotece-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(10, 60, 40, 0.22);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

.cotece-btn:hover {
  background: var(--green-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(10, 60, 40, 0.30);
}

.cotece-btn-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cotece-btn-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.cotece-btn-text span {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.80;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Social icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.social-icon:hover {
  color: var(--green);
  background: var(--green-light);
}

/* Navigation bar */
.header-nav-bar {
  display: flex;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  padding: 8px 13px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--green);
  background: var(--green-light);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown > button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.dropdown > button:hover,
.dropdown:hover > button {
  color: var(--green);
  background: var(--green-light);
}

.chev {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.15s ease;
}

.dropdown:hover .chev {
  transform: rotate(180deg);
  color: var(--green);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 500;
}

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

.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.13s ease, background 0.13s ease;
}

.dropdown-menu a:hover {
  color: var(--green);
  background: var(--green-light);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  gap: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--green);
  background: #fff;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-toggle:hover { background: var(--green-light); }

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =============================================
   5. FLOATING WHATSAPP
   ============================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.floating-whatsapp:hover {
  transform: scale(1.09) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.52);
}

.floating-whatsapp svg { width: 30px; height: 30px; }

/* =============================================
   6. HERO — SHOWCASE (principal)
   ============================================= */
.hero-section { position: relative; overflow: hidden; }

.hero-showcase-section { background: var(--dark); }

.hero-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 520px;
  max-height: 620px;
}

/* Feature card (video + content) */
.hero-feature-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 480px;
}

.hero-feature-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 28, 18, 0.88) 0%,
    rgba(10, 55, 38, 0.62) 55%,
    rgba(10, 55, 38, 0.22) 100%
  );
}

.hero-feature-illustration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  opacity: 0.10;
  pointer-events: none;
}

.hero-feature-illustration img { width: 100%; }

.hero-feature-kicker {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  margin-bottom: 8px;
  width: max-content;
}

.hero-feature-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(28px, 4vw, 52px);
  color: #fff;
  width: 100%;
}

.hero-feature-content h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 520px;
}

.hero-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 540px;
}

.hero-feature-copy p {
  font-size: 0.88rem;
  opacity: 0.87;
  line-height: 1.55;
}

.hero-feature-copy strong {
  font-size: 0.93rem;
  font-weight: 700;
  color: #f8d96b;
  margin-top: 6px;
}

.hero-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
}

.hero-feature-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.84;
}

.hero-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 26px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.80rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(200, 150, 26, 0.42);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hero-feature-cta:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(200, 150, 26, 0.52);
}

/* Magazine card (sidebar) */
.hero-magazine-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e2d1e 0%, #091810 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
}

.hero-magazine-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #fff;
  overflow: hidden;
}

.hero-magazine-img {
  flex: 1;
  width: 100%;
  object-fit: contain;
  object-position: center top;
  padding: 24px 20px 0;
  max-height: 400px;
  transition: transform 0.4s var(--ease);
}

.hero-magazine-link:hover .hero-magazine-img {
  transform: scale(1.04) translateY(-4px);
}

.hero-magazine-label {
  padding: 16px 20px 24px;
  text-align: center;
}

.hero-magazine-label span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 6px;
}

.hero-magazine-label strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: #f8d96b;
}

/* Publication card (secondary hero slot) */
.hero-publication-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0e2d1e 0%, #091810 100%);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.hero-publication-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* Coming soon / portfolio hero cards */
.hero-coming-card,
.hero-portfolio-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a1e14 0%, #061008 100%);
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #fff;
  text-align: center;
}

.hero-portfolio-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  width: 100%;
  height: 100%;
}

/* Showcase stack (multiple side cards) */
.hero-showcase-stack {
  display: flex;
  flex-direction: column;
}

/* =============================================
   7. HERO — LEGACY CAROUSEL (aria-hidden)
   ============================================= */
.hero-legacy-section { display: none; }

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 260px;
  min-height: 520px;
}

.hero-carousel { position: relative; overflow: hidden; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 4vw, 56px);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide.active { opacity: 1; pointer-events: auto; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg-1 { background: linear-gradient(135deg, #082918 0%, #1a6b55 100%); }
.hero-bg-2 { background: linear-gradient(135deg, #082010 0%, #113d27 100%); }
.hero-bg-3 { background: linear-gradient(135deg, #0f1a28 0%, #082918 100%); }

.cotece-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.cotece-hero-venue-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  opacity: 0.12;
  pointer-events: none;
}

.cotece-hero-venue-panel img { width: 100%; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 22, 13, 0.84) 0%,
    rgba(10, 48, 30, 0.52) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 580px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.title-white { color: #fff; }
.title-yellow { color: #f8d96b; }

.hero-subtitle {
  font-size: 0.98rem;
  opacity: 0.88;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-subtitle strong {
  display: block;
  color: #f8d96b;
  font-size: 1rem;
  margin: 8px 0 4px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0.84;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.80rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(200, 150, 26, 0.40);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.hero-cta:hover { background: var(--gold-2); transform: translateY(-2px); }
.hero-cta span { font-size: 1rem; }

/* Cotece event specific */
.hero-slide-cotece .cotece-event-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

.cotece-event-subtitle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 22px;
}

.cotece-event-subtitle span { opacity: 0.88; }
.cotece-event-subtitle strong { color: #f8d96b; font-weight: 700; }

/* Magazine slide */
.hero-slide-magazine .magazine-cover-panel {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  opacity: 0.20;
  pointer-events: none;
}

/* Carousel controls */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.arrow-prev { left: 16px; }
.arrow-next { right: 16px; }

.carousel-arrow:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%) scale(1.06);
}

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

/* Hero side panel (cotece circle) */
.hero-side-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px 20px;
  background: linear-gradient(160deg, #091b10 0%, #0d2a1c 100%);
  border-left: 1px solid rgba(255,255,255,0.06);
}

.cotece-circle-logo { width: 160px; height: 160px; flex-shrink: 0; }
.cotece-circle-logo svg { width: 100%; height: 100%; }

.cotece-side-info { text-align: center; color: #fff; }

.cotece-side-title {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
}

.cotece-side-title span { color: #f8d96b; }

.cotece-side-desc {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 8px;
  line-height: 1.55;
}

/* Sponsors strip in hero */
.hero-sponsors-card {
  background: linear-gradient(160deg, #061508 0%, #0a2016 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 20px;
  overflow: hidden;
}

.hero-sponsor-marquee { overflow: hidden; }

.hero-sponsors-track,
.hero-sponsor-track {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 56px;
}

.hero-sponsors-strip { animation: hero-sponsor-scroll 22s linear infinite; }

@keyframes hero-sponsor-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-sponsor-logo {
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.50;
  flex-shrink: 0;
}

.hero-sponsor-logo-wide { height: 26px; }

.hero-sponsors-link { display: block; }

/* =============================================
   8. QUICK ACCESS
   ============================================= */
.quick-section {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-align: center;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.3;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
  text-decoration: none;
}

.quick-card:hover {
  border-color: var(--green);
  box-shadow: 0 6px 22px rgba(10, 92, 63, 0.11);
  transform: translateY(-3px);
  color: var(--green);
}

.quick-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  transition: background 0.18s ease, color 0.18s ease;
}

.quick-card:hover .quick-icon-wrap {
  background: var(--green);
  color: #fff;
}

.quick-icon-wrap svg { width: 22px; height: 22px; }
.quick-icon-wrap img { width: 26px; height: 26px; object-fit: contain; }

.quick-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quick-arr {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.15s ease;
  margin-top: auto;
}

.quick-card:hover .quick-arr { color: var(--green); }

/* =============================================
   9. NEWS & EVENTS SECTION
   ============================================= */
.news-events-section {
  background: var(--soft);
  padding: 64px 0;
}

.news-events-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}

/* Column headers */
.col-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

.col-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.015em;
}

.link-all {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-2);
  white-space: nowrap;
  transition: color 0.14s ease, gap 0.14s ease;
}

.link-all:hover { color: var(--green); text-decoration: underline; }

.news-all-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.news-all-button:hover { background: var(--green); color: #fff; }

/* News layout (featured + feed) */
.news-layout { display: grid; gap: 20px; }

.featured-newsletter { display: none; }

.featured-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  color: var(--text);
}

.featured-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.featured-img-wrap { overflow: hidden; }

.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-img-wrap img { transform: scale(1.05); }

.featured-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge-destaque {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  width: max-content;
}

.link-saiba {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--green-2);
  margin-top: auto;
  transition: gap 0.15s ease, color 0.15s ease;
}

.link-saiba:hover { gap: 8px; color: var(--green); }

/* News feed (small items) */
.news-feed { display: flex; flex-direction: column; }

.news-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: color 0.14s ease;
  text-decoration: none;
}

.news-item:last-child { border-bottom: none; }
.news-item:hover { color: var(--green); }

.news-thumb {
  width: 76px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--soft);
  flex-shrink: 0;
}

.news-thumb img { width: 100%; height: 100%; object-fit: cover; }

.news-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Category badge */
.news-cat {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  width: max-content;
}

/* =============================================
   10. EVENTS COLUMN
   ============================================= */
.events-col { display: flex; flex-direction: column; }
.events-list { display: flex; flex-direction: column; gap: 4px; }

.event-row {
  display: grid;
  grid-template-columns: 60px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: var(--radius);
  color: var(--text);
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

.event-row:hover {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
  transform: translateX(4px);
}

.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  color: var(--green);
  text-align: center;
  flex-shrink: 0;
}

.event-date-soon {
  background: var(--green);
  color: #fff;
}

.eday {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.eday-sm {
  font-size: 0.70rem;
  font-weight: 700;
  line-height: 1;
}

.emon {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.event-details strong {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eplace {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 500;
}

.echev {
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.14s ease, transform 0.14s ease;
}

.event-row:hover .echev { color: var(--green); transform: translateX(3px); }

/* =============================================
   11. LATEST NEWS CARDS
   ============================================= */
.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.latest-news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
}

.latest-news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(10, 92, 63, 0.20);
}

.latest-news-image {
  display: block;
  height: 172px;
  overflow: hidden;
  background: var(--soft-2);
}

.latest-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.42s ease;
}

.latest-news-card:hover .latest-news-image img { transform: scale(1.05); }

/* Specific image positions for certain articles */
.latest-news-card[href*="planejamento"] .latest-news-image img,
.all-news-grid .latest-news-card[href*="planejamento"] .latest-news-image img {
  object-fit: cover;
  object-position: center 38%;
}

.latest-news-content {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.latest-news-content .news-cat { width: max-content; }

.latest-news-content strong {
  position: relative;
  display: block;
  padding-left: 13px;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.38;
}

.latest-news-content strong::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 3px;
  background: var(--green-2);
  border-radius: 999px;
  opacity: 0.65;
}

.latest-news-summary {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.58;
}

.latest-news-date { display: none; }

/* All news page grid */
.all-news-section {
  background: #fff;
  padding: 48px 0 72px;
}

.all-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* =============================================
   12. PORTFOLIO BANNER
   ============================================= */
.portfolio-banner-section {
  padding: 34px 0 38px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-banner-link {
  display: block;
  width: min(100%, 980px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 0;
}

.portfolio-banner-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.portfolio-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   13. PARTNERS / SPONSORS
   ============================================= */
.partners-section {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.partners-section .container { max-width: 1220px; }

.partners-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 48px;
  text-align: center;
}

.partners-intro > span {
  display: inline-block;
  padding: 4px 14px;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 999px;
  width: max-content;
  margin: 0 auto;
}

.partners-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.partners-intro p {
  color: var(--muted);
  font-size: 0.90rem;
  max-width: 500px;
  margin: 0 auto;
}

.partners-row { display: flex; flex-direction: column; gap: 28px; }
.sponsor-showcase { display: flex; flex-direction: column; gap: 22px; }

.sponsor-tier {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
}

.sponsor-tier-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sponsor-tier-header strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}

.sponsor-tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sponsor-tier-platinum .sponsor-tier-badge,
.sponsor-tier-premium .sponsor-tier-badge {
  background: linear-gradient(135deg, #ede9f8, #ccc5e8);
  color: #44357a;
}

.sponsor-tier-ouro .sponsor-tier-badge,
.sponsor-tier-highlight .sponsor-tier-badge {
  background: linear-gradient(135deg, #fdf4d0, #f5df80);
  color: #7a5c00;
}

.sponsor-tier-prata .sponsor-tier-badge {
  background: linear-gradient(135deg, #ebebf2, #cacdd8);
  color: #3e4560;
}

.sponsor-tier-cobre .sponsor-tier-badge {
  background: linear-gradient(135deg, #fce8d4, #e8c09a);
  color: #6a3e18;
}

.sponsor-tier-esmeralda .sponsor-tier-badge { background: #d2f0e6; color: #0a5c3f; }
.sponsor-tier-rubi .sponsor-tier-badge { background: #fde2e2; color: #8b1a1a; }
.sponsor-tier-realizacao .sponsor-tier-badge { background: var(--green-light); color: var(--green); }

.sponsor-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.sponsor-logos-grid-single { justify-content: center; }

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex: 1;
  min-width: 100px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.sponsor-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  border-color: rgba(10, 92, 63, 0.15);
}

.sponsor-card img {
  max-height: 46px;
  max-width: 130px;
  object-fit: contain;
  width: 100%;
}

.sponsor-card-featured { min-height: 100px; flex: 1.5; }
.sponsor-card-featured img { max-height: 64px; max-width: 170px; }
.sponsor-card-wide { flex: 2; }
.sponsor-card-tall { min-height: 108px; }
.sponsor-card-sbot img { max-height: 76px; }

.sponsor-card-vertis img,
.sponsor-card-ortoplan img,
.sponsor-card-orthovita img,
.sponsor-card-coomtoce img,
.sponsor-card-ellio img,
.sponsor-card-fortmed img,
.sponsor-card-ideal img,
.sponsor-card-orthovie img,
.sponsor-card-tecvitta img { max-width: 160px; }

/* Secondary board */
.sponsor-secondary-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sponsor-mini-tier {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
}

/* Legacy tier system (compatibility) */
.tier-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.tier-platina { background: #e8e5f0; color: #44357a; }
.tier-ouro    { background: #fdf4d0; color: #7a5c00; }
.tier-prata   { background: #eaeaf0; color: #3e4560; }
.tier-bronze  { background: #fce8d4; color: #6a3e18; }
.tier-cortesia { background: var(--green-light); color: var(--green); }

.plogo { display: flex; align-items: center; justify-content: center; }
.plogo img { max-height: 48px; object-fit: contain; }
.plogo-lg img { max-height: 72px; }

/* Legacy partner showcase */
.partner-showcase { display: flex; flex-direction: column; gap: 24px; }

.partner-logo-row,
.partner-logo-row-primary,
.partner-logo-row-support {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

.partner-logo-card,
.partner-logo-card-small {
  display: flex; align-items: center; justify-content: center;
  min-height: 72px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  flex: 1; min-width: 90px;
}

.partner-logo-card img { max-height: 46px; object-fit: contain; }
.partner-logo-card-featured img { max-height: 62px; }
.partner-logo-wide { flex: 2; }
.partner-logo-tall { min-height: 100px; }

/* Sponsor portfolio (portfolio.html) */
.portfolio-hero .page-lead {
  max-width: 760px;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  opacity: 0.9;
}

.portfolio-hero + .page-section {
  background:
    radial-gradient(circle at 16% 12%, rgba(123, 217, 184, 0.13), transparent 26rem),
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.portfolio-hero + .page-section .section-heading {
  max-width: 920px;
  padding: 26px 28px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.portfolio-hero + .page-section .section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.portfolio-hero + .page-section .section-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.sponsor-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sponsor-portfolio-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sponsor-portfolio-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.sponsor-portfolio-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  min-height: 120px;
}

.sponsor-portfolio-logo img { max-height: 72px; object-fit: contain; }

.sponsor-portfolio-action {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-2);
}

/* =============================================
   14. FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.80);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  max-width: 200px;
  opacity: 0.88;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.65;
  opacity: 0.66;
  margin-bottom: 22px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  opacity: 0.70;
  margin-bottom: 22px;
}

.footer-contact a { opacity: 1; color: var(--gold); transition: opacity 0.14s ease; }
.footer-contact a:hover { opacity: 0.80; }

.footer-social { display: flex; gap: 8px; }

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.68);
  transition: background 0.18s ease, color 0.18s ease;
}

.footer-social a:hover { background: var(--green-2); color: #fff; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.70);
  margin-bottom: 10px;
  transition: color 0.14s ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 0.76rem;
  opacity: 0.44;
}

.back-top { font-weight: 600; transition: opacity 0.14s ease; }
.back-top:hover { opacity: 0.8; }

/* =============================================
   15. COTECE POPUP
   ============================================= */
.cotece-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 14, 9, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cotece-popup-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cotece-popup {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0,0,0,0.42);
  animation: popup-in 0.36s var(--ease) forwards;
}

@keyframes popup-in {
  from { transform: scale(0.88) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.cotece-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.52);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.cotece-popup-close:hover { background: rgba(0,0,0,0.78); }
.cotece-popup-link img { width: 100%; display: block; }

/* =============================================
   16. CONTENT PAGES (institucional, riot, cet...)
   ============================================= */
.content-page { min-height: 100vh; }

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.page-kicker {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.page-lead {
  font-size: 1rem;
  opacity: 0.84;
  max-width: 600px;
  line-height: 1.65;
}

.page-section { padding: 56px 0; }

.soft-section { background: var(--soft); }

/* Generic content card */
.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}

.content-card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.content-card p { font-size: 0.92rem; line-height: 1.72; color: var(--text); margin-bottom: 12px; }
.content-card p:last-child { margin-bottom: 0; }

.content-stack { display: flex; flex-direction: column; gap: 20px; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Summary card */
.summary-card {
  background: var(--green-light);
  border: 1px solid rgba(10, 92, 63, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.summary-card h2 {
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.86rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(10, 92, 63, 0.10);
}

.summary-list li:last-child { border-bottom: none; padding-bottom: 0; }
.summary-list li span { color: var(--muted); flex-shrink: 0; }
.summary-list li strong { color: var(--dark); font-weight: 700; text-align: right; }

/* Timeline / milestones */
.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}

.timeline-card h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.timeline-card p { font-size: 0.90rem; line-height: 1.68; color: var(--muted); margin-bottom: 14px; }
.timeline-card p:last-child { margin-bottom: 0; }

.timeline-layout,
.timeline-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 36px;
  margin-top: 8px;
}

.milestone-list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
  border-radius: 999px;
}

.milestone-list > li { position: relative; }

.milestone-year {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  position: relative;
}

.milestone-year::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--green);
}

.milestone-list p {
  font-size: 0.87rem;
  line-height: 1.65;
  color: var(--text);
}

/* Page layout grids */
.page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}

.institution-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Board / Diretoria */
.board-layout { display: flex; flex-direction: column; gap: 24px; }

.board-hero-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.board-hero-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.board-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.board-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-2);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.role-list { display: flex; flex-direction: column; gap: 8px; }
.role-list li { font-size: 0.84rem; font-weight: 600; color: var(--dark); }

.name-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.name-list li { font-size: 0.87rem; color: var(--text); line-height: 1.5; }

/* RIOT */
.riot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.riot-hero {
  padding: 44px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.riot-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.riot-callout {
  background: var(--green-light);
  border-left: 4px solid var(--green-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 0.90rem;
  line-height: 1.6;
}

.riot-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.founder-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.founder-list li { font-size: 0.87rem; color: var(--text); }

/* Gallery intro */
.gallery-intro-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

/* CET / newsletter / portfolio heroes */
.cet-hero,
.newsletter-hero,
.portfolio-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cet-hero::before,
.newsletter-hero::before,
.portfolio-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

/* CET schedule */
.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
}

.schedule-summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 80px;
}

.schedule-overview { display: flex; flex-direction: column; gap: 16px; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.module-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.module-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.module-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }

/* Document actions */
.document-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(10, 60, 40, 0.22);
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}

.primary-doc-link:hover {
  background: var(--green-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(10, 60, 40, 0.30);
}

.secondary-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.18s ease, color 0.18s ease;
}

.secondary-doc-link:hover { background: var(--green); color: #fff; }

.pdf-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =============================================
   17. NEWS ARTICLE PAGES
   ============================================= */
.news-article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.news-article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  padding: clamp(24px, 4vw, 40px);
}

.news-article-card-balanced { padding: clamp(20px, 3vw, 32px); }

.news-article-sidebar,
.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Article image containers */
.news-article-image,
.news-article-image-fill,
.news-article-image-contain,
.news-article-image-cotece,
.news-article-image-poster,
.news-article-image-portrait,
.news-article-image-planning {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  margin-bottom: 28px;
}

.news-article-image,
.news-article-image-fill       { min-height: 380px; }
.news-article-image-contain    { min-height: 340px; padding: 0; }
.news-article-image-portrait   { min-height: 500px; }
.news-article-image-cotece     { min-height: 320px; }
.news-article-image-poster     { min-height: 420px; }
.news-article-image-planning   { min-height: 340px; aspect-ratio: 16 / 9; }

.news-article-image img,
.news-article-image-fill img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.news-article-image-contain img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 16px; }

.news-article-image-cotece img,
.news-article-image-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.news-article-image-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }

.news-article-image-planning img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

.news-article-body {
  font-size: 1.01rem;
  line-height: 1.78;
  color: var(--text);
}

.news-article-body h2,
.news-article-body h3 {
  font-weight: 800;
  color: var(--dark);
  margin: 28px 0 12px;
  line-height: 1.25;
}

.news-article-body p { margin-bottom: 18px; }
.news-article-body p:last-child { margin-bottom: 0; }
.news-article-body strong { color: var(--dark); }

/* Article meta sidebar */
.news-meta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.news-meta-card h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.news-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.84rem;
  margin-bottom: 20px;
}

.news-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.news-meta-list li:last-child { border-bottom: none; padding-bottom: 0; }
.news-meta-list li span { color: var(--muted); }
.news-meta-list li strong { font-weight: 700; color: var(--dark); text-align: right; }

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-2);
  transition: gap 0.15s ease, color 0.15s ease;
}

.news-back-link:hover { gap: 10px; color: var(--green); }

/* Featured article cards (full-width article page) */
.news-feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.news-feature-card-poster { background: var(--dark); }

.news-feature-card-poster .news-article-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* =============================================
   18. PRESIDENT GALLERY
   ============================================= */
.president-gallery-grid,
.presidents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.president-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.president-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }

.president-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--soft-2);
}

.president-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  transition: transform 0.42s ease;
}

.president-card:hover .president-photo img { transform: scale(1.05); }

.president-info {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.president-info span {
  display: block;
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--green-2);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.president-info h2 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
}

.president-info strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  line-height: 1.3;
}

.president-info small {
  font-size: 0.73rem;
  color: var(--green-2);
  font-weight: 600;
}

/* Coordinators */
.coordinator-timeline,
.coordinators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.coordinator-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.coordinator-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.coordinator-year {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--green-light);
  text-align: center;
}

/* =============================================
   19. NEWSLETTER
   ============================================= */
.newsletter-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.newsletter-feature > div {
  max-width: 720px;
}

.newsletter-feature h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.newsletter-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.newsletter-grid > .featured-newsletter {
  display: flex;
}

.newsletter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.newsletter-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.newsletter-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 124, 102, 0.08), transparent 45%),
    linear-gradient(180deg, #f8fcfb 0%, #eef7f4 100%);
  min-height: 0;
  aspect-ratio: 3 / 4;
  padding: 16px;
}

.newsletter-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.newsletter-card:hover .newsletter-cover img { transform: scale(1.025); }

.newsletter-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* =============================================
   20. PORTFOLIO
   ============================================= */
.portfolio-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.portfolio-cover-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}

.portfolio-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portfolio-hero .page-title { margin-bottom: 10px; }

/* =============================================
   21. HISTORY & DIRECTOR LAYOUTS
   ============================================= */
.history-layout,
.director-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.director-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  align-items: center;
}

/* Compact modifier */
.compact { padding: 16px !important; gap: 10px !important; }

/* =============================================
   22. RESPONSIVE — 1180px
   ============================================= */
@media (max-width: 1180px) {
  .hero-showcase-grid { grid-template-columns: 1fr 260px; }

  .latest-news-grid { grid-template-columns: repeat(3, 1fr); }

  .news-events-grid { grid-template-columns: 1fr 310px; gap: 28px; }

  .quick-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .board-grid { grid-template-columns: repeat(2, 1fr); }

  .president-gallery-grid,
  .presidents-grid,
  .coordinator-timeline,
  .coordinators-grid { grid-template-columns: repeat(3, 1fr); }

  .hero-wrapper { grid-template-columns: 1fr 220px; }
}

/* =============================================
   23. RESPONSIVE — 900px (tablets)
   ============================================= */
@media (max-width: 900px) {
  .section { padding: 52px 0; }
  .page-section { padding: 40px 0; }

  .hero-showcase-grid {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto;
  }

  .hero-magazine-card { display: none; }
  .hero-feature-card { min-height: 400px; }

  .news-events-grid { grid-template-columns: 1fr; gap: 32px; }

  .latest-news-grid { grid-template-columns: repeat(2, 1fr); }
  .all-news-grid { grid-template-columns: repeat(2, 1fr); }

  .quick-grid { grid-template-columns: repeat(3, 1fr); }

  .news-article-grid { grid-template-columns: 1fr; }
  .news-article-sidebar, .article-sidebar { position: static; top: auto; }

  .schedule-layout { grid-template-columns: 1fr; }
  .schedule-summary-card { position: static; }

  .portfolio-layout { grid-template-columns: 1fr; }
  .portfolio-cover-card { position: static; }

  .page-grid { grid-template-columns: 1fr; }
  .institution-grid { grid-template-columns: 1fr; }
  .riot-layout { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .sponsor-portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .newsletter-feature { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: repeat(2, 1fr); }

  .board-grid { grid-template-columns: repeat(2, 1fr); }

  .president-gallery-grid,
  .presidents-grid,
  .coordinator-timeline,
  .coordinators-grid { grid-template-columns: repeat(3, 1fr); }

  .hero-wrapper { grid-template-columns: 1fr; }
  .hero-side-panel { flex-direction: row; padding: 20px 32px; }
}

/* =============================================
   24. RESPONSIVE — 860px (mobile header)
   ============================================= */
@media (max-width: 860px) {
  body { min-width: 0; }

  .site-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(10, 60, 40, 0.09);
  }

  .header-top { padding: 10px 0; gap: 10px; }

  .site-header .brand {
    width: min(188px, 48vw);
    height: 76px;
  }

  .social-icons { display: none; }

  .cotece-btn-text span { display: none; }
  .cotece-btn { padding: 9px 16px; font-size: 0.78rem; gap: 8px; }

  .header-nav-bar {
    gap: 10px;
    padding: 4px 0;
  }

  .mobile-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 12px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 44px rgba(10, 60, 40, 0.14);
    z-index: 500;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }

  .main-nav.open { display: flex; }

  .main-nav .dropdown,
  .main-nav .nav-link { width: 100%; }

  .main-nav > .dropdown > button,
  .main-nav > .nav-link {
    padding: 11px 14px;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    width: 100%;
    text-align: left;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--soft);
    margin: 3px 0 6px;
    padding: 6px;
  }

  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }

  .dropdown.open > button { color: var(--green); background: var(--green-light); }
  .dropdown:hover .chev { transform: none; }
  .dropdown.open .chev { transform: rotate(180deg); color: var(--green); }

  /* Banner portfólio — tablet/mobile */
  .portfolio-banner-section { padding: 26px 0 30px; }
}

/* =============================================
   25. RESPONSIVE — 560px (small mobile)
   ============================================= */
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 40px 0; }
  .page-section { padding: 32px 0; }

  .page-hero { padding: 44px 0; }
  .cet-hero, .newsletter-hero, .portfolio-hero { padding: 44px 0; }

  .hero-feature-card { min-height: 340px; }
  .hero-feature-content { padding: 22px 18px; }
  .hero-feature-content h1 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .hero-feature-cta { padding: 11px 20px; font-size: 0.76rem; }

  .page-title { font-size: clamp(1.45rem, 6vw, 1.9rem); }

  /* Force single column */
  .quick-grid,
  .news-events-grid,
  .latest-news-grid,
  .all-news-grid,
  .newsletter-grid,
  .portfolio-layout,
  .portfolio-page-grid,
  .sponsor-portfolio-grid,
  .news-article-grid,
  .history-layout,
  .director-layout,
  .timeline-layout,
  .timeline-grid,
  .page-grid,
  .content-grid,
  .module-grid { grid-template-columns: 1fr !important; }

  /* Smaller border-radius on mobile */
  .quick-card,
  .latest-news-card,
  .newsletter-card,
  .sponsor-portfolio-card,
  .portfolio-cover-card,
  .portfolio-info-card,
  .news-article-card,
  .timeline-card,
  .director-card,
  .content-card { border-radius: var(--radius); }

  /* Images in news cards — aspect-ratio + always cover */
  .latest-news-image,
  .newsletter-cover,
  .news-article-image,
  .news-article-image-fill,
  .news-article-image-contain,
  .news-article-image-cotece,
  .news-article-image-poster,
  .news-article-image-portrait,
  .news-article-image-planning {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .latest-news-image img,
  .newsletter-cover img,
  .news-article-image img,
  .news-article-image-fill img,
  .news-article-image-cotece img,
  .news-article-image-poster img,
  .news-article-image-portrait img,
  .news-article-image-planning img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  .news-article-image-contain img {
    object-fit: contain !important;
    padding: 12px;
  }

  /* COTECE banner image — important content on left side */
  .latest-news-card[href*="cotece"] .latest-news-image img {
    object-position: left center !important;
  }

  /* Override specific card positions */
  .latest-news-image img { object-fit: cover !important; }

  .newsletter-cover {
    aspect-ratio: 3 / 4;
    padding: 14px;
  }

  .newsletter-cover img {
    object-fit: contain !important;
    object-position: center center !important;
  }

  .sponsor-secondary-board { grid-template-columns: 1fr !important; }

  /* News article adjustments */
  .news-article-card { padding: 20px; }
  .news-article-body { font-size: 0.96rem; }
  .news-article-image, .news-article-image-fill { min-height: 0; }
  .news-article-image-portrait { min-height: 0; }
  .news-article-image-contain { min-height: 0; }

  .newsletter-body, .portfolio-info-card { padding: 16px; }
  .news-feature-card-poster .news-article-image { border-radius: var(--radius); }

  .schedule-summary-card,
  .portfolio-cover-card { position: static; top: auto; }

  /* Layout */
  .sponsor-tier { padding: 16px; }
  .institution-grid { grid-template-columns: 1fr !important; }
  .riot-layout { grid-template-columns: 1fr !important; }
  .board-grid { grid-template-columns: 1fr !important; }

  .col-header h2 { font-size: 1.1rem; }
  .latest-news-content { padding: 14px; }
  .latest-news-content strong { font-size: 0.88rem; }

  .footer-inner { gap: 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  .director-card { grid-template-columns: 1fr; text-align: center; }

  .president-gallery-grid,
  .presidents-grid,
  .coordinator-timeline,
  .coordinators-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }

  .president-info { padding: 10px 12px; }
  .president-info h2 { font-size: 0.76rem; }
  .president-info span { font-size: 0.64rem; }

  .floating-whatsapp { bottom: 20px; right: 18px; width: 50px; height: 50px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }

  .hero-side-panel { flex-direction: column; padding: 28px 20px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* =============================================
   27. NOVOS COMPONENTES — ETAPA 2
   ============================================= */

/* Breadcrumb (dentro do page-hero) */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 600;
}

.breadcrumb-item { display: flex; align-items: center; gap: 6px; }

.breadcrumb-item a {
  color: rgba(255,255,255,0.72);
  transition: color 0.14s ease;
}

.breadcrumb-item a:hover { color: #fff; }

.breadcrumb-sep { opacity: 0.40; font-size: 0.70rem; }

.breadcrumb-item:last-child {
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}

/* Destaque COTECE na coluna de eventos */
.event-cotece-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  border-radius: var(--radius);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(10, 92, 63, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.event-cotece-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10, 92, 63, 0.30);
}

.event-cotece-inner { display: flex; flex-direction: column; gap: 5px; }

.event-cotece-badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(255,255,255,0.20);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: max-content;
}

.event-cotece-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.event-cotece-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  opacity: 0.82;
  font-weight: 500;
}

.event-cotece-arrow {
  flex-shrink: 0;
  opacity: 0.70;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.event-cotece-card:hover .event-cotece-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* News filter pills */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 8px;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  font-family: inherit;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.news-filter-btn:hover {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green);
}

.news-filter-btn.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 3px 12px rgba(10, 92, 63, 0.22);
}

/* Related articles section */
.related-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1.5px solid var(--line);
}

.related-title {
  font-size: 0.80rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 14px;
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.related-card:hover {
  border-color: var(--green);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.related-card-img {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.related-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-card-body strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}

/* News meta sidebar links */
.news-meta-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px solid var(--line);
  margin-bottom: 20px;
}

.news-meta-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--body);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.news-meta-link:hover {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green);
}

.news-meta-link svg {
  flex-shrink: 0;
  opacity: 0.65;
}

@media (max-width: 560px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { grid-template-columns: 68px 1fr; }
}

/* Related articles (dentro do artigo) */
.related-section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 2px solid var(--line);
}

.related-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.related-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.related-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-xs);
  transform: translateY(-2px);
}

.related-card-img {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--line);
  flex-shrink: 0;
}

.related-card-img img { width: 100%; height: 100%; object-fit: cover; }

.related-card-body strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.38;
  margin-bottom: 6px;
}

.related-card-body .news-cat { margin-top: 2px; }

@media (max-width: 560px) {
  .related-grid { grid-template-columns: 1fr; }
  .news-filter-bar { gap: 6px; }
  .news-filter-btn { padding: 6px 14px; font-size: 0.74rem; }
}

/* =============================================
   26. RESPONSIVE — 390px (very small)
   ============================================= */
@media (max-width: 390px) {
  .cotece-btn { padding: 8px 12px; }
  .cotece-btn-text strong { font-size: 0.76rem; }

  .hero-feature-content h1 { font-size: clamp(1.35rem, 7.5vw, 1.8rem); }
  .page-title { font-size: clamp(1.3rem, 7vw, 1.65rem); }

  .latest-news-grid,
  .all-news-grid { grid-template-columns: 1fr !important; }

  .president-gallery-grid,
  .presidents-grid,
  .coordinator-timeline,
  .coordinators-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .president-info { padding: 8px 10px; }
  .president-info h2 { font-size: 0.70rem; }
  .president-info span { font-size: 0.60rem; }

  .coordinator-card > img { aspect-ratio: auto; height: 140px; }
  .coordinator-card > div strong { font-size: 0.82rem; }

  .footer-links { grid-template-columns: 1fr !important; }

  .board-grid { grid-template-columns: 1fr !important; }
}

/* =============================================
   27. FINAL RESPONSIVE FIXES - RIOT GALLERY, NEWS AND FOOTER
   ============================================= */
.coordinator-timeline,
.coordinators-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.coordinator-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
}

.coordinator-card .coordinator-year {
  width: max-content;
  margin: 14px 14px 0;
  padding: 7px 13px;
  border-radius: 999px;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.coordinator-card > img {
  display: block;
  width: calc(100% - 28px);
  aspect-ratio: 3 / 4;
  height: auto;
  margin: 12px 14px 0;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 16px;
}
.coordinator-card > img[src*="coordenador-06"] {
  object-position: center top;
  object-view-box: inset(0 0 17% 0);
}

.coordinator-card > div {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 0 16px 18px;
}

.coordinator-card > div span {
  display: block;
  color: var(--muted);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.coordinator-card > div strong {
  display: block;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.latest-news-image {
  display: flex;
  height: auto;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7fbfa, #eaf6f2);
}

.latest-news-image img,
.latest-news-card[href*="planejamento"] .latest-news-image img,
.all-news-grid .latest-news-card[href*="planejamento"] .latest-news-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.latest-news-card:hover .latest-news-image img {
  transform: none !important;
}

.news-article-image,
.news-article-image-fill,
.news-article-image-contain,
.news-article-image-cotece,
.news-article-image-poster,
.news-article-image-portrait,
.news-article-image-planning {
  display: flex;
  min-height: 0 !important;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(135deg, #f8fbfa, #eef7f4);
}

.news-article-image img,
.news-article-image-fill img,
.news-article-image-contain img,
.news-article-image-cotece img,
.news-article-image-poster img,
.news-article-image-portrait img,
.news-article-image-planning img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 620px);
  padding: 0;
  object-fit: contain !important;
  object-position: center !important;
}

.related-card-img img {
  object-fit: contain;
  background: #fff;
}

.footer-brand .footer-logo-official {
  display: block;
  width: min(320px, 100%);
  max-width: 320px;
  height: auto;
  padding: 16px 18px;
  margin-bottom: 18px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  opacity: 1;
}

@media (max-width: 820px) {
  .coordinator-timeline,
  .coordinators-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }

  .coordinator-card > img {
    aspect-ratio: auto;
    height: 220px;
  }
}

@media (max-width: 620px) {
  .portfolio-banner-section { padding: 20px 0; }
  .portfolio-banner-link {
    width: 100%;
    border-radius: 14px;
  }

  .coordinator-timeline,
  .coordinators-grid {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .coordinator-card > img {
    aspect-ratio: auto;
    height: 170px;
  }

  .coordinator-card > div {
    padding: 0 12px 14px;
  }

  .coordinator-card > div span {
    font-size: 0.62rem;
  }

  .coordinator-card > div strong {
    font-size: 0.88rem;
  }

  .latest-news-image {
    aspect-ratio: 16 / 11;
  }

  .news-article-image,
  .news-article-image-fill,
  .news-article-image-contain,
  .news-article-image-cotece,
  .news-article-image-poster,
  .news-article-image-portrait,
  .news-article-image-planning {
    padding: 10px;
  }

  .news-article-image img,
  .news-article-image-fill img,
  .news-article-image-contain img,
  .news-article-image-cotece img,
  .news-article-image-poster img,
  .news-article-image-portrait img,
  .news-article-image-planning img {
    max-height: 58vh;
  }

  .footer-brand .footer-logo-official {
    margin-inline: auto;
  }
}

/* PRÉ-TARO: the artwork is square and must remain fully visible. */
.news-article-image-pre-taro {
  width: min(100%, 640px);
  aspect-ratio: 1 / 1;
  min-height: 0 !important;
  padding: clamp(10px, 2vw, 18px);
  margin: 0 auto 28px;
}

.news-article-image-pre-taro img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: none !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 620px) {
  .news-article-image-pre-taro {
    width: 100%;
    padding: 8px;
    margin-bottom: 22px;
  }
}
