*, *::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;

  --ch2: #1F8A6E; /* telefone */
  --ch3: #7C3DBE; /* presencial */
  --ch4: #B84D2B; /* correspondência */
}

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

/* ── TOP BAR ───────────────────────────── */
.topbar {
  background: var(--blue-deep);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-brand .brasao {
  width: 38px; height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.topbar-text { color: var(--white); }
.topbar-text strong { font-family: 'Sora', sans-serif; font-size: 0.85rem; letter-spacing: 0.04em; display: block; }
.topbar-text span { font-size: 0.72rem; opacity: 0.65; letter-spacing: 0.06em; text-transform: uppercase; }

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

.topbar .sic-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── HERO ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  padding: 56px 32px 48px;
  position: relative;
  overflow: hidden;
}
.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.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.hero-inner { max-width: 760px; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,146,42,0.18);
  border: 1px solid rgba(200,146,42,0.4);
  color: #F5C96A;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: #F5C96A; border-radius: 50%; }
.hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 em { color: #F5C96A; font-style: normal; }
.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-desc strong { color: #fff; }

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  padding: 14px 28px; border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer;
}
.hero-cta:hover { background: #b07820; transform: translateY(-1px); }
.hero-cta svg { width: 17px; height: 17px; fill: var(--white); flex-shrink: 0; }

.hero-cta--secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.hero-cta--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

.hero-cta-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  margin-top: 4px;
  margin-bottom: 24px;
}

.hero-lei {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  padding: 6px 14px; border-radius: 6px;
}
.hero-lei svg { width: 13px; height: 13px; fill: currentColor; opacity: 0.7; }

/* ── PROTOCOL NOTE ────────────────────── */
.protocol-note {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  margin: 32px 32px 0;
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 0.86rem;
  color: #6B4A10;
}
.protocol-note strong { color: #4A3008; }

/* ── SECTION TITLE ────────────────────── */
.section { padding: 40px 32px 56px; max-width: 900px; margin: 0 auto; }
.section-head { margin-bottom: 32px; }
.section-head h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}
.section-head p { font-size: 0.85rem; color: var(--muted); max-width: 620px; line-height: 1.6; }

/* ── CHANNELS GRID ────────────────────── */
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(26,58,92,0.12); transform: translateY(-2px); }

.card-stripe { height: 4px; width: 100%; }

.card-body { padding: 24px 24px 20px; flex: 1; position: relative; }

.card-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon-wrap svg { width: 22px; height: 22px; fill: var(--white); }

.card-tag {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.card-detail {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
  font-size: 0.84rem; color: var(--muted); line-height: 1.5;
}
.card-detail svg { width: 14px; height: 14px; fill: var(--muted); flex-shrink: 0; margin-top: 2px; }
.card-detail strong { font-size: 1rem; }

.card-action {
  display: block;
  margin: 16px 24px 20px;
  text-align: center;
  padding: 10px;
  border-radius: 7px;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: 'Sora', sans-serif;
}
.card-action:hover { opacity: 0.84; }

/* ── CHANNEL COLOURS ────────────────── */
.ch2 .card-stripe { background: var(--ch2); }
.ch2 .card-icon-wrap { background: var(--ch2); }
.ch2 .card-tag { color: var(--ch2); }
.ch2 .card-action { background: var(--ch2); color: var(--white); }

.ch3 .card-stripe { background: var(--ch3); }
.ch3 .card-icon-wrap { background: var(--ch3); }
.ch3 .card-tag { color: var(--ch3); }
.ch3 .card-action { background: var(--ch3); color: var(--white); }

.ch4 .card-stripe { background: var(--ch4); }
.ch4 .card-icon-wrap { background: var(--ch4); }
.ch4 .card-tag { color: var(--ch4); }
.ch4 .card-action { background: var(--ch4); color: var(--white); }

/* ── FOOTER ─────────────────────────── */
.footer {
  background: var(--blue-deep);
  padding: 24px 32px;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; }

/* ── 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); }
}
.card { animation: fadeUp 0.45s ease both; }
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.19s; }

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

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 600px) {
  .topbar { padding: 10px 18px; flex-wrap: wrap; }
  .topbar .sic-logo { margin-left: 0; }
  .hero { padding: 40px 18px 36px; }
  .protocol-note { margin: 24px 18px 0; }
  .section { padding: 32px 18px 44px; }
  .channels { grid-template-columns: 1fr; }
}