/* ===== CSS COMPLETO PARA PÁGINA TRATAMENTOS ===== */

/* ===== 1. RESET E CONFIGURAÇÕES BÁSICAS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ===== 2. VARIÁVEIS CSS ===== */
:root {
    --primary-color: #2d8f47;
    --secondary-color: #1e5f32;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #444;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #f0f8f2 0%, #e8f5ea 50%, #f0f8f2 100%);
    --white: #ffffff;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(45, 143, 71, 0.12);
    --shadow-heavy: 0 15px 40px rgba(45, 143, 71, 0.15);
    --border-radius: 15px;
    --border-radius-large: 25px;
    --transition: all 0.3s ease;
}

/* ===== 3. COMPONENTES BÁSICOS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 4. HEADER ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.site-header .logo-img {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}


/* ===== 5. NAVEGAÇÃO ===== */
.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav .nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 100%;
}

.main-nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.main-nav .hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== 6. PÁGINA DE TRATAMENTOS ===== */
.treatments-page {
    padding: 120px 0 80px;
    background: var(--bg-gradient);
    position: relative;
}

.treatments-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(45, 143, 71, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 143, 71, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(45, 143, 71, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.treatments-page .treatments-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

/* ===== 7. TÍTULO DA PÁGINA ===== */
.page-title {
    font-size: 3.2rem;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    
    /* Card styling */
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf9 50%, #ffffff 100%);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-large);
    box-shadow: 
        0 20px 60px rgba(45, 143, 71, 0.15),
        0 8px 25px rgba(45, 143, 71, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(45, 143, 71, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    transform: translateY(0);
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.page-title:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 70px rgba(45, 143, 71, 0.2),
        0 12px 35px rgba(45, 143, 71, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
    z-index: 1;
}

/* ===== 8. TEXTO INTRODUTÓRIO ===== */
.intro-text {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf9 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(45, 143, 71, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.intro-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-lighter);
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* ===== 9. SEÇÕES DE TRATAMENTO ===== */
.treatment-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf9 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(45, 143, 71, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

/* ===== IMAGENS DOS TRATAMENTOS ===== */
.treatment-image {
    margin: 2rem 0;
    text-align: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    background: linear-gradient(135deg, rgba(45, 143, 71, 0.05), rgba(45, 143, 71, 0.02));
    padding: 1rem;
}

.treatment-img {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(45, 143, 71, 0.15);
    border: 2px solid rgba(45, 143, 71, 0.1);
    background: #f8fdf9;
}

.treatment-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(45, 143, 71, 0.25);
    border-color: rgba(45, 143, 71, 0.2);
}

.treatment-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 143, 71, 0.18);
}

.treatment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.treatment-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(45, 143, 71, 0.1);
}

.treatment-header i {
    font-size: 3rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(45, 143, 71, 0.1), rgba(45, 143, 71, 0.05));
    padding: 1rem;
    border-radius: var(--border-radius);
    min-width: 80px;
    text-align: center;
}

.treatment-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}


.treatment-section h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    font-weight: 600;
    position: relative;
    padding-left: 1rem;
}

.treatment-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Exceção para h3 dentro da galeria */
.treatments-gallery h3 {
    padding-left: 0;
}

.treatments-gallery h3::before {
    display: none;
}

.treatment-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    text-align: justify;
    color: var(--text-lighter);
}

/* ===== 10. SUBSEÇÕES ===== */
.subsection {
    background: rgba(45, 143, 71, 0.03);
    padding: 1.8rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.subsection h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

/* ===== 11. INFORMAÇÕES PROFISSIONAIS ===== */
.professional-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2.5rem;
    text-align: center;
}

.professional-info p {
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
}

.professional-info p:last-child {
    margin-bottom: 0;
    opacity: 0.9;
}

/* ===== 12. SEÇÃO CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    color: white;
    padding: 5rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-section h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    border: none;
    padding: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.cta-buttons .btn-primary:hover {
    background: #f8fdf9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.4);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* ===== 13. FOOTER ===== */
.site-footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.site-footer .footer-section h3,
.site-footer .footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.site-footer .footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-footer .footer-section i {
    color: var(--primary-color);
    width: 16px;
}

.site-footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* ===== 14. RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .main-nav .hamburger {
        display: flex;
    }
    
    .main-nav .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-light);
        padding: 2rem 0;
    }
    
    .main-nav .nav-menu.active {
        left: 0;
    }
    
    .site-header .logo-img {
        height: 65px;
        max-width: 180px;
    }
    
    .page-title {
        font-size: 2.5rem;
        padding: 3rem 2rem;
        border-radius: 20px;
        max-width: 95%;
    }
    
    .intro-text,
    .treatment-section {
        padding: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .treatment-img {
        height: 250px;
        max-width: 100%;
    }
    
    .treatment-image {
        margin: 1.5rem 0;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-header .logo-img {
        height: 55px;
        max-width: 140px;
    }
    
    .page-title {
        font-size: 2rem;
        padding: 2.5rem 1.5rem;
        border-radius: var(--border-radius);
    }
    
    .intro-text,
    .treatment-section {
        padding: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .subsection {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    
    .treatment-img {
        height: 200px;
    }
    
    .treatment-image {
        margin: 1rem 0;
        padding: 0.5rem;
    }
}

/* ===== 15. ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-title {
    animation: titleFadeIn 0.8s ease-out;
}

.intro-text,
.treatment-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== 16. GALERIA DE TRATAMENTOS ===== */
.treatments-gallery {
    margin: 4rem 0;
    padding: 4rem 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf9 50%, #ffffff 100%);
    border-radius: var(--border-radius-large);
    border: 2px solid rgba(45, 143, 71, 0.15);
    box-shadow: 
        0 20px 60px rgba(45, 143, 71, 0.15),
        0 8px 25px rgba(45, 143, 71, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.treatments-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.treatments-gallery h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.treatments-gallery h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.gallery-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.gallery-row:last-child {
    margin-bottom: 0;
}

.gallery-item {
    flex: 1;
    max-width: 450px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fdf9 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 2px solid rgba(45, 143, 71, 0.1);
    position: relative;
    overflow: hidden;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: var(--transition);
}

.gallery-item:hover::before {
    transform: translateX(0);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 70px rgba(45, 143, 71, 0.2),
        0 12px 35px rgba(45, 143, 71, 0.15);
    border-color: rgba(45, 143, 71, 0.3);
}

.gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 3px solid rgba(45, 143, 71, 0.15);
    box-shadow: 0 8px 25px rgba(45, 143, 71, 0.12);
}

.gallery-img:hover {
    transform: scale(1.08);
    border-color: rgba(45, 143, 71, 0.4);
    box-shadow: 0 15px 40px rgba(45, 143, 71, 0.25);
}

.gallery-caption {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ===== RESPONSIVE PARA GALERIA ===== */
@media (max-width: 768px) {
    .gallery-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .gallery-item {
        max-width: 100%;
        width: 100%;
    }
    
    .treatments-gallery {
        padding: 3rem 2rem;
        margin: 3rem 0;
    }
    
    .treatments-gallery h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .gallery-img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .treatments-gallery {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .treatments-gallery h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery-item {
        padding: 1.5rem;
    }
    
    .gallery-img {
        height: 240px;
    }
    
    .gallery-caption {
        font-size: 1.1rem;
    }
}