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

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

body {
  font-family: 'Montserrat', sans-serif;
  color: #1a2e5a;
  background: #fff;
  overflow-x: hidden;
}

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

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

/* ================================
   CONTAINER
================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ================================
   HERO / HEADER
================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f0f7ff 0%, #d8ebf9 50%, #bad9f5 100%);
  padding-bottom: 60px;
}

/* NOVO HERO HEADER (Logos + Idiomas) */
.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 10px;
}

/* Barra de idiomas */
.lang-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 0; 
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a2e5a;
  transition: opacity 0.2s;
}

.lang-item .flag-img {
  width: 24px;
  height: auto;
  display: block;
  border-radius: 2px;
}

.lang-item:hover {
  opacity: 0.7;
}

.lang-item.active span:not(.flag) {
  font-weight: 700;
  border-bottom: 2px solid #1a2e5a;
  padding-bottom: 1px;
}

/* Grid do hero (2 colunas) */
.hero-inner {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  min-height: clamp(600px, 80vh, 900px);
  padding-top: 20px;
  padding-bottom: 40px;
}

/* Coluna da foto */
.hero-photo-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 0;
}

.hero-photo {
  width: 180%;
  max-width: none;
  height: auto;
  display: block;
  flex-shrink: 0;
  margin-left: auto;
  transform: translateX(0px) translateY(var(--parallax-y, 0px));
  filter: drop-shadow(0 16px 40px rgba(26, 46, 90, 0.12));
  will-change: transform;
}

/* Coluna do conteúdo e Logos */
.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-left: 60px;
  padding-right: 0;
}

.hero-logos {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-principal {
  height: 120px; 
  width: auto;
  display: block;
}

.logo-ib {
  height: 95px; 
  width: auto;
  display: block;
}

.logo-divider {
  width: 1px;
  height: 85px; 
  background-color: #1a2e5a;
  opacity: 0.4;
}

/* Textos */
.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #274278;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.hero-title .destaque {
  font-weight: 800;
  color: #1a2e5a;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.65;
  color: #017fd3;
  white-space: nowrap;
}

/* Botão CTA */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #1a3365;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 42px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.hero-cta:hover {
  background-color: #243d78;
  color:#FFF;
  text-decoration:none;
  transform: translateX(4px);
}

.cta-arrow {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

/* Divisor triangular (Largo e Suave) */
.hero-divider {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 180px solid transparent;
  border-right: 180px solid transparent;
  border-top: 35px solid #bad9f5;
  pointer-events: none;
  z-index: 2;
}

/* ================================
   SEÇÃO: O QUE É O IB
================================ */
.about-ib {
  position: relative;
  background-color: #f4f8fb;
  padding: 80px 0 100px;
  text-align: center;
}

.about-header {
  max-width: 950px;
  margin: 0 auto 80px;
}

.about-title {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-title .dark-text {
  color: #1a2e5a;
  font-weight: 600;
}

.about-title .light-text {
  color: #4da3ff;
  font-weight: 700;
}

.about-description {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: #1a2e5a;
  font-weight: 500;
}

.about-description strong {
  color: #1a2e5a;
  font-weight: 700;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 65px 24px 35px;
  box-shadow: 0 15px 40px rgba(26, 46, 90, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
}

.card-icon {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #1a2e5a;
  font-weight: 500;
  margin: 0;
}

.card p strong {
  color: #1a2e5a;
  font-weight: 700;
}

.about-divider {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 180px solid transparent;
  border-right: 180px solid transparent;
  border-top: 35px solid #f4f8fb;
  pointer-events: none;
  z-index: 2;
}

/* ================================
   SEÇÃO: DIFERENCIAIS
================================ */
.diferenciais {
  position: relative;
  background-color: #1a3365;
  padding: 80px 0 0 0;
  margin-top: -1px;
  /* MÁSCARA PERFEITA: Corta a base da seção e a foto em formato de V */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 45px), 50% 100%, 0 calc(100% - 45px));
  z-index: 2;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/bg_diferenciais.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1); 
  z-index: -1; 
}

