/* ---- VARIÁVEIS E CONFIGURAÇÕES GLOBAIS (PALETA MODERNA) ---- */
:root {
    --primary-color: #005A5B; 
    --primary-gradient: linear-gradient(135deg, #006A6B 0%, #004A4B 100%);
    --secondary-color: #28a745; 
    --dark-color: #212529;      
    --light-color: #f8f9fa;     
    --dark-section-bg: #2c343a; 
    --text-color: #495057;      
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

h1, h2, h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; text-align: center; }
h3 { font-size: 1.2rem; font-weight: 600; }

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0; /* Aumenta o espaçamento vertical */
}

.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-section-bg); color: var(--white-color); }
.bg-dark h2, .bg-dark p, .bg-dark cite { color: var(--white-color); }

/* ---- ÍCONES SVG ---- */
.icon-svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 12px;
    flex-shrink: 0;
}

/* ---- BOTÃO DE CHAMADA PARA AÇÃO (CTA) ---- */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    border: none;
    margin-top: 20px;
    text-align: center;
}

.cta-button:hover {
    background-color: #218838;
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
}
.cta-button .icon-svg {
    filter: brightness(0) invert(1);
}

/* ---- SEÇÃO 1: HERÓI ---- */
.hero {
    background: var(--primary-gradient); /* Usando o gradiente */
    color: var(--white-color);
    padding: 60px 0;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.9);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}
.hero-text h1 { color: var(--white-color); text-shadow: 1px 1px 4px rgba(0,0,0,0.2); }
.hero-text .subtitle { font-size: 1.2rem; opacity: 0.9; font-weight: 400; }
.features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}
.features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.hero .icon-svg {
    filter: brightness(0) invert(1);
}

/* ---- ESTRUTURAS DE CONTEÚDO ---- */
.content-split {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.content-split .text-content, .content-split .image-content {
    flex: 1;
    min-width: 300px;
}
.content-split img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.content-split.reverse { flex-direction: row-reverse; }

/* ---- SEÇÃO 2: QUEM CUIDA ---- */
#quem-cuida h2 { text-align: left; }
.text-content.full-width { flex-basis: 100%; }
.highlight {
    display: flex;
    align-items: center;
    background-color: #e6f6e9;
    padding: 20px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    color: var(--dark-color);
    font-size: 1.1rem;
}
.crefito {
    font-size: 0.9rem;
    color: #777;
    margin-top: 20px;
}

/* ---- LISTAS COM ÍCONES (SERVIÇOS, BENEFÍCIOS) ---- */
.icon-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 30px auto;
}
.icon-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 18px;
    text-align: left;
}

/* ---- SEÇÃO 4: METODOLOGIA ---- */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 50px;
}
.method-item {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}
.method-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}
.icon-svg.large {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;
}

/* ---- SEÇÃO 5: COMO FUNCIONA ---- */
#como-funciona h2 { text-align: left; }
.steps-list {
    list-style: none;
    padding-left: 0;
}
.steps-list li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 25px;
}
.steps-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
}

/* ---- SEÇÃO 6: BENEFÍCIOS ---- */
.benefit-list { margin-top: 40px; }
.full-width-image {
    width: 100%;
    margin: 40px 0;
    border-radius: 12px;
    height: auto;
}

/* ---- SEÇÃO 7: DEPOIMENTOS (NOVO GRID) ---- */
#depoimentos h2 {
    margin-bottom: 50px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card p {
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1; /* Faz o texto ocupar o espaço disponível */
    z-index: 1;
}
.testimonial-card cite {
    font-weight: 600;
    font-style: normal;
    text-align: right;
    z-index: 1;
}

/* ---- SEÇÃO 8: CTA FINAL ---- */
#cta-final { text-align: center; }
#cta-final .full-width-image { margin-top: 0; margin-bottom: 40px; }
#cta-final .cta-button { font-size: 1.2rem; padding: 20px 45px; }

/* ---- RODAPÉ ---- */
footer {
    background-color: var(--dark-section-bg);
    color: var(--light-color);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}
footer p {
    margin-bottom: 5px;
    opacity: 0.8;
}
footer strong {
    color: var(--white-color);
}

/* ---- RESPONSIVIDADE ---- */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: 1fr 1fr; /* Duas colunas em tablets */
    }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .content-split, .content-split.reverse {
        flex-direction: column;
    }
    #quem-cuida h2, #como-funciona h2 {
        text-align: center;
    }
    .testimonial-grid {
        grid-template-columns: 1fr; /* Uma coluna em mobile */
    }
}
