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

:root {
  --blue-deep:  #1A3A5C;
  --blue-mid:   #24527F;
  --blue-light: #E8EFF6;
  --gold:       #C8922A;
  --gold-light: #FFF4E0;
  --bg:         #F0F4F8;
  --white:      #FFFFFF;
  --text:       #1E2B3A;
  --muted:      #5E6E82;
  --border:     #D4DCE6;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── TOP BAR ───────────────────────────── */
.topbar {
  background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 6px 24px rgba(13, 31, 60, 0.22);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-brand .brasao {
  width: 44px; height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
.topbar-text { color: var(--white); }
.topbar-text strong {
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: block;
  line-height: 1.3;
}
.topbar-tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F5C96A;
  margin-top: 2px;
}

.topbar-divider {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}

.topbar .sic-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-left: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

@media (max-width: 600px) {
  .topbar { padding: 12px 18px; gap: 12px; }
  .topbar-brand .brasao { width: 36px; height: 36px; }
  .topbar-text strong { font-size: 0.82rem; }
  .topbar-tagline { font-size: 0.62rem; }
  .topbar .sic-logo { height: 32px; }
}

/* ── HERO ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #102a46 0%, #1f4c7a 45%, #256d9d 100%);
  padding: 72px 56px 72px;
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero::before {
  content: 'SIC';
  position: absolute;
  right: -20px; top: -30px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(120px, 22vw, 240px);
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: min(100%, 1500px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, rgba(245, 201, 106, 0.28), rgba(245, 201, 106, 0.16));
  border: 1px solid rgba(245, 201, 106, 0.46);
  color: #ffe7a8;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 20px; border-radius: 999px;
  margin-bottom: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}
.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #5cf28d;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(92, 242, 141, 0.7);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(92, 242, 141, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(92, 242, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 242, 141, 0); }
}
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(3.2rem, 5.2vw, 4.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 4px 18px rgba(0,0,0,0.24);
}
.hero h1 em { color: #F5C96A; font-style: normal; }
.hero-desc {
  color: rgba(255,255,255,0.84);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 860px;
  margin: 0 0 48px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.hero-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, #f2b84c 0%, var(--gold) 100%);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 1rem; font-weight: 600;
  padding: 18px 32px; border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}
.hero-cta:hover {
  background: linear-gradient(135deg, #f5c35e 0%, #b07820 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.42);
}
.hero-cta svg { width: 17px; height: 17px; fill: var(--white); flex-shrink: 0; }

.hero-cta--secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.24);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}
.hero-cta--secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.42);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.hero-microcopy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.86);
  padding: 16px 18px;
  border-radius: 14px;
  margin: 0 0 24px;
  max-width: 860px;
  font-size: 0.94rem;
  line-height: 1.6;
  text-align: center;
}
.hero-microcopy svg {
  width: 18px;
  height: 18px;
  fill: #f4c96d;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-lei {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  margin: 48px auto 0;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.hero-lei:hover {
  background: rgba(255,255,255,0.18);
  color: #F5C96A;
}
.hero-lei svg { width: 13px; height: 13px; fill: currentColor; opacity: 0.7; }

@media (min-width: 1440px) {
  .hero {
    padding: 96px 120px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    padding: 56px 40px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  }
  .hero-desc {
    font-size: 1.05rem;
  }
  .hero-cta-group {
    gap: 14px;
  }
  .hero-cta {
    padding: 16px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 85vh;
    padding: 40px 18px;
  }

  .hero h1 {
    font-size: clamp(2rem, 7.8vw, 2.6rem);
    line-height: 1.08;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .hero-microcopy {
    font-size: 0.9rem;
  }

  .hero-visual-card {
    padding: 24px;
  }

  .hero-visual-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual-stats {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER ─────────────────────────── */
.footer {
  background: var(--blue-deep);
  padding: 44px 32px 24px;
  margin-top: auto;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-channels { margin-bottom: 30px; }
.footer-channel-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.footer-channel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.footer-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.footer-channel-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}
.footer-channel-item svg {
  width: 16px; height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-channel-item strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.footer-channel-item span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}
.footer-legal a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ── TOAST ─────────────────────────── */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(60px);
  background: #1E2B3A; color: #fff; padding: 10px 22px; border-radius: 8px;
  font-size: 0.85rem; font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0; z-index: 999; white-space: nowrap;
}

/* ── FADE-IN ANIMATION ─────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.footer-channel-item { animation: fadeUp 0.45s ease both; }
.footer-channel-item:nth-child(1) { animation-delay: 0.05s; }
.footer-channel-item:nth-child(2) { animation-delay: 0.12s; }
.footer-channel-item:nth-child(3) { animation-delay: 0.19s; }

@media (prefers-reduced-motion: reduce) {
  .footer-channel-item { animation: none; }
}

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 40px 18px 36px; }
  .footer { padding: 36px 18px 20px; }
  .footer-channel-list { grid-template-columns: 1fr; }
}