/* ====================================================================== */
/* ============ ARQUIVO DE ESTILO PRINCIPAL (style.css) - V6 FINAL ======= */
/* ====================================================================== */

/* --- Importação de Fontes do Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Roboto:wght@400;500&display=swap');


/* ====================================================================== */
/* ==================== 1. VARIÁVEIS GLOBAIS E RESET ==================== */
/* ====================================================================== */
:root {
    --primary-color: #0d47a1;
    --secondary-color: #1976d2;
    --dark-blue: #1a202c;
    --accent-color: #c5a47e;
    --whatsapp-color: #25D366;

    --heading-color: #1a202c;
    --text-color: #4a5568;
    --light-text-color: #718096;

    --background-white: #ffffff;
    --background-gray: #f7fafc;
    --background-photo: #eaf2f5;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.menu-is-open {
    overflow: hidden;
}

/* ====================================================================== */
/* ==================== 2. TIPOGRAFIA E COMPONENTES GLOBAIS ============== */
/* ====================================================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

strong {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--heading-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--background-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
    transform: translateY(-3px);
}


.gray-bg {
    background-color: var(--background-gray);
}

section {
    padding: 80px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ====================================================================== */
/* ==================== 3. CABEÇALHO E NAVEGAÇÃO ======================== */
/* ====================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    background-color: var(--background-white);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.menu a {
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.menu a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

#install-pwa-button {
    background: transparent;
    border: none;
    color: var(--heading-color);
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
}

#install-pwa-button:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

#install-pwa-button i {
    font-size: 1.5rem;
}


/* ====================================================================== */
/* ==================== 4. SEÇÕES PRINCIPAIS (INDEX) ==================== */
/* ====================================================================== */
#hero {
    background-color: var(--background-gray);
    background-image: url('../assets/images/hero-banner-desktop-clinica-excel.jpg');
    background-size: cover;
    background-position: center 70%;
    text-align: center;
    padding: 100px 0;
    position: relative;
    color: var(--background-white);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 71, 161, 0.6);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    color: var(--background-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#presentation .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

#presentation .presentation-image {
    flex: 1;
    min-width: 300px;
}

#presentation .presentation-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

#presentation .presentation-text {
    flex: 1.5;
    min-width: 300px;
}

#presentation .presentation-text h2 {
    text-align: left;
}

#presentation .presentation-text h2::after {
    left: 0;
    transform: none;
}

#presentation .google-reviews {
    margin-top: 30px;
    background-color: var(--background-gray);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

#specialties h2 {
    margin-bottom: 3rem;
}

#specialties .specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

#specialties .specialty-card {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

#specialties .specialty-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

#specialties .specialty-card h3 {
    margin-bottom: 15px;
    flex-shrink: 0;
}

#specialties .specialty-card p {
    flex-grow: 1;
}

#specialties .specialty-card a {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

#diferenciais .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-around;
}

#diferenciais .diferencial-item {
    text-align: center;
    flex: 1;
    min-width: 280px;
}

#diferenciais .diferencial-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

#testimonials {
    background-color: var(--dark-blue);
    position: relative;
}

#testimonials h2 {
    color: var(--background-white);
}

#testimonials h2::after {
    background-color: var(--accent-color);
}

#faq .container {
    max-width: 800px;
}

#faq .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#faq .faq-item {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

#faq .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--primary-color);
}

#faq .faq-question i {
    transition: transform 0.3s ease;
}

#faq .faq-question.active i {
    transform: rotate(180deg);
}

#faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
}

#faq .faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    line-height: 1.7;
}

#team-preview .team-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

#team-preview .team-preview-card {
    text-align: center;
    background-color: #fff;
    border-radius: 15px;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

#team-preview .team-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

#team-preview .team-preview-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

#team-preview .team-preview-card h3 {
    margin-bottom: 5px;
    font-size: 1.3rem;
    color: var(--primary-color);
    padding: 0 15px;
}

#team-preview .team-preview-card p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
    padding: 0 15px 20px;
}


/* ====================================================================== */
/* =================== 5. RODAPÉ (FOOTER) - ATUALIZADO ================== */
/* ====================================================================== */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-about p strong {
    color: var(--background-white);
    font-weight: 600;
}

