@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Raleway:wght@400;500;600&display=swap');

/* ==================== NOVA PALETA DE CORES E VARIÁVEIS GLOBAIS ==================== */
:root {
    /* Paleta "Serenidade Botânica" */
    --color-background: #FCFCFC;      /* Branco Mármore: Fundo principal do site */
    --color-white: #FFFFFF;           /* Branco Puro: Para fundos de cards e elementos */
    --color-text-main: #4A5D54;      /* Verde Eucalipto: Títulos e textos principais */
    --color-text-secondary: #5B6C64;  /* Verde Suave: Parágrafos e textos secundários */
    --color-accent: #D4C7C3;          /* Rosa Antigo: Botões, links e detalhes de destaque */
    --color-border: #EAEAEA;          /* Cinza Claro: Para bordas e divisórias sutis */

    /* Fontes */
    --font-primary: 'Raleway', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Espaçamentos */
    --spacing-small: 10px;
    --spacing-medium: 20px;
    --spacing-large: 40px;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-medium);
}

/* ==================== HEADER ==================== */
.header {
    width: 100%;
    position: fixed;
    height: 4.4rem;
    top: 0;
    left: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header__logo {
    font-family: var(--font-secondary);
    font-size: 16pt;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
    z-index: 1001;
}

.header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 45%;
    height: 100vh;
    background-color: var(--color-background);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
    padding: 6rem 2rem 2rem;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
}

.header__nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header__nav-item .header__nav-link {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header__nav-link:hover {
    color: var(--color-accent);
}

.header__nav.active {
    right: 0;
}

.header__cta-container {
    display: none;
}

.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 26px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.header__hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.header__hamburger.active .header__hamburger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__hamburger.active .header__hamburger-line:nth-child(2) { opacity: 0; transform: translateX(-20px); }
.header__hamburger.active .header__hamburger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 768px) {
    .header__nav { width: 50%; }
}

@media (min-width: 1024px) {
    .header { padding: 1.5rem 3rem; overflow: hidden; border-bottom: none; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.0); }
    .header.scrolled { background-color: rgba(252, 252, 252, 0.85); backdrop-filter: blur(10px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06); }
    .header__hamburger { display: none; }
    .header__nav { position: static; width: auto; height: auto; background-color: transparent; box-shadow: none; padding: 0; margin: 0; right: auto; transition: none; opacity: 0; }
    .header__nav-list { flex-direction: row; align-items: center; gap: 2.2rem; }
    .header__nav-link { font-family: var(--font-primary); font-size: 0.9rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.8px; position: relative; color: var(--color-text-main); text-decoration: none; }
    .header__nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background-color: var(--color-accent); transition: width 0.4s ease; }
    .header__nav-link:hover::after { width: 100%; }
    .header__cta-container { display: block; opacity: 0; }
    .header__cta-button { background-color: var(--color-accent); color: var(--color-text-main); padding: 0.65rem 1.2rem; border-radius: 50px; text-decoration: none; font-family: var(--font-primary); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; border: 1.5px solid transparent; transition: all 0.4s ease; }
    .header__cta-button:hover { background-color: transparent; border-color: var(--color-accent); color: var(--color-text-main); transform: translateY(-3px); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05); }
    .header__logo-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; white-space: nowrap; }
    .header__logo { font-size: 1.7rem; }
    @keyframes logoFadeInSlide { 0% { opacity: 0; left: 50%; transform: translate(-50%, -50%); } 10%, 60% { opacity: 1; left: 50%; transform: translate(-50%, -50%); } 100% { opacity: 1; left: 3rem; transform: translate(0, -50%); } }
    .header__logo-container--animated { animation: logoFadeInSlide 1.4s ease-in; }
    .header__logo-container.final-position { position: relative; left: auto; top: auto; transform: none; opacity: 1; }
    @keyframes navFadeInSlide { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
    .header__nav--animated, .header__cta-container--animated { animation: navFadeInSlide 1s ease-out forwards; }
}

