/* UTILITAIRES DE CENTRAGE ET SPÉCIFIQUES */
.text-center {
    text-align: center !important;
}

.margin-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.active-dropdown {
    color: #00849e !important;
    background: rgba(0, 242, 254, 0.08);
}

.active-mobile-sublink {
    color: #00849e !important;
}

/* BANNIÈRE DE PAGE SECONDAIRE */
.page-banner {
    background: radial-gradient(circle at top, rgba(0, 242, 254, 0.15) 0%, rgba(244, 248, 253, 0) 70%);
    padding: 55px 20px;
    border-bottom: 1px solid var(--border-color);
}

.banner-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.page-banner h1 {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--bg-dark);
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
}

/* BADGE EN TÊTE */
.badge-accent {
    display: inline-block;
    background: rgba(35, 200, 110, 0.12);
    color: #128C7E;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* SECTION CARTES WHATSAPP EN AVANT */
.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 950px;
    margin: 30px auto 0 auto;
}

.whatsapp-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.whatsapp-card:hover {
    border-color: #25D366;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.15);
    transform: translateY(-5px);
}

.highlight-card {
    border-color: rgba(0, 242, 254, 0.5);
}

.wa-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 18px;
}

.wa-badge {
    background: var(--bg-dark);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.whatsapp-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 12px;
}

.whatsapp-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1eb954;
    transform: scale(1.03);
}

/* GRILLE DES PROJETS / INFOS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.15);
    border-color: var(--aqua-primary);
}

.project-img-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-local {
    background: #00849e;
    color: #ffffff;
}

.status-solidarite {
    background: #e63946;
    color: #ffffff;
}

.project-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
}

.project-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 12px;
}

.project-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-highlights {
    list-style: none;
    padding: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-highlights li {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.check-icon {
    color: #00849e;
    font-size: 0.85rem;
}

/* GALERIE PHOTOS */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* CALL TO ACTION (CTA) CENTRÉ */
.cta-box {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 25px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 768px) {
    .whatsapp-grid,
    .projects-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}