/* Variáveis de Cores e Fontes (Tons Pastel e Delicados) */
:root {
    --primary-color: #f8bbd0; /* Rosa pastel */
    --primary-dark: #f06292;
    --secondary-color: #b3e5fc; /* Azul pastel */
    --accent-color: #e1bee7; /* Lilás pastel */
    --text-dark: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-light: #fffcfd;
    --bg-gray: #fdfbfb;
    --font-main: 'Nunito', sans-serif;
    --font-logo: 'Pacifico', cursive;
    --transition-speed: 0.3s;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header & Menu */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color var(--transition-speed);
}

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

/* Menu Hamburger (Mobile First) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-dark);
    transition: all 0.3s ease-in-out;
}

/* Botões */
.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.primary-btn {
    background-color: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 98, 146, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(240, 98, 146, 0.4);
}

.secondary-btn {
    background-color: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Tipografia e Títulos */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

/* Hero Section */
#hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #fff0f5 0%, #e0f7fa 100%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Container das imagens do Hero */
.hero-image {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1; /* Mantém o formato quadrado da área */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Configuração de cada imagem do slideshow */
.hero-image .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Começam invisíveis */
    transition: opacity 1s ease-in-out; /* Efeito suave de transição (1 segundo) */
}

/* A imagem que estiver ativa fica visível */
.hero-image .slide.active {
    opacity: 1;
}

/* Benefícios */
#beneficios {
    padding: 80px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-gray);
    border-radius: 15px;
    transition: transform var(--transition-speed);
    border: 1px solid rgba(0,0,0,0.03);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 10px;
}

/* Galeria */
#galeria {
    padding: 80px 0;
    background-color: var(--bg-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

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

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

.gallery-overlay span {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform var(--transition-speed);
}

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

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

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    animation: zoom 0.3s;
}

.close-modal {
    position: absolute;
    top: 30px; right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Como Funciona */
#como-funciona {
    padding: 80px 0;
    background-color: white;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.step {
    text-align: center;
    max-width: 300px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 15px;
}

/* Depoimentos */
#depoimentos {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.section-title.white {
    color: white;
}

.carousel-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    display: none;
    animation: fade 0.8s;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.carousel-dots {
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active, .dot:hover {
    background-color: white;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* CTA Final */
#cta-final {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e1bee7 100%);
}

.cta-final-content h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
}

.cta-final-content p {
    color: white;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.footer-brand .logo {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary-color);
}

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

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ====== MEDIA QUERIES (Desktop) ====== */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
    }

    .hero-text, .hero-image {
        flex: 1;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Menu Mobile Responsivo */
@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-list {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

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

    .nav-item {
        margin: 15px 0;
    }
}