/* --- Configurações Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1a365d;   /* Azul Escuro (Autoridade e Medicina) */
    --secondary-color: #c5a880; /* Dourado Sutil (Sofisticação e Acolhimento) */
    --text-dark: #2d3748;       /* Grafite para textos legíveis */
    --text-light: #718096;      /* Cinza intermediário */
    --bg-light: #f7fafc;        /* Fundo claro suave */
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Títulos das Seções --- */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    color: var(--text-light);
    font-size: 1rem;
}

/* --- Barra de Navegação --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo-img-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo {
    height: 45px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.nav-cta:hover {
    background-color: var(--secondary-color);
}

/* --- Seção Hero (Banner Principal) --- */
.hero-section {
    padding: 140px 20px 80px 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.hero-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

/* Ajustes de Botões na Hero */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
        align-items: center;
    }
}

.btn-primary {
    display: inline-block;
    background-color: #25d366;
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s, background-color 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #20ba56;
}

.btn-secondary-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-secondary-instagram:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Seção Sobre Mim --- */
.about-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.about-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.about-content {
    flex: 1.2;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.philosophy {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 3px solid var(--secondary-color);
    padding-left: 20px;
    margin-bottom: 30px;
}

.curriculum-list {
    list-style: none;
}

.curriculum-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
}

.curriculum-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* --- Seção Serviços --- */
.services-section {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--secondary-color);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* --- Seção Transformação --- */
.transformation-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.transformation-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.transformation-card:hover {
    transform: translateY(-5px);
}

.transformation-image-wrapper {
    width: 100%;
    background-color: #ffffff;
    padding: 10px;
}

.transformation-image-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.transformation-info {
    padding: 25px;
    text-align: center;
}

.transformation-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.transformation-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Seção Locais de Atendimento --- */
.locations-section {
    padding: 100px 20px;
    background-color: var(--white);
}

.locations-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.location-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.location-card img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: contain;
    background-color: #ffffff;
    padding: 15px;
}

.location-info {
    padding: 25px;
}

.location-info h3 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.sub-location {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.location-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Seção Depoimentos em Carrossel --- */
.testimonials-section {
    padding: 100px 20px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 45px;
}

.testimonials-carousel {
    display: flex;
    gap: 30px;
    padding: 20px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

.testimonials-carousel::-webkit-scrollbar {
    height: 8px;
}

.testimonials-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 20px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    min-width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.patient-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 2px;
}

.patient-location {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* --- Seção Convênios --- */
.insurance-section {
    padding: 100px 20px;
    background-color: var(--white);
    text-align: center;
}

.insurance-container {
    max-width: 900px;
    margin: 0 auto;
}

.insurance-img {
    max-width: 100%;
    height: auto;
    filter: grayscale(20%);
    opacity: 0.95;
}

/* --- Rodapé --- */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 20px 20px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-info-left,
.footer-contact-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 280px;
}

.footer-info-left h3,
.footer-contact-centered h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.footer-text-row {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.footer-social-icons a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-social-icons svg {
    width: 24px;
    height: 24px;
}

.footer-social-icons a:hover {
    color: var(--secondary-color);
}

.footer-btn-talk {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    padding: 12px 40px;
    border: 1.5px solid var(--white);
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.footer-btn-talk:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

/* --- Botões Flutuantes (Instagram e WhatsApp) --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1001;
    transition: transform 0.3s;
}

.instagram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 105px; /* Empilhado perfeitamente acima do WhatsApp */
    right: 30px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1001;
    transition: transform 0.3s;
}

.whatsapp-float:hover, .instagram-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* --- Responsividade (Telas Menores) --- */
@media (max-width: 968px) {
    .nav-menu, .nav-cta {
        display: none;
    }
    .hero-container, .about-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons {
        align-items: center;
        width: 100%;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .about-content h2 {
        font-size: 2rem;
    }
    .philosophy {
        border-left: none;
        border-bottom: 2px solid var(--secondary-color);
        padding-left: 0;
        padding-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
    }
    .carousel-btn {
        display: none;
    }
    .testimonial-card {
        min-width: 290px;
        max-width: 290px;
        padding: 25px;
    }
}