/* ============================================================
   SOUTH SUMMIT BRAZIL 2026 — Estilo Premium
   ============================================================ */

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

:root {
  /* Energy palette */
  --energy-1: #f59e0b;
  --energy-2: #fbbf24;
  --energy-glow: rgba(245,158,11,0.25);

  /* Coop palette */
  --coop-1: #10b981;
  --coop-2: #34d399;
  --coop-glow: rgba(16,185,129,0.25);

  /* Agri palette */
  --agri-1: #6366f1;
  --agri-2: #818cf8;
  --agri-glow: rgba(99,102,241,0.25);

  /* Opportunity/Gold palette */
  --gold-1: #fbbf24;
  --gold-2: #d97706;
  --gold-glow: rgba(251,191,36,0.15);

  /* Neutrals */
  --bg: #0a0c10;
  --surface: #12151c;
  --surface-2: #1a1f2e;
  --border: rgba(255,255,255,0.07);
  --text: #e8eaf0;
  --text-muted: #7c85a2;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,12,16,0.3) 0%,
    rgba(10,12,16,0.55) 50%,
    rgba(10,12,16,0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr;
  gap: 4rem;
  align-items: center;
  animation: fadeUp 0.9s ease both;
}

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

.hero-text {
  text-align: left;
}

.badge-event {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--energy-2);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--energy-1), var(--coop-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
}

.hero-theme {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.4rem;
}

/* ── HERO IMAGE SIDE ───────────────────────────────── */
.hero-image-side {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  transform: rotate(1deg);
  transition: var(--transition);
}

.hero-image-side:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 20px var(--energy-glow);
}

.hero-team-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: saturate(1.1);
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
  padding: 3rem 1.5rem 1rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.hero-stats {
  display: flex;
  justify-content: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.stat {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: var(--transition);
}

.stat:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--energy-2);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-scroll {
  display: inline-block;
  background: linear-gradient(135deg, var(--energy-1), #d97706);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 34px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 0 32px rgba(245,158,11,0.4);
  transition: var(--transition);
  animation: pulse 2.4s ease-in-out infinite;
}

.btn-scroll:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 48px rgba(245,158,11,0.6);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(245,158,11,0.35); }
  50%       { box-shadow: 0 0 48px rgba(245,158,11,0.6); }
}

/* ── NAV PILLS ─────────────────────────────────────── */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding: 14px 1rem;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.nav-pill {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav-energy { background: var(--energy-glow); color: var(--energy-2); border-color: rgba(245,158,11,0.3); }
.nav-coop   { background: var(--coop-glow);   color: var(--coop-2);   border-color: rgba(16,185,129,0.3); }
.nav-agri   { background: var(--agri-glow);   color: var(--agri-2);   border-color: rgba(99,102,241,0.3); }

.nav-pill:hover { transform: translateY(-2px); filter: brightness(1.15); }

/* ── MAIN CONTAINER ────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── SECTION BLOCK ─────────────────────────────────── */
.section-block {
  padding-top: 5rem;
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.section-header--energy { background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.03)); border-color: rgba(245,158,11,0.2); }
.section-header--coop   { background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.03)); border-color: rgba(16,185,129,0.2); }
.section-header--agri   { background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(99,102,241,0.03)); border-color: rgba(99,102,241,0.2); }

.section-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.section-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── CALLOUT ───────────────────────────────────────── */
.callout {
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  font-size: 0.92rem;
  margin-bottom: 1.8rem;
  border-left: 4px solid;
}

.callout--coop {
  background: rgba(16,185,129,0.08);
  border-color: var(--coop-1);
  color: var(--coop-2);
}

/* ── EIXOS BAR ─────────────────────────────────────── */
.eixos-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.eixo {
  background: var(--agri-glow);
  border: 1px solid rgba(99,102,241,0.25);
  color: var(--agri-2);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── CARDS GRID ────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.4rem;
}

/* ── CARD ──────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.14);
}

.card--featured {
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 0 30px rgba(245,158,11,0.08);
}

.card--featured::before {
  content: '★ Destaque';
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--energy-1), #d97706);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  z-index: 5;
  letter-spacing: 0.05em;
}

/* ── CARD IMAGE ────────────────────────────────────── */
.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface-2);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.card:hover .card-img { transform: scale(1.06); }

