/* ===============================
   CONSOLIDATED CSS - OPTIMIZED
   =============================== */

/* ===============================
   SHARED SECTION STYLES
   =============================== */
.section-subtitle {
    color: #8b6914;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-subtitle-dark { color: white; /* Maximum contrast on dark backgrounds */ }
.section-subtitle-light { color: #8b6914; }

.section-title {
    font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.section-dark-title { 
    color: white !important; 
    background: transparent !important;
}
.section-light-title { color: #1a1a1a; }

.section-text {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: #daa520;
    margin: 0.8rem auto 1.5rem;
}

/* ===============================
   CTA SECTIONS - GLOBAL
   =============================== */
#cta-section-metodo,
#cta-section-depoimentos,
#cta-section-dra-jo,
#cta-section-clinica {
    padding: 4rem 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.cta-highlight {
    color: #daa520;
    font-weight: 600;
}

#cta-section-metodo .cta-button,
#cta-section-depoimentos .cta-button,
#cta-section-dra-jo .cta-button,
#cta-section-clinica .cta-button,
#historia-section .cta-button {
    background: #8b6914;
    border: 2px solid #8b6914;
    box-shadow: 0 6px 12px rgba(139, 105, 20, 0.3);
}

/* ===============================
   HISTÓRIA SECTION
   =============================== */
#historia-section {
    padding: 4rem 0;
    min-height: 400px;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

#historia-section .section-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: 1.2rem;
    line-height: 1.7;
}

.video-link {
    display: inline-flex;
    align-items: center;
    color: #daa520;
    font-weight: 600;
    text-decoration: none;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.video-container {
    width: 100%;
    max-width: 350px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 640px;
    min-height: 480px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: 24px;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    border-radius: 24px;
}

.placeholder-image.loaded {
    opacity: 1;
}

.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
    border-radius: 24px;
}

.video-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(218, 165, 32, 0.3);
    border-top: 3px solid #daa520;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.video-loading-text {
    color: #daa520;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;
    border-radius: 24px;
    overflow: hidden;
}

.video-iframe-container.loaded {
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===============================
   MÉTODO SECTION
   =============================== */
#metodo-section {
    background: #fefdf9;
    padding: 4rem 0;
    min-height: 400px;
}

.metodo-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.procedimentos-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1000px;
}

.procedimento-card {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 0 1rem;
}

.procedimento-numero {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(218, 165, 32, 0.25);
    line-height: 1;
    z-index: 1;
}

.procedimento-image {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.procedimento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.procedimento-image:hover img {
    transform: scale(1.05);
}

.procedimento-content {
    padding: 2.5rem 1.5rem 2rem;
    position: relative;
    z-index: 2;
}

.procedimento-title {
    font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    padding-left: 3.5rem;
}

.procedimento-desc {
    color: #2d2d2d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.procedimento-beneficios {
    color: #2d2d2d;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.metodo-cta {
    margin: 4rem auto 0;
    text-align: center;
}

/* ===============================
   DEPOIMENTOS SECTION
   =============================== */
#depoimentos-section {
    background: #fefdf9;
    padding: 4rem 0;
    min-height: 400px;
}

.depoimentos-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* MODAL UNIVERSAL - PARA IMAGENS CLICÁVEIS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: 85vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #1a1a1a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 0.8rem;
}

.modal-image-container {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===============================
   DRA. JÔ SECTION
   =============================== */
#dra-jo-section {
    background: #fefdf9;
    padding: 4rem 0;
}

.dra-jo-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dra-jo-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dra-jo-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(139, 105, 20, 0.15);
}

.dra-jo-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2d2d2d;
    margin: 0;
}

.formacao-title {
    font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    position: relative;
}

.formacao-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.formacao-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.3rem 0;
}

.formacao-icon {
    width: 1.2rem;
    height: 1.2rem;
    min-width: 1.2rem;
    color: #daa520;
    flex-shrink: 0;
}

/* ===============================
   TIMELINE SECTION
   =============================== */
#timeline-section {
    background: #fefdf9;
    padding: 4rem 0;
}

.timeline-header {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        #daa520,
        #daa520 10px,
        transparent 10px,
        transparent 20px
    );
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.4;
}