/* ==================== HERO SECTION ==================== */
.hero-section { position: relative; width: 100%; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(252, 252, 252, 0.1) 0%, rgba(252, 252, 252, 0.4) 70%, rgba(252, 252, 252, 0.8) 100%); z-index: 2; }
.hero-content {position: relative; z-index: 3; text-align: center; color: #fff9f9; max-width: 800px; padding: 0 var(--spacing-medium); animation: fadeInUp 1s ease-out; }
.hero-content h1 { font-size: 3.5rem; font-weight: 600; margin-bottom: var(--spacing-medium); text-shadow: 2px 4px 8px rgba(24, 22, 26, 0.986); }
.sublogo { width: 21rem; }
.hero-content p { font-size: 1.8rem; line-height: 1.8; max-width: 600px; margin: 0 auto; font-weight: 500; text-shadow: 0 1px 2px rgba(36, 33, 33, 0.5); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) { .hero-content h1 { font-size: 2.5rem; } .hero-content p { font-size: 1rem; } .hero-section { height: 80vh; } }



/* ==================== ABOUT SECTION ==================== */
.about-section { padding: 100px 0; background-color: var(--color-background); overflow: hidden; }
.about-content { max-width: 1000px; margin: 0 auto; text-align: center; }
.about-content h2 { font-size: 2rem; color: var(--color-text-main); margin-bottom: 60px; line-height: 1.2; font-weight: bold; font-family: var(--font-secondary); position: relative; display: inline-block; }
.about-content h2::after { content: ''; position: absolute; width: 50%; height: 3px; background-color: var(--color-accent); bottom: -15px; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.about-details-wrapper { display: flex; align-items: center; gap: 60px; text-align: left; }
.about-image {
    flex: 0 0 320px;
    height: 350px;
    transition: transform 0.8s ease-in-out;
    position: relative; /* Essencial para o posicionamento do ::after e da img */
    border-radius: 50%; /* CORRIGIDO: Garante um círculo perfeito */
}

/* NOVO: O pseudo-elemento ::after cria a MOLDURA (borda + sombra) */
.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Garante que a moldura seja um círculo perfeito */
    
    /* A BORDA ELEGANTE que você quer, usando a cor de destaque */
    border: 4px solid var(--color-accent); 
    
    /* A SOMBRA SUAVE aplicada à moldura */
    box-shadow: 0 10px 25px rgba(74, 93, 84, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    transition: 0.6s;
    object-fit: cover;
    border-radius: 50%; /* Garante que a imagem também seja um círculo perfeito */
    display: block; /* Remove qualquer espaço extra abaixo da imagem */
}

/* O efeito de hover agora se aplica ao container e à imagem */
.about-image:hover {
    transform: translateY(-5px);
    cursor: grab;
}
.about-image:hover img {
    transform: scale(1.05); /* Efeito de scale na imagem continua, mas não na borda */
}
.about-text { flex: 1; }
.about-text p { font-family: var(--font-primary); font-size: 1.05rem; color: var(--color-text-secondary); line-height: 1.9; margin-bottom: var(--spacing-medium); text-align: justify; }
.about-text p:last-child { margin-bottom: 0; }
@media (max-width: 992px) { .about-details-wrapper { flex-direction: column; gap: 40px; } .about-image { flex-basis: auto; width: 100%; max-width: 350px; height: 420px; margin: 0 auto; } }
@media (max-width: 768px) { .about-section { padding: 60px 0; } .about-content h2 { font-size: 2.2rem; margin-bottom: 40px; } .about-text p { font-size: 1rem; text-align: left; } }

/* ==================== OBJECTIVE SECTION ==================== */
.objective-section { padding: 100px 0; background-color: #ebeee6; }
.objective-section h2 { text-align: center; font-size: 2.5rem; color: var(--color-text-main); margin-bottom: 60px; font-weight: bold; }
.objectives-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--spacing-large); max-width: 1200px; margin: 0 auto; }
.objective-card { background: var(--color-white); padding: var(--spacing-large); border-radius: 15px; text-align: center; box-shadow: 0 10px 30px rgba(74, 93, 84, 0.08); transition: all 0.3s ease; border: 2px solid transparent; }
.objective-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(74, 93, 84, 0.12); border-color: var(--color-accent); }
.card-icon { font-size: 3rem; margin-bottom: var(--spacing-medium); display: block; }
.objective-card h3 { font-size: 1.4rem; color: var(--color-text-main); margin-bottom: var(--spacing-medium); font-weight: bold; }
.objective-card p { color: var(--color-text-secondary); line-height: 1.6; font-size: 1rem; }
@media (max-width: 768px) { .objective-section { padding: 60px 0; } .objective-section h2 { font-size: 2rem; margin-bottom: 40px; } .objectives-grid { grid-template-columns: 1fr; gap: var(--spacing-medium); } .objective-card { padding: var(--spacing-medium); } }

