/* style.css - Inspirado em Sylvian Care (Caloroso, Humano, Premium) */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

:root {
    /* Palete Quente e Convidativa (Longe de cores clínicas frias) */
    --primary: #C25934;       /* Terracota quente / Coral */
    --primary-hover: #A64728;
    --secondary: #2A3D45;     /* Cinza ardósia / Azul marinho escuro */
    --accent: #E59866;        /* Laranja suave */
    --bg-color: #FDFBF7;      /* Creme / Branco quente */
    --bg-alt: #F3EFE9;        /* Bege muito suave */
    --text-main: #4A4A4A;     /* Cinza escuro legível */
    --white: #FFFFFF;
    --border: #E8E2DA;
    --radius: 16px;           /* Cantos arredondados amigáveis */
    --shadow: 0 8px 24px rgba(42, 61, 69, 0.06);
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }
.w-100 { width: 100%; display: block; }

/* --- NAVEGAÇÃO --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    background-color: var(--white);
    padding: 1rem 2rem;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.logo img { height: 130px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--secondary); font-weight: 600; font-size: 1.05rem; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* --- BOTÕES --- */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block; padding: 0.75rem 1.75rem; border-radius: 50px;
    font-weight: 700; font-family: 'Nunito', sans-serif; cursor: pointer;
    text-align: center; transition: var(--transition); border: none; font-size: 1rem;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); color: var(--white); }
.btn-secondary { background-color: var(--secondary); color: var(--white); }
.btn-secondary:hover { background-color: #1a272c; color: var(--white); transform: translateY(-2px); }
.btn-outline { background-color: transparent; border: 2px solid var(--border); color: var(--secondary); padding: 0.5rem 1rem; }
.btn-outline:hover { border-color: var(--secondary); }

/* --- PÁGINAS (SPA) --- */
.page { display: none; animation: fadeIn 0.4s ease-out forwards; }
.page.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(104, 109, 110, 0.4), rgba(59, 75, 82, 0.3)), url("media/hero_image.png") center 30% / cover no-repeat;
    color: var(--white); padding: 8rem 2rem; text-align: center;
    display: flex; align-items: center; justify-content: center; min-height: 70vh;
}
.hero-content { max-width: 800px; }
.hero h1 { color: var(--white); font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.95; }

/* --- SECÇÕES GERAIS --- */
.section { padding: 6rem 0; }
.section-header { margin-bottom: 4rem; }
.section-header h2 { font-size: 2.5rem; }
.page-header { background-color: var(--bg-alt); padding: 4rem 2rem; text-align: center; }
.page-header h1 { font-size: 3rem; margin-bottom: 0.5rem; }

/* --- CARDS (Início) --- */
/* --- CARDS (Início) --- */
.cards-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; /* Centra os cartões na última linha */
    gap: 2rem; 
}

/* Mantém o grid para a secção dos Testemunhos (que usa a classe cols-3) */
.cards-grid.cols-3 { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
}

.service-card {
    background: var(--white); 
    padding: 2.5rem 2rem; 
    border-radius: var(--radius);
    box-shadow: var(--shadow); 
    transition: var(--transition); 
    border: 1px solid var(--border);
    /* Novas regras de tamanho para o Flexbox: */
    flex: 1 1 300px;  /* O cartão terá pelo menos 300px de largura */
    max-width: 350px; /* Impede que os cartões fiquem demasiado largos */
}

.service-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 30px rgba(42, 61, 69, 0.1); 
    border-color: var(--primary); 
}

.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.link-arrow { display: inline-block; margin-top: 1.5rem; font-weight: 700; font-size: 0.95rem; }
/* --- SPLIT LAYOUT (Texto + Imagem) --- */
.highlight-section { background-color: var(--bg-alt); padding: 6rem 0; }
.split-layout { display: flex; align-items: center; gap: 4rem; }
.split-layout.align-start { align-items: flex-start; }
.split-text { flex: 1; }
.split-text h2 { font-size: 2.5rem; }
.split-image { flex: 0 0 30%; }
.split-image img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; max-height: 400px; }
.check-list { margin-top: 2rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 1rem; font-weight: 600; color: var(--secondary); }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--primary); }

