/* Variáveis de Cores */
:root {
    --color-primary: #4CAF50;
    /* Verde saúde */
    --color-secondary: #2196F3;
    /* Azul saúde */
    --color-accent: #00BCD4;
    /* Azul turquesa */
    --color-background: #f8f8f8;
    --color-text: #333;
    --color-light-text: #666;
    --color-white: #ffffff;
    --color-gray-light: #e0e0e0;
    --color-gray-medium: #bdbdbd;
    --color-gray-dark: #424242;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    border-color: #1DA851;
}

.btn-phone {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
}

.btn-phone:hover {
    background-color: #1976D2;
    border-color: #1976D2;
}

.btn-map {
    background-color: #3C92A6;
    /* Cor atualizada */
    color: var(--color-white);
    border: 2px solid #3C92A6;
    /* Cor atualizada */
    width: 100%;
}

.btn-map:hover {
    background-color: #0097A7;
    border-color: #0097A7;
}

/* Header */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 50px;
}

.header .nav {
    display: flex;
    gap: 25px;
}

.header .nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.header .contact-buttons {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to bottom right, rgba(76, 175, 80, 0.05), rgba(0, 188, 212, 0.05));
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content .badge {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--color-primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    color: var(--color-text);
}

.hero-content h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--color-light-text);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1em;
    color: var(--color-light-text);
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    background: linear-gradient(to bottom right, rgba(76, 175, 80, 0.2), rgba(0, 188, 212, 0.2));
    border-radius: 15px;
    transform: translate(-50%, -50%) rotate(3deg);
    z-index: 0;
}

/* Seções Gerais */
.section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.2em;
    text-align: center;
    color: var(--color-light-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

section {
    padding: 80px 0;
}

/* About Section (Diferenciais) */
.about-section {
    background-color: var(--color-background);
}

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

.feature-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-item .icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8em;
}

.feature-item h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-item p {
    color: var(--color-light-text);
    font-size: 0.95em;
}

/* Specialties Section */
.specialties-section {
    background-color: var(--color-white);
}

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

.specialty-item {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.specialty-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.specialty-item.highlight {
    border: 2px solid var(--color-primary);
    background-color: rgba(76, 175, 80, 0.05);
}

.specialty-item .badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 600;
    position: absolute;
    top: 15px;
    left: 15px;
}

.specialty-item h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
    margin-top: 25px;
    /* Ajuste para o badge */
}

.specialty-item p {
    color: var(--color-light-text);
    font-size: 0.9em;
}

/* Invisalign Detailed Section */
.invisalign-detailed-section {
    background-color: var(--color-background);
}

.invisalign-detailed-section .container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.invisalign-text {
    flex: 1;
    min-width: 300px;
}

.invisalign-text h3 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text);
}

.invisalign-text p {
    font-size: 1.1em;
    color: var(--color-light-text);
    margin-bottom: 20px;
}

.invisalign-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.invisalign-text ul li {
    font-size: 1em;
    color: var(--color-text);
    margin-bottom: 10px;
}

.invisalign-text ul li i {
    color: var(--color-primary);
    margin-right: 10px;
}

.invisalign-images {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.invisalign-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--color-white);
}

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

.testimonial-item {
    background-color: var(--color-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.testimonial-item .rating {
    color: #FFD700;
    /* Gold color for stars */
    margin-bottom: 15px;
}

.testimonial-item .rating i {
    font-size: 1.2em;
    margin: 0 2px;
}

.testimonial-item .testimonial-text {
    font-size: 1.1em;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 20px;
}

.testimonial-item .testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
}

/* Clinic Section */
.clinic-section {
    background-color: var(--color-background);
}

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

.gallery-item {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: var(--color-text);
}

.gallery-item p {
    color: var(--color-light-text);
    font-size: 0.9em;
    padding: 0 20px 20px 20px;
}

/* Location Section */
.location-section {
    background-color: var(--color-white);
}

.location-section .container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.location-content {
    flex: 1;
    min-width: 300px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-item i {
    font-size: 1.8em;
    color: var(--color-primary);
    margin-top: 5px;
}

.detail-item h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text);
}

.detail-item p,
.detail-item ul {
    color: var(--color-light-text);
    font-size: 0.95em;
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
}

.detail-item ul li {
    margin-bottom: 5px;
}

.map-container {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-background);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.map-placeholder i {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.map-placeholder h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text);
}

.map-placeholder p {
    color: var(--color-light-text);
    margin-bottom: 30px;
}

/* CTA Final Section */
.cta-final-section {
    background-color: #3C92A6;
    /* Cor atualizada */
    color: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.cta-final-section h2 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-final-section p {
    font-size: 1.2em;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: #25D366;
    /* WhatsApp Green */
    border-color: #25D366;
}

.cta-buttons .btn-primary:hover {
    background-color: #1DA851;
    border-color: #1DA851;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
}

/* Footer */
.footer {
    background-color: var(--color-gray-dark);
    color: var(--color-white);
    padding: 60px 0;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.footer-col h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.95em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/**
.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}
**/
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

/* Logo padrão (desktop) - visível por padrão */
.logo-desktop {
    display: block;
}

/* Logo mobile - oculto por padrão */
.logo-mobile {
    display: none;
}

/* Responsividade */
@media (max-width: 992px) {

    .hero-section .container,
    .location-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
        /* Move imagem para cima no mobile */
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content h2 {
        font-size: 1.3em;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .header .nav {
        display: none;
        /* Esconde navegação no mobile, pode ser substituído por um menu hambúrguer */
    }


    .header .contact-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .header .container {
        flex-direction: column;
    }

    .header .logo {
        margin-bottom: 10px;
    }



    .section-title {
        font-size: 2em;
    }

    .section-subtitle {
        font-size: 1em;
    }

    .map-container {
        padding: 30px;
    }

    .cta-final-section h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {

    .features-grid,
    .specialties-grid,
    .clinic-gallery,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section,
    section {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content h2 {
        font-size: 1.2em;
    }

    .btn {
        width: 100%;
    }

    .header .contact-buttons .btn {
        width: auto;
        /* Mantém botões do header lado a lado se couber */
    }

    /* Ocultar logo desktop em mobile */
    .logo {
        display: none;
    }

    /* Mostrar logo mobile em dispositivos móveis */
    .logo-mobile {
        display: block;
    }

}

@media (max-width: 480px) {
    .header .contact-buttons {
        flex-direction: column;
    }

    .header .contact-buttons .btn {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content h2 {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .section-subtitle {
        font-size: 0.9em;
    }

    .cta-final-section h2 {
        font-size: 1.8em;
    }
   
}

 /* Para dispositivos ainda menores (smartphones) */
    @media screen and (max-width: 480px) {
        .logo-mobile {
            max-width: 200px;
            /* Ajuste conforme necessário */
            height: auto;
        }
    }