/* ============================================================
   home.css – Styles pour la page d'accueil
   Refonte 2026 - Cards CTA et éléments spécifiques
   ============================================================ */

/* ── Cards CTA (Baignades / Bateaux) ── */
.home-cta-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 122, 195, 0.2);
}

.home-cta-card-image {
    position: relative;
    overflow: hidden;
}

/* Images de background pour les cards CTA */
.home-cta-baignades {
    background-image: url('/images/img_J.jpg');
    background-size: cover;
    background-position: center;
}

.home-cta-bateaux {
    background-image: url('/images/img_B.png');
    background-size: cover;
    background-position: center;
}


.home-cta-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-cta-card-content h2 {
    color: #007AC3;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.home-cta-card-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ── Liste avec puces personnalisées ── */
.home-cta-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.home-cta-list li {
    padding: 0.4rem 0;
    color: #333;
    position: relative;
    padding-left: 1.5rem;
}

.home-cta-list li::before {
    content: "✓";
    color: #C9D204;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ── Boutons CTA ── */
.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, #1E98C2, #0d6e94);
    color: white !important;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: auto;
    border: none;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #0d6e94, #005a8f);
    color: white !important;
    transform: scale(1.05);
    text-decoration: none;
}

.btn-cta-secondary {
    background: linear-gradient(135deg, #C9D204, #a8b003);
}

.btn-cta-secondary:hover {
    background: linear-gradient(135deg, #a8b003, #8a9102);
}

.btn-cta i {
    margin-right: 0.4rem;
}

/* ── Liens réseaux sociaux ── */
.social-link {
    color: #C9D204;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #007AC3;
    transform: scale(1.1);
    text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .home-cta-card-content {
        padding: 1.5rem;
    }

    .home-cta-card-content h2 {
        font-size: 1.3rem;
    }

    .home-cta-card-image {
        height: 200px !important;
    }

    .btn-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .home-cta-card-content {
        padding: 1.25rem;
    }

    .home-cta-card-content h2 {
        font-size: 1.2rem;
    }
}

