/* ============================================
   DESIGN SYSTEM - CORES E VARIÁVEIS
   ============================================ */
:root {
    --background: #ffffff;
    --foreground: #1a4d4d;
    --primary: #4d9999;
    --primary-foreground: #ffffff;
    --secondary: #ffb366;
    --secondary-foreground: #ffffff;
    --muted: #f2f9f7;
    --muted-foreground: #5c7a7a;
    --accent: #ffdd99;
    --accent-foreground: #1a4d4d;
    --border: #e0ebe8;
    --input: #e0ebe8;
    --radius: 1rem;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESET E ESTILOS BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', system-ui, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-weight: 300;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-md);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar:not(.scrolled) .navbar-brand {
    color: white;
}

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

.nav-links-desktop {
    display: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links-desktop.active {
    display: flex;
}

.nav-link {
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 300;
}

.navbar:not(.scrolled) .nav-link {
    color: white;
}

.navbar:not(.scrolled) .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 0.35rem;
    padding: 0.5rem;
}

.navbar:not(.scrolled) .menu-toggle {
    color: white;
}

.navbar.scrolled .menu-toggle {
    color: var(--foreground);
}

.hamburger {
    width: 1.5rem;
    height: 0.15rem;
    background-color: currentColor;
    border-radius: 0.1rem;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(0.4rem, -0.4rem);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: inherit;
    padding-bottom: 1rem;
    gap: 0;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    text-decoration: none;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    transition: all 0.3s ease;
    border-radius: 0;
    font-weight: 300;
}

.navbar:not(.scrolled) .mobile-nav-link {
    color: white;
}

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

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }

    .nav-links-desktop {
        display: flex;
    }
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
    margin-top: 5rem;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent, rgba(0, 0, 0, 0.5));
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.carousel-arrow-prev {
    left: 1rem;
}

.carousel-arrow-next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: white;
    width: 2rem;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 5;
}

.carousel-text {
    max-width: 56rem;
}

.carousel-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: white;
    font-weight: 300;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
    font-weight: 300;
}

/* About Section */
.about-section {
    background-color: var(--muted);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    max-width: 96rem;
    margin-left: auto;
    margin-right: auto;
}

.about-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-subtitle {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text {
    color: var(--foreground);
    line-height: 1.8;
    font-weight: 300;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 96rem;
    margin: 0 auto;
}

.valor-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.valor-card:hover {
    box-shadow: var(--shadow-xl);
}

.valor-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.valor-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.valor-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 300;
}

/* Inspirações Section */
.inspiracoes-section {
    background-color: white;
}

.inspiracoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 112rem;
    margin: 0 auto;
}

.inspiracao-card {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.inspiracao-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-0.5rem);
}

.inspiracao-image {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
}

.inspiracao-content {
    padding: 1.5rem;
    text-align: center;
}

.inspiracao-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.inspiracao-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 300;
}

/* Atividades Section */
.atividades-section {
    background-color: var(--muted);
}

.video-placeholder {
    max-width: 56rem;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-content {
    text-align: center;
    padding: 2rem;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.video-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Programas Section */
.programas-section {
    background-color: white;
}

.programas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

.programa-card {
    border: 2px solid rgba(77, 153, 153, 0.2);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.programa-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

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

.programa-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.programa-horario {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-weight: 300;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.horario-icon {
    font-size: 1rem;
}

.programa-description {
    color: var(--foreground);
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.programa-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.programa-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 300;
    font-size: 0.875rem;
}

.programa-features li::before {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.4rem;
}

/* Contato Section */
.contato-section {
    background-color: var(--muted);
}

.contato-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 96rem;
    margin: 0 auto;
}

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

.contato-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.info-text {
    color: var(--muted-foreground);
    font-weight: 300;
}

.whatsapp-button-container {
    margin-top: 1rem;
}

.whatsapp-button {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Form */
.contato-form {
    display: flex;
    flex-direction: column;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid var(--input);
    border-radius: 0.25rem;
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 1rem;
    background-color: white;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(77, 153, 153, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 5rem;
}

.form-button {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-family: 'Quicksand', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-weight: 300;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

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

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

    .about-content {
        gap: 2rem;
    }

    .inspiracoes-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

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

    .contato-content {
        gap: 2rem;
    }

    .carousel-arrow {
        padding: 0.5rem;
    }

    .carousel-arrow svg {
        width: 24px;
        height: 24px;
    }
}

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

    .carousel-subtitle {
        font-size: 0.875rem;
    }

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

    .about-subtitle {
        font-size: 1.25rem;
    }

    .programa-card {
        padding: 1.5rem;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-dots {
        bottom: 1rem;
        gap: 0.5rem;
    }

    .carousel-dot {
        width: 0.5rem;
        height: 0.5rem;
    }

    .carousel-dot.active {
        width: 1.5rem;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}
