/* =============================================
   TURMA DO LEÃOZINHO — LANDING PAGE STYLES
   ============================================= */

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

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

body {
  font-family: 'Nunito', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----- CSS VARIABLES ----- */
:root {
  --yellow: #f7c948;
  --yellow-dark: #e0ae20;
  --green: #3a8c2f;
  --green-dark: #256b1d;
  --green-light: #edf7eb;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #888;
  --text: #2d2d2d;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
}

/* ----- CONTAINER ----- */
.lp-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- BUTTONS ----- */
.lp-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  white-space: nowrap;
}

.lp-btn--primary {
  background: var(--yellow);
  color: var(--green-dark);
}

.lp-btn--primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,201,72,0.45);
}

.lp-btn--header {
  background: var(--yellow);
  color: var(--green-dark);
  padding: 10px 24px;
  font-size: 0.9rem;
}

.lp-btn--header:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.lp-btn--white {
  background: var(--white);
  color: var(--green-dark);
}

.lp-btn--white:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.lp-btn--lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ----- LABELS / EYEBROWS ----- */
.lp-label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.lp-label--center {
  display: block;
  text-align: center;
}

/* ----- SECTION TITLES ----- */
.lp-section__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.lp-section__title--center {
  text-align: center;
}

/* ----- SECTION SPACING ----- */
.lp-section {
  padding: 80px 0;
}

/* =============================================
   HEADER
   ============================================= */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  height: 72px;
  display: flex;
  align-items: center;
}

.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lp-header__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.lp-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.lp-header__nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: color var(--transition);
}

.lp-header__nav a:hover {
  color: var(--green);
}

/* =============================================
   HERO
   ============================================= */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/hero.jpg') center center / cover no-repeat;
  padding-top: 72px;
}

.lp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,107,29,0.82) 0%, rgba(58,140,47,0.60) 60%, rgba(0,0,0,0.30) 100%);
}

.lp-hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.lp-hero__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.lp-hero__title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.lp-hero__title strong {
  color: var(--yellow);
}

.lp-hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  max-width: 520px;
}

/* =============================================
   SOBRE
   ============================================= */
.lp-sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lp-sobre__text p {
  color: #555;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.lp-sobre__text .lp-btn {
  margin-top: 8px;
}

.lp-sobre__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* =============================================
   CARROSSEL CSS — SEÇÃO SOBRE
   ============================================= */
.lp-sobre__carousel {
  position: relative;
}

.lp-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-light);
}

/* Esconde os radio buttons */
.lp-carousel input[type=radio] {
  display: none;
}

.lp-carousel__slides {
  display: flex;
  width: 600%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-carousel__slide {
  width: calc(100% / 6);
  flex-shrink: 0;
}

.lp-carousel__slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Controle via radio buttons */
#c1:checked ~ .lp-carousel__slides { transform: translateX(0%); }
#c2:checked ~ .lp-carousel__slides { transform: translateX(calc(-100% / 6)); }
#c3:checked ~ .lp-carousel__slides { transform: translateX(calc(-200% / 6)); }
#c4:checked ~ .lp-carousel__slides { transform: translateX(calc(-300% / 6)); }
#c5:checked ~ .lp-carousel__slides { transform: translateX(calc(-400% / 6)); }
#c6:checked ~ .lp-carousel__slides { transform: translateX(calc(-500% / 6)); }

/* Dots */
.lp-carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.lp-carousel__dots label {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: block;
}

#c1:checked ~ .lp-carousel__dots label[for=c1],
#c2:checked ~ .lp-carousel__dots label[for=c2],
#c3:checked ~ .lp-carousel__dots label[for=c3],
#c4:checked ~ .lp-carousel__dots label[for=c4],
#c5:checked ~ .lp-carousel__dots label[for=c5],
#c6:checked ~ .lp-carousel__dots label[for=c6] {
  background: var(--yellow);
  transform: scale(1.3);
}

/* Setas — um grupo por slide, todos ocultos por padrão */
.lp-carousel__arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: none;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 10;
  pointer-events: none;
}

.lp-carousel__prev,
.lp-carousel__next {
  pointer-events: all;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-dark);
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background var(--transition), transform var(--transition);
  user-select: none;
}

