/* Reset e configurações básicas */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap' ); /* Titulo */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap' ); /* Corpo */ 
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap' ); /* Botao CTA */

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

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-planos {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg,  rgba(0, 0, 0, 0.8), rgba(94, 130, 23, 0.5));
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 85px;
    height: 85px;
}

.logo-text {
    color: rgb(94, 130, 23);
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: rgb(94, 130, 23);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-video-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 130, 23, 0.5), rgba(0, 0, 0, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 10px;
}

.hero-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(94, 130, 23, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: rgb(64, 209, 64);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 80px 0;
    background-color: #fff;
}

.section.alt {
    background-color: #f8f9fa;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 2.5rem;
    color: rgb(38, 38, 38);
    margin-bottom: 2rem;
    font-weight: bold;
    position: relative;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    border-radius: 2px;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgb(105, 114, 125);
    margin-bottom: 3rem;
}

.text-block p {
    font-size: 1.1rem;
    color: rgb(105, 114, 125);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-block p strong {
    color: rgb(94, 130, 23);
    font-weight: bold;
}

/* --- Slideshow CSS --- */
.image-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-container {
    width: 100%;
    max-width: 500px; /* Ajuste a largura máxima conforme necessário */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1; /* Para manter a proporção quadrada, ajuste se necessário */
}

.slideshow-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra o slide sem distorcer */
    display: block;
}
/* --- Fim do Slideshow CSS --- */


/* Diferenciais Grid */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.diferencial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(94, 130, 23, 0.2);
    border-color: rgb(94, 130, 23);
}

.diferencial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diferencial-card h3 {
    font-size: 1.3rem;
    color: rgb(38, 38, 38);
    margin-bottom: 1rem;
    font-weight: bold;
}

.diferencial-card p {
    font-size: 1rem;
    color: rgb(105, 114, 125);
    line-height: 1.6;
}

/* Professores Grid */
.professores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.professor-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.professor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(94, 130, 23, 0.2);
}

.professor-image {
    position: relative;
    overflow: hidden;
}

.professor-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.professor-card:hover .professor-image img {
    transform: scale(1.1);
}

.professor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.professor-card:hover .professor-overlay {
    opacity: 1;
}

.professor-info {
    padding: 1.5rem;
}

.professor-info h3 {
    font-size: 1.4rem;
    color: rgb(38, 38, 38);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.professor-curriculum {
    margin-bottom: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.professor-curriculum.expanded {
    max-height: 200px;
}

.professor-curriculum p {
    font-size: 0.9rem;
    color: rgb(105, 114, 125);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.expand-btn {
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 130, 23, 0.3);
}

/* Planos Grid */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.8rem;
    margin-top: 2rem;
}

.plano-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    border-color: rgb(94, 130, 23);
}

.plano-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(94, 130, 23, 0.2);
    border-color: rgb(94, 130, 23);
}

.plano-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plano-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plano-header h3 {
    font-size: 1.5rem;
    color: rgb(38, 38, 38);
    margin-bottom: 1rem;
    font-weight: bold;
}

.plano-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.currency {
    font-size: 1.2rem;
    color: rgb(94, 130, 23);
    font-weight: bold;
}

.amount {
    font-size: 3rem;
    color: rgb(94, 130, 23);
    font-weight: bold;
}

.period {
    font-size: 1rem;
    color: rgb(105, 114, 125);
}

.texto-plano {
    font-size: 1rem;
    color: rgb(105, 114, 125);
    text-align: right;
}

.plano-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: rgb(64, 209, 64);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-icon-x {
    color: rgb(201, 15, 15);
    font-weight: bold;
    font-size: 1.2rem;
}

.plano-btn {
    width: 100%;
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plano-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 130, 23, 0.3);
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 80px 0;
    background: #333;
    color: #fff;
    overflow: hidden;
}

.contact-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
}

.contact-graphic img{
    max-height: 150%;
    width: 105%;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: rgb(94, 130, 23);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: rgb(37, 211, 102);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 130, 23, 0.3);
}

.social-icon-link-insta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(5, 10, 230), rgb(88, 81, 216), rgb(131, 58, 180), rgb(193, 53, 132), rgb(255, 48, 108), rgb(253, 36, 76), rgb(247, 119, 55), rgb(252, 175, 69), rgb(255, 220, 128));
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(94, 130, 23, 0.3);
}

.social-icon-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(94, 130, 23, 0.4);
}

.social-icon-link-insta:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 48, 108, 0.4);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Banner */
.banner {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 40px 0;
  background: #f8f9fa;
  box-sizing: border-box;
}

.banner .row {
  display: flex;
  white-space: nowrap;
  animation: slide 25s linear infinite;
}

.banner .row:nth-child(2) {
  animation-duration: 30s;
  animation-direction: reverse;
}

.banner .row img {
  height: 160px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: transform .3s;
}

.banner .row img:hover {
  transform: scale(1.06);
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Modal aprimorado (álbum de fotos) ---------- */
.modal {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(10,10,10,0.85);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  transition: opacity .28s ease;
  overflow: hidden;
}

.modal.active {
  display: flex;
  animation: fadeIn .22s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal img {
  max-width: calc(100% - 160px);
  max-height: calc(100% - 160px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: transform .18s ease, opacity .18s ease;
  will-change: transform;
  touch-action: none; /* evita comportamentos nativos que conflitam com pinch */
  user-select: none;
}

/* Close button */
.modal .close {
  position:absolute;
  top:20px; right:20px;
  font-size:2.4rem;
  color:white;
  cursor:pointer;
  z-index: 2010;
  background: rgba(0,0,0,0.25);
  padding: 6px 12px;
  border-radius: 8px;
  line-height: 1;
}

/* Nav arrows */
.modal .nav {
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  font-size: 2.6rem;
  color: white;
  padding: 12px 18px;
  cursor: pointer;
  user-select: none;
  z-index: 2010;
  background: rgba(0,0,0,0.18);
  border-radius: 8px;
  transition: background .12s ease, transform .12s ease;
}
.modal .nav:hover { transform: translateY(-50%) scale(1.06); background: rgba(0,0,0,0.3); }
.modal .nav.prev { left: 18px; }
.modal .nav.next { right: 18px; }

/* Responsividade */
@media (max-width: 900px) {
  .modal img {
    max-width: calc(100% - 40px);
    max-height: calc(100% - 120px);
  }
  .modal .nav { font-size: 2rem; padding: 10px 14px; }
  .modal .close { font-size: 2rem; top:14px; right:14px; }
}

/* quando em zoom, cursor indica movimento */
.modal img[style*="scale("] {
  cursor: zoom-in;
}

/* Hide page scroll when modal open */
body.modal-open {
  overflow: hidden;
}

/* small helper: pointer visibility */
.modal * { -webkit-tap-highlight-color: rgba(0,0,0,0.0); }


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.95);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .section-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .diferenciais-grid,
    .professores-grid,
    .planos-grid {
        grid-template-columns: 1fr;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-title,
    .cta-title {
        font-size: 2rem;
    }

    .text-block p {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