/* ==================== NUTRITION SECTION (CORRIGIDO) ==================== */
.nutrition-section {
    padding: 100px 0;
    background-color: var(--color-background);
}

.nutrition-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-medium);
    font-weight: bold;
    font-family: var(--font-secondary); /* Adicionado para consistência */
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CORREÇÃO: Viewport do carrossel e espaço para as setas */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px; /* Aumentado o padding para as setas ficarem visíveis */
    overflow: hidden; /* Garante que apenas o conteúdo visível apareça */
}

.carousel-track {
    display: flex;
    gap: 30px;
    /* A transição agora é controlada por uma classe no JS */
    padding-bottom: 20px;
}

/* NOVA REGRA: A transição só acontece quando esta classe está presente */
.carousel-track.transitioning {
    transition: transform 0.5s ease-in-out;
}

/* CORREÇÃO: Tamanho e espaçamento dos cards */
.nutrition-card {
    flex: 0 0 calc((100% / 3) - 20px); /* 3 cards + 2 gaps de 30px = 60px. (100%-60)/3 = calc((100% / 3) - 20px) */
    background: var(--color-white);
    border-radius: 15px;
    padding: var(--spacing-medium);
    box-shadow: 0 10px 25px rgba(74, 93, 84, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 280px; /* Garante que o card não fique muito pequeno */
    max-width: 350px; /* Limita a largura máxima do card individualmente */
    height: auto; /* Deixa a altura se ajustar ao conteúdo */
}

.nutrition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 93, 84, 0.12);
}

.nutrition-card .card-icon {
    font-size: 2rem; /* Levemente menor */
    margin-bottom: var(--spacing-small);
}

.nutrition-card h3 {
    font-size: 1rem; /* Levemente menor */
    color: var(--color-text-main);
    margin: var(--spacing-small) 0;
    font-weight: bold;
    min-height: 45px; /* Ajustado para melhor alinhamento */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image {
    width: 100%;
    height: 120px; /* Altura da imagem um pouco menor */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--spacing-small);
}

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

.nutrition-card p {
    color: var(--color-text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: var(--spacing-medium);
}

.btn-saiba-mais {
    background: transparent;
    border: 2px solid var(--color-text-main);
    color: var(--color-text-main);
    padding: 8px 18px; /* Padding ajustado */
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem; /* Fonte um pouco menor */
    align-self: center;
}

.btn-saiba-mais:hover {
    background: var(--color-text-main);
    color: var(--color-white);
}

/* CORREÇÃO: Posicionamento e estilo das setas */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; /* Tamanho da seta ajustado */
    height: 50px; /* Tamanho da seta ajustado */
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.05);
}


.carousel-btn.prev { left: 0; } /* Ajustado para 0, já que o container tem padding */
.carousel-btn.next { right: 0; } /* Ajustado para 0, já que o container tem padding */