.lp-carousel__prev:hover,
.lp-carousel__next:hover {
  background: var(--yellow);
  transform: scale(1.1);
}

.lp-carousel__prev--empty,
.lp-carousel__next--empty {
  visibility: hidden;
  pointer-events: none;
}

/* Mostrar o grupo de setas correto conforme o slide ativo */
#c1:checked ~ .lp-carousel__arrows--1 { display: flex; }
#c2:checked ~ .lp-carousel__arrows--2 { display: flex; }
#c3:checked ~ .lp-carousel__arrows--3 { display: flex; }
#c4:checked ~ .lp-carousel__arrows--4 { display: flex; }
#c5:checked ~ .lp-carousel__arrows--5 { display: flex; }
#c6:checked ~ .lp-carousel__arrows--6 { display: flex; }

/* =============================================
   DIFERENCIAIS
   ============================================= */
.lp-diferenciais {
  background: var(--gray-light);
}

.lp-diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.lp-card-diferencial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.lp-card-diferencial__icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
}

.lp-card-diferencial__icon svg {
  width: 32px;
  height: 32px;
}

.lp-card-diferencial h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.lp-card-diferencial p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* =============================================
   TURMAS
   ============================================= */
.lp-turmas__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.lp-card-turma {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.lp-card-turma__img {
  height: 180px;
  overflow: hidden;
  background: var(--green-light);
}

.lp-card-turma__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lp-card-turma:hover .lp-card-turma__img img {
  transform: scale(1.06);
}

.lp-card-turma__body {
  padding: 18px 16px;
  text-align: center;
}

.lp-card-turma__body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.lp-card-turma__age {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
}

.lp-turmas__cta {
  text-align: center;
  margin-top: 48px;
}

/* =============================================
   CTA BANNER
   ============================================= */
.lp-cta-banner {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  padding: 64px 0;
}

.lp-cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.lp-cta-banner__text h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.lp-cta-banner__text p {
  font-size: 1rem;
  color: rgba(37,107,29,0.85);
  max-width: 520px;
}

/* =============================================
   MATRÍCULA / IFRAME
   ============================================= */
.lp-matricula {
  background: var(--gray-light);
}

.lp-matricula__sub {
  text-align: center;
  color: #666;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

.lp-iframe-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  min-height: 480px;
}

.lp-iframe-wrapper iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.lp-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.lp-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.lp-footer__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.lp-footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.lp-footer__info h4,
.lp-footer__social h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--yellow);
  margin-bottom: 16px;
}

.lp-footer__info p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.7);
}

.lp-footer__info p a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.lp-footer__info p a:hover {
  color: var(--yellow);
}

.lp-footer__social-links {
  display: flex;
  gap: 12px;
}

.lp-footer__social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background var(--transition), color var(--transition);
}

.lp-footer__social-links a:hover {
  background: var(--yellow);
  color: var(--green-dark);
}

.lp-footer__social-links svg {
  width: 18px;
  height: 18px;
}

.lp-footer__bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .lp-diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-turmas__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .lp-footer__brand {
    grid-column: 1 / -1;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
  .lp-section {
    padding: 56px 0;
  }

  .lp-section__title {
    font-size: 1.6rem;
  }

  /* Header */
  .lp-header__nav {
    display: none;
  }

  /* Hero */
  .lp-hero__title {
    font-size: 2rem;
  }

  .lp-hero__subtitle {
    font-size: 1rem;
  }

  /* Sobre */
  .lp-sobre__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .lp-sobre__carousel {
    order: -1;
  }

  .lp-carousel__slide img {
    height: 280px;
  }

  /* Diferenciais */
  .lp-diferenciais__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Turmas */
  .lp-turmas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA Banner */
  .lp-cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .lp-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .lp-footer__brand {
    grid-column: auto;
  }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
  .lp-hero__title {
    font-size: 1.7rem;
  }

  .lp-btn--lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .lp-diferenciais__grid {
    grid-template-columns: 1fr;
  }

  .lp-turmas__grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-iframe-wrapper iframe {
    height: 600px;
  }
}
