/* ======== Reset Moderno ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ======== Estilo Global com Tema Aquático ======== */
body {
    background-color: white;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: #003366;
    line-height: 1.7;
    padding: 0 1rem;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ======== Títulos ======== */
h1 {
    background: linear-gradient(90deg, #0077be, #0095c8, #00b4d8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-weight: 900;
    font-size: clamp(3rem, 7vw, 6rem);
    margin: 2.5rem 0 1.5rem;
    letter-spacing: -0.03em;
    animation: floating 3s ease-in-out infinite;
    text-shadow: 0 2px 5px rgba(0, 119, 190, 0.2);
}

h2 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0077be;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0095c8;
    margin-bottom: 1.5rem;
}

/* ======== Parágrafos ======== */
p {
    text-align: center;
    max-width: 720px;
    margin: 0.5rem auto 1.75rem;
    font-size: 1.1rem;
    color: #005a87;
    line-height: 1.8;
}

/* ======== Seções com Efeito de Água ======== */
section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 119, 190, 0.15);
    padding: 2.5rem;
    margin: 2.5rem auto;
    max-width: 950px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(0, 181, 216, 0.3);
    position: relative;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0077be, #0095c8, #00b4d8);
}

section:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 119, 190, 0.2);
}

/* ======== Botões com Tema Aquático ======== */
.btn {
    display: inline-block;
    background: linear-gradient(90deg, #0077be, #0095c8);
    color: white;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-align: center;
    margin: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 119, 190, 0.25);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 190, 0.4);
    background: linear-gradient(90deg, #0095c8, #00b4d8);
}

.btn:hover::after {
    transform: scale(1);
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: #0077be;
    border: 2px solid #0077be;
}

.btn-secondary:hover {
    background: rgba(0, 119, 190, 0.1);
}

.btn-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

/* ======== Cards Aquáticos ======== */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2rem;
    width: 280px;
    box-shadow: 0 10px 25px rgba(0, 119, 190, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 181, 216, 0.3);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0077be, #0095c8, #00b4d8);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 119, 190, 0.2);
}

.card h4 {
    color: #0077be;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    text-align: center;
    margin: 0 auto;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0095c8;
}

/* ======== Animações Aquáticas ======== */
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wave {
    0% {
        background-position-x: 0%;
    }
    100% {
        background-position-x: 200%;
    }
}

.fade-in {
    animation: fadeInDown 0.8s ease-out;
}

/* ======== Links com Estilo Aquático ======== */
a {
    color: #0077be;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #0077be, #0095c8, #00b4d8);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover {
    color: #0095c8;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ======== Footer Aquático ======== */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    color: #0077be;
    font-size: 0.9rem;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #0077be, #0095c8, #00b4d8);
    border-radius: 3px;
}

/* ======== Efeitos de Onda ======== */
.wave-divider {
    width: 100%;
    height: 50px;
    margin: 2rem 0;
    background-image: 
        radial-gradient(circle at 50% 100%, #0095c8 20%, transparent 20.5%),
        radial-gradient(circle at 50% 100%, #0095c8 15%, transparent 15.5%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.6;
}

/* ======== Responsividade ======== */
@media (max-width: 768px) {
    section {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }
    
    .btn-container {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .wave-divider {
        height: 30px;
        background-size: 30px 30px;
    }
}

/* ======== Estilo para Imagens com Efeito Aquático ======== */
.image-link img {
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
}

.image-link img:hover {
    transform: scale(1.1) rotate(5deg); /* aumenta e inclina a imagem */
    box-shadow: 0 10px 20px rgba(0, 119, 190, 0.4);
    filter: sepia(0.3) brightness(1.05);
}