/* ===================================================
   ADCRISOL — Landing Page Styles
   Palette: #1B3181 | #213368 | #00AC4E | #0A8456 | #FFFFFF
   =================================================== */

:root {
  --blue-1: #1B3181;
  --blue-2: #213368;
  --green-1: #00AC4E;
  --green-2: #0A8456;
  --white: #FFFFFF;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.55);
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --radius: 16px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--blue-2);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- LAYOUT ---- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 100px 0;
}

.section-dark {
  background: var(--blue-1);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0.4em;
}

.section-heading.green { color: var(--green-1); }
.section-heading.white { color: var(--white); }

.section-header.center { text-align: center; margin-bottom: 3rem; }

.heading-bar {
  width: 60px;
  height: 5px;
  background: var(--green-1);
  border-radius: 99px;
  margin: 1rem auto;
}

.section-sub {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 1rem;
}

p { color: var(--text-light); margin-bottom: 1rem; }

/* ---- WAVES ---- */
.wave-top {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 80px;
  background-repeat: no-repeat;
  background-size: cover;
}

.wave-blue {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23213368' d='M0,40 C360,80 1080,0 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

.wave-dark {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%231B3181' d='M0,40 C360,80 1080,0 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* ====================================================
   NAVBAR
   ==================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(27, 49, 129, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; }

.logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.btn-nav {
  background: var(--green-1) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 20px !important;
}

.btn-nav:hover { background: var(--green-2) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue-1) 60%, #0f1f50 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 50%, rgba(0,172,78,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(0,172,78,0.08) 0%, transparent 60%);
}

/* Decorative wave lines (right side) */
.hero-bg-waves {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background-image: repeating-linear-gradient(
    -30deg,
    transparent,
    transparent 18px,
    rgba(0,172,78,0.15) 18px,
    rgba(0,172,78,0.15) 20px
  );
  border-radius: 50%;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.hero-eyebrow {
  color: var(--green-1);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-title .highlight {
  color: var(--green-1);
  display: block;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-1);
  color: var(--white);
  border-color: var(--green-1);
}

.btn-primary:hover {
  background: var(--green-2);
  border-color: var(--green-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,172,78,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

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

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: min(260px, 30vw);
  filter: brightness(0) invert(1);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 2px;
  height: 50px;
  background: linear-gradient(to bottom, var(--green-1), transparent);
  margin-inline: auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ====================================================
   VISÃO & MISSÃO
   ==================================================== */
.section-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card {
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
}

.card-dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.card-green {
  background: linear-gradient(135deg, var(--green-2), var(--green-1));
}

.card-icon {
  font-size: 2rem;
  color: var(--green-1);
  margin-bottom: 1.5rem;
}

.card-green .card-icon { color: var(--white); }

.mission-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.mission-list i { color: var(--white); margin-top: 4px; flex-shrink: 0; }
.mission-list span { color: var(--white); font-size: 0.95rem; }

/* ====================================================
   QUEM SOMOS
   ==================================================== */
.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}

.qs-text p { font-size: 1.05rem; }

.verse {
  margin-top: 2rem;
  border-left: 4px solid var(--green-1);
  padding: 1rem 1.5rem;
  background: rgba(0,172,78,0.08);
  border-radius: 0 12px 12px 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-style: italic;
  color: var(--text-light);
}

.verse i { color: var(--green-1); font-size: 1.5rem; flex-shrink: 0; }

.qs-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qs-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 420px;
  background: linear-gradient(135deg, rgba(0,172,78,0.15), rgba(27,49,129,0.3));
  border: 2px dashed rgba(0,172,78,0.4);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
}

.qs-image-placeholder i { font-size: 3rem; color: var(--green-1); opacity: 0.6; }
.qs-image-placeholder span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.2rem; opacity: 0.5; }

.qs-image {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: transform var(--transition), box-shadow var(--transition);
}

.qs-image:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

/* ====================================================
   AGENDA SEMANAL
   ==================================================== */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.agenda-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.agenda-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.highlight-card {
  background: linear-gradient(135deg, var(--green-2), var(--green-1));
  border-color: transparent;
}

.agenda-day {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-1);
  margin-bottom: 0.5rem;
}

.highlight-card .agenda-day { color: rgba(255,255,255,0.8); }

.agenda-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.highlight-card .agenda-time { color: rgba(255,255,255,0.7); }

.agenda-event {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
}

.agenda-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.agenda-cta {
  text-align: center;
}

.agenda-cta p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.95rem;
}

.agenda-cta i { color: var(--green-1); }

/* ====================================================
   NOSSOS VALORES
   ==================================================== */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.valor-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.valor-card:hover {
  transform: translateY(-8px);
  border-color: var(--green-1);
  box-shadow: 0 12px 32px rgba(0,172,78,0.15);
}

.valor-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--green-2), var(--green-1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.valor-card h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ====================================================
   GALERIA
   ==================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,172,78,0);
  transition: var(--transition);
}

.gallery-item:hover::after { background: rgba(0,172,78,0.2); }

.gallery-item.placeholder {
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(0,172,78,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: default;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 80vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--green-1); }

/* ====================================================
   CONTATO / REDES SOCIAIS
   ==================================================== */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--green-1);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item div { display: flex; flex-direction: column; gap: 4px; }
.info-item strong { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: var(--white); }
.info-item span { color: var(--text-light); }

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.social-btn i { font-size: 1.4rem; flex-shrink: 0; }

.social-btn:hover { transform: translateY(-4px); opacity: 0.9; }

.facebook { background: #1877F2; }
.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.youtube   { background: #FF0000; }
.maps      { background: linear-gradient(135deg, var(--green-2), var(--green-1)); }

.social-btn:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: #0f1f50;
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--green-2), var(--green-1), var(--green-2));
}

.footer-logo {
  height: 56px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ====================================================
   BACK TO TOP
   ==================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--green-1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(0,172,78,0.4);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--green-2); }

/* ====================================================
   ANIMATIONS
   ==================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.30s !important; }
.delay-3 { transition-delay: 0.45s !important; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .agenda-grid { grid-template-columns: repeat(3, 1fr); }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .quem-somos-grid { grid-template-columns: 1fr; }
  .qs-image-wrap { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-logo-wrap { display: none; }
  .hero-cta { justify-content: center; }
  .hero-sub br { display: none; }

  .section-grid.two-col { grid-template-columns: 1fr; }

  .agenda-grid { grid-template-columns: repeat(2, 1fr); }

  .contato-grid { grid-template-columns: 1fr; }
  .social-links { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--blue-1);
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    transition: right 0.35s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .nav-toggle { display: flex; z-index: 1100; }

  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 480px) {
  .agenda-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .social-links { grid-template-columns: 1fr; }
}
