/* ==========================================================================
   SEMANA DA COMPUTAÇÃO — DCM/FFCLRP USP Ribeirão Preto
   Tema: fundo do mar · mascote: polvo roxo · elemento: submarino
   ========================================================================== */

:root {
  /* ---- Paleta (marca) — extraída do emblema oficial SemComp DCM ---- */
  --sea-blue:   #3432C7; /* azul do mar do emblema — cor oficial da marca */
  --indigo-deep:#4B0082; /* roxo do casco do submarino no emblema */
  --cyan-glow:  #3CBCD6; /* vigias/portholes do submarino no emblema */
  --cyan-light: #A0FDFF; /* bolhas e contorno do "08" no emblema */

  --abyss-950: #0A0817;
  --abyss-900: #110F33;
  --abyss-700: #1C1A61;
  --ocean-900: #16072A;
  --ocean-800: #1E0637;
  --lilac-300: #C6C6EF;
  --lilac-100: #E7E6F8;
  --foam-50:   #F6F3FB;

  /* Versões "R,G,B" para compor com rgba() e deixar a ilustração de fundo
     (peixes e polvos) transparecer por trás de cada seção. */
  --abyss-950-rgb: 10,8,23;
  --abyss-900-rgb: 17,15,51;
  --abyss-700-rgb: 28,26,97;
  --ocean-900-rgb: 22,7,42;
  --ocean-800-rgb: 30,6,55;

  /* ---- Cor viva principal ---- */
  --royal-purple: #3432C7;
  --royal-purple-dim: #4B0082;

  /* ---- Acento ciano ---- */
  --glow-teal: #3CBCD6;

  /* ---- Tipografia ---- */
  --font-display: 'Berlin Sans FB Demi', 'Berlin Sans FB', 'Baloo 2', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* ---- Fundo: uma única ilustração ocupando a largura toda da tela,
     que vai continuando conforme a página desce (repete só na vertical) ---- */
  --ocean-pattern: url('assets/ocean-pattern.png');
  --ocean-tile: 100% auto;

  /* ---- Escala ---- */
  --nav-h: 76px;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 32px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
/* Fundo original: um tom escuro uniforme sobre a ilustração do oceano.
   Cada seção abaixo aplica seu PRÓPRIO gradiente (como era antes) para
   dar personalidade a cada trecho da página — a única mudança é que
   agora cada gradiente COMEÇA exatamente na cor onde o gradiente da
   seção anterior TERMINOU, então a transição fica contínua, sem a
   linha/emenda dura que aparecia antes entre as seções. */
body {
  font-family: var(--font-body);
  color: var(--foam-50);
  line-height: 1.55;
  overflow-x: hidden;
  background-color: var(--abyss-900);
  background-image:
    linear-gradient(180deg, rgba(var(--abyss-900-rgb),0.87) 0%, rgba(var(--abyss-900-rgb),0.87) 100%),
    var(--ocean-pattern);
  background-repeat: no-repeat, repeat-y;
  background-size: auto, var(--ocean-tile);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; }

:focus-visible {
  outline: 2px solid var(--lilac-300);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------- Utilitários de texto ---------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--lilac-300);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--foam-50);
  margin-bottom: 18px;
}
.section-title--center { text-align: center; }

.section-lede {
  max-width: 46ch;
  color: var(--lilac-100);
  opacity: 0.85;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost {
  border-color: var(--lilac-300);
  color: var(--lilac-100);
}
.btn--ghost:hover { background: rgba(198,198,239,0.1); }
.btn--glow {
  background: linear-gradient(135deg, var(--royal-purple), var(--royal-purple-dim));
  color: var(--foam-50);
  box-shadow: 0 0 0 rgba(52,50,199,0.5);
}
.btn--glow:hover { box-shadow: 0 10px 32px rgba(52,50,199,0.5); }
.btn--small { padding: 10px 20px; font-size: 0.85rem; margin-top: 22px; }
.btn--full { width: 100%; }

/* ==========================================================================
   HUD DE PROFUNDIDADE (lateral, desktop)
   ========================================================================== */
.depth-hud {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 10px;
  color: var(--lilac-300);
}
.depth-hud__line {
  width: 1px;
  height: 90px;
  background: linear-gradient(var(--lilac-300), transparent);
  margin-bottom: 10px;
}
.depth-hud__ping {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--royal-purple);
  margin-bottom: 10px;
  box-shadow: 0 0 0 0 rgba(52,50,199,0.6);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52,50,199,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(52,50,199,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,50,199,0); }
}
.depth-hud__label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: .1em; opacity: .7; writing-mode: vertical-rl; }
.depth-hud__value { font-family: var(--font-mono); font-size: 0.9rem; color: var(--foam-50); writing-mode: vertical-rl; }
.depth-hud__zone { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .08em; opacity: .6; writing-mode: vertical-rl; max-height: 140px; }