.timeline-card {
    position: relative;
    background: rgba(254, 253, 249, 0.95);
    border: 1px solid rgba(139, 105, 20, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
}

/* ===============================
   CLÍNICA SECTION
   =============================== */
#clinica-section {
    background: linear-gradient(135deg, rgba(254, 253, 249, 0.3) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 4rem 0;
    overflow: hidden;
}

.clinica-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clinica-description {
    color: #2d2d2d;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 400;
}

/* CARROSSEL DA CLÍNICA - OTIMIZADO */
.clinica-carrossel {
    position: relative;
    max-width: 85%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(139, 105, 20, 0.15);
}

.clinica-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.clinica-track {
    display: flex;
    width: 500%; /* 5 slides * 100% */
    height: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.clinica-slide {
    flex: 0 0 20%; /* Cada slide ocupa 1/5 da largura total */
    position: relative;
    height: 100%;
}

.clinica-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.clinica-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clinica-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

.clinica-caption p {
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* CONTROLES DA CLÍNICA */
.clinica-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.clinica-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(139, 105, 20, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease;
    will-change: transform;
}

.clinica-control.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.clinica-prev {
    left: 20px;
}

.clinica-next {
    right: 20px;
}

.clinica-control svg {
    width: 24px;
    height: 24px;
    stroke: #8b6914;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* INDICADORES DA CLÍNICA */
.clinica-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.clinica-indicator {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

.clinica-indicator::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease;
    will-change: transform;
}

.clinica-indicator.active {
    background: rgba(218, 165, 32, 0.2);
    border-color: rgba(218, 165, 32, 0.4);
}

.clinica-indicator.active::after {
    background: #daa520;
    border-color: #daa520;
}

/* ===============================
   ENDEREÇO SECTION
   =============================== */
#endereco-section {
    background: #ffffff;
    padding: 4rem 0;
}

.endereco-header {
    text-align: center;
    margin-bottom: 3rem;
}

.endereco-address {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 1rem auto 1.5rem;
    max-width: 600px;
    line-height: 1.4;
}

.endereco-map-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.endereco-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(139, 105, 20, 0.15);
    background: #f5f5f5;
}

.endereco-map {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.endereco-info {
    background: rgba(254, 253, 249, 0.8);
    border: 1px solid rgba(139, 105, 20, 0.1);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.endereco-details {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.endereco-item {
    position: relative;
}

.endereco-item-title {
    font-family: 'Cormorant', Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #8b6914;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.3;
}

.endereco-icon {
    width: 1.2rem;
    height: 1.2rem;
    min-width: 1.2rem;
    color: #daa520;
    flex-shrink: 0;
}

.endereco-item-text {
    color: #2d2d2d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* ===============================
   FOOTER STYLES
   =============================== */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    justify-content: center;
}

.footer-icon-svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    color: #8b6914;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* ===============================
   DESKTOP OPTIMIZATIONS
   =============================== */
@media (min-width: 768px) {
    .cta-title {
        font-size: 3.5rem;
    }

    .cta-subtitle {
        font-size: 1.3rem;
    }

    .cta-button:hover,
    #cta-section-metodo .cta-button:hover,
    #cta-section-depoimentos .cta-button:hover,
    #cta-section-dra-jo .cta-button:hover,
    #cta-section-clinica .cta-button:hover,
    #historia-section .cta-button:hover {
        background: #daa520;
        border-color: #daa520;
        box-shadow: 0 8px 16px rgba(218, 165, 32, 0.4);
        transform: translateY(-2px);
    }

    .video-link:hover {
        color: #f4d03f;
    }

    .video-container {
        max-width: 400px;
    }

    /* MÉTODO SECTION - DESKTOP */
    .procedimentos-grid {
        gap: 4rem;
    }
    
    .procedimento-card {
        grid-template-columns: 1.3fr 1fr;
        align-items: center;
        margin: 0;
    }
    
    .procedimento-card:nth-child(even) {
        grid-template-columns: 1fr 1.3fr;
        direction: rtl;
    }
    
    .procedimento-card:nth-child(even) .procedimento-content {
        direction: ltr;
    }

    /* DRA. JÔ SECTION - DESKTOP */
    .dra-jo-main {
        flex-direction: row;
        align-items: flex-start;
        gap: 3rem;
    }

    .dra-jo-image {
        flex: 0 0 40%;
        max-width: 400px;
    }

    .dra-jo-content {
        flex: 1;
        padding-left: 1.5rem;
    }

    /* ENDEREÇO SECTION - DESKTOP */
    .endereco-map-container {
        grid-template-columns: 2fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }

    /* FOOTER - DESKTOP */
    .footer-grid {
        grid-template-columns: 1fr 1.2fr 1fr;
        gap: 3rem;
        text-align: left;
    }

    .footer-contact-item {
        justify-content: flex-start;
    }

    .footer-logo {
        align-items: center;
        text-align: center;
    }

    .footer-contact-item:hover .footer-icon-svg {
        color: #daa520;
        transform: scale(1.1);
    }

    .section-divider {
        width: 80px;
    }
    


    .clinica-description {
        font-size: 1.2rem;
    }

    .clinica-control:hover {
        background: rgba(139, 105, 20, 0.9);
        border-color: #8b6914;
        transform: translateY(-50%) scale(1.05);
    }

    .clinica-control:hover svg {
        stroke: white;
    }

    .clinica-indicator:hover {
        background: rgba(218, 165, 32, 0.15);
        border-color: rgba(218, 165, 32, 0.3);
    }
    
    .clinica-indicator:hover::after {
        transform: scale(1.2);
    }

    .clinica-image {
        transition: transform 0.3s ease;
    }

    .clinica-slide:hover .clinica-image {
        transform: scale(1.02);
    }
}

@media (min-width: 1024px) {
    /* CLÍNICA SECTION - TELAS GRANDES */
    .clinica-carrossel {
        max-width: 90%;
    }

    .clinica-container {
        height: 560px;
    }

    .clinica-caption {
        padding: 2.5rem 2rem 2rem;
        font-size: 1.1rem;
    }

    .clinica-control {
        width: 56px;
        height: 56px;
    }

    .clinica-prev {
        left: 30px;
    }

    .clinica-next {
        right: 30px;
    }
}

/* TELAS EXTRA GRANDES - 1200px+ */
@media (min-width: 1200px) {
    .clinica-carrossel {
        max-width: 95%;
        max-width: min(95%, 1400px); /* Limita a largura máxima */
    }

    .clinica-container {
        height: 600px;
    }

    .clinica-caption {
        padding: 3rem 2.5rem 2.5rem;
        font-size: 1.2rem;
    }

    .clinica-control {
        width: 60px;
        height: 60px;
    }

    .clinica-prev {
        left: 40px;
    }

    .clinica-next {
        right: 40px;
    }

    .clinica-indicators {
        bottom: 30px;
        gap: 1rem;
    }

    .clinica-indicator::after {
        width: 14px;
        height: 14px;
    }
}

/* TABLET OPTIMIZATIONS */
@media (min-width: 768px) and (max-width: 1024px) {
}

/* MOBILE OPTIMIZATIONS */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .section-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .cta-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .section-divider {
        width: 50px;
        height: 2px;
    }

    /* HISTÓRIA SECTION - MOBILE */
    #historia-section {
        padding: 3rem 0;
    }
    
    #historia-section .section-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .video-container {
        max-width: 320px;
        padding: 0 0.5rem;
    }

    /* MÉTODO SECTION - MOBILE */
    .metodo-header {
        margin-bottom: 2.5rem;
    }

    .procedimentos-grid {
        gap: 2.5rem;
    }
    
    .procedimento-card {
        margin: 0 1rem;
    }
    
    .procedimento-numero {
        font-size: 2.5rem;
        top: 1rem;
        left: 1rem;
    }

    .procedimento-title {
        font-size: 1.4rem;
        padding-left: 2.8rem;
        line-height: 1.3;
    }

    .procedimento-content {
        padding: 1.8rem 1.2rem 1.5rem;
    }
    
    .procedimento-image {
        order: -1;
    }

    .procedimento-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    /* CTA SECTIONS - MOBILE */
    #cta-section-metodo,
    #cta-section-depoimentos,
    #cta-section-dra-jo,
    #cta-section-clinica {
        padding: 3rem 0;
    }

    /* DEPOIMENTOS SECTION - MOBILE */
    #depoimentos-section {
        padding: 3rem 0;
    }

    /* MODAL RESPONSIVO - MOBILE */
    .modal-overlay {
        padding: 8px;
    }
    
    .modal-container {
        max-height: 92vh;
        height: 92vh;
        max-width: 96vw;
        width: auto;
        border-radius: 12px;
    }
    
    .modal-content {
        padding: 0.4rem;
    }
    
    .modal-close {
        top: 6px;
        right: 6px;
        width: 30px;
        height: 30px;
        z-index: 20;
    }
    
    .modal-close svg {
        width: 14px;
        height: 14px;
    }
    
    .modal-image-container {
        border-radius: 8px;
    }
    
    .modal-image {
        height: 100%;
        width: auto;
        max-width: 100%;
    }

    /* DRA. JÔ SECTION - MOBILE */
    #dra-jo-section {
        padding: 3rem 0;
    }

    .dra-jo-header {
        margin-bottom: 2rem;
    }

    .dra-jo-main {
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .dra-jo-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .formacao-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    /* TIMELINE SECTION - MOBILE */
    #timeline-section {
        padding: 3rem 0;
    }

    .timeline-header {
        margin-bottom: 2.5rem;
    }

    .timeline-container {
        padding: 0 1rem;
    }

    /* ENDEREÇO SECTION - MOBILE */
    #endereco-section {
        padding: 3rem 0;
    }

    .endereco-header {
        margin-bottom: 2rem;
    }

    .endereco-address {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .endereco-map-container {
        gap: 1.5rem;
        margin: 0 1rem;
    }

    .endereco-map {
        height: 350px;
        border-radius: 12px;
    }

    /* CLÍNICA SECTION - MOBILE */
    #clinica-section {
        padding: 3rem 0;
    }

    .clinica-header {
        margin-bottom: 2rem;
    }

    .clinica-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .clinica-carrossel {
        max-width: 90%;
    }

    .clinica-container {
        height: 350px;
    }

    .clinica-caption {
        padding: 1.5rem 1.2rem 1.2rem;
        font-size: 0.9rem;
    }

    .clinica-control {
        width: 44px;
        height: 44px;
    }

    .clinica-prev {
        left: 15px;
    }

    .clinica-next {
        right: 15px;
    }

    .clinica-indicators {
        bottom: 18px;
        gap: 0.7rem;
    }

    .clinica-indicator::after {
        width: 11px;
        height: 11px;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 375px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-text {
        font-size: 0.95rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }

    .video-container {
        max-width: 280px;
    }
    
    .endereco-address {
        font-size: 1rem;
    }
    
    .endereco-map-container {
        margin: 0 0.8rem;
        gap: 1.2rem;
    }
    
    .endereco-map {
        height: 320px;
    }
}

