/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: #2d3436;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* VARIÁVEIS PREMIUM */
:root {
    --primary-color: #10453b;
    /* Verde Dra. Juliana */
    --secondary-color: #e69a31;
    /* Laranja Destaque */
    --el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .12);
    --el-box-shadow-premium: 0px 12px 32px 4px rgba(0, 0, 0, .04), 0px 8px 20px rgba(0, 0, 0, .08);
    --el-transition-duration: 0.3s;
    --el-border-radius-base: 12px;
    --text-regular: #606266;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* HEADER */
.main-header {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    position: sticky;
    top: 0;
    z-index: 2000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.menu-toggle-checkbox,
.mobile-menu-btn {
    display: none;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    transition: opacity var(--el-transition-duration);
}

.logo a:hover {
    opacity: 0.75;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-regular);
    font-weight: 500;
    transition: var(--el-transition-duration);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Header Dr Image */
.header-dr-image-container {
    position: absolute;
    top: -15px;
    /* Ajuste conforme necessário para ficar "acima" */
    right: 20px;
    /* Alinhamento à direita */
    z-index: 2001;
    /* Garante que fique acima de outros elementos do header */
}

.header-dr-img {
    width: 70px;
    /* Tamanho pequeno para um avatar */
    height: 70px;
    border-radius: 50%;
    /* Torna a imagem circular */
    object-fit: cover;
    /* Garante que a imagem preencha a área sem distorção */
    border: 3px solid var(--primary-color);
    /* Borda elegante */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* SEÇÕES */
.hero {
    background-image: url('assets/img/hero_dra_juliana.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
}

.hero-content {
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.hero-content .btn-main {
    margin-top: 32px;
    display: inline-block;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-img-right {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--el-box-shadow-premium);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto;
    border-radius: 2px;
}


/* SERVIÇOS GRID CUSTOMIZADA PARA CENTRALIZAR ÚLTIMOS ITENS */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.services-grid .service-item {
    flex: 0 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    width: 100%;
}

/* ESPAÇAMENTO DAS SEÇÕES */
.services {
    padding: 50px 0;
}

.about,
.testimonials,
.contact {
    padding: 30px 0;
}

/* CARDS ESTILO EL-CARD (Premium) */
.feature-card,
.service-item {
    background: #fff;
    padding: 40px;
    border-radius: var(--el-border-radius-base);
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--el-transition-duration);
}

.feature-card:hover,
.service-item:hover {
    box-shadow: var(--el-box-shadow-premium);
    transform: translateY(-5px);
}

.feature-icon,
.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

/* SOBRE MIM */
.about {
    background-color: #f9fafb;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Animação de entrada */
.animate-on-scroll {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.animate-on-scroll.appear {
    opacity: 1;
    transform: translateX(0);
}

.about-img-frame {
    max-width: 380px;
    width: 100%;
    padding: 10px;
    border-radius: 24px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 50px rgba(16, 69, 59, 0.15);
    background: #fff;
    position: relative;
}

.about-img-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-top: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
    border-radius: 0 12px 0 0;
}

.about-img-frame::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    border-bottom: 4px solid var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 0 0 12px;
}

.img-responsive {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.about-stats {
    margin-top: 30px;
}

.about-stats strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-top: 10px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* TESTIMONIALS */
.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.testimonial-img-card {
    flex: 0 1 calc(33.333% - 25px);
    max-width: calc(33.333% - 25px);
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    box-shadow: var(--el-box-shadow-light);
    transition: var(--el-transition-duration);
}

.testimonial-img-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--el-box-shadow-premium);
}

/* CONTATO */
.map-placeholder {
    background: #e0e0e0;
    height: 100%;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    border: 2px dashed #ccc;
    min-height: 300px;
}

.contact-info .btn-main {
    margin-top: 32px;
    display: inline-block;
}

/* BOTOES */
.btn-main i,
.btn-nav i,
.btn-whatsapp i {
    margin-right: 8px;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--el-transition-duration);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: scale(1.05);
}

.btn-main {
    background: #25d366;
    color: #fff;
    padding: 18px 40px;
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.35);
    transition: var(--el-transition-duration);
}

.btn-main:hover {
    transform: scale(1.02);
    background: var(--secondary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}


/* FOOTER */
.main-footer {
    background: #7E8C54;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-logo strong {
    font-size: 1.4rem;
    color: #fff;
}

.footer-nav {
    opacity: 0.8;
}

.footer-contact {
    font-size: 0.9rem;
}

.footer-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--el-transition-duration);
}

.footer-link:hover {
    color: #fff;
}

.footer-link .fa-whatsapp { color: #25d366; }
.footer-link .fa-instagram { color: #e1306c; }

.footer-copy {
    font-size: 0.75rem;
    opacity: 0.5;
    margin-top: 12px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    opacity: 0.5;
}

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    text-decoration: none;
    transition: transform var(--el-transition-duration), background-color var(--el-transition-duration);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    color: #fff;
}

/* RESPONSIVIDADE GERAL */
@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid .service-item {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .testimonial-img-card {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
        order: 3;
    }

    .header-cta {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-top: 1px solid #f0f0f0;
        z-index: 1000;
    }

    .menu-toggle-checkbox:checked ~ .nav-menu {
        display: block;
    }

    .menu-toggle-checkbox:checked ~ .mobile-menu-btn i::before {
        content: "\f00d"; /* Ícone de 'X' do FontAwesome */
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn-whatsapp span {
        display: none;
    }

    .btn-whatsapp i {
        margin-right: 0;
    }

    .btn-whatsapp {
        padding: 10px 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .header-dr-image-container {
        display: none;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
}