/* --- SERVIÇOS DETALHADOS --- */
.servicos-container { padding: 4rem 0; display: flex; flex-direction: column; gap: 4rem; }
.servico-item {
    display: flex; background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.servico-item.reverse { flex-direction: row-reverse; }
.servico-imagem { 
    flex: 0 0 40%; /* A imagem passa a ocupar apenas 40% da largura */
    min-height: 400px; 
}
.servico-imagem img { width: 100%; height: 100%; object-fit: cover; }
.servico-texto { flex: 1; padding: 4rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.servico-texto p { font-size: 20px;}
.badge {
    background-color: var(--bg-alt); color: var(--secondary); padding: 0.4rem 1rem;
    border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem;
    text-transform: uppercase; letter-spacing: 1px; display: inline-block;
}
.badge.premium { background-color: #f7e6e1; color: var(--primary); }
.feature-bullets { margin: 1.5rem 0 2rem 0; }
.feature-bullets li { padding-left: 1.5rem; position: relative; margin-bottom: 0.75rem; }
.feature-bullets li::before {
    content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px;
    background-color: var(--primary); border-radius: 50%;
}

/* --- CONTACTO E TESTEMUNHOS --- */
.contact-card {
    background: var(--white); padding: 3rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border-top: 5px solid var(--primary); flex: 0 0 400px;
}
.contact-info li { margin-bottom: 1.2rem; }
.contact-info a { color: var(--text-main); font-weight: 600; }
.contact-info a:hover { color: var(--primary); }
/* --- ESTILO PARA A FOTO DA FUNDADORA --- */
/* --- ESTILO PARA A FOTO DA FUNDADORA (Ao lado do texto) --- */
.foto-fundadora {
    width: 180px;  /* Reduzi ligeiramente para encaixar melhor com o texto ao lado */
    height: 180px; /* Formato redondo perfeito */
    object-fit: cover; 
    border-radius: 50%; 
    box-shadow: var(--shadow); 
    border: 3px solid var(--primary); 
    
    /* O SEGREDO PARA O TEXTO CONTORNAR A FOTO: */
    float: right; /* Empurra a foto para a direita e deixa o texto subir */
    margin: 0 0 1rem 1.5rem; /* Dá um "respiro" à esquerda e em baixo para as letras não colarem à foto */
}

.testimonial-card { background: var(--bg-alt); padding: 2.5rem 2rem; border-radius: var(--radius); }
.stars { color: #F5B041; font-size: 1.5rem; margin-bottom: 1rem; }
.quote { font-style: italic; font-size: 1.1rem; margin-bottom: 1.5rem; color: var(--secondary); }
.author { font-weight: 700; font-family: 'Playfair Display', serif; color: var(--primary); }

/* --- FOOTER --- */
footer { background-color: var(--secondary); color: var(--white); padding: 5rem 0 0 0; margin-top: 4rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: #A0B2BA; font-size: 1.1rem; max-width: 300px; }
.footer-links h4 { color: var(--white); margin-bottom: 1.5rem; }
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links ul li a { color: #A0B2BA; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--white); }
.rodape-bottom { background-color: #1a272c; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.rodape-bottom p { color: #8fa0a8; font-size: 0.9rem; }
.assinatura-dev a { color: var(--accent); font-weight: 700; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .split-layout { flex-direction: column; }
    .hero h1 { font-size: 2.8rem; }
    .servico-item, .servico-item.reverse { flex-direction: column; }
    .servico-imagem { min-height: 250px; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    nav { flex-wrap: wrap; }
    .nav-links { order: 3; width: 100%; justify-content: center; margin-top: 1rem; }
    .contact-card { flex: 1 1 100%; width: 100%; }
    .rodape-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}


.page-header-second { background-color: var(--bg-color); padding: 4rem 2rem; text-align: center; }
.page-header-second h1 { font-size: 3rem; margin-bottom: 0.5rem; }