/* ── Colégio Harmonia — Shared Stylesheet ── */

/* TOKENS */
:root {
  --green:       #008649;
  --green-dark:  #006a3a;
  --green-darker:#005530;
  --green-light: #33a86e;
  --green-tint:  #e8f5ee;
  --green-tint2: #c8e8d5;
  --slate:       #3c424f;
  --slate-dark:  #272b34;
  --slate-light: #6b7280;
  --gray-50:     #f9fafb;
  --gray-100:    #f3f4f6;
  --gray-200:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-400:    #9ca3af;
  --white:       #ffffff;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.07);
  --shadow-md:   0 2px 8px rgba(0,0,0,.08);
  --shadow-lg:   0 4px 16px rgba(0,0,0,.12);
  --shadow-xl:   0 8px 24px rgba(0,0,0,.14);
  --ease:        cubic-bezier(0.16,1,0.3,1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--slate); background: var(--white);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px,4vw,32px); }

/* SECTION PADDING */
.section { padding: clamp(48px,8vw,96px) 0; }
.section--tint { background: var(--green-tint); }
.section--gray { background: var(--gray-50); }
.section--slate { background: var(--slate); }
.section--dark  { background: var(--slate-dark); }
.section--green { background: var(--green); }
.section--green-dark { background: var(--green-dark); }

/* TYPOGRAPHY */
.overline {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.overline--white { color: rgba(255,255,255,.65); }
.overline--teal  { color: #4dbd87; }

h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(28px,5.5vw,58px); }
h2 { font-size: clamp(24px,4vw,36px); }
h3 { font-size: clamp(18px,2.5vw,24px); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { color: var(--slate); }
.section-head--white h2 { color: var(--white); }
.section-head p { font-size: 16px; color: var(--slate-light); max-width: 560px; margin: 12px auto 0; line-height: 1.65; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: 6px;
  padding: 13px 28px; transition: all 200ms var(--ease);
  border: none; text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn--outline:hover { background: var(--green-tint); }
.btn--ghost { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); color: var(--white); }
.btn--white { background: var(--white); color: var(--green); }
.btn--white:hover { background: var(--green-tint); }
.btn--sm { font-size: 13px; padding: 9px 18px; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* CARDS */
.card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden; transition: box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* ICON BOX */
.icon-box {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--green-tint); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box--lg { width: 56px; height: 56px; border-radius: 12px; }

/* BADGES */
.badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 4px;
}
.badge--green { background: var(--green-tint); color: var(--green); }
.badge--white { background: var(--white); color: var(--green); }
.badge--dark  { background: var(--slate); color: var(--white); }

/* ── HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background 300ms, border-color 300ms, box-shadow 300ms;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(229,231,235,.8);
}
.site-header.solid {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,.8);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(16px,4vw,32px);
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.header-logo { text-decoration: none; flex-shrink: 0; position: relative; height: 44px; width: 130px; }
.header-logo img { position: absolute; top: 0; left: 0; height: 44px; width: auto; transition: opacity 300ms; }
.logo-color { opacity: 0; }
.logo-white { opacity: 1; }
.site-header.scrolled .logo-color,
.site-header.solid .logo-color  { opacity: 1; }
.site-header.scrolled .logo-white,
.site-header.solid .logo-white  { opacity: 0; }

.header-nav { display: flex; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.92);
  text-decoration: none; padding: 6px 12px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 3px;
  transition: color 300ms, background 200ms;
}
.site-header.scrolled .nav-link,
.site-header.solid .nav-link { color: var(--slate); }
.nav-link:hover { background: var(--gray-100); color: var(--slate); }
.nav-link.active { color: var(--green); background: var(--green-tint); font-weight: 700; }
.nav-link svg { transition: transform 200ms; }

/* Dropdown */
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border-radius: 8px;
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-200);
  padding: 8px 0; min-width: 210px; z-index: 200; margin-top: 4px;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 9px 18px;
  font-size: 13px; font-weight: 500; color: var(--slate);
  text-decoration: none; transition: background 150ms;
}
.nav-dropdown a:hover { background: var(--gray-100); }

