/* HERO NOS RÉALISATIONS */

.real-hero {
    position: relative;
    padding-block: 4.8rem 4rem;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.18), transparent 60%);
}

.real-orbit {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.7;
    z-index: -1;
}

.real-orbit--one {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4), transparent 70%);
    top: -80px;
    left: -140px;
}

.real-orbit--two {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 65%);
    bottom: -200px;
    right: -140px;
}

.real-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.real-hero-text h1 {
    font-size: clamp(2.2rem, 3.4vw, 2.8rem);
    line-height: 1.1;
}

.real-hero-text p {
    margin-top: 1rem;
    max-width: 36rem;
    color: var(--clr-text-muted);
}

.real-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    border: 1px solid rgba(74, 222, 128, 0.6);
}

.real-hero-actions {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* Panel à droite */

.real-hero-panel {
    padding: 1.7rem 1.8rem;
}

.real-hero-panel h3 {
    margin-bottom: 0.6rem;
}

.real-hero-panel p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.real-hero-metrics {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.8rem;
}

.real-metric {
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), rgba(15, 23, 42, 0.95));
    border: 1px solid rgba(74, 222, 128, 0.7);
}

.real-metric-number {
    display: block;
    font-weight: 700;
    color: #4ade80;
    font-size: 1.1rem;
}

.real-metric-label {
    font-size: 0.8rem;
    color: #e5e7eb;
}

body[data-theme="light"] .real-metric {
    background: #ffffff;
    border-color: var(--clr-border-subtle, rgba(0, 0, 0, 0.1));
}

body[data-theme="light"] .real-metric-number {
    color: #16a34a;
}

body[data-theme="light"] .real-metric-label {
    color: var(--clr-text-muted, #64748b);
}

/* SECTIONS GÉNÉRALES DE LA PAGE */

.real-section .section-header p {
    max-width: 40rem;
    margin-inline: auto;
}

/* Colonnes texte + carte/blockquote */

.real-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.real-text p {
    color: var(--clr-text-muted);
}

.real-highlight p {
    color: var(--clr-text-muted);
}

/* Exemples systèmes */

.real-examples h3 {
    margin-bottom: 0.8rem;
}

.real-examples .steps-list {
    margin-top: 0.4rem;
}

/* Témoignages section & grille */

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

#temoignages .testimonial {
    margin: 0;
}

/* GALERIE */

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.galerie-item {
    padding: 1.3rem 1.3rem 1.5rem;
}

.galerie-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 0.9rem;
}

.galerie-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.03);
    transition: transform 0.9s ease;
}

.galerie-item:hover .galerie-image-wrap img {
    transform: scale(1.07);
}

.galerie-item h3 {
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.galerie-item p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* CTA FINAL */

#cta-final .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .real-hero-inner {
        grid-template-columns: 1fr;
    }

    .real-hero-text {
        text-align: center;
    }

    .real-hero-text p {
        margin-inline: auto;
    }

    .real-hero-actions {
        justify-content: center;
    }

    .real-hero-panel {
        max-width: 420px;
        margin-inline: auto;
    }

    .real-columns {
        grid-template-columns: 1fr;
    }

    .temoignages-grid {
        grid-template-columns: 1fr;
    }

    .galerie-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .galerie-grid {
        grid-template-columns: 1fr;
    }

    .real-hero {
        padding-block: 4rem 3.2rem;
    }
}
/* Lightbox pour la galerie de "Nos Réalisations" */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: min(900px, 90vw);
    max-height: 85vh;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 20px;
    padding: 1.3rem 1.4rem 1rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lightbox-img {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 14px;
    object-fit: cover;
}

.lightbox-caption {
    font-size: 0.9rem;
    color: #e5e7eb;
}

.lightbox-close {
    position: absolute;
    top: 0.5rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Bouton "Inscription" : pas de soulignement */
.nav-cta::after {
    width: 0 !important;
    content: none;
}