/* ===============================
   MOBILE MUITO PEQUENO
   =============================== */
@media (max-width: 320px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .clinica-carrossel {
        max-width: 95%;
    }
    
    .clinica-container {
        height: 300px;
    }
    
    .clinica-caption {
        padding: 1.5rem 1rem 1rem;
        font-size: 0.85rem;
    }
    
    .clinica-control {
        width: 40px;
        height: 40px;
    }
    
    .clinica-prev {
        left: 10px;
    }
    
    .clinica-next {
        right: 10px;
    }
    
    .clinica-indicators {
        bottom: 15px;
        gap: 0.6rem;
    }
    
    .clinica-indicator::after {
        width: 10px;
        height: 10px;
    }
}

/* ===============================
   IMAGENS CLICÁVEIS - UNIVERSAIS
   =============================== */
.image-clickable {
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    will-change: transform;
}

.image-clickable::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 5;
    will-change: opacity;
}

.image-clickable:hover::after {
    opacity: 1;
}

.image-clickable:hover {
    transform: scale(1.02);
}

/* PACIENTES AVATARES CLICÁVEIS */
.patient-avatar.image-clickable {
    border-radius: 50%;
    border: 2px solid transparent;
    transition: transform 0.3s ease;
    will-change: transform;
}

.patient-avatar.image-clickable:hover {
    border-color: #8b6914;
    transform: scale(1.1);
}

