:root {
    --color-white: #ffffff;
    --color-blue: #020085;
    --color-blue-hover: #0603a9;
    --color-light-blue: #008bfc;
    --color-blue-diferenciais: #008CFF;
    --color-orange: #fcac00;
    --color-orange-presencial: #FBC200;
    --color-dark-orange: #fc6900;
    --color-yellow: #e3fc00;
    --color-green: #26C440;
    --color-dark-green: #006e12;
    --color-pink: #E93FB6;
    --color-dark-pink: #ac067a;
    --color-ligth-green: #82df90;
    --color-blue-faq: #007DFE;
    --color-ligth-green2: rgb(188, 255, 198);
    --color-black: #2E2E2E;
    --color-black-heavy: #000000;
    --color-text: #4f4f4f;
    --color-icones: #00012D;
    --color-gray: #f9f9f9;
    --color-gray-black: #e3e3e3;
    --color-gray-caixa: #c7c7c7;
    --color-red: #e63946;
    --color-faq: #007DFE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.agendar-aula{
    background-color: var(--color-blue-diferenciais)!important;
    color: white!important;
    padding-inline: 3px;
    padding-top: 1px;
    padding-bottom: 1px;
    border-radius: 5px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--color-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-hover);
}

/* Selection Color */
::selection {
    background: var(--color-blue);
    color: white;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 30px;
    height: 30px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--color-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.loading-text {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--color-blue);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-red);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--color-blue);
    color: white;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-blue-hover);
    color: white;
}

.btn-secondary {
    background: var(--color-red);
    color: white;
}

.btn-secondary:hover {
    background: #c1121f;
    color: white;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 60px;
}

.nav-menu {
    display: none;
    list-style: none;
    position: fixed;
    top: 80px;
    right: 0;
    height: 100%;
    width: 55%;
    background: white;
    flex-direction: column;
    padding-left: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.nav-menu.show {
    display: flex;
}

.nav-item {
    margin: 15px 0;
}

.nav-link {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
    display: block;
    padding-inline: 12px;
}

.nav-link:hover {
    color: var(--color-red);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-blue);
    cursor: pointer;
    padding: 5px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-light-blue) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding: 0 15px;
}

.cta-subtitle {
    font-size: 1rem;
    max-width: 100%;
    margin: 0 auto 10px;
    padding: 0 15px;
    text-align: center;
}

/* Form */
.form-container {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-blue);
    font-size: 0.9rem;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.form-select {
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    text-align: center;
}

/* Stats Section */
.stats-section {
    background: var(--color-blue);
    color: white;
    text-align: center;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.stat-item {
    padding: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--color-white);
}

.stat-label {
    font-size: 1rem;
}

/* Campuses Section */
.campuses-section {
    background: white;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas com largura igual */
    gap: 20px; /* Espaçamento entre os cards */
}

.campus-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.campus-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.campus-content {
    padding: 5px;
    background: white;
    text-align: center;
}

.campus-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-blue);
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    justify-content: center;
    padding: 0px;
}

.gallery-thumb {
    width: 70px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.3s;
}

.gallery-thumb:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: var(--color-black-heavy);
    color: white;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 15px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-red);
}

footer p {
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.social-links {
    margin-top: 5px;
    margin-left: 24px;
}

.footer-link {
    margin-bottom: 8px;
}

.footer-link a,
.footer-link i {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-link a:hover {
    color: var(--color-red)!important;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.city-item {
    margin-bottom: 15px;
}

.city-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.footer-link i {
    min-width: 16px;
}

.social-link {
    color: white;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--color-red);
}

.copyright {
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* Counter Animation */
.counter {
    font-size: 2rem;
    font-weight: 800;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    min-width: 170px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1000;
    padding: 10px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px;
    color: var(--color-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--color-gray);
    color: var(--color-red);
}

.dropdown-toggle::after {
    content: "\f078";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown-toggle.show-dropdown::after {
    transform: rotate(180deg);
}


@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 172, 76, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(1, 172, 76, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(1, 172, 76, 0);
    }
}

/* Mobile dropdown styles */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 10px;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        padding: 0;
        width: auto;
    }

    .nav-item {
        margin: 0px;
    }

    .mobile-menu-btn {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        margin: 0 auto;
        padding: 0 5px;
    }
    .campus-grid {
        grid-template-columns: 1fr; /* Volta a uma coluna em telas pequenas */
    }
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        margin-top: 15px;
        justify-content: center;
        padding: 0px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 50px;
    }

    .floating-btn {
        position: fixed;
        bottom: 10px;
        right: 0px!important;
    }
}

/* Modal WhatsApp */
.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(1, 172, 76, 0.3);
    z-index: 1001;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    animation: pulse-glow 2s infinite;
}

.floating-btn:hover {
    background: var(--color-dark-green);
    transform: scale(1.1);
}

/* REMOVA ou CORRIJA estas regras: */
.floating-btn i {
    position: static !important;
    width: auto !important;
    height: auto !important;
}

.whatsapp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
}

.whatsapp-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 25px;
    z-index: 1101;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-text);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: var(--color-gray);
    color: var(--color-red);
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: var(--color-blue);
    margin-bottom: 5px;
    text-align: center;
}

.modal-subtitle {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-align: center;
}

.cities-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.city-option {
    background: var(--color-gray);
    border: 2px solid var(--color-gray-black);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.city-option:hover {
    background: var(--color-blue-diferenciais);
    border-color: var(--color-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 172, 76, 0.1);
}

.city-option:active {
    transform: translateY(0);
}

.city-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.city-info i {
    color: var(--color-blue);
    font-size: 1.1rem;
}

.city-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-blue);
    font-size: 1rem;
}

.city-number {
    font-weight: 600;
    color: var(--color-blue-diferenciais);
    font-size: 0.9rem;
}

.city-option.default .city-info i {
    color: var(--color-pink);
}

.city-option.default .city-name {
    color: var(--color-pink);
}

.city-option.default .city-number {
    color: var(--color-dark-pink);
}

.modal-footer {
    text-align: center;
}

.btn-cancel {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-cancel:hover {
    color: var(--color-red);
    background: var(--color-gray);
}

/* Responsividade */
@media (max-width: 768px) {
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        bottom: 15px;
        right: 15px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .city-option {
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .city-number {
        align-self: flex-end;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 10px;
        right: 10px;
    }
    
    .modal-content {
        padding: 15px;
    }
    
    .city-name {
        font-size: 0.95rem;
    }
}

/* CTA Section com layout de duas colunas */

.cta-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-form-col {
    flex: 1;
    min-width: 280px;
}

.cta-form-col .cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: left;
    padding: 0;
}

.cta-form-col .cta-subtitle {
    font-size: 1.1rem;
    text-align: center;
    padding: 0;
}

.cta-image-col {
    flex: 1;
    min-width: 280px;
}

.cta-image-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Form dentro da CTA Section */
.cta-form-col .form-container {
    max-width: 100%;
    margin: 0;
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-form-col .form-label {
    text-align: left;
}

.cta-form-col .form-input,
.cta-form-col .form-select {
    text-align: left;
}

/* Responsividade */
@media (max-width: 992px) {
    .cta-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-form-col .cta-title,
    .cta-form-col .cta-subtitle {
        text-align: center;
    }
    
    .cta-form-col .form-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-image-col {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-form-col .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-form-col .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-form-col .form-container {
        padding: 20px;
    }
}