.header-cta {
  background: rgba(255,255,255,.15); color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
  font-size: 14px; font-weight: 600; padding: 9px 22px;
  border-radius: 6px; text-decoration: none;
  transition: all 300ms; flex-shrink: 0;
}
.site-header.scrolled .header-cta,
.site-header.solid .header-cta { background: var(--green); border-color: var(--green); }
.header-cta:hover { opacity: .85; color: var(--white); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; padding: 6px; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 250ms var(--ease); transform-origin: center;
}
.site-header.scrolled .hamburger span,
.site-header.solid .hamburger span { background: var(--slate); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  display: none; background: var(--white);
  border-top: 1px solid var(--gray-200);
  max-height: 80vh; overflow-y: auto;
}
@media (max-width: 768px) { .mobile-menu.open { display: block; } }
.mobile-item { border-bottom: 1px solid var(--gray-100); }
.mobile-item-row {
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-link {
  flex: 1; font-size: 15px; font-weight: 500; color: var(--slate);
  text-decoration: none; padding: 14px 20px; display: block;
}
.mobile-link.active { color: var(--green); font-weight: 700; }
.mobile-toggle {
  background: none; border: none; padding: 14px 20px; color: var(--gray-400);
  transition: transform 250ms;
}
.mobile-toggle.open { transform: rotate(180deg); }
.mobile-sub { background: var(--gray-50); display: none; }
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--slate-light); text-decoration: none;
  padding: 11px 20px 11px 36px; border-bottom: 1px solid var(--gray-100);
}
.mobile-sub a::before {
  content: ''; width: 4px; height: 4px;
  background: var(--green); border-radius: 50%; flex-shrink: 0;
}
.mobile-cta {
  display: block; margin: 16px; padding: 16px 20px;
  background: var(--green); color: var(--white);
  font-size: 15px; font-weight: 600; text-align: center;
  border-radius: 8px; text-decoration: none;
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 64px;
}
.hero--tall { min-height: 100vh; }
.hero--medium { min-height: 45vh; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(0,40,20,.88) 0%, rgba(0,60,30,.65) 60%, rgba(0,20,10,.45) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 820px;
  padding: clamp(48px,8vw,80px) clamp(20px,4vw,40px);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hero-content h1 { color: var(--white); margin-bottom: 18px; }
.hero-content h1 span { color: #4dbd87; }
.hero-content p {
  font-size: clamp(14px,2vw,18px); color: rgba(255,255,255,.82);
  line-height: 1.65; max-width: 580px; margin-bottom: 32px;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #4dbd87; margin-bottom: 14px;
}
.hero-badges {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 36px; margin-top: 16px;
}
.hero-badge {
  background: rgba(0,134,73,.2); border: 1px solid rgba(77,189,135,.35);
  border-radius: 20px; padding: 5px 14px;
  font-size: 12px; font-weight: 700; color: #4dbd87;
}
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.hero-stat strong { display: block; font-size: clamp(20px,3.5vw,30px); font-weight: 700; color: var(--white); }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.6); }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint span { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .08em; text-transform: uppercase; }
.scroll-hint svg { animation: bounce 1.5s ease-in-out infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }
.reveal-delay-6 { transition-delay: 480ms; }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 24px; }
.grid-align-center { align-items: center; }

/* ── FEATURES ── */
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item h3 { font-size: 14px; margin-bottom: 4px; color: var(--slate); }
.feature-item p { font-size: 13px; color: var(--slate-light); line-height: 1.55; }

/* ── PHOTO COLLAGE ── */
.photo-collage {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 210px 210px; gap: 12px;
}
.photo-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.photo-collage .span-full { grid-column: 1/-1; }
.photo-collage--tall { grid-template-rows: 220px 220px; }

