/* ============================================================
   XII CONGRESSO MULTIDISCIPLINAR – FAP 2026
   styles.css
   Cores: Azul escuro #003087 | Verde #00a651 | Branco #fff
   ============================================================ */

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

:root {
  --primary:       #003087;
  --primary-dark:  #001f5c;
  --primary-light: #0056b3;
  --green:         #00a651;
  --green-dark:    #007a3d;
  --green-light:   #33bb74;
  --gold:          #c9a227;
  --gold-light:    #f0d060;
  --white:         #ffffff;
  --off-white:     #f4f7fb;
  --light-gray:    #e8edf5;
  --mid-gray:      #6c757d;
  --dark:          #0d1b3e;
  --text:          #1e2a4a;
  --text-muted:    #5a6a88;

  --font-main:    'Inter', sans-serif;
  --font-display: 'Montserrat', sans-serif;

  --radius:        10px;
  --radius-lg:     18px;
  --shadow-sm:     0 2px 8px rgba(0,48,135,.10);
  --shadow-md:     0 6px 24px rgba(0,48,135,.14);
  --shadow-lg:     0 16px 48px rgba(0,48,135,.18);

  --transition:    .3s ease;
  --nav-h:         72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- BUTTONS ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: .9rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,48,135,.3);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,166,81,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  padding: .5rem 1.3rem;
  font-size: .9rem;
}
.btn-nav:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* ---------- SECTION SHARED --------------------------------- */
.section { padding: 96px 0; }
.section-light   { background: var(--off-white); }
.section-medium  { background: var(--light-gray); }
.section-dark    { background: var(--dark); color: var(--white); }
.section-blue    { background: var(--primary); color: var(--white); }
.section-gold    { background: linear-gradient(135deg, #1a1a2e 0%, #0d1b3e 100%); color: var(--white); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .5rem;
}
.section-dark .section-header h2,
.section-blue .section-header h2,
.section-gold .section-header h2 { color: var(--white); }

.section-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .9rem;
}
.section-tag-light { background: rgba(255,255,255,.2); }
.section-tag-gold  { background: var(--gold); color: var(--dark); }

.divider {
  width: 60px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1rem auto .5rem;
}
.divider-green { background: var(--green); }
.divider-gold  { background: var(--gold); }
.section-dark .divider { background: var(--green); }

.section-desc {
  max-width: 660px;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-dark .section-desc,
.section-blue .section-desc,
.section-gold .section-desc { color: rgba(255,255,255,.75); }
.text-white { color: var(--white) !important; }
.text-light-muted { color: rgba(255,255,255,.8) !important; }

/* ---------- HEADER / NAV ----------------------------------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0,48,135,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition), background var(--transition);
}
#header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-fap {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: .05em;
}
.logo-subtitle {
  font-size: .65rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .2rem;
}
.nav-links li a {
  color: rgba(255,255,255,.88);
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem .7rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- HERO ------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,30,87,.82) 0%,
    rgba(0, 47, 135, 0.74) 50%,
    rgba(0, 100, 60, 0.589) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 40px) 0 120px;
  color: var(--white);
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: .7rem;
}
.hero-num {
  color: var(--green-light);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: rgba(255,255,255,.92);
  margin-bottom: .3rem;
}
.hero-inst {
  font-size: clamp(.9rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.75);
  margin-bottom: .8rem;
}
.hero-slogan {
  font-size: clamp(.85rem, 1.5vw, 1rem);
  color: var(--green-light);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Countdown */
.countdown-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  background: rgba(0,20,60,.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 0;
}
.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
}
.countdown-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.countdown-label {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .15rem;
}
.countdown-sep {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: .4rem;
  line-height: 1;
}

/* ---------- SOBRE ------------------------------------------ */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.sobre-text p {
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 1.03rem;
}
.sobre-text p strong { color: var(--primary); }
.sobre-text .btn { margin-top: .5rem; }

.sobre-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.info-card-icon { font-size: 2rem; margin-bottom: .5rem; }
.info-card h4 {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.info-card p { font-size: .9rem; color: var(--text); }
.info-card p small { color: var(--text-muted); }

/* ---------- ATIVIDADES ------------------------------------- */
.atividades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ativ-full { grid-column: 1 / -1; }

.ativ-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.ativ-full { text-align: left; display: flex; align-items: flex-start; gap: 1.5rem; }
.ativ-full p { flex: 1; }

.ativ-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.ativ-icon { font-size: 2.5rem; margin-bottom: .8rem; }
.ativ-full .ativ-icon { margin-bottom: 0; flex-shrink: 0; font-size: 2.2rem; }

.ativ-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: .6rem;
}
.ativ-card p { font-size: .92rem; color: rgba(255,255,255,.78); }

/* ---------- CRONOGRAMA / TIMELINE -------------------------- */
.timeline {
  position: relative;
  padding-left: 3rem;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: .9rem;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--green));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 2.8rem 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.7rem;
  top: .2rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-dot-green { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.timeline-dot-blue  { background: var(--primary); }
.timeline-dot-gold  { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); width: 22px; height: 22px; left: -2.9rem; }

.timeline-date {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
}
.timeline-item-destaque .timeline-content {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, #fffbf0, #fff9e6);
  box-shadow: var(--shadow-md);
}
.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .4rem;
}
.timeline-item-destaque .timeline-content h4 { color: var(--gold); }
.timeline-content p { font-size: .93rem; color: var(--text-muted); }
.timeline-content p strong { color: var(--text); }

