/* Estilo base para Crescer com Afeto
   Arquivo: _style/style.css */

   :root {
    /* Cores principais baseadas na imagem do Instagram */
    --primary-color: #6495ED; /* Azul claro */
    --secondary-color: #3CB371; /* Verde claro */
    --accent-color: #FFD700; /* Amarelo para destaques */
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #fff;
    --gray-text: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #f0f2f5;
}

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

/* Header */
/* Estilos Bootstrap já aplicam o layout do cabeçalho */
#ilogo {
    max-height: 60px; /* Reduzir o tamanho do logo */
    transition: transform 0.3s ease;
}

#ilogo:hover {
    transform: scale(1.05);
}

/* Botão de sistema (estilos Bootstrap já aplicados no HTML) */
#isistema:hover {
    transform: translateY(-2px); /* Manter este efeito se desejado */
    box-shadow: var(--box-shadow); /* Manter esta sombra se desejado */
}

/* Navegação (Estilos Bootstrap já aplicam o layout da navegação) */
/* Removendo estilos .Menu e responsividade específica do cabeçalho, pois o Bootstrap já cuida disso */
@media (max-width: 768px) {
    /* Manter apenas estilos que complementam o Bootstrap, se houver */
}

/* Seção Hero */
.hero-section {
    padding: 50px 0;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.hero-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-section h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-section img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.hero-section img:hover {
    transform: scale(1.02);
}

/* Botões */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a6d99;
    border-color: #3a6d99;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 25px;
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-subtitle {
    color: var(--gray-text);
    margin-bottom: 15px;
}

/* Seções */
section {
    margin-bottom: 50px;
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Seção Serviços */
.services-section {
    padding: 40px 0;
}

.services-section .card:hover {
    border-top: 3px solid var(--secondary-color);
}

.services-section h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Seção Equipe */
.team-preview .card {
    text-align: center;
}

.team-preview .card:hover {
    border-top: 3px solid var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--light-bg);
    padding: 40px 0 20px;
    border-radius: var(--border-radius);
    margin-top: 50px;
    box-shadow: var(--box-shadow);
}

footer h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

footer .fab, 
footer .fas, 
footer .far {
    margin-right: 8px;
    color: var(--accent-color);
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 30px 0;
    }
    
    .hero-section img {
        margin-top: 30px;
    }
    
    .card {
        margin-bottom: 20px;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Página de Biografia (para manter compatibilidade) */
#biografia, #formacao {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

#biografia p, #formacao p {
    margin-bottom: 15px;
}

#iquemsou {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

/* Animações sutis */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.fade-in-delayed {
    animation: fadeIn 0.8s ease 0.2s forwards; /* Atraso de 0.2s */
    opacity: 0;
}

.hero-section, .about-section, .services-section, .team-preview {
    animation: fadeIn 0.8s ease forwards;
}

.services-section {
    animation-delay: 0.2s;
}

.team-preview {
    animation-delay: 0.4s;
}