/* ── GALLERY STRIP ── */
.gallery-strip { display: flex; height: clamp(120px,20vw,220px); overflow: hidden; }
.gallery-strip img { flex: 1; min-width: 0; object-fit: cover; }

/* ── COURSES CAROUSEL ── */
.carousel-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.carousel-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 200ms, opacity 200ms, box-shadow 200ms;
  box-shadow: 0 2px 12px rgba(0,0,0,.15); flex-shrink: 0;
}
.carousel-btn:disabled { background: #e5e7eb; color: #9ca3af; cursor: default; box-shadow: none; opacity: .6; }
.carousel-btn:not(:disabled):hover { background: var(--green-dark); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.carousel-btn--side { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; }
.carousel-outer { position: relative; padding: 0 28px; }
.carousel-track-wrap { overflow: hidden; position: relative; border-radius: 16px; }
.carousel-track { display: flex; gap: 20px; transition: transform 380ms cubic-bezier(.25,.46,.45,.94); will-change: transform; user-select: none; }
@media (max-width: 640px) { .carousel-outer { padding: 0 40px; } }
.course-card {
  flex-shrink: 0; width: clamp(280px,36vw,360px);
  border-radius: 16px; overflow: hidden; position: relative;
  min-height: clamp(300px,55vw,480px); display: block;
  text-decoration: none; cursor: pointer;
}
.course-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 400ms ease;
}
.course-card:hover img { transform: scale(1.04); }
.course-card-overlay {
  position: absolute; inset: 0;
}
.course-card-body {
  position: absolute; inset: 0; display: flex;
  flex-direction: column; justify-content: flex-end; padding: 28px 24px;
}
.course-card-body .badge { margin-bottom: 6px; }
.course-card-body h3 { font-size: 22px; color: var(--white); margin-bottom: 10px; }
.course-card-body p { font-size: 13px; color: rgba(255,255,255,.85); line-height: 1.6; margin-bottom: 20px; }
.course-card-body .cta-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--white);
}
.carousel-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  border: none; background: var(--gray-300);
  cursor: pointer; padding: 0; transition: all 250ms ease;
}
.carousel-dot.active { width: 24px; background: var(--green); }

/* ── PARTNERS MARQUEE ── */
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-fade-l {
  position: absolute; left: 0; top: 0; bottom: 0; width: 120px;
  background: linear-gradient(to right, var(--green-dark), transparent);
  z-index: 2; pointer-events: none;
}
.marquee-fade-r {
  position: absolute; right: 0; top: 0; bottom: 0; width: 120px;
  background: linear-gradient(to left, var(--green-dark), transparent);
  z-index: 2; pointer-events: none;
}
.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 0 48px; flex-shrink: 0; height: 64px;
}
.partner-logo img {
  height: 36px; width: auto; max-width: 140px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .75;
}
.partner-logo span {
  font-size: 17px; font-weight: 700; color: rgba(255,255,255,.75);
  white-space: nowrap;
}

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.testi-photos { display: flex; justify-content: center; }
.testi-photo-stack { position: relative; width: min(280px,80vw); height: min(340px,100vw); }
.testi-photo-stack img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  transition: opacity 500ms ease, transform 500ms ease;
  opacity: 0; transform: scale(.92) rotate(4deg);
}
.testi-photo-stack img.active { opacity: 1; transform: scale(1) rotate(0deg); z-index: 1; }
.testi-content { display: flex; flex-direction: column; gap: 0; }
.testi-quote { font-size: 52px; color: var(--green); font-weight: 900; line-height: 1; margin-bottom: 16px; font-family: Georgia,serif; }
.testi-text { font-size: 16px; color: var(--slate); line-height: 1.7; margin-bottom: 24px; transition: opacity 300ms; }
.testi-author { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.testi-author-name { font-size: 15px; font-weight: 700; color: var(--slate); }
.testi-author-role { font-size: 13px; color: var(--gray-400); margin-top: 2px; }
.testi-arrows { display: flex; gap: 10px; }
.testi-btn {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 150ms;
}
.testi-btn--prev { background: var(--gray-100); }
.testi-btn--prev:hover { background: var(--gray-200); }
.testi-btn--next { background: var(--green); }
.testi-btn--next:hover { background: var(--green-dark); }

/* ── NEWS CARDS ── */
.news-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.news-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.news-card-img { position: relative; height: 190px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-tag { position: absolute; top: 14px; left: 14px; }
.news-card-body { padding: 20px 20px 24px; }
.news-card-date { font-size: 11px; color: var(--gray-400); display: block; margin-bottom: 8px; }
.news-card-body h3 { font-size: 16px; color: var(--slate); margin-bottom: 8px; line-height: 1.35; letter-spacing: 0; }
.news-card-body p { font-size: 13px; color: var(--slate-light); line-height: 1.6; margin-bottom: 16px; }
.news-card-body a { font-size: 13px; font-weight: 600; color: var(--green); }

/* ── CTA BAND ── */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,.82); line-height: 1.6; max-width: 480px; }
.cta-icon-bg {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  opacity: .07; pointer-events: none;
}
.cta-icon-bg img { height: 300px; width: auto; }

