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

/* ===== 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;
    --white: #ffffff;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.1);
    --border-radius: 15px;
    --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;
}

.site-header .logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0;
}

.site-header .logo span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
}


/* ===== 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. HERO SECTION ===== */
.hero-section {
    background: url('../img/img_background.png') center/cover no-repeat;
    /*background: url('../img/img_background.png') center/cover;
    background-blend-mode: overlay;*/
    color: white;
    padding: 120px 0 80px;
    min-height: 8vh;
    display: flex;
    align-items: center;
    border: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    margin: 20px;
    box-shadow: 0 15px 40px rgba(45, 143, 71, 0.3);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 100px;
    padding: 0 20px;
}

/* Posicionamento específico do hero card */
.hero-section .hero-content {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.hero-section .hero-content.hero-card-left-medium {
    margin-left: -60px;
}

.hero-section .hero-content .hero-content-box {
    background: url('../img/img_background.png') center/cover, rgba(255, 255, 255, 0.95);
    background-blend-mode: overlay;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid var(--primary-color);
    position: relative;
    width: 70%;
}

.hero-section .hero-content .hero-content-box .hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-section .hero-content .hero-content-box .hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 1;
}

.hero-section .hero-content .hero-content-box .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== 7. BOTÕES ===== */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-primary {

    background: transparent;
    color: var(--primary-color);
    border: 2px solid rgb(19, 138, 3);
    box-shadow: 0 5px 15px rgba(31, 148, 1, 0.2);
}


/*.btn-primary:hover {
    transform: translateY(-2px);
    background: rgb(255, 255, 255);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(119, 255, 148, 0.342);
}anterior abaixo corrigido*/

.btn-primary:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(119, 255, 148, 0.342);
}

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

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

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

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

/* ===== 8. TÍTULOS DE SEÇÃO ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== 9. SEÇÃO SOBRE ===== */
.about-page-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.about-page-section .about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-page-section .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-page-section .feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.about-page-section .feature:hover {
    transform: translateY(-5px);
}

.about-page-section .feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-page-section .feature h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* ===== 10. SEÇÃO DE TRATAMENTOS ===== */
.treatments-section {
    padding: 80px 0;
}

.treatments-section .treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.treatments-section .treatment-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.treatments-section .treatment-card:hover {
    transform: translateY(-5px);
}

.treatments-section .treatment-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.treatments-section .treatment-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.treatments-section .treatment-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== 11. SEÇÃO DE CONTATO ===== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-section .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-section .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-section .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-section .contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.contact-section .contact-item h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-section .contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-section .contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.contact-section .form-group {
    margin-bottom: 1.5rem;
}

.contact-section .form-group input,
.contact-section .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-section .form-group textarea {
    resize: vertical;
}

/* ===== 12. 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;
}

/* ===== 13. RESPONSIVE DESIGN ===== */

/* Tablet e telas médias */
@media (max-width: 1024px) {
    .hero-section .container {
        margin: 0 50px;
        padding: 0 15px;
    }
    
    .hero-section .hero-content.hero-card-left-medium {
        margin-left: -30px;
    }
    
    .hero-section .hero-content .hero-content-box {
        padding: 2.5rem;
    }
    
    .hero-section .hero-content .hero-content-box .hero-title {
        font-size: 2.5rem;
    }
}

/* Mobile e tablets pequenos */
@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;
    }
    
    .hero-section {
        margin: 10px;
        border: 3px solid var(--primary-color);
        border-radius: 12px;
        padding: 110px 0 40px;
    }
    
    .hero-section .container {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 15px;
        margin: 0 auto;
    }
    
    .hero-section .hero-content {
        max-width: 100%;
        margin: 0;
    }
    
    .hero-section .hero-content.hero-card-left-medium {
        margin-left: 0;
    }
    
    .hero-section .hero-content .hero-content-box {
        padding: 2rem;
        border-radius: var(--border-radius);
        border: 2px solid var(--primary-color);
        margin: 0 10px;
    }
    
    .hero-section .hero-content .hero-content-box .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-section .hero-content .hero-content-box .hero-text {
        font-size: 1.1rem;
    }
    
    .hero-section .hero-content .hero-content-box .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .site-header .logo-img {
        height: 65px;
        max-width: 180px;
    }
    
    .contact-section .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-page-section .features {
        grid-template-columns: 1fr;
    }
    
    .treatments-section .treatments-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    .hero-section {
        margin: 5px;
        border: 2px solid var(--primary-color);
        border-radius: 10px;
        padding: 100px 0 30px;
    }
    
    .hero-section .container {
        padding: 0 10px;
    }
    
    .hero-section .hero-content .hero-content-box {
        padding: 1.5rem;
        border-radius: 12px;
        border: 2px solid var(--primary-color);
        margin: 0 5px;
    }
    
    .hero-section .hero-content .hero-content-box .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-section .hero-content .hero-content-box .hero-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-section .hero-content .hero-content-box .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .site-header .logo-img {
        height: 55px;
        max-width: 140px;
    }
}

/* Mobile muito pequeno */
@media (max-width: 320px) {
    .hero-section .hero-content .hero-content-box {
        padding: 1.2rem;
        margin: 0;
    }
    
    .hero-section .hero-content .hero-content-box .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-section .hero-content .hero-content-box .hero-text {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ===== 14. MELHORIAS ADICIONAIS DE RESPONSIVIDADE ===== */

/* Garantir que o card nunca ultrapasse a largura da tela */
.hero-section .hero-content .hero-content-box {
    max-width: 100%;
    box-sizing: border-box;
}

/* Melhorar o comportamento dos botões em todas as telas */
.hero-section .hero-content .hero-content-box .hero-buttons .btn {
    min-width: 140px;
    white-space: nowrap;
}

/* Ajustar o espaçamento do container em telas muito grandes */
@media (min-width: 1400px) {
    .hero-section .container {
        max-width: 1400px;
        margin: 0 150px;
    }
}

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

.hero-section .hero-content,
.about-page-section .about-text,
.treatments-section .treatment-card,
.contact-section .contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Animação suave para mudanças de layout */
.hero-section .hero-content .hero-content-box,
.hero-section .hero-content .hero-content-box .hero-buttons {
    transition: all 0.3s ease;
}