.patient-avatar.image-clickable::after {
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
}

/* PROCEDIMENTOS CLICÁVEIS */
.procedimento-image.image-clickable {
    overflow: hidden;
    border-radius: 12px;
}

.procedimento-image.image-clickable:hover img {
    transform: scale(1.05);
}

.procedimento-image.image-clickable::after {
    font-size: 2rem;
    width: 50px;
    height: 50px;
}

/* CLÍNICA IMAGENS CLICÁVEIS */
.clinica-image-container.image-clickable::after {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
}

/* MOBILE RESPONSIVO PARA IMAGENS CLICÁVEIS */
@media (max-width: 767px) {
    .image-clickable::after {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .procedimento-image.image-clickable::after {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .patient-avatar.image-clickable::after {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .clinica-image-container.image-clickable::after {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
}

/* ===============================
   MODAL DE CAPTURA DE LEADS
   =============================== */

/* Modal Overlay */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lead-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.lead-modal-container {
    background: white;
    border-radius: 1.5rem;
    width: 95%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.lead-modal-overlay.active .lead-modal-container {
    transform: translateY(0) scale(1);
}

/* Barras decorativas douradas */
.lead-modal-header-bar,
.lead-modal-footer-bar {
    height: 8px;
    width: 100%;
    background: linear-gradient(90deg, #D4AF37 0%, #F5DEB3 50%, #D4AF37 100%);
}

/* Modal Content */
.lead-modal-content {
    padding: 3rem;
    position: relative;
}

/* Botão de Fechar */
.lead-modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #8a8a8a;
    padding: 0.5rem;
    transition: all 0.2s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    z-index: 10;
}

.lead-modal-close:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    transform: rotate(90deg);
}

.lead-modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Título da Modal */
.lead-modal-title {
    margin-bottom: 2.5rem;
    text-align: center;
}

.lead-modal-title h2 {
    font-family: 'Cormorant', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

/* Formulário */
.lead-form {
    width: 100%;
}

.lead-form-group {
    margin-bottom: 1.8rem;
}

.lead-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    transition: color 0.2s ease;
}

.lead-form-input-container {
    position: relative;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.lead-form-input {
    width: 100%;
    padding: 1.2rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease-in-out;
    background: #f9fafb;
    color: #1f2937;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.lead-form-input:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: #ffffff;
}

.lead-form-input.error {
    border-color: #dc2626;
    background: #fff;
}

.lead-form-input.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Mensagens de Erro */
.lead-form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.error-icon {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    flex-shrink: 0;
}

/* Botão de Submit */
.lead-form-submit-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.lead-form-submit {
    padding: 1.5rem 2rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    background: linear-gradient(90deg, #D4AF37 0%, #E6C667 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 10px -1px rgba(212, 175, 55, 0.2), 0 2px 4px -1px rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.lead-form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px -1px rgba(212, 175, 55, 0.3), 0 3px 6px -1px rgba(212, 175, 55, 0.15);
}

.lead-form-submit:focus:not(:disabled) {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3), 0 4px 10px -1px rgba(212, 175, 55, 0.2);
}

.lead-form-submit:disabled {
    background: rgba(212, 175, 55, 0.7);
    cursor: not-allowed;
    opacity: 0.8;
}

.submit-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.lead-form-submit:hover:not(:disabled) .submit-icon {
    transform: translateX(2px);
}

/* Loading Spinner */
.submit-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsividade Mobile */
@media (max-width: 767px) {
    .lead-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .lead-modal-title h2 {
        font-size: 2.2rem;
    }
    
    .lead-modal-close {
        right: 1rem;
        top: 1rem;
        width: 2rem;
        height: 2rem;
    }
    
    .lead-modal-close svg {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .lead-form-input {
        padding: 1rem;
        font-size: 16px; /* Evita zoom no iOS */
    }
    
    .lead-form-submit {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .lead-form-label {
        font-size: 1rem;
    }
    
    .lead-form-group {
        margin-bottom: 1.5rem;
    }
}

/* ===============================
   PERFORMANCE - COMPOSITED LAYERS
   =============================== */
/* Forçar compositing dinâmico para elementos com animações críticas */
.clinica-slide:hover .clinica-image,
.procedimento-image:hover img,
.image-clickable:hover {
    will-change: transform;
}

/* Reset will-change para evitar uso excessivo de memória GPU */
.clinica-slide .clinica-image:not(:hover),
.procedimento-image img:not(:hover),
.image-clickable:not(:hover) {
    will-change: auto;
}

@media (max-width: 375px) {
    .lead-modal-content {
        padding: 1.5rem 1rem;
    }
    
    .lead-modal-title h2 {
        font-size: 1.8rem;
    }
} 