/* Responsividade da Seção Nutrição (CORRIGIDO) */
@media (max-width: 992px) {
    .nutrition-card {
        flex: 0 0 calc((100% / 2) - 15px); /* 2 cards + 1 gap de 30px. (100%-30)/2 = calc((100% / 2) - 15px) */
    }
    .carousel-container { padding: 0 50px; } /* Ajuste de padding para 2 cards */
    .carousel-btn { width: 40px; height: 40px; font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .carousel-container { padding: 0 40px; } /* Ajuste de padding para 1 card */
    .nutrition-card {
        flex: 0 0 100%; /* 1 card por vez */
        min-width: unset; /* Remove min-width para mobile */
        max-width: unset; /* Remove max-width para mobile */
    }
    .carousel-track {
        gap: 20px; /* Gap menor para mobile */
    }
    .carousel-btn.prev { left: 0; }
    .carousel-btn.next { right: 0; }
}
/* ==================== FOLLOW-UP SECTION (CORRIGIDO E RESPONSIVO) ==================== */
.follow-up-section {
    padding: 100px 0;
    background-color: #ebeee6;
}

.follow-up-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-text-main);
    margin-bottom: 60px;
    font-weight: bold;
    font-family: var(--font-secondary); /* Adicionado para consistência */
}

/* NOVO: Usando flexbox para centralizar o conteúdo */
.follow-up-options {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    padding: 0 var(--spacing-medium); /* Adiciona um respiro nas laterais em telas menores */
}

.follow-up-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(74, 93, 84, 0.1);
    transition: all 0.3s ease;
    width: 100%; /* ALTERADO: Ocupa 100% do container pai */
    max-width: 500px; /* ALTERADO: Limita a largura máxima para não ficar gigante em telas grandes */
}

.follow-up-card:hover {
    cursor: pointer; /* Alterado para 'pointer' que é mais comum */
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(74, 93, 84, 0.15);
}

.card-image-overlay {
    position: relative;
    height: 350px; /* Aumentei um pouco a altura para a imagem respirar melhor */
    overflow: hidden;
}

.card-image-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease; /* Transição um pouco mais suave */
}

.follow-up-card:hover .card-image-overlay img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(40, 40, 40, 0.8) 0%, rgba(74, 93, 84, 0.1) 70%); /* Gradiente mais suave */
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-large);
    color: var(--color-white);
    text-align: center;
}

.overlay-text h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: var(--spacing-small); /* Espaço menor entre título e texto */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.overlay-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.cta-container {
    text-align: center;
}

.btn-agendar {
    display: inline-block;
    background: var(--color-text-main);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--color-text-main);
}

.btn-agendar:hover {
    background: var(--color-background);
    color: var(--color-text-main);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 93, 84, 0.2);
}

