/* =====================================================
   DRA. CAMILA NUTRI - NUTRICIONISTA
   Folha de Estilos Principal
   ===================================================== */

/* ========== VARIÁVEIS CSS ========== */
/* EDITÁVEL: Cores do tema - Verde para saúde/nutrição */
:root {
    --primary: #2d6a4f;           /* Verde escuro */
    --primary-dark: #1b4332;      /* Verde mais escuro */
    --secondary: #52b788;         /* Verde médio */
    --accent: #b7e4c7;            /* Verde claro */

    --bg: #f8fdf9;
    --bg-alt: #e9f5ec;

    --text: #1a2e22;
    --text-light: #4a6555;
    --white: #ffffff;

    --shadow: 0 4px 20px rgba(45, 106, 79, 0.1);
    --shadow-hover: 0 8px 30px rgba(45, 106, 79, 0.2);

    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

/* ========== RESET E BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========== TIPOGRAFIA ========== */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h4 { font-size: 1.125rem; font-weight: 600; }
p { color: var(--text-light); margin-bottom: 1rem; }

/* ========== BOTÕES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.5);
}

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

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

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    margin-top: 10px;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover { color: var(--primary); }

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

.nav-menu a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 106, 79, 0.9), rgba(45, 106, 79, 0.7));
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats { display: flex; gap: 40px; }
.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(45, 106, 79, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow);
}

/* ========== SEÇÕES GERAIS ========== */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header p { font-size: 1.125rem; }

/* ========== SOBRE ========== */
.sobre { background: var(--white); }

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sobre-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.sobre-text p { font-size: 1.1rem; line-height: 1.8; }
.sobre-features { display: grid; gap: 30px; }

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon { font-size: 2.5rem; flex-shrink: 0; }
.feature h3 { color: var(--text); margin-bottom: 5px; }
.feature p { margin: 0; font-size: 0.95rem; }

/* ========== GALERIA ========== */
.galeria {
    background: #f0f9f4;
    padding: 100px 0;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
}

.galeria-item {
    border-radius: 8px;
    overflow: hidden;
}

.galeria-item.grande {
    grid-column: span 2;
    grid-row: span 2;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

/* ========== SERVIÇOS ========== */
.servicos { background: var(--bg-alt); }

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.servico-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.servico-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.servico-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.servico-card:hover .servico-image img {
    transform: scale(1.1);
}

.servico-content {
    padding: 25px;
    text-align: center;
}

.servico-content h3 { color: var(--text); margin-bottom: 15px; }
.servico-content p { font-size: 0.95rem; margin-bottom: 20px; }

.preco {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========== DESTAQUES ========== */
.destaques { background: var(--white); }

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.destaque-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.destaque-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.destaque-image {
    height: 200px;
    overflow: hidden;
}

.destaque-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.destaque-card:hover .destaque-image img {
    transform: scale(1.1);
}

.destaque-content { padding: 25px; }
.destaque-content h3 { color: var(--text); margin-bottom: 10px; }

.destaque-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

/* ========== BENEFÍCIOS ========== */
.beneficios {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.beneficios .section-header h2,
.beneficios .section-header p { color: var(--white); }

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.beneficio-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.beneficio-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.beneficio-icon { font-size: 2.5rem; margin-bottom: 15px; }
.beneficio-card h3 { color: var(--white); margin-bottom: 10px; }
.beneficio-card p { color: rgba(255, 255, 255, 0.9); margin: 0; font-size: 0.95rem; }

/* ========== DEPOIMENTOS ========== */
.depoimentos { background: var(--bg-alt); }

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.depoimento-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.avatar-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.depoimento-info h4 { color: var(--text); margin-bottom: 2px; }
.depoimento-info span { font-size: 0.85rem; color: var(--text-light); }
.depoimento-card p { font-style: italic; font-size: 0.95rem; line-height: 1.7; }
.depoimento-stars { font-size: 1rem; letter-spacing: 2px; }

/* ========== FAQ ========== */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    background: var(--bg);
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover { background: var(--bg-alt); }

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p { margin: 0; }

/* ========== CONTATO ========== */
.contato { background: var(--bg-alt); }

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon { font-size: 2rem; flex-shrink: 0; }
.info-item h4 { color: var(--text); margin-bottom: 5px; }
.info-item p { margin: 0; }

.contato-mapa {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mapa-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px dashed var(--text-light);
}

.mapa-placeholder:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-alt), var(--white));
}

.mapa-pin { font-size: 3rem; margin-bottom: 10px; }
.mapa-placeholder p { font-weight: 600; color: var(--text); margin-bottom: 5px; }
.mapa-placeholder span { font-size: 0.85rem; color: var(--text-light); }

/* ========== ÁREA AGENTE IA ========== */
.ai-agent-area { min-height: 0; padding: 0; }

/* ========== FOOTER ========== */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content { text-align: center; margin-bottom: 40px; }
.footer-logo { font-size: 1.75rem; font-weight: 800; margin-bottom: 15px; }
.footer-content p { color: rgba(255, 255, 255, 0.7); margin-bottom: 25px; }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.footer-links a { color: rgba(255, 255, 255, 0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-social { display: flex; justify-content: center; gap: 20px; }
.footer-social a { font-size: 1.5rem; transition: var(--transition); }
.footer-social a:hover { transform: scale(1.2); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 5px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.5); transition: var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ========== PRIVACIDADE ========== */
.privacidade { background: #0d1f15; padding: 40px 0; }
.privacidade h3 { color: var(--white); margin-bottom: 15px; }
.privacidade p { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin: 0; }

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-image-container { max-width: 300px; }
    .sobre-content { grid-template-columns: 1fr; }
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .galeria-item.grande {
        grid-column: span 2;
        grid-row: span 1;
    }
    .contato-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active { transform: translateY(0); opacity: 1; }
    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .hero { padding: 120px 0 60px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    section { padding: 60px 0; }

    .servicos-grid,
    .destaques-grid,
    .beneficios-grid,
    .depoimentos-grid { grid-template-columns: 1fr; }

    .galeria-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .galeria-item.grande {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-links { flex-direction: column; gap: 15px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .btn { padding: 12px 20px; font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
}
