/* 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;
}

/* 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 {
    position: relative;
    height: 60vh;
    width: 100%;
    margin-top: 80px;
    overflow: hidden; /* impede que a imagem ultrapasse a área */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ocupa tudo SEM distorcer */
    object-position: center; /* você pode mudar para 'top' ou 'bottom' */
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(94, 130, 23, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.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;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Video Metodologia*/

.video-background {
    /* Removido width: 100% para que o grid controle a largura */
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    max-width: 100%; /* Garante que não exceda o container do grid */
}

.video-background video {
    width: 100%;
    height: auto;
    object-fit: contain; /* mantém a proporção perfeita */
    display: block;
    border-radius: 20px;
    max-height: 500px; /* Limita a altura máxima do vídeo para reduzir o tamanho */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.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);
}

/* 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-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-content.reverse .image-content {
    order: 1;
}

.section-content.reverse .text-content {
    order: 2;
}

.image-content img {
    width: 100%;
    height: auto;            /* mantém proporção natural */
    max-width: 500px;        /* controla tamanho para ficar bonito */
    object-fit: contain;       /* garante forma correta */
    border-radius: 15px;
}

.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 {
    color: rgb(38, 38, 38);
    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%);
}

.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;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(94, 130, 23, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: rgb(38, 38, 38);
    font-size: 1.2rem;
    font-weight: bold;
}

/* 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;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(94, 130, 23, 0.9);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.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-specialty {
    color: rgb(94, 130, 23);
    font-weight: 600;
    margin-bottom: 1rem;
}

.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);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgb(94, 130, 23), rgb(64, 209, 64));
    border-radius: 15px;
    color: white;
    box-shadow: 0 8px 25px rgba(94, 130, 23, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label-aluno {
    margin-top: 1.5rem;
    text-align: center;
    align-items: center;
    font-size: 1.3rem;
    opacity: 0.9;
}

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

/* Location Info */
.location-info {
    text-align: center;
    margin-bottom: 3rem;
}

.location-text {
    font-size: 1.3rem;
    color: rgb(105, 114, 125);
}

.location-text strong {
    color: rgb(94, 130, 23);
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.facility-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;
}

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

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

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

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

/* Gallery Section */
.gallery-section {
    margin-top: 4rem;
}

.gallery-title {
    font-size: 2rem;
    color: rgb(38, 38, 38);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

/* Banner */

.banner {
      overflow: hidden;
      position: relative;
      width: 100%;
      padding: 40px 0;
      background: #fff;
      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 {
      display: none;
      position: fixed;
      top:0; left:0;
      width:100%; height:100%;
      background: rgba(0,0,0,0.8);
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .modal.active {
      display: flex;
    }

    .modal img {
      max-width: 90%;
      max-height: 80%;
      border-radius: 10px;
    }

    .modal .close {
      position:absolute;
      top:20px; right:20px;
      font-size:2rem;
      color:white;
      cursor:pointer;
    }

    .modal .nav {
      position: absolute;
      top:50%;
      transform: translateY(-50%);
      font-size: 2.5rem;
      color: white;
      padding: 0 20px;
      cursor: pointer;
      user-select: none;
    }

    .modal .nav.prev { left: 20px; }
    .modal .nav.next { right: 20px; }

/* 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%;
    /*background-image: url('images/banner_rodape.png'); /* Kaha logo as background */
    /*background-repeat: no-repeat;
    background-position: center;
    background-size: 100%; /* Adjust size as needed */
    opacity: 0.05; /* Subtle opacity */
    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; /* Remove extra space below iframe */
}

/* 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: 992px) {
    .section-content,
    .section-content.reverse,
    .location-map-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .section-content.reverse .image-content {
        order: initial;
    }

    .section-content.reverse .text-content {
        order: initial;
    }

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

    .address-info {
        padding: 2rem;
    }
}

@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;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

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

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

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

    .address-info h3 {
        font-size: 1.3rem;
    }

    .address-info p {
        font-size: 1rem;
    }
}


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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.8s ease-out;
}

/* Loading animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

