* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #faf9f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B4B7A;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8B4B7A;
}

.btn-cta {
    background: linear-gradient(135deg, #8B4B7A, #B8779E);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 75, 122, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 75, 122, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #faf9f6 0%, #f3f1ea 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #8B4B7A, #B8779E);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 75, 122, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 75, 122, 0.4);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #8B4B7A;
    padding: 1rem 2rem;
    text-decoration: none;
    border: 2px solid #8B4B7A;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #8B4B7A;
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Welcome Section */
.welcome {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 600;
}

.welcome-content p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f7f4;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content h3 {
    font-size: 1.5rem;
    color: #8B4B7A;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Differentials Section */
.differentials {
    padding: 80px 0;
    background: white;
}

.differentials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.differential-card {
    text-align: center;
    padding: 2rem;
    background: #f8f7f4;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.differential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.differential-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.differential-card p {
    color: #666;
    line-height: 1.6;
}

/* Protocols Section */
.protocols {
    padding: 80px 0;
    background: #f8f7f4;
}

.protocols h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.protocols-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.protocol-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.protocol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.protocol-card h3 {
    font-size: 1.5rem;
    color: #8B4B7A;
    margin-bottom: 1rem;
    font-weight: 600;
}

.protocol-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.protocol-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.protocol-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.protocol-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B4B7A;
    font-weight: bold;
}

.protocol-ideal {
    color: #8B4B7A;
    font-weight: 500;
    line-height: 1.6;
}

.protocols-footer {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Treatments Section */
.treatments {
    padding: 80px 0;
    background: white;
}

.treatments h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.treatments-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.treatment-card {
    background: #f8f7f4;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.treatment-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.treatment-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.treatment-card li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.treatment-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8B4B7A;
    font-weight: bold;
}

.treatment-ideal {
    color: #8B4B7A;
    font-weight: 500;
    line-height: 1.6;
}

.treatments-footer {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Results Section */
.results {
    padding: 80px 0;
    background: #f8f7f4;
}

.results h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.results-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.results-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-item {
    text-align: center;
}

.before-after {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.before, .after {
    flex: 1;
    position: relative;
}

.before img, .after img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 10px;
}

.before span, .after span {
    position: top;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.result-item p {
    font-weight: 600;
    color: #333;
}

.testimonials {
    margin-top: 4rem;
}

.testimonials h3 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial cite {
    color: #8B4B7A;
    font-weight: 600;
}

.results-footer {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin: 3rem 0 2rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: #f8f7f4;
    border-radius: 15px;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.contact-cta {
    text-align: center;
}

.contact-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        /* Estilos adicionais para o menu mobile quando inativo */
    }

    /* CORREÇÃO APLICADA AQUI */
    .nav-menu.active {
        display: flex; /* Faz o menu aparecer */
        flex-direction: column; /* Empilha os itens verticalmente */
        position: absolute; /* Posiciona o menu de forma absoluta */
        top: 70px; /* Ajuste para ficar abaixo do header. A altura do header pode variar. */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98); /* Fundo similar ao header */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 1rem 20px;
        border-radius: 0 0 10px 10px;
        align-items: flex-start; /* Alinha os itens à esquerda */
        gap: 1rem; /* Espaçamento entre os itens */
    }

    .nav-menu.active li {
        width: 100%; /* Para que cada item ocupe a largura total */
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 40px;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .differentials-grid {
        grid-template-columns: 1fr;
    }
    
    .protocols-grid {
        grid-template-columns: 1fr;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after {
        flex-direction: column;
    }
    
    .before img, .after img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .protocol-card, .treatment-card {
        padding: 1.5rem;
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}