.footer-nav h3,
.footer-contact h3 {
    color: var(--background-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-nav ul a,
.footer-contact ul a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.footer-nav ul a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: var(--background-white);
    transition: width .3s ease;
}

.footer-nav ul a:hover::after {
    width: 100%;
    left: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact li i {
    margin-top: 5px;
    font-size: 1rem;
    color: var(--background-white);
}

.footer-contact li a {
    color: var(--background-white);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

.footer-copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    color: var(--background-white);
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social-icons a:hover {
    transform: scale(1.2);
    color: var(--accent-color);
}


/* ====================================================================== */
/* ==================== 6. COMPONENTES REUTILIZÁVEIS ==================== */
/* ====================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: var(--background-white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

.page-title {
    background-color: var(--background-white);
    padding: 50px 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    margin-bottom: 60px;
}

.page-title h1 {
    font-size: 2.8rem;
    color: var(--heading-color);
    margin: 0 0 0.5rem 0;
}

.page-title p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin: 0;
}

.breadcrumbs {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--light-text-color);
    font-family: var(--font-body);
}

.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 8px;
}

/* ====================================================================== */
/* ==================== 7. PÁGINAS INTERNAS ============================= */
/* ====================================================================== */
.service-text ul li,
#founder ul li,
.profile-details ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    list-style: none;
    padding-left: 0;
}

.service-text ul li i,
#founder ul li i,
.profile-details ul li i {
    color: var(--secondary-color);
    font-size: 1.2em;
    margin-top: 2px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.service-text ul li span,
#founder ul li span,
.profile-details ul li span {
    display: block;
    line-height: 1.5;
}

#team-grid-full .team-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--background-white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-card a {
    color: var(--text-color);
    display: block;
}

.team-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.team-card h3 {
    margin: 20px 10px 5px;
    font-size: 1.4rem;
}

.team-card p {
    margin: 0 10px 20px;
    color: var(--secondary-color);
    font-weight: 500;
}

#doctor-profile .profile-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

#doctor-profile .profile-summary h1 {
    font-size: 2.5rem;
}

#doctor-profile .profile-summary h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    text-align: left;
}

#doctor-profile .profile-summary h2::after {
    display: none;
}

#doctor-profile .profile-details h3 {
    text-align: left;
}

#doctor-profile .profile-details h3::after {
    left: 0;
    transform: none;
}

.service-detail .container {
    max-width: 1000px;
}

.service-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 40px;
    background-color: var(--background-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.service-layout.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 2;
}

.service-text h2 {
    text-align: left;
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-text h2::after {
    left: 0;
    transform: translateX(0);
    background-color: var(--secondary-color);
}

.service-image {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item .service-item-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-item:hover .service-item-icon {
    color: var(--secondary-color);
}

.service-item h3 {
    margin-bottom: 10px;
}

.service-item p {
    flex-grow: 1;
}

.service-item a {
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

.service-item a i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-item:hover a i {
    transform: translateX(5px);
}


#mission .container,
#founder .container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

#mission .mission-text,
#founder .founder-text {
    flex: 1.5;
    min-width: 300px;
}

#mission .mission-image,
#founder .founder-image {
    flex: 1;
    min-width: 300px;
}

#mission .mission-text h2,
#founder .founder-text h2 {
    text-align: left;
}

#mission .mission-text h2::after,
#founder .founder-text h2::after {
    left: 0;
    transform: none;
}

#mission .mission-image img,
#founder .founder-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}


#testimonials {
    background-color: var(--dark-blue);
    position: relative;
}

#testimonials h2 {
    color: var(--background-white);
}

#testimonials h2::after {
    background-color: var(--accent-color);
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.testimonial-image-wrapper {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.testimonial-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--background-white) !important;
    transition: transform 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 900;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
}

.swiper-pagination-bullet-active {
    background: var(--background-white) !important;
    transform: scale(1.2);
}

#clinic-gallery h2 {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 71, 161, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay-text {
    color: var(--background-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

#contact-page .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: flex-start;
}

#contact-page .contact-info h3,
#contact-page .contact-form h3 {
    text-align: left;
    font-size: 1.8rem;
}