@media (min-width: 1200px) { .depth-hud { display: flex; } }

/* ==========================================================================
   NAVEGAÇÃO
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  background: rgba(15, 7, 32, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198,198,239,0.12);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--foam-50);
}
.nav__brand em { font-style: normal; color: var(--glow-teal); }
.nav__brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(198,198,239,0.4);
  box-shadow: 0 0 0 3px rgba(52,50,199,0.25);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__links a { opacity: 0.85; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta {
  background: var(--royal-purple);
  color: var(--foam-50) !important;
  padding: 10px 20px;
  border-radius: 999px;
  opacity: 1 !important;
  font-weight: 600;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--foam-50); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--abyss-900);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 24px;
    border-bottom: 1px solid rgba(198,198,239,0.15);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__links a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(198,198,239,0.08); }
  .nav__cta { margin-top: 8px; text-align: center; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(var(--abyss-700-rgb),0.55) 0%, transparent 55%),
    linear-gradient(180deg, rgba(var(--abyss-900-rgb),0.45) 0%, rgba(var(--abyss-900-rgb),0.35) 62%, rgba(var(--ocean-900-rgb),0.45) 100%);
}

.hero__rays {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    100deg,
    rgba(198,198,239,0.05) 0px, rgba(198,198,239,0.05) 2px,
    transparent 2px, transparent 60px
  );
  mask-image: linear-gradient(180deg, black 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 55%);
  pointer-events: none;
}

.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), rgba(160,253,255,0.10));
  border: 1px solid rgba(246,243,251,0.25);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: .8; }
  90% { opacity: .5; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 20px)); opacity: 0; }
}

.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--foam-50);
  margin-bottom: 22px;
}
.hero__title em { font-style: normal; color: var(--glow-teal); }
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--lilac-100);
  opacity: 0.85;
  max-width: 50ch;
  margin: 0 auto 36px;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__sub {
  position: absolute;
  width: 300px;
  right: 5%;
  top: 20%;
  z-index: 1;
  color: var(--lilac-300);
  animation: bob 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 25px rgba(15,7,32,0.5));
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}
.sub__propeller { transform-origin: 435px 120px; animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sub__periscope-light { animation: pulse-glow 2.2s ease-in-out infinite; }
.sub__porthole-glow { animation: pulse-glow 3s ease-in-out infinite; transform-origin: center; }
.sub__porthole-glow--delay-1 { animation-delay: 1s; }
.sub__porthole-glow--delay-2 { animation-delay: 2s; }
@keyframes pulse-glow { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.hero__octopus {
  position: absolute;
  width: 260px;
  left: 2%;
  bottom: -30px;
  z-index: 1;
}
.octo__pupil { fill: var(--abyss-950); }

/* Rede bioluminescente sobre o manto — pulso lento e assíncrono, como
   sinapses disparando. */
.octo__circuit { animation: synapse-pulse 3.6s ease-in-out infinite; }
.circuit-line { opacity: 0.55; }
.circuit-line--b { animation-delay: .6s; }
.circuit-node { animation: node-pulse 3.6s ease-in-out infinite; fill: var(--glow-teal); }
@keyframes synapse-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}
@keyframes node-pulse {
  0%, 100% { opacity: 0.5; r: 2; }
  50% { opacity: 1; }
}

/* Tentáculos gerados via JS: cada <g> recebe transform-origin e delay inline */
.octo-tentacle { animation: sway 4.5s ease-in-out infinite; }
.octo-tentacle path { fill: url(#tentacleGrad); stroke: var(--lilac-300); stroke-width: 1; stroke-opacity: 0.4; }
.octo-tentacle ellipse { fill: var(--lilac-100); }
@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3.5deg); }
}

/* Nó bioluminescente que "viaja" pelo braço — pulso de opacidade e escala */
.octo-bio-dot { animation: bio-pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bio-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 900px) {
  .hero__sub { display: none; }
  .hero__octopus { width: 190px; opacity: 0.8; left: -20px; }
}

