/* CSS Completo para Happy Speak com Suporte Light/Dark Mode e Estilo Moderno */
:root {
    --laranja: #FF8A00;
    --roxo: #8A2BE2;
    --amarelo: #FFD700;
    --branco: #FFFFFF;
    --azul: #00FFFF;
    --preto: #1A1A1A;
    --cinza-claro: #F7F7F7;
    --cinza: #E5E5E5;

    /* Variáveis para cores claras e escuras */
    --bg-color-light: var(--branco);
    --text-color-light: var(--preto);
    --bg-color-dark: #121212;
    --text-color-dark: #F7F7F7;
    --header-bg-light: rgba(255, 255, 255, 0.95);
    --header-bg-dark: rgba(18, 18, 18, 0.85);
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-dark: rgba(138, 43, 226, 0.5);
}

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--header-bg-light);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
}

.nav {
    flex: 1;
    margin-left: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: flex-end;
}

.nav-item {
    margin-left: 30px;
    position: relative;
}

.nav-link {
    color: var(--text-color-light);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--laranja);
}

.header-btn {
    background-color: var(--laranja);
    color: var(--branco);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.header-btn:hover {
    background-color: var(--roxo);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    padding: 240px 0 100px;
    background: linear-gradient(135deg, var(--laranja) 0%, var(--amarelo) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--branco);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { top: 30%; left: 70%; animation-delay: 1s; }
.particle:nth-child(3) { top: 50%; left: 40%; animation-delay: 2s; }
.particle:nth-child(4) { top: 20%; left: 80%; animation-delay: 3s; }
.particle:nth-child(5) { top: 80%; left: 30%; animation-delay: 4s; }
.particle:nth-child(6) { top: 75%; left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { top: 40%; left: 15%; animation-delay: 6s; }
.particle:nth-child(8) { top: 60%; left: 85%; animation-delay: 7s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 320px;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    min-width: 320px;
    position: relative;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: pulse 4s ease-in-out infinite;
}

.hero-circle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-circle-2 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.hero-circle-3 {
    width: 75px;
    height: 75px;
    top: 70%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

/* About Section */
.about {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.about-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 320px;
    text-align: left;
}

.about-heading {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    min-width: 320px;
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover .about-img {
    transform: scale(1.03);
}

.about-decoration {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 70px;
    height: 70px;
    background: var(--laranja);
    border-radius: 50%;
    opacity: 0.1;
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background-color: var(--cinza-claro);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
}

.course-card {
    background-color: var(--branco);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.course-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.course-icon {
    font-size: 2.5rem;
    color: var(--laranja);
}

.course-age {
    font-weight: 700;
    color: var(--preto);
}

.course-content {
    padding: 0 20px 30px 20px;
}

.course-title {
    font-size: 1.5rem;
    margin: 15px 0;
}

.course-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-btn {
    border: 2px solid var(--laranja);
    color: var(--laranja);
    border-radius: 50px;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.course-btn:hover {
    background-color: var(--laranja);
    color: var(--branco);
    box-shadow: 0 6px 20px var(--shadow-dark);
}

.course-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.course-decoration-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -30px;
    background: var(--laranja);
}

.course-decoration-2 {
    width: 120px;
    height: 120px;
    bottom: -30px;
    left: -30px;
    background: var(--roxo);
}

.course-decoration-3 {
    width: 150px;
    height: 150px;
    top: 20px;
    right: -50px;
    background: var(--amarelo);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--branco);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    padding: 40px 30px;
    background-color: var(--branco);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--laranja) 0%, var(--roxo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    color: var(--preto);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

.feature-bg {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: linear-gradient(135deg, var(--laranja) 0%, var(--roxo) 100%);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(320px,1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--branco);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
    padding: 35px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.testimonial-card.glass {
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.8);
}

.testimonial-content {
    margin-bottom: 25px;
    color: #555;
    font-style: italic;
    line-height: 1.8;
    border-left: 3px solid var(--azul);
    padding-left: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--laranja) 0%, var(--roxo) 100%);
    color: var(--branco);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.author-info {
    text-align: left;
}

.author-name {
    color: var(--preto);
    margin-bottom: 5px;
}

.author-role {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--branco);
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 320px;
}

.contact-info.glass {
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.8);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.contact-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--preto);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 15px;
    color: var(--laranja);
    font-size: 1.2rem;
    width: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--laranja) 0%, var(--roxo) 100%);
    color: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 138, 0, 0.4);
}

.contact-form-wrapper {
    flex: 1;
    min-width: 320px;
    backdrop-filter: blur(10px);
    background-color: rgba(255,255,255,0.8);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--preto);
}

.form-control {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    border: 1px solid var(--cinza);
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--laranja);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
}

.btn--full-width {
    width: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--laranja) 0%, var(--roxo) 100%);
    color: var(--branco);
    padding: 60px 0 30px;
    position: relative;
}

.footer-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.footer-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--amarelo);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-text {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-list a:hover {
    color: var(--amarelo);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .nav {
        margin-left: 0;
    }

    .nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-item {
        margin-left: 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-text, .hero-visual {
        min-width: auto;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .courses-grid, .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--bg-color-dark);
        color: var(--text-color-dark);
    }

    .header {
        background-color: var(--header-bg-dark);
        box-shadow: 0 2px 20px var(--shadow-dark);
    }

    .nav-link {
        color: var(--text-color-dark);
    }

    .nav-link:hover {
        color: var(--amarelo);
    }

    .header-btn {
        background-color: var(--roxo);
        color: var(--branco);
    }

    .header-btn:hover {
        background-color: var(--laranja);
        box-shadow: 0 6px 20px var(--shadow-dark);
    }

    .course-card, .feature-card, .testimonial-card, .contact-info.glass, .contact-form-wrapper {
        background-color: #1E1E1E;
        box-shadow: 0 10px 30px var(--shadow-dark);
        color: var(--text-color-dark);
    }

    .about-decoration {
        background-color: rgba(255, 138, 0, 0.1);
    }

    .footer {
        background: linear-gradient(135deg, var(--laranja) 0%, var(--roxo) 100%);
        color: var(--branco);
    }

    .footer-list a {
        color: rgba(255, 255, 255, 0.9);
    }

    .footer-list a:hover {
        color: var(--amarelo);
    }
}
