/* ==============================================================================
   BLUE SCHOOL - MATRÍCULAS 2027 LANDING PAGE STYLES (OFICIAL)
   ============================================================================== */

:root {
  --blue-dark: #002244;
  --blue-deep: #0233A3;
  --blue-royal: #1640AC;
  --blue-cyan: #00A3E0;
  --blue-sky: #71CBFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Poppins', sans-serif;
}

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

body.landing-2027 {
  font-family: var(--font-main);
  background-color: #FFFFFF;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.landing-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================================================================
   HEADER
   ============================================================================== */
.landing-header {
  background: #002744;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.landing-header .landing-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}

.landing-brand img {
  height: 44px;
  width: auto;
  display: block;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-landing-gama {
  background: var(--blue-cyan);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 163, 224, 0.3);
  transition: all 0.25s ease;
}

.btn-landing-gama:hover {
  background: #008cc2;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 163, 224, 0.45);
}

.btn-landing-recife {
  background: #FFFFFF;
  color: #002744 !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-landing-recife:hover {
  background: #E2E8F0;
  transform: translateY(-2px);
}

.landing-phone-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  transition: color 0.2s ease;
}

.landing-phone-link:hover {
  color: var(--blue-cyan);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.landing-hero {
  background: url('../images/mt27-hero-bg-img.webp') no-repeat center top / cover;
  padding: 80px 0 60px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.landing-hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.landing-hero-title .cyan-word {
  color: var(--blue-sky);
}

.landing-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
}

.landing-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-form {
  background: #FFFFFF;
  color: var(--blue-deep) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-hero-form:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.landing-hero-visual {
  position: relative;
  text-align: center;
}

.landing-hero-txt-badge {
  max-width: 85%;
  height: auto;
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

.landing-hero-student-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.4));
}

/* ==============================================================================
   FORM SECTION ("FLUENT IN ENGLISH. FLUENT IN LIFE.")
   ============================================================================== */
.landing-section-form {
  background: linear-gradient(135deg, #0A2540 0%, #0233A3 100%);
  padding: 90px 0;
  color: #FFFFFF;
}

.landing-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.rd-form-wrapper-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  color: var(--text-dark);
}

.rd-form-title-wrap {
  margin-bottom: 24px;
  text-align: center;
}

.rd-form-badge {
  display: inline-block;
  background: #E0F2FE;
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rd-form-title-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #002744;
  margin-bottom: 6px;
}

.rd-form-title-wrap p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.landing-life-content {
  padding-top: 20px;
}

.landing-life-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.landing-life-title .cyan {
  color: var(--blue-sky);
}

.landing-life-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

/* ==============================================================================
   4 PILARES SECTION
   ============================================================================== */
.landing-pilares-section {
  padding: 90px 0;
  background: #FFFFFF;
}

.landing-pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.landing-pilar-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 36px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.landing-pilar-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-cyan);
  box-shadow: 0 16px 32px rgba(0, 163, 224, 0.15);
  background: #FFFFFF;
}

.landing-pilar-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--blue-cyan);
  line-height: 1;
  margin-bottom: 12px;
}

.landing-pilar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #002744;
  margin-bottom: 12px;
}

.landing-pilar-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================================================================
   MID SECTION WITH SEGMENT CARDS
   ============================================================================== */
.landing-mid-section {
  background: url('../images/mt27-mid-sec-bg-img.webp') no-repeat center center / cover;
  padding: 100px 0;
  color: #FFFFFF;
}

.landing-mid-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.landing-mid-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.landing-segments-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing-segment-box {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease;
}

.landing-segment-box:hover {
  transform: translateX(6px);
}

.landing-segment-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue-deep);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.landing-segment-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #002744;
  margin-bottom: 10px;
}

.landing-segment-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================================================================
   FAQ ACCORDION SECTION
   ============================================================================== */
.landing-faq-section {
  padding: 90px 0;
  background: #F8FAFC;
}