/* ==========================================================================
   CONTAGEM REGRESSIVA
   ========================================================================== */
.countdown {
  padding: 110px 24px;
  text-align: center;
  position: relative;
  /* Começa exatamente na cor em que o hero termina (ocean-900 a 0.45),
     então a transição para o rodapé da seção segue contínua. */
  background: linear-gradient(180deg, rgba(var(--ocean-900-rgb),0.45) 0%, rgba(var(--ocean-900-rgb),0.50) 100%);
}
.gauges {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
  margin-top: 40px;
}
.gauge { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gauge__ring {
  width: clamp(84px, 12vw, 120px);
  height: clamp(84px, 12vw, 120px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-conic-gradient(from 0deg, var(--lilac-300) 0deg 2deg, transparent 2deg 9deg);
  padding: 6px;
  position: relative;
}
.gauge__ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--abyss-700), var(--abyss-950));
  box-shadow: inset 0 0 0 1px rgba(198,198,239,0.35), 0 0 26px rgba(52,50,199,0.35);
}
.gauge__value {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--lilac-300);
  text-shadow: 0 0 16px rgba(52,50,199,0.75);
}
.gauge__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lilac-300);
}
.countdown__status {
  margin-top: 32px;
  color: var(--lilac-100);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ==========================================================================
   PROGRAMAÇÃO
   ========================================================================== */
.schedule {
  padding: 110px 24px;
  /* Continua de onde a contagem regressiva parou (ocean-900 a 0.50) e
     desliza de volta para o tom abyss, preparando a próxima seção. */
  background: linear-gradient(180deg, rgba(var(--ocean-900-rgb),0.50) 0%, rgba(var(--abyss-900-rgb),0.48) 100%);
}

/* ---------------- "Coming soon" da programação ---------------- */
.schedule__soon {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 36px;
  border-radius: var(--radius-l);
  background: rgba(198,198,239,0.05);
  border: 1px solid rgba(198,198,239,0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.schedule__soon-icon { width: 80px; margin-bottom: 18px; }
.soon-ring { stroke: var(--lilac-300); stroke-width: 1.5; transform-origin: 40px 40px; }
.soon-ring--1 { animation: sonar-ping 2.4s ease-out infinite; }
.soon-ring--2 { animation: sonar-ping 2.4s ease-out infinite; animation-delay: .5s; }
.soon-ring--3 { animation: sonar-ping 2.4s ease-out infinite; animation-delay: 1s; }
@keyframes sonar-ping {
  0% { opacity: 0.7; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.15); }
}

.schedule__terminal {
  width: 100%;
  max-width: 380px;
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: var(--radius-s);
  background: rgba(10,8,23,0.55);
  border: 1px solid rgba(198,198,239,0.15);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.schedule__terminal-line { color: var(--lilac-100); opacity: 0.85; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule__terminal-line:last-of-type { margin-bottom: 14px; }
.schedule__prompt { color: var(--glow-teal); margin-right: 6px; }
.schedule__dots span { animation: dot-blink 1.4s infinite; opacity: 0; }
.schedule__dots span:nth-child(2) { animation-delay: .2s; }
.schedule__dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot-blink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.schedule__progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(198,198,239,0.12);
  overflow: hidden;
}
.schedule__progress-bar {
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--royal-purple), var(--glow-teal));
  animation: progress-slide 1.8s ease-in-out infinite;
}
@keyframes progress-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.schedule__soon-title {
  font-size: 1.3rem;
  color: var(--foam-50);
  margin-bottom: 12px;
}
.schedule__soon-text {
  color: var(--lilac-100);
  opacity: 0.85;
  max-width: 42ch;
  margin-bottom: 26px;
}

@media (prefers-reduced-motion: reduce) {
  .schedule__progress-bar { animation: none; width: 55%; }
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 18px;
  border-radius: var(--radius-m);
  background: rgba(198,198,239,0.06);
  border: 1px solid rgba(198,198,239,0.15);
  color: var(--lilac-100);
  transition: background .2s, border-color .2s, transform .2s;
}
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] {
  background: var(--royal-purple);
  border-color: var(--royal-purple);
  color: var(--foam-50);
}
.tab__date { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; }
.tab__weekday { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; opacity: 0.75; }