.diferenciais-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 40px;
}

.diferenciais-image-col {
  display: flex;
  justify-content: flex-start;
  margin-left: -30px;
  align-self: flex-end;
}

.diferenciais-img {
  width: 100%;
  max-width: 550px;
  height: auto;
  display: block;
  margin-bottom: 0;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
  transform: translateY(var(--parallax-dif-y, 0px));
  will-change: transform;
}

.diferenciais-text-col {
  padding-right: 50px;
  padding-bottom: 45px;
}

.diferenciais-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 35px;
}

.diferenciais-title .fw-normal {
  font-weight: 500;
}

.diferenciais-title strong {
  font-weight: 800;
}

.diferenciais-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diferenciais-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #ffffff;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.4;
  font-weight: 500;
}

.diferenciais-list li p {
  margin: 0;
}

.diferenciais-list li strong {
  font-weight: 700;
}

.seta {
  color: #4da3ff;
  font-size: 1.3rem;
  line-height: 1.1;
  font-weight: 900;
  margin-top: 2px;
}

.diferenciais-divider {
  display: none;
}

/* ================================
   SEÇÃO: VÍDEO
================================ */
.video-section {
  position: relative;
  background-color: #f4f8fb;
  padding: 100px 0 100px;
  margin-top: -45px;
  z-index: 1;
  text-align: center;
}

.video-header {
  margin-bottom: 50px;
}

.video-title {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  line-height: 1.2;
  color: #1a2e5a;
}

.video-title .fw-normal {
  font-weight: 500;
}

