﻿/* Fonts and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #7E6DDB;
    --primary-dark: #6151b8;
    --secondary-color: #F8B595;
    --accent-color: #A5DEE5;
    --dark-color: #2D3047;
    --light-color: #F9F9F9;
    --text-color: #4A4A68;
    --text-light: #7D7D94;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #F9D5BB);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --whatsapp-color: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Modern Header Styles */
.modern-header {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.header-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Imagem de fundo do header */
.header-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/head10.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: none;
    will-change: auto;
}

/* Shapes acima da foto e abaixo do overlay */
.floating-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    filter: blur(40px);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: 10%;
    background: var(--gradient-secondary);
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    bottom: 25%;
    right: 20%;
    animation-delay: 6s;
}

.shape-5 {
    width: 220px;
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}

.header-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.35) 0%, rgba(228, 232, 240, 0.35) 100%);
    backdrop-filter: none;
}

.header-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-text {
    flex: 1;
    max-width: 600px;
}

.header-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.title-line {
    display: block;
}

    .title-line.accent {
        background: var(--gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        position: relative;
    }

.header-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

.header-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

    .cta-button.primary {
        background: var(--gradient);
        color: white;
    }

        .cta-button.primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(126, 109, 219, 0.4);
        }

    .cta-button.secondary {
        background: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

        .cta-button.secondary:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-5px);
        }

.header-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.main-image {
    position: relative;
    z-index: 3;
    animation: float 6s infinite ease-in-out;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.floating-elements {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: float 8s infinite ease-in-out;
}

.element-1 {
    top: 10%;
    right: 10%;
    animation-delay: 1s;
}

.element-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.element-3 {
    top: 50%;
    right: 0;
    animation-delay: 3s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--gradient);
    margin-bottom: 10px;
    animation: scrollLine 2s infinite;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

    .about-text h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--dark-color);
    }

    .about-text p {
        margin-bottom: 15px;
        color: var(--text-light);
    }

.about-cta {
    margin-top: 30px;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

    .image-frame::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: 10px;
        bottom: 10px;
        border: 2px solid var(--primary-color);
        border-radius: 10px;
        z-index: -1;
    }

    .image-frame img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .image-frame:hover img {
        transform: scale(1.05);
    }

.secondary-button {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

    .secondary-button:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(109, 74, 255, 0.3);
    }

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
    background-color: #f5f3ff;
}

    .benefits-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--dark-color);
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.benefit-card p {
    color: var(--text-light);
}

/* Sessions Section */
.sessions-section {
    padding: 100px 0;
    background-color: white;
}

    .sessions-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--dark-color);
    }

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.session-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

    .session-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .session-card.featured {
        border-top: 5px solid var(--accent-color);
        transform: scale(1.05);
        z-index: 1;
    }

        .session-card.featured:hover {
            transform: scale(1.05) translateY(-10px);
        }

.session-header {
    padding: 25px;
    background: var(--gradient);
    color: white;
    text-align: center;
}

    .session-header h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.session-features {
    padding: 30px;
}

    .session-features li {
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        color: var(--text-light);
    }

        .session-features li i {
            margin-right: 10px;
            color: var(--primary-color);
        }

.session-button {
    display: block;
    text-align: center;
    padding: 15px;
    margin: 0 30px 30px;
    background: var(--gradient);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

    .session-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(109, 74, 255, 0.3);
    }

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #f5f3ff;
}

    .testimonials-section h2 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--dark-color);
    }

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 20px;
        left: 20px;
        font-size: 5rem;
        color: rgba(109, 74, 255, 0.1);
        font-family: serif;
        line-height: 1;
    }

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
}

.author-name {
    color: var(--dark-color);
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.contact-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

    .contact-cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .contact-cta-content p {
        margin-bottom: 30px;
        font-size: 1.1rem;
        opacity: 0.9;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.whatsapp-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--whatsapp-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

    .whatsapp-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollLine {
    0% {
        height: 40px;
    }

    50% {
        height: 20px;
    }

    100% {
        height: 40px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Promo modal, escopo próprio */
.promo-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1100;
}

    .promo-modal.is-open {
        display: block;
    }

.promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.promo-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 520px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 24px 20px 20px;
    font-family: 'Poppins', sans-serif;
}

.promo-close {
    position: absolute;
    right: 8px;
    top: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    color: #666;
}

.promo-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin: 0 0 8px 0;
}

.promo-text {
    color: #555;
    margin: 0 0 16px 0;
}

.promo-cta {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow);
}

    .promo-cta:hover {
        filter: brightness(1.02);
        transform: translateY(-2px);
        transition: all .2s ease;
    }

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .header-text {
        max-width: 100%;
    }

    .header-title {
        font-size: 2.8rem;
    }

    .header-actions {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        margin-top: 40px;
    }

    .hero-logo {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2.2rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .header-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .element {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .session-card.featured {
        transform: scale(1);
    }

        .session-card.featured:hover {
            transform: scale(1) translateY(-10px);
        }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .modern-header {
        padding: 80px 0 60px;
    }

    .header-title {
        font-size: 1.8rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 14px 25px;
        font-size: 1rem;
    }

    .shape {
        display: none;
    }

    .shape-1, .shape-5 {
        display: block;
    }
}

/* animação do modal em usuários sem redução de movimento */
@media (prefers-reduced-motion: no-preference) {
    .promo-dialog {
        animation: promoPop .28s ease-out;
    }

    @keyframes promoPop {
        from {
            opacity: 0;
            transform: translate(-50%, calc(-50% + 10px));
        }

        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
}