.tab-panels { max-width: 760px; margin: 0 auto; }
.tab-panel { animation: fade-in .35s var(--ease); }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-panel__title {
  font-size: 1.5rem;
  color: var(--lilac-300);
  font-style: normal;
  margin-bottom: 28px;
  text-align: center;
}
.timeline { display: flex; flex-direction: column; gap: 4px; }
.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 16px;
  border-radius: var(--radius-s);
  border-bottom: 1px solid rgba(198,198,239,0.1);
  transition: background .2s;
}
.timeline li:hover { background: rgba(198,198,239,0.05); }
.timeline__time {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--lilac-300);
}
.timeline li strong { display: block; color: var(--foam-50); font-weight: 600; margin-bottom: 4px; }
.timeline li span:not(.timeline__time) { font-size: 0.85rem; color: var(--lilac-100); opacity: 0.75; }

@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   LOCAL
   ========================================================================== */
.location {
  padding: 110px 24px;
  /* Começa onde a programação terminou (abyss-900 a 0.48). */
  background: linear-gradient(180deg, rgba(var(--abyss-900-rgb),0.48) 0%, rgba(var(--ocean-900-rgb),0.50) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.location__card { display: flex; flex-direction: column; align-items: flex-start; }
.location__address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--lilac-100);
  margin-bottom: 8px;
}
.location__map {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(198,198,239,0.2);
  aspect-ratio: 4/3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.location__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.85) brightness(0.9); }

@media (max-width: 860px) {
  .location { grid-template-columns: 1fr; padding: 90px 24px; }
}

/* ==========================================================================
   PATROCINADORES
   ========================================================================== */
.sponsors {
  padding: 100px 24px 140px;
  text-align: center;
  /* Patrocinadores agora é a última seção antes do rodapé — começa onde
     o cartão de inscrição termina e aprofunda até quase o tom do rodapé. */
  background: linear-gradient(180deg, rgba(var(--abyss-950-rgb),0.70) 0%, rgba(var(--abyss-950-rgb),0.78) 100%);
}
.sponsors__title { margin-bottom: 44px; }
.sponsors__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 260px;
  padding: 32px 28px;
  border-radius: var(--radius-l);
  background: var(--foam-50);
  border: 1px solid rgba(198,198,239,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.sponsor-card__logo {
  width: 100%;
  height: 64px;
  object-fit: contain;
}
.sponsor-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--royal-purple);
  font-weight: 700;
  opacity: 0.85;
  transition: opacity .2s;
}
.sponsor-card:hover .sponsor-card__link { opacity: 1; }
.sponsor-card__link svg { width: 13px; height: 13px; }

/* ==========================================================================
   INSCRIÇÃO (via Google Forms)
   ========================================================================== */
.register {
  padding: 110px 24px 140px;
  text-align: center;
  /* Agora "Inscrição" vem logo após "Local" — começa onde aquela seção
     termina (ocean-900 a 0.50). */
  background: linear-gradient(180deg, rgba(var(--ocean-900-rgb),0.50) 0%, rgba(var(--abyss-950-rgb),0.70) 100%);
}
.register__card {
  max-width: 440px;
  margin: 0 auto;
  padding: 44px 32px;
  border-radius: var(--radius-l);
  background: rgba(52,50,199,0.08);
  border: 1px solid rgba(52,50,199,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.register__icon { width: 56px; margin: 0 auto 18px; }
.register__hint {
  color: var(--lilac-100);
  opacity: 0.85;
  margin-bottom: 26px;
}
.register__cta { font-size: 1.05rem; padding: 17px 30px; }
.register__note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--lilac-300);
  opacity: 0.6;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
  padding: 60px 24px 40px;
  text-align: center;
  color: var(--abyss-700);
  /* Continua a partir do fim da seção de patrocinadores e aprofunda até o
     tom mais escuro do site, fechando a jornada visual da página. */
  background: linear-gradient(180deg, rgba(var(--abyss-950-rgb),0.78) 0%, rgba(var(--abyss-950-rgb),0.85) 100%);
}
.footer__octo { width: 64px; margin: 0 auto 18px; color: var(--abyss-700); }
.footer__tagline { color: var(--lilac-100); font-size: 0.95rem; margin-bottom: 6px; }
.footer__copy { color: var(--lilac-300); opacity: 0.5; font-size: 0.8rem; font-family: var(--font-mono); }

/* ==========================================================================
   ACESSIBILIDADE — reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