/* MÍDIA QUERY SIMPLIFICADA E CORRIGIDA */
@media (max-width: 768px) {
    .follow-up-section { padding: 60px 0; }
    .follow-up-section h2 { font-size: 2rem; margin-bottom: 40px; }
    .card-image-overlay { height: 300px; }
    .overlay-text h3 { font-size: 1.5rem; }
    .overlay-text p { font-size: 1rem; }
    .btn-agendar { padding: 12px 30px; font-size: 1.1rem; }
}
/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section { padding: 100px 0; background-color: var(--color-text-main); color: var(--color-white); }
.testimonials-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 60px; font-weight: bold; color: var(--color-white); }
.testimonials-carousel { position: relative; max-width: 800px; margin: 0 auto; }
.testimonials-track { position: relative; height: 300px; overflow: hidden; }
.testimonial-card { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transform: translateX(100px); transition: all 0.5s ease; display: flex; align-items: center; justify-content: center; }
.testimonial-card.active { opacity: 1; transform: translateX(0); }
.testimonial-content { background: var(--color-white); color: var(--color-text-secondary); padding: var(--spacing-large); border-radius: 20px; text-align: center; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); max-width: 600px; margin: 0 auto; }
.testimonial-content p { font-size: 1.1rem; line-height: 1.8; margin-bottom: var(--spacing-medium); font-style: italic; }
.testimonial-author { border-top: 2px solid var(--color-border); padding-top: var(--spacing-medium); }
.testimonial-author strong { display: block; font-size: 1.1rem; color: var(--color-text-main); margin-bottom: 5px; }
.testimonial-author span { font-size: 0.9rem; color: var(--color-text-secondary); }
.testimonials-controls { display: flex; justify-content: center; gap: var(--spacing-medium); margin-top: var(--spacing-large); }
.testimonial-btn { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); color: var(--color-white); border: 2px solid rgba(255, 255, 255, 0.3); font-size: 1.5rem; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.testimonial-btn:hover { background: rgba(255, 255, 255, 0.3); border-color: rgba(255, 255, 255, 0.5); transform: scale(1.1); }
.testimonials-dots { display: flex; justify-content: center; gap: 15px; margin-top: var(--spacing-large); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: var(--color-accent); transform: scale(1.2); }
.dot:hover { background: rgba(255, 255, 255, 0.6); }
@media (max-width: 768px) { .testimonials-section { padding: 60px 0; } .testimonials-section h2 { font-size: 2rem; margin-bottom: 40px; } .testimonials-track { height: 350px; } .testimonial-content { padding: var(--spacing-medium); } .testimonial-content p { font-size: 1rem; } .testimonial-btn { width: 40px; height: 40px; font-size: 1.2rem; } }

/* ==================== CONTACT SECTION ==================== */
.contact-section { padding: 100px 0; background-color: var(--color-background); }
.contact-section h2 { text-align: center; font-size: 2.5rem; color: var(--color-text-main); margin-bottom: var(--spacing-medium); font-weight: bold; }
.contact-description { text-align: center; font-size: 1.1rem; color: var(--color-text-secondary); margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.contact-links { display: flex; justify-content: center; gap: var(--spacing-large); flex-wrap: wrap; }
.contact-link { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--color-text-main); padding: var(--spacing-large); border-radius: 20px; background: var(--color-white); box-shadow: 0 10px 30px rgba(74, 93, 84, 0.08); transition: all 0.3s ease; min-width: 150px; }
.contact-link:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(74, 93, 84, 0.15); color: var(--color-accent); }
.contact-icon { font-size: 3rem; margin-bottom: var(--spacing-medium); transition: transform 0.3s ease; }
.contact-link:hover .contact-icon { transform: scale(1.2); }
.contact-link span { font-size: 1.1rem; font-weight: bold; }
@media (max-width: 768px) { .contact-section { padding: 60px 0; } .contact-section h2 { font-size: 2rem; margin-bottom: var(--spacing-medium); } .contact-description { margin-bottom: 40px; font-size: 1rem; } .contact-links { gap: var(--spacing-medium); } .contact-link { padding: var(--spacing-medium); min-width: 120px; } .contact-icon { font-size: 2.5rem; } .contact-link span { font-size: 1rem; } }

/* ==================== MODAL DE DETALHES DO CARD ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Garante que fique acima de tudo */
    opacity: 0; /* Começa invisível */
    visibility: hidden; /* Esconde completamente */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background-color: var(--color-white);
    padding: var(--spacing-large);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px; /* Largura máxima do modal */
    width: 90%; /* Ocupa 90% da largura em telas menores */
    position: relative;
    transform: translateY(-20px); /* Começa um pouco acima */
    opacity: 0; /* Começa invisível */
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: 90vh; /* Limita a altura para caber na tela */
    overflow-y: auto; /* Adiciona scroll se o conteúdo for grande */
}

.modal-overlay.active .modal-content {
    transform: translateY(0); /* Desliza para a posição */
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--color-accent);
}