/* ── FOOTER ── */
.site-footer { background: var(--slate-dark); color: var(--white); position: relative; overflow: hidden; }
.footer-top {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: clamp(40px,6vw,64px) clamp(16px,4vw,32px) 0;
}
.footer-top img { height: 60px; width: auto; margin-bottom: 20px; }
.footer-top p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.8; max-width: 640px; margin-bottom: 32px; }
.footer-divider { width: 100%; border: none; border-top: 1px dashed rgba(255,255,255,.12); }
.footer-nav { padding: clamp(32px,5vw,48px) clamp(16px,4vw,32px); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: clamp(20px,3vw,32px); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; transition: color 150ms; }
.footer-col li a:hover { color: var(--white); }
.footer-social {
  padding: clamp(20px,4vw,32px) clamp(16px,4vw,32px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
}
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.25); color: rgba(255,255,255,.65);
  text-decoration: none; transition: all 200ms; background: transparent;
}
.social-btn:hover { border-color: var(--green); color: var(--white); background: rgba(0,134,73,.15); }
.footer-bottom {
  padding: 0 clamp(16px,4vw,32px) clamp(24px,4vw,40px);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.28); }
.footer-bottom a { color: rgba(255,255,255,.28); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ── QUICK ACCESS STRIP ── */
.quick-strip {
  background: var(--green); padding: clamp(20px,3vw,28px) 0;
}
.quick-strip-inner {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
  gap: 12px;
}
.quick-item {
  background: rgba(255,255,255,.12); border-radius: 10px;
  padding: 14px 16px; display: flex; gap: 12px; align-items: center;
  text-decoration: none; transition: background 150ms;
}
.quick-item:hover { background: rgba(255,255,255,.22); }
.quick-item-icon { display: flex; align-items: center; flex-shrink: 0; }
.quick-item-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; }
.quick-item-val { font-size: 13px; font-weight: 600; color: var(--white); margin-top: 2px; }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--slate); letter-spacing: .04em; }
.form-input, .form-select, .form-textarea {
  font-family: inherit; font-size: 14px; color: var(--slate);
  border: 1.5px solid var(--gray-200); border-radius: 8px;
  padding: 11px 14px; outline: none; width: 100%;
  background: var(--white); transition: border-color 150ms;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green); }