.img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,12,16,0.75);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem;
  padding: 4px 10px;
  text-align: center;
  letter-spacing: 0.03em;
  font-style: italic;
}

.img-label.real-photo {
  background: rgba(16,185,129,0.75);
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

blockquote.quote {
  border-left: 3px solid var(--energy-1);
  background: rgba(245,158,11,0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.8rem 1rem;
  margin: 0.8rem 0;
  font-size: 0.88rem;
  color: var(--energy-2);
  font-style: italic;
  line-height: 1.6;
}

.card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
  z-index: 3;
}

.tag-energy { background: rgba(245,158,11,0.85); color: #000; }
.tag-coop   { background: rgba(16,185,129,0.85);  color: #000; }
.tag-agri   { background: rgba(99,102,241,0.85);  color: #fff; }

/* ── CARD BODY ─────────────────────────────────────── */
.card-body {
  padding: 1.3rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.card-speaker {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-teaser {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── EXPAND BUTTON ─────────────────────────────────── */
.btn-expand {
  margin-top: auto;
  padding-top: 0.6rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  text-align: left;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-expand:hover {
  background: var(--surface-2);
  border-color: rgba(255,255,255,0.15);
  color: var(--text);
}

.btn-expand.open {
  color: var(--energy-2);
  border-color: rgba(245,158,11,0.3);
}

/* ── CARD DETAIL (expandable) ──────────────────────── */
.card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding: 0;
}

.card-detail.open {
  max-height: 600px;
  opacity: 1;
  padding-top: 1rem;
}

.card-detail p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.tech-list h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--energy-2);
  margin-bottom: 0.6rem;
}

.tech-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tech-list ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.tech-list ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--energy-1);
  font-weight: 700;
}

/* ── SYNTHESIS ─────────────────────────────────────── */
.synthesis {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.synthesis-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  margin-bottom: 2rem;
}

.synthesis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.synth-card {
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--border);
}

.synth-energy { background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.02)); border-color: rgba(245,158,11,0.2); }
.synth-coop   { background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.02)); border-color: rgba(16,185,129,0.2); }
.synth-agri   { background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(99,102,241,0.02)); border-color: rgba(99,102,241,0.2); }

.synth-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.tag-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tech-tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2.4rem 1rem;
  text-align: center;
}

.footer-inner { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }

.footer p { font-size: 0.88rem; color: var(--text-muted); }

.footer-disclaimer {
  font-size: 0.8rem !important;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: rgba(251,191,36,0.8) !important;
  margin: 0.4rem 0;
}

.btn-top {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  transition: var(--transition);
}

.btn-top:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-text { text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-image-side { transform: none; width: 100%; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; text-align: center; }
  .hero-stats { gap: 0.6rem; }
  .stat { padding: 10px 14px; }
  .stat-num { font-size: 1.2rem; }
}

/* ── STRATEGIC ALIGNMENT ────────────────────────────── */
.alignment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0 5rem;
}

.alignment-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.22rem;
  text-align: center;
  transition: var(--transition);
}

.alignment-item:hover {
  transform: translateY(-8px);
  border-color: var(--coop-1);
  background: linear-gradient(135deg, var(--surface), rgba(16,185,129,0.05));
}

.align-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  display: block;
}

.alignment-item h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.alignment-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ── FINANCING CARDS ────────────────────────────────── */
.section-header--gold {
  background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(251,191,36,0.03));
  border-color: rgba(251,191,36,0.25);
}

.tag-grant { background: rgba(251,191,36,0.9); color: #000; }
.tag-credit { background: rgba(52,211,153,0.9); color: #000; }

.card--opportunity {
  border-color: rgba(251,191,36,0.3);
}

.card--opportunity:hover {
  border-color: var(--gold-1);
  box-shadow: 0 15px 45px rgba(217,119,6,0.15);
}

.opportunity-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.badge-lost { background: #fee2e2; color: #991b1b; } /* Fundo Perdido Highlight */
.badge-state { background: #dcfce7; color: #166534; } /* Estado RS Highlight */