.modal-body {
    padding-top: var(--spacing-medium); /* Espaço para o botão de fechar */
}

.modal-body .card-icon {
    font-size: 3rem; /* Ícone maior no modal */
    margin-bottom: var(--spacing-medium);
    color: var(--color-text-main); /* Cor do ícone */
}

.modal-body h3 {
    font-size: 2rem; /* Título maior no modal */
    margin-bottom: var(--spacing-small);
    color: var(--color-text-main);
    font-family: var(--font-secondary);
}

.modal-body .card-image {
    width: 100%;
    height: 200px; /* Imagem maior no modal */
    margin-bottom: var(--spacing-medium);
    border-radius: 10px;
    overflow: hidden;
}

.modal-body .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-large);
}

.logo{
    width: 5.8rem;
}
.sublogo{
    position: relative;
    z-index: 50;
}

@media (max-width: 950px) {
    .sublogo{
        max-width: 15rem;
    }
}


/* Efeito de desfoque no fundo */
body.modal-open > *:not(.modal-overlay) {
    filter: blur(5px);
    transition: filter 0.3s ease-out;
}

body.modal-open {
    overflow: hidden; /* Impede o scroll do body quando o modal está aberto */
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: var(--spacing-medium);
        width: 95%;
    }
    .modal-body h3 {
        font-size: 1.5rem;
    }
    .modal-body p {
        font-size: 1rem;
    }
}

/* ==================== FOOTER ==================== */
.footer { background-color: var(--color-text-main); color: var(--color-white); padding: var(--spacing-large) 0; text-align: center; }
.footer .container { height: auto; } /* Reset height from old CSS */
.footer p { margin: 0; font-size: 0.9rem; }

/* ==================== FLOATING BUTTON ==================== */
.floating-button { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }
.floating-main-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--color-text-main); color: var(--color-white); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 4px 20px rgba(74, 93, 84, 0.3); transition: all 0.3s ease; animation: pulse 2s infinite; }
.floating-main-btn:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(74, 93, 84, 0.4); }
.floating-main-btn.active { background: #72775f; transform: rotate(45deg); }
@keyframes pulse { 0% { box-shadow: 0 4px 20px rgba(74, 93, 84, 0.3); } 50% { box-shadow: 0 4px 20px rgba(74, 93, 84, 0.4), 0 0 0 10px rgba(74, 93, 84, 0.1); } 100% { box-shadow: 0 4px 20px rgba(74, 93, 84, 0.3); } }
.floating-options { position: absolute; bottom: 70px; right: 0; display: flex; flex-direction: column; gap: 15px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease; }
.floating-options.show { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-option { width: 50px; height: 50px; border-radius: 50%; background: var(--color-white); color: var(--color-text-main); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; text-decoration: none; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; transform: scale(0); animation: popIn 0.3s ease forwards; }
.floating-option:nth-child(1) { animation-delay: 0.1s; }
.floating-option:nth-child(2) { animation-delay: 0.2s; }
.floating-option:hover { transform: scale(1.1); background: var(--color-text-main); color: var(--color-white); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
@keyframes popIn { to { transform: scale(1); } }
@media (max-width: 768px) { .floating-button { bottom: 20px; right: 20px; } .floating-main-btn { width: 50px; height: 50px; font-size: 1.3rem; } .floating-option { width: 45px; height: 45px; font-size: 1.1rem; } .floating-options { bottom: 60px; } }

/* ==================== GENERAL ANIMATIONS ==================== */
.section-animate { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.section-animate.visible { opacity: 1; transform: translateY(0); }
button, .btn-saiba-mais, .btn-agendar { transition: all 0.3s ease; }
a { transition: all 0.3s ease; }
img { transition: opacity 0.3s ease; }
img:not([src]) { opacity: 0; }
.objective-card, .nutrition-card, .follow-up-card, .contact-link { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

.container h2{ font-size: 26px }
