/* ============================================================
   INDEX.CSS — versão final com peixe vazando para os cards
   ============================================================ */

/* ---- HERO ---- */
.hero-index {
    background-color: #0f2340;
    padding-top: 75px;
    overflow: visible; /* permite o peixe vazar para baixo */
    position: relative;
    z-index: 1;
}

.hero-index-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: center;
    height: 480px;
    gap: 0;
    padding: 0;
}

/* IMAGEM como background — ancora bottom para cauda vazar */
.hero-visual-wrap {
    height: 100%; /* maior que o hero para vazar embaixo */
    margin-top: -15%;
    background-image: url('../images/cards/peixeaquarioo.png');
    background-size: 105%;
    background-position: left top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    z-index: 2;
}

.hero-aquario { display: none; }

/* TEXTO DIREITA */
.hero-text {
    padding: 2rem 3rem 2rem 2rem;
    text-align: right;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 2.3vw, 2.5rem);
    line-height: 1.08;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-hero {
    display: inline-block;
    background: #1a7abf;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.75rem;
    border-radius: 6px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s;
    box-shadow: 0 6px 22px rgba(26,122,191,0.45);
}
.btn-hero:hover { background: #2196f3; transform: translateY(-2px); }

/* ---- FEATURES — padding top maior para dar espaço ao peixe que vaza ---- */
.features-section {
    background: #f5f8fc;
    padding: 8rem 2rem 5.5rem; /* mais espaço no topo para o peixe */
    position: relative;
    z-index: 0;
}

.features-wrap {
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 30px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.25s, box-shadow 0.25s;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }

.feat-icon {
    width: 110px;
    height: 85px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feat-icon img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

.feat-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0a1628;
    margin-bottom: 0.7rem;
}
.feat-card p { font-size: 0.86rem; color: #5a6a82; line-height: 1.7; }

/* ---- CTA BANNER ---- */
.cta-section-wrap {
    background: #0f2340;
    padding: 2.5rem 2rem;
}

.cta-index {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    max-width: 1050px;
    margin: 0 auto;
    min-height: 220px;
    display: flex;
    align-items: center;
}

.cta-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.cta-index::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10,28,55,0.1)  0%,
        rgba(10,28,55,0.75) 28%,
        rgba(10,28,55,0.88) 52%,
        rgba(10,28,55,0.75) 75%,
        rgba(10,28,55,0.1)  100%
    );
    z-index: 1;
}

.cta-index-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: center;
}

.cta-text-block { text-align: center; }

.cta-text-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}
.cta-text-block p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 1.5rem; }

.btn-cta {
    display: inline-block;
    background: #ffffff;
    color: #0a1628;
    text-decoration: none;
    padding: 0.82rem 2rem;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s;
}
.btn-cta:hover { background: #e8f4ff; transform: translateY(-2px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero-index-inner { grid-template-columns: 1fr; height: auto; }
    .hero-visual-wrap { height: 320px; margin-top: 0; background-size: 160%; background-position: left center; }
    .hero-text { text-align: center; padding: 2rem 1.5rem 3rem; }
    .features-section { padding: 3rem 2rem 4rem; }
    .features-wrap { grid-template-columns: 1fr; max-width: 380px; }
    .cta-section-wrap { padding: 2rem 1rem; }
}