#contact-page .contact-info h3::after,
#contact-page .contact-form h3::after {
    left: 0;
    transform: none;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-item-text h4 {
    margin-bottom: 5px;
    color: var(--heading-color);
    font-size: 1.1rem;
}

.info-item-text p,
.info-item-text a {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
}

#locations .location-card {
    display: flex;
    gap: 0;
    background-color: var(--background-white);
    box-shadow: var(--shadow-md);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
}

#locations .location-map {
    flex: 1.2;
    min-height: 400px;
    max-height: 450px;
    padding: 0;
}

#locations .location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

#locations .location-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


#doctor-profile .profile-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
}

#doctor-profile .profile-image {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    background-color: var(--background-photo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

#doctor-profile .profile-image img {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 50%;
    object-fit: cover;
}

#doctor-profile .profile-summary {
    flex: 1;
    min-width: 300px;
}

#team-grid-full .team-card img,
#team-preview .team-preview-card img {
    border: 6px solid var(--background-photo);
    margin-bottom: 0;
}

#team-preview .team-preview-card {
    padding-bottom: 0;
}

#team-preview .team-preview-card h3,
#team-preview .team-preview-card p {
    margin-top: 15px;
    padding-bottom: 15px;
}


/* ====================================================================== */
/* ==================== 11. MENU MOBILE E RESPONSIVIDADE ================ */
/* ====================================================================== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-icon {
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

.mobile-menu-toggle.is-active .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-toggle.is-active .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.is-active .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .main-header .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background-color: var(--background-white);
        box-shadow: var(--shadow-lg);
        padding-top: 100px;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .main-header .menu.menu-open {
        transform: translateX(0);
    }

    .main-header .menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .main-header .menu a {
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .main-header .container {
        gap: 15px;
    }

    .main-header .logo {
        margin-right: auto;
    }

    .header-cta {
        display: flex;
        align-items: center;
        order: 2;
        margin-left: 0;
    }

    .header-cta .btn-primary {
        display: none;
    }

    .menu {
        margin-left: 0;
    }

    #hero {
        background-image: url('../assets/images/hero-banner-mobile-clinica-excel.jpg');
    }

    #presentation .container {
        flex-direction: column;
        text-align: center;
    }

    #presentation .presentation-text h2,
    #doctor-profile .profile-details h3 {
        text-align: center;
    }

    #presentation .presentation-text h2::after,
    #doctor-profile .profile-details h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    #doctor-profile .profile-header {
        flex-direction: column;
    }

    .page-title h1 {
        font-size: 2.5rem;
    }

    .page-title p {
        font-size: 1.1rem;
    }

    .service-layout,
    .service-layout.reverse {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    #mission .container,
    #founder .container {
        flex-direction: column;
    }

    #mission .mission-text h2,
    #founder .founder-text h2 {
        text-align: center;
    }

    #mission .mission-text h2::after,
    #founder .founder-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    #contact-page .container {
        grid-template-columns: 1fr;
    }

    #locations .location-card {
        flex-direction: column !important;
        padding: 0;
    }

    #locations .location-map {
        max-height: 300px;
        min-height: 300px;
        width: 100%;
    }

    #locations .location-info {
        padding: 20px;
    }


    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-copyright .container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .page-title p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .service-layout,
    .service-layout.reverse {
        padding: 15px;
    }

    .service-image {
        min-width: 100%;
    }

    .service-text h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .service-text ul li {
        gap: 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {

    .service-layout,
    .service-layout.reverse {
        padding: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* ====================================================================== */
/* ============ PLANOS DE ACOMPANHAMENTO (NOVA SEÇÃO) ================= */
/* ====================================================================== */
#acompanhamento {
    background-color: #08306b;
    color: var(--background-white);
}

#acompanhamento h2 {
    color: var(--background-white);
}

#acompanhamento h2::after {
    background-color: var(--accent-color);
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

@media (max-width: 480px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.plan-card:hover {
    background-color: var(--background-white);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.plan-card:hover h3,
.plan-card:hover p {
    color: var(--primary-color);
}

.plan-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.plan-card h3 {
    color: var(--background-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.plan-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cta-center {
    text-align: center;
}