/* Reset & Base Styles */
:root {
    --primary-color: #006994;
    /* Ocean Blue */
    --secondary-color: #ff7f50;
    /* Coral Orange */
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn-main {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-shadow: 0 0 20px var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
}

.btn-main:hover {
    background-color: #e66a3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 127, 80, 0.6);
}

.btn-cta-nav {
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: var(--white) !important;
    border-radius: 20px;
    font-weight: 600;
}

.btn-cta-nav:hover {
    background-color: #e66a3c;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar.scrolled .logo-text {
    color: var(--primary-color);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar.scrolled .btn-cta-nav {
    color: var(--white) !important;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .bar {
    background-color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/*  */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 105, 148, 0.8);
    /* Dark overlay for contrast */
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    animation: fadeIn Up 1s ease-out;
}

.hero-logo {
    max-width: 200px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

/* About Section */
.section-padding {
    padding: 80px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.col-img,
.col-text {
    flex: 1;
    min-width: 300px;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    z-index: -1;
    border-radius: 20px;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.feature-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.feature-item span {
    display: block;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Gallery Section */
.bg-light {
    background-color: var(--bg-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    width: 90%;
    margin: 0 auto;
    max-width: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 190, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Testimonials Section */
.testimonials-scroll {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 40px;
    scroll-snap-type: x mandatory;
    justify-content: space-evenly;
}

.video-card {
    flex: 0 0 300px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    scroll-snap-align: center;
    position: relative;
}

.video-card video {
    width: 100%;
    height: 533px;
    /* 9:16 aspect ratio approx */
    object-fit: cover;
    background: #000;
}

.video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.video-caption h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.video-caption p {
    font-size: 0.9rem;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #002233;
    /* Darker Blue */
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

.tabua {
    width: 80%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    border: none;
}

/* Responsive */
@media (max-width: 1080px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 40px 0;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

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

    .nav-link {
        color: var(--text-dark);
    }

    .navbar.scrolled .nav-menu {
        top: 60px;
    }

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

    .row {
        flex-direction: column;
    }

    .container {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar .container {
        flex-direction: row;
        align-items: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Community Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.service-contact {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.service-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.service-contact a:last-child {
    margin-bottom: 0;
}

.service-contact a:hover {
    color: var(--primary-color);
}

.service-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* CTA Section (Agendar Aula) */
.cta-section {
    background: linear-gradient(rgba(0, 105, 148, 0.9), rgba(0, 50, 70, 0.95)), url('assets/fotos/WhatsApp Image 2025-12-05 at 08.14.38.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cta-section h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #25D366;
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-whatsapp-cta:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-cta i {
    font-size: 1.8rem;
}

.cta-info {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.cta-info-item i {
    color: var(--secondary-color);
}

@media (max-width: 1080px) {
    .cta-section h2 {
        font-size: 2.2rem;
    }

    .cta-container {
        padding: 40px 20px;
        margin: 0 auto;
    }

    .btn-whatsapp-cta {
        padding: 15px 25px;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
    }

    .cta-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}