:root {
    --primary-color: #ff6f61;
    --primary-color-hover: #ff8a75;
    --background-gradient-start: #ffecd2;
    --background-gradient-middle: #fcb69f;
    --background-gradient-end: #ff9a9e;
    --text-color: #4a4a4a;
    --section-bg: #fff0f5;
    --shadow-color: rgba(255, 111, 97, 0.3);
    --font-family: 'Poppins', sans-serif;
}

body {
    padding-top: 60px;
    font-family: var(--font-family);
    background: linear-gradient(135deg, var(--background-gradient-start), var(--background-gradient-middle), var(--background-gradient-end));
    color: var(--text-color);
    margin: 0;
}

.navbar {
    background-color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.navbar-brand, .nav-link {
    font-weight: 600;
    color: white !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
    color: var(--primary-color-hover) !important;
    text-decoration: underline;
}

.hero {
    background: url('imagens/crianca.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    border-radius: 20px;
    margin: 1rem auto;
    max-width: 1200px;
    padding: 0 2rem;
    transition: transform 0.3s ease;
}

.hero:hover {
    transform: scale(1.02);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.hero p {
    font-size: 1.5rem;
    font-weight: 400;
}

.section-title {
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

section.container {
    background: var(--section-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 20px var(--shadow-color);
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

section.container:hover {
    box-shadow: 0 12px 30px var(--shadow-color);
    transform: scale(1.02);
}

section.container::before {
    content: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(255, 200, 200, 0.3), transparent 70%);
    animation: waterRipple 6s infinite linear;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes waterRipple {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(10%, 10%) scale(1.05);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

section.container > * {
    position: relative;
    z-index: 1;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    transition: color 0.3s ease;
}

.contact-info i:hover {
    color: var(--primary-color-hover);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 15px var(--shadow-color);
}

form input, form textarea {
    border-radius: 15px;
    border: 1px solid #ccc;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
    outline: none;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    section.container {
        padding: 2rem 1rem;
    }
}