/* ---------- INSCRIÇÕES ------------------------------------- */
.insc-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.insc-card {
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}
.insc-price {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: .2rem;
  margin-bottom: .6rem;
}
.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-light);
  margin-top: .6rem;
}
.price-value {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.price-cents {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-top: .6rem;
}
.insc-card h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 1.2rem;
}
.insc-benefits {
  text-align: left;
  margin-bottom: 1.5rem;
}
.insc-benefits li {
  padding: .45rem 0;
  color: rgba(255,255,255,.9);
  font-size: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.insc-benefits li:last-child { border-bottom: none; }
.insc-info {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.4rem;
}
.insc-info strong { color: var(--white); }
.insc-extra {
  margin-top: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

.insc-info-box {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
}
.insc-info-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.4rem;
}
.insc-rules { display: flex; flex-direction: column; gap: 1rem; }
.insc-rules li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
}
.rule-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .05rem; }
.insc-rules strong { color: var(--white); }

/* ---------- ACCORDION -------------------------------------- */
.accordion { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }

.acc-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}
.acc-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.acc-btn:hover { background: var(--off-white); }
.acc-btn[aria-expanded="true"] {
  background: var(--primary);
  color: var(--white);
}
.acc-btn span { flex: 1; }
.acc-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}
.acc-btn[aria-expanded="true"] .acc-arrow { transform: rotate(180deg); }

.acc-body {
  display: none;
  background: var(--white);
  padding: 1.4rem 1.8rem;
  border-top: 1px solid var(--light-gray);
}
.acc-body.open { display: block; }
.acc-body ul { display: flex; flex-direction: column; gap: .7rem; padding-left: 1.2rem; }
.acc-body li {
  list-style: disc;
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.acc-body li strong { color: var(--text); }

/* ---------- ÁREAS TEMÁTICAS -------------------------------- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.area-tag {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: .95rem;
  padding: .65rem 1.3rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: default;
}
.area-tag span { font-size: 1.2rem; }
.area-tag:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- PREMIAÇÃO -------------------------------------- */
.premiacao-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.premiacao-trophy { font-size: 5rem; margin-bottom: 1rem; filter: drop-shadow(0 4px 16px rgba(201,162,39,.5)); }
.premiacao-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.premiacao-content > p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.premiacao-criterios {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(201,162,39,.2);
}
.premiacao-criterios h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.2rem;
}
.criterios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.criterio {
  background: rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.premiacao-obs {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
}
.premiacao-obs strong { color: var(--gold-light); }

/* ---------- COMISSÃO --------------------------------------- */
.comissao-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.comissao-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.comissao-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.comissao-icon { font-size: 2rem; margin-bottom: .8rem; }
.comissao-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.comissao-card ul { display: flex; flex-direction: column; gap: .5rem; }
.comissao-card li {
  font-size: .92rem;
  color: var(--text-muted);
  padding: .3rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.comissao-card li:last-child { border-bottom: none; }
.comissao-card p { font-size: .92rem; color: var(--text-muted); }

/* ---------- CTA FINAL -------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: .8rem;
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: .9;
}
.cta-section p strong { color: var(--white); }
.cta-section .btn-green {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.cta-section .btn-green:hover {
  background: var(--off-white);
  border-color: var(--off-white);
}

/* ---------- FOOTER ----------------------------------------- */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-slogan {
  margin-top: .6rem;
  font-size: .78rem;
  color: var(--green-light);
  letter-spacing: .07em;
  text-transform: uppercase;
}

#footer h4 {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.2rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links li a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--green-light); }

.footer-datas ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-datas li {
  display: flex;
  flex-direction: column;
  font-size: .88rem;
}
.footer-datas span {
  font-weight: 700;
  color: var(--green-light);
  font-size: .8rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }

/* ---------- BACK TO TOP ------------------------------------ */
#backToTop {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover {
  background: var(--green);
  transform: translateY(-4px);
}

/* ---------- AOS ANIMATIONS --------------------------------- */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos-delay="80"]  { transition-delay: .08s; }
[data-aos-delay="100"] { transition-delay: .1s; }
[data-aos-delay="160"] { transition-delay: .16s; }
[data-aos-delay="240"] { transition-delay: .24s; }
[data-aos-delay="320"] { transition-delay: .32s; }
[data-aos-delay="400"] { transition-delay: .4s; }
[data-aos-delay="480"] { transition-delay: .48s; }

/* ---------- RESPONSIVE ------------------------------------- */
@media (max-width: 1024px) {
  .atividades-grid { grid-template-columns: repeat(2, 1fr); }
  .ativ-full { grid-column: 1 / -1; }
  .criterios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .section { padding: 72px 0; }

  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1.5rem 1.2rem 2rem;
    gap: .3rem;
    border-bottom: 2px solid var(--green);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1rem; padding: .7rem 1rem; width: 100%; }
  .btn-nav { margin-top: .5rem; width: 100%; text-align: center; }

  .sobre-grid { grid-template-columns: 1fr; }
  .insc-grid  { grid-template-columns: 1fr; }
  .comissao-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }

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

@media (max-width: 600px) {
  .atividades-grid { grid-template-columns: 1fr; }
  .ativ-full { flex-direction: column; }
  .sobre-cards { grid-template-columns: 1fr; }
  .criterios-grid { grid-template-columns: 1fr 1fr; }
  .countdown-num { font-size: 1.6rem; }
  .countdown-item { min-width: 56px; }
  .countdown-sep { font-size: 1.5rem; }
  .hero-title { font-size: 2.2rem; }
}

@media (max-width: 420px) {
  .criterios-grid { grid-template-columns: 1fr; }
  .areas-grid { gap: .6rem; }
  .area-tag { font-size: .85rem; padding: .55rem 1rem; }
}
