/* ==========================================================
   MO'CYNO — Visual Polish — Hero Premium Styles
   Ce fichier définit la mise en page immersive des pages services
   ========================================================== */

/* Hero Wrapper */
.hero-premium {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f3552;
}

@media (min-width: 768px) {
    .hero-premium {
        min-height: 580px;
    }
}

/* Image de fond full-bleed */
.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay sombre */
.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(2, 44, 81, 0.88) 0%,
            rgba(15, 53, 82, 0.72) 60%,
            rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
}

/* Contenu texte au-dessus */
.hero-content-premium {
    position: relative;
    z-index: 2;
    padding: 80px 24px 60px;
    color: #fff;
    max-width: 760px;
}

@media (min-width: 768px) {
    .hero-content-premium {
        padding: 100px 24px 80px;
    }
}

.hero-content-premium h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-premium {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions-premium .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-actions-premium .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.hero-actions-premium .btn.primary {
    background: #d4af37;
    color: #022C51;
}

.hero-actions-premium .btn.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

/* ==========================================================
   Zone "Quel est votre besoin ?" — Homes FR/EN
   ========================================================== */

.hero-needs-selector {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.selector-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
}

.needs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 0;
}

.need-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.need-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    color: #fff;
}

.need-item .icon {
    font-size: 1.4rem;
    line-height: 1;
}

.need-item .label {
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

/* CTA group — séparer du bloc besoins */
.hero-actions-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ==========================================================
   Responsive heroes
   ========================================================== */

@media (max-width: 480px) {
    .hero-content-premium {
        padding: 70px 16px 50px;
    }

    .needs-grid {
        gap: 0.5rem;
    }

    .need-item {
        padding: 0.6rem 0.9rem;
        font-size: 0.8rem;
    }

    .hero-actions-premium {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions-premium .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================
   Hero image wrapper (utilisé par homes + services)
   Guarantee fullscreen cover
   ========================================================== */

.hero-premium>.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-premium>.hero-image-wrapper>.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.hero-premium>.hero-image-wrapper>.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(2, 44, 81, 0.88) 0%,
            rgba(15, 53, 82, 0.72) 55%,
            rgba(0, 0, 0, 0.50) 100%);
    z-index: 1;
}

.hero-premium>.hero-content-premium {
    position: relative;
    z-index: 2;
}

/* ==========================================================
   Social Links - Contact page + Footer
   ========================================================== */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.5px solid #dde3ec;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #022C51;
    text-decoration: none;
    background: #fff;
    transition: border-color .2s, background .2s;
    white-space: nowrap;
}

.social-link:hover {
    border-color: #022C51;
    background: #f0f5fa;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color .2s;
}

.footer-social-link:hover {
    color: #fff;
}

.footer-social-link svg {
    opacity: .75;
    transition: opacity .2s;
}

.footer-social-link:hover svg {
    opacity: 1;
}