/*
Theme Name: Mil Sorrisos Odontologia
Description: Tema personalizado para a Clínica Mil Sorrisos LTDA - Inspirado no design da PrevOdonto
Version: 2.0
Author: Manus AI
*/

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de cores sofisticada */
    --azul-principal: #1E3A8A;      /* Azul royal profundo */
    --azul-secundario: #3B82F6;     /* Azul médio vibrante */
    --azul-claro: #DBEAFE;          /* Azul muito claro */
    --cinza-escuro: #1F2937;        /* Cinza carvão */
    --cinza-medio: #6B7280;         /* Cinza neutro */
    --cinza-claro: #F9FAFB;         /* Cinza quase branco */
    --dourado-elegante: #D4AF37;    /* Dourado sofisticado */
    --branco: #FFFFFF;
    --preto: #000000;
}

body {
    font-family: 'Open Sans', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background-color: var(--branco);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--branco);
    box-shadow: 0 2px 10px rgba(31, 41, 55, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

/* Menu de navegação */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background: var(--azul-principal);
    color: var(--branco);
}

/* Botão hambúrguer - oculto por padrão */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cinza-escuro);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animação do hambúrguer quando ativo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.btn-primary {
    background: var(--dourado-elegante);
    color: var(--branco);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--azul-secundario);
    padding: 12px 25px;
    border: 2px solid var(--azul-secundario);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--azul-secundario);
    color: var(--branco);
}

/* Hero Section - Inspirado na PrevOdonto */
.hero {
    background: linear-gradient(135deg, var(--azul-principal) 0%, var(--azul-secundario) 100%);
    position: relative;
    padding: 120px 0 80px;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 41, 55, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    color: var(--branco);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--branco);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dourado-elegante);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-benefits li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-benefits li::before {
    content: '✓';
    color: var(--dourado-elegante);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Seção de Destaques */
.highlights {
    background: var(--branco);
    padding: 80px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.highlight-card {
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: var(--azul-secundario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--branco);
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--cinza-medio);
    font-size: 1rem;
}

/* Seção de Tratamentos */
.treatments {
    background: var(--cinza-claro);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--cinza-medio);
    max-width: 600px;
    margin: 0 auto;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.treatment-card {
    background: var(--branco);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(31, 41, 55, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.treatment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(31, 41, 55, 0.15);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--azul-secundario), var(--azul-principal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--branco);
}

.treatment-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 1rem;
}

.treatment-card p {
    color: var(--cinza-medio);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: var(--azul-principal);
    color: var(--branco);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    font-size: 1.1rem;
    padding: 15px 40px;
}

/* Seção Sobre */
.about {
    padding: 80px 0;
    background: var(--branco);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--azul-principal);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--cinza-medio);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(31, 41, 55, 0.1);
}

/* Depoimentos */
.testimonials {
    background: var(--cinza-claro);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--branco);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(31, 41, 55, 0.1);
    text-align: center;
}

.testimonial-stars {
    color: var(--dourado-elegante);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--cinza-medio);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: var(--azul-principal);
}

/* Contato */
.contact {
    background: var(--azul-principal);
    color: var(--branco);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--azul-secundario);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-text h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-text p {
    opacity: 0.9;
}

.contact-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-cta p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--cinza-escuro);
    color: var(--branco);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer p {
    color: var(--cinza-medio);
    margin: 0.5rem 0;
}

/* Responsividade */
@media (max-width: 768px) {
    /* Header responsivo */
    .header-content {
        flex-wrap: wrap;
        position: relative;
    }
    
    /* Mostrar botão hambúrguer em mobile */
    .menu-toggle {
        display: flex;
        order: 2;
    }
    
    /* Ocultar menu padrão em mobile */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--branco);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 15px rgba(31, 41, 55, 0.1);
        border-radius: 0 0 10px 10px;
        padding: 1rem 0;
        margin: 0;
        width: 100%;
        z-index: 999;
    }
    
    /* Mostrar menu quando ativo */
    .nav-menu.active {
        display: flex;
    }
    
    /* Estilizar links do menu mobile */
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid var(--cinza-claro);
        text-align: center;
        font-size: 16px;
    }
    
    .nav-menu a:hover {
        background: var(--azul-claro);
        color: var(--azul-principal);
    }
    
    /* Ajustar logo */
    .logo {
        order: 1;
        flex: 1;
    }
    
    /* Ajustar botão de agendamento */
    .header-content > .btn-primary {
        order: 3;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 10px 20px;
    }
    
    /* Ajustes gerais para mobile */
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        text-align: left;
    }
    
    /* Ajustar espaçamentos */
    .hero {
        padding: 100px 0 60px;
    }
    
    .highlights,
    .treatments,
    .about,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Menu ainda mais compacto em telas muito pequenas */
    .nav-menu a {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    /* Ajustar header para telas pequenas */
    .header-content > .btn-primary {
        font-size: 11px;
        padding: 8px 15px;
    }
}