.form-textarea { resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-divider {
  font-size: 11px; font-weight: 700; color: var(--green);
  letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid var(--gray-200);
  margin-top: 4px;
}
.form-hint { font-size: 11px; color: var(--gray-400); text-align: center; line-height: 1.5; }

/* ── FAQ ── */
.faq-item { background: var(--white); border-radius: 10px; border: 1px solid var(--gray-200); overflow: hidden; }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; background: none; border: none; cursor: pointer; gap: 12px;
}
.faq-btn span { font-size: 15px; font-weight: 600; color: var(--slate); text-align: left; line-height: 1.4; }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 200ms;
}
.faq-icon svg { transition: transform 200ms; }
.faq-item.open .faq-icon { background: var(--green); }
.faq-item.open .faq-icon svg { transform: rotate(180deg); stroke: var(--white); }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height 350ms var(--ease);
}
.faq-item.open .faq-body { max-height: 300px; }
.faq-body-inner { padding: 0 20px 18px; font-size: 14px; color: var(--slate-light); line-height: 1.7; border-top: 1px solid var(--gray-100); padding-top: 14px; }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; gap: 28px; position: relative; }
.timeline-row { display: flex; gap: 28px; align-items: flex-start; }
.timeline-row.right { flex-direction: row-reverse; }
.timeline-content { flex: 1; display: flex; justify-content: flex-end; }
.timeline-row.right .timeline-content { justify-content: flex-start; }
.timeline-card { background: var(--white); border-radius: 12px; padding: 20px 24px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); max-width: 380px; }
.timeline-card .overline { margin-bottom: 4px; }
.timeline-card p { font-size: 14px; color: var(--slate-light); line-height: 1.6; }
.timeline-year {
  flex-shrink: 0; width: 68px; height: 68px; border-radius: 50%;
  background: var(--slate); color: var(--white); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; z-index: 1;
  border: 4px solid var(--gray-50);
}
.timeline-year.highlight { background: var(--green); }
.timeline-spacer { flex: 1; }

/* ── NIVEL CARDS (Ensino Médio optativas) ── */
.nivel-card {
  background: var(--gray-50); border-radius: 14px; padding: 32px 28px;
  border: 2px solid transparent; height: 100%; display: flex; flex-direction: column; gap: 16px;
  transition: all 200ms var(--ease);
}
.nivel-card:hover { box-shadow: 0 8px 24px rgba(0,134,73,.12); transform: translateY(-4px); }

/* ── INSTAGRAM EMBED ── */
.ig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ig-label { font-size: 11px; font-weight: 700; color: #4dbd87; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.ig-frame { border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.ig-frame iframe { display: block; border: none; width: 100%; }

/* ── STAR RATING ── */
.stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }

/* ── ANIMATED CSS ICONS ── */
/* Spinning loader */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.spinner { animation: spin 1s linear infinite; }

/* Pulsing dot */
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .header-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .photo-collage { grid-template-rows: 180px 180px; }
  .photo-collage .hide-mobile { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testi-photos { order: -1; }
  .testi-photo-stack { height: 240px; width: 100%; }
  .ig-grid { grid-template-columns: 1fr; }
  .timeline-row { flex-direction: column !important; }
  .timeline-content { justify-content: flex-start !important; }
  .timeline-spacer { display: none; }
  .cta-icon-bg { display: none; }
  .marquee-fade-l, .marquee-fade-r { width: 48px; }
  .footer-cols { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .photo-collage { grid-template-columns: 1fr; grid-template-rows: 200px 160px 160px; }
  .photo-collage .span-full { grid-column: auto; }
}

/* ── AURORA BACKGROUND EFFECT ── */
@keyframes aurora {
  from { background-position: 50% 50%, 50% 50%; }
  to { background-position: 350% 50%, 350% 50%; }
}

.aurora-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.aurora-element {
  --white-gradient: repeating-linear-gradient(100deg, #fff 0%, #fff 7%, transparent 10%, transparent 12%, #fff 16%);
  --dark-gradient: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);
  --aurora: repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%);
  
  position: absolute;
  inset: -10px;
  opacity: 0.6; /* Increased opacity */
  background-image: var(--dark-gradient), var(--aurora);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;
  filter: blur(12px); /* Slightly more blur for smoothness */
  will-change: transform;
}

.aurora-element::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dark-gradient), var(--aurora);
  background-size: 200%, 100%;
  animation: aurora 60s linear infinite;
  background-attachment: fixed;
  mix-blend-difference: difference;
}


.site-footer {
  position: relative;
  overflow: hidden;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}