.video-title strong {
  color: #4da3ff;
  font-weight: 800;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(26, 46, 90, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-divider {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 180px solid transparent;
  border-right: 180px solid transparent;
  border-top: 35px solid #f4f8fb;
  pointer-events: none;
  z-index: 2;
}

/* ================================
   SEÇÃO: SLIDER DE FOTOS
================================ */
.slider-section {
  background: linear-gradient(180deg, #cbe2f4 0%, #e2f0fb 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.slider-title {
  text-align: center;
  color: #1a3365;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 50px;
  line-height: 1.2;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.slider-track-container {
  width: 100%;
  overflow: visible;
}

.slider-track {
  display: flex;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: max-content;
}

.slide {
  width: 60vw;
  max-width: 850px;
  margin: 0 20px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              filter 0.6s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(0.8);
  opacity: 1;
  filter: brightness(0.4);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.slide.active, .slide.is-slide-active {
  transform: scale(1);
  filter: brightness(1);
  box-shadow: 0 25px 50px rgba(26, 46, 90, 0.2);
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #1a3365;
  font-size: 3rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  transition: color 0.3s;
}

.slider-arrow:hover {
  color: #4da3ff;
}

.prev-arrow {
  left: calc(50% - 480px);
}

.next-arrow {
  right: calc(50% - 480px);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #1a3365;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active, .dot.is-slide-active {
  background: #1a3365;
}

.slider-footer {
  max-width: 850px;
  margin: 50px auto 0;
  padding: 24px 0;
  border-top: 2px solid #4da3ff;
  border-bottom: 2px solid #4da3ff;
  text-align: center;
}

.slider-footer p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #1a3365;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
}


/* ================================
   SEÇÃO: FORMULÁRIO DE CONTATO
================================ */
.contact-section {
  background-color: #f4f8fb;
  padding: 80px 0 60px; 
}

.contact-box {
  background: #ffffff;
  border-radius: 32px;
  padding: 60px 80px;
  box-shadow: 0 25px 60px rgba(26, 46, 90, 0.08);
  max-width: 1100px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-title {
  color: #1a3365;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.2;
}

.contact-title .fw-normal {
  font-weight: 500;
}

.contact-title strong {
  font-weight: 800;
}

.student-status-toggle {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

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

.column-title {
  color: #1a3365;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group.half {
  flex: 1;
}

.form-group label {
  display: block;
  color: #1a3365;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: #334155;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #4da3ff;
}

.form-control::placeholder {
  color: #94a3b8;
}

.readonly-style {
  background-color: #f1f5f9;
  border-color: transparent;
  color: #475569;
  font-weight: 500;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.custom-radio {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #1a3365;
  font-weight: 500;
}

.custom-radio input {
  display: none;
}

.radio-mark {
  width: 22px;
  height: 22px;
  border: 2px solid #1a3365;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  display: inline-block;
}

.custom-radio input:checked + .radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: #e11d48;
  border-radius: 50%;
}

.add-student-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.btn-add-student {
  background: transparent;
  border: 2px solid #94a3b8;
  color: #64748b;
  border-radius: 50px;
  padding: 12px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-add-student:hover {
  border-color: #1a3365;
  color: #1a3365;
}

.form-footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 30px;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #1a3365;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox input:checked + .checkmark {
  background-color: #1a3365;
}

.custom-checkbox input:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  font-size: 0.8rem;
  color: #1a3365;
  line-height: 1.5;
  font-weight: 500;
}

.btn-submit {
  background-color: #0066ff;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 16px 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-submit:hover {
  background-color: #0052cc;
  transform: translateY(-2px);
}

/* ================================
   SEÇÃO: FOOTER
================================ */
.site-footer {
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 15%);
  padding-top: 40px; 
}

.footer-certifications {
  text-align: center;
  margin-bottom: 60px;
}

.cert-title {
  color: #475569;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.cert-logos img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-info {
  padding-bottom: 80px;
}

.info-box {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #1a3365;
  border-radius: 16px;
  padding: 40px 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.info-left {
  flex: 0 0 250px;
  text-align: center;
  color: #1a3365;
}

.info-left h4 {
  color: #4da3ff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.info-left p {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

.info-divider {
  width: 1px;
  height: 100px;
  background-color: #cbd5e1;
  margin: 0 40px;
}

.info-right {
  flex: 1;
  color: #1a3365;
}

.info-right p {
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 500;
}

.info-right strong {
  font-weight: 700;
}

.info-right em {
  font-style: italic;
}

.footer-bottom {
  background-color: #1a3365;
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 400;
}

.footer-logo {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-30px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

/* ================================
   RESPONSIVO GERAL
================================ */

/* Notebooks / Monitores menores (13 e 14 polegadas) */
@media (max-width: 1440px) {
  .hero-inner {
    min-height: clamp(500px, 70vh, 750px);
    grid-template-columns: 50% 50%;
  }
  .hero-photo-col {
    margin-left: 0;
  }
  .hero-photo {
    width: 160%;
    transform: translateX(0px) translateY(var(--parallax-y, 0px));
  }
  .hero-content-col {
    padding-left: 40px;
  }
}

/* Telas médias (1200px) - Evita quebra antes do tablet */
@media (max-width: 1200px) {
  .hero-photo-col {
    margin-left: -250px;
  }
  .hero-photo {
    width: 170%; 
  }
  .hero-content-col {
    padding-left: 60px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  /* Hero */
  
    .hero {
    padding-bottom: 20px; 
  } 
    .hero-inner {
    grid-template-columns: 50% 50%;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px; 
    gap: 20px;
  }

  .hero-photo-col {
    margin-left: 0;
  }
  .hero-photo {
    width: 120%;
    transform: translateX(0px) translateY(var(--parallax-y, 0px));
  }
  .hero-content-col {
    padding-left: 20px;
  }

  .logo-principal { height: 70px; }
  .logo-ib { height: 55px; }
  .hero-title,
  .hero-subtitle {
    white-space: normal;
  }

  /* About IB */
  .cards-grid {
    gap: 20px;
  }
  .card {
    padding: 50px 20px 30px;
  }
  .card-icon {
    width: 75px;
    height: 75px;
    top: -37px;
  }

  /* Diferenciais */
  .diferenciais-inner {
    grid-template-columns: 58% 42%; 
    gap: 20px;
  }
    
  .diferenciais-text-col {
    padding-bottom: 90px; 
    padding-right: 10px; 
  }    
    
 .diferenciais-image-col {
    margin-left: 0; 
    justify-content: center; 
  }

  .diferenciais-img {
    width: 90%;
    max-width: 380px; 
  }    
    
}

/* Mobile landscape / tablet pequeno */
@media (max-width: 768px) {
  /* ================================
     HERO (Ajustes Novos)
  ================================ */
  
.about-title,
  .diferenciais-title,
  .video-title,
  .slider-title,
  .contact-title {
    text-align: center;
  }
    

    .hero {
    padding-bottom: 30px; 
  }
    
    .hero-header {
    padding-top: 15px;
  }

  .hero-logos { gap: 10px; }
  .logo-principal { height: 55px; }
  .logo-ib { height: 45px; }
  .logo-divider { height: 45px; margin: 0 5px; }

  .lang-bar { gap: 16px; }
  .lang-item span { display: none; }
  .lang-item .flag-img { width: 28px; }

  .hero {
    padding-bottom: 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;
    gap: 20px;
  }

  .hero-photo-col {
    justify-content: center;
    margin-left: 0;
    order: 1;
  }

  .hero-photo {
    width: 125%;
    max-width: none; 
    margin-left: -12.5%;
  }
    

  .hero-content-col {
    align-items: center;
    padding-left: 0;
    order: 2;
  }

  .hero-title br,
  .hero-subtitle br {
    display: none;
  }    
        
    
  .hero-title {
    font-size: 2rem; 
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    padding: 0 10px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
    padding: 0 15px;
    white-space: normal;
  }
    
    .diferenciais::before {
    background-image: url('images/bg_diferenciais_m.webp');
  }    

/* ================================
     ABOUT IB
  ================================ */
  .about-ib {
    padding-top: 90px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 70px;
    margin-top: 60px;
  }

  /* ================================
     DIFERENCIAIS
  ================================ */
  .diferenciais {
    padding: 60px 0 0 0;
  }
  .diferenciais-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .diferenciais-image-col {
    order: 2;
    margin-left: 0;
    justify-content: center;
    align-self: flex-end;
  }
  .diferenciais-text-col {
    order: 1;
    padding-right: 0;
    padding-bottom: 0;
  }
  .diferenciais-img {
    width: 90%;
    max-width: 400px;
  }
    
    
  /* Reduz o espaço abaixo da caixa do formulário */
  .contact-section {
    padding-bottom: 30px; 
  }

  /* Reduz o espaço acima do texto das certificações */
  .site-footer {
    padding-top: 15px; 
  }

  /* Diminui a fonte do título das certificações */
  .cert-title {
    font-size: 0.90rem; 
    margin-bottom: 30px; 
    padding: 0 10px; 
  }    
    
    
}

/* Mobile pequeno (Telas menores que 480px) */
@media (max-width: 480px) {
  /* Hero */
  .lang-bar { gap: 12px; }
  .lang-item span { display: none; }
  .lang-item .flag-img { width: 24px; }
  .logo-principal { height: 44px; }
  .logo-ib { height: 36px; }
  .hero-photo { max-width: none; }
  .hero-title { font-size: 1.75rem; }

  .hero-cta {
    font-size: 0.9rem;
    padding: 15px 28px;
  }
  .hero-divider {
    border-left-width: 90px;
    border-right-width: 90px;
  }
}

/* ================================
   RESPONSIVO - VÍDEO
================================ */
@media (max-width: 768px) {
  .video-section {
    padding: 80px 0 80px;
  }
  .video-header {
    margin-bottom: 35px;
  }
  .video-wrapper {
    border-radius: 8px;
  }
}

/* ================================
   RESPONSIVO - SLIDER
================================ */
@media (max-width: 1024px) {
  .slide { width: 75vw; }
  .prev-arrow { left: 20px; }
  .next-arrow { right: 20px; }
}

@media (max-width: 768px) {
  .slide { width: 85vw; }
  .slider-arrow { display: none; } 
  .slider-footer { margin-top: 40px; }
}

/* ================================
   RESPONSIVO - FORMULÁRIO
================================ */
@media (max-width: 1024px) {
  .contact-box {
    padding: 50px 40px;
  }
  .form-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {

  .contact-box {
    padding: 35px 20px;
    border-radius: 20px;
    margin: 0 -25px; 
  }
  .form-grid {
    grid-template-columns: 1fr; 
    gap: 50px;
  }
  .student-status-toggle {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ================================
   RESPONSIVO - FOOTER
================================ */
@media (max-width: 768px) {
    .cert-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    justify-items: center;
    align-items: center;
    gap: 40px 15px; 
  }

  .cert-logos img {
    height: 50px; 
    max-width: 100%;
    object-fit: contain;
  }

  .info-box {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .info-left {
    flex: auto;
    margin-bottom: 20px;
  }

  .info-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 20px 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-logo {
    transform: translateY(0); 
    order: -1; 
    margin-top: -40px; 
  }
}

/* ================================
   ANIMAÇÕES DE SCROLL
================================ */

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0ms);
}

[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0ms);
}

[data-animate="fade-right"] {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--anim-delay, 0ms);
}

[data-animate].in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* ================================
   ANIMAÇÕES DO HERO (load)
================================ */
.animate-hero {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.8s ease forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   PARALLAX DO HERO
================================ */
.hero-photo {
  will-change: transform;
}

/* ================================
   HOVER NOS CARDS
================================ */
.card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 55px rgba(26, 46, 90, 0.13);
}

.card-icon img {
  transition: transform 0.4s ease;
}

.card:hover .card-icon img {
  transform: rotate(-6deg) scale(1.1);
}

/* ================================
   HOVER NOS ITENS DOS DIFERENCIAIS
================================ */
.diferenciais-list li {
  transition: transform 0.3s ease;
  cursor: default;
}

.diferenciais-list li:hover {
  transform: translateX(8px);
}

.diferenciais-list li:hover .seta {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(77, 163, 255, 0.8);
}

/* ================================
   HOVER NO BOTÃO CTA
================================ */
.hero-cta {
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.hero-cta:hover::before {
  transform: translateX(0);
}

/* ================================
   HOVER NOS SELOS DO FOOTER
================================ */
.cert-logos img {
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(20%);
}

.cert-logos img:hover {
  transform: scale(1.12) translateY(-4px);
  filter: grayscale(0%);
}

/* ================================
   HOVER NO BOTÃO SUBMIT
================================ */
.btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.btn-submit:hover::after {
  transform: scaleX(1);
}

/* ================================
   ANIMAÇÃO DA LINHA DO SLIDER FOOTER
================================ */
.slider-footer {
  transition: border-color 0.4s ease;
}

.slider-footer.in-view {
  border-color: #4da3ff;
  animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { border-color: #4da3ff; }
  50%       { border-color: #1a3365; }
}


/* ================================
   BOTÃO FLUTUANTE
================================ */
.floating-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #0066ff;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  background-color: #0052cc;
  color:#FFF;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.5);
}

/* Classe adicionada pelo JS para mostrar o botão */
.floating-btn.show, .floating-btn.is-btn-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
  .floating-btn {
    bottom: 20px;
    right: 20px;
    padding: 14px 24px;
    font-size: 0.9rem;
    z-index: 99999;
  }

/* ================================
   OTIMIZAÇÃO DE RENDERIZAÇÃO
================================ */
.contact-section, 
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}    
    
}