.landing-faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.landing-faq-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #002744;
  margin-bottom: 12px;
}

.landing-faq-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.landing-faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--blue-cyan);
  box-shadow: 0 8px 24px rgba(0, 163, 224, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #002744;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  color: var(--blue-cyan);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ==============================================================================
   UNIDADE GAMA CALLOUT SECTION
   ============================================================================== */
.landing-gama-callout {
  padding: 70px 0;
  background: #FFFFFF;
}

.landing-gama-box {
  background: linear-gradient(135deg, #EEF7FC 0%, #E0F2FE 100%);
  border: 2px solid rgba(0, 163, 224, 0.3);
  border-radius: var(--radius-lg);
  padding: 44px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.landing-gama-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #002744;
  margin-bottom: 8px;
}

.landing-gama-info p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.landing-gama-info .phone-tag {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.landing-gama-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.landing-footer {
  background: #00182C;
  color: #94A3B8;
  padding: 50px 0 30px;
  font-size: 0.875rem;
}

.landing-footer .landing-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.landing-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-footer-brand img {
  height: 38px;
  width: auto;
}

.landing-footer-social {
  display: flex;
  gap: 12px;
}

.landing-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s ease;
}

.landing-footer-social a:hover {
  background: var(--blue-cyan);
  transform: translateY(-2px);
}

.landing-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.landing-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer-links a:hover {
  color: #FFFFFF;
}

.landing-footer-bottom {
  text-align: center;
  font-size: 0.8125rem;
  color: #64748B;
}

/* ==============================================================================
   RESPONSIVENESS
   ============================================================================== */
@media (max-width: 1024px) {
  .landing-hero-grid,
  .landing-form-grid,
  .landing-mid-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-hero-subtitle {
    margin: 0 auto 30px;
  }

  .landing-hero-ctas {
    justify-content: center;
  }

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

  .landing-gama-box {
    flex-direction: column;
    text-align: center;
  }

  .landing-gama-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html, body.landing-2027 {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
  }

  img, iframe, video {
    max-width: 100% !important;
    height: auto;
  }

  .landing-container {
    padding: 0 18px;
  }

  .landing-hero {
    padding: 50px 0 40px;
  }

  .landing-hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .landing-life-title {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
  }

  .landing-life-text {
    text-align: center;
    font-size: 1rem;
  }

  .landing-pilares-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-pilar-card {
    padding: 24px 18px;
    text-align: center;
    align-items: center;
  }

  .rd-form-wrapper-card {
    padding: 24px 16px;
  }

  .landing-segment-box {
    padding: 20px 18px;
    text-align: center;
  }

  .landing-gama-box {
    padding: 28px 18px;
    text-align: center;
  }

  .landing-gama-info h3 {
    font-size: 1.5rem;
  }

  .landing-nav-actions .landing-phone-link {
    display: none;
  }

  .btn-landing-gama,
  .btn-landing-recife {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  /* ==============================================================================
     FOOTER CENTRALIZADO NO MOBILE (LANDING)
     ============================================================================== */
  .landing-footer {
    padding: 40px 0 24px;
    text-align: center;
  }

  .landing-footer .landing-container {
    align-items: center;
    gap: 24px;
  }

  .landing-footer-top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 22px;
    width: 100%;
    padding-bottom: 24px;
  }

  .landing-footer-brand {
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .landing-footer-brand img {
    margin: 0 auto;
  }

  .landing-footer-social {
    justify-content: center;
    width: 100%;
  }

  .landing-footer-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    width: 100%;
  }

  .landing-footer-bottom {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .landing-hero-title {
    font-size: 1.85rem;
  }

  .landing-faq-header h2 {
    font-size: 1.85rem;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.975rem;
  }

  .faq-answer {
    padding: 0 18px;
    font-size: 0.9rem;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 16px;
  }

  .landing-hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-landing-gama,
  .btn-landing-recife {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}