/* ============================================================
   INDEX.CSS — Styles spécifiques à la page Accueil
============================================================ */

/* --- HERO ---------------------------------------------------- */
#hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.06);
    animation: hero-zoom 12s var(--ease) forwards;
}

@keyframes hero-zoom {
    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 10, 0.35) 0%,
            rgba(10, 10, 10, 0.55) 50%,
            rgba(10, 10, 10, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 clamp(20px, 5vw, 80px);
    padding-top: 80px;
    max-width: 900px;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 28px;
    animation: fade-in-up 0.9s var(--ease) both;
}

.hero-title {
    font-size: clamp(3.4rem, 7vw, 7.5rem);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.01em;
    color: var(--ivoire);
    margin-bottom: 32px;
    animation: fade-in-up 0.9s 0.15s var(--ease) both;
}

.hero-title em {
    display: block;
    font-style: italic;
    color: var(--or);
}

.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--ivoire-2);
    line-height: 1.7;
    margin-bottom: 48px;
    animation: fade-in-up 0.9s 0.3s var(--ease) both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-in-up 0.9s 0.45s var(--ease) both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Indicateur scroll */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fade-in 1s 1.2s ease forwards;
}

.hero-scroll p {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ivoire-2);
}

.hero-scroll span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--or), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* --- CHIFFRES CLÉS ------------------------------------------- */
#chiffres {
    background: var(--noir-2);
    border-top: 1px solid rgba(201, 169, 110, 0.12);
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    padding: clamp(48px, 6vw, 80px) 0;
}

.chiffres-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 72px);
    flex-wrap: wrap;
}

.chiffres-list li {
    text-align: center;
    min-width: 120px;
}

.chiffre-nb {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--or);
    line-height: 1;
    letter-spacing: -0.02em;
}

.chiffre-unit {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 300;
    color: var(--or-sombre);
}

.chiffres-list li>p {
    margin-top: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ivoire-2);
}

.chiffres-list .separator {
    width: 1px;
    height: 60px;
    background: rgba(201, 169, 110, 0.2);
    min-width: unset;
}

/* --- APERÇU SERVICES ----------------------------------------- */
#services-preview {
    padding: var(--section-pad) 0;
    background: var(--noir);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.service-card {
    background: var(--noir-2);
    border: 1px solid var(--gris);
    padding: clamp(32px, 4vw, 48px);
    position: relative;
    overflow: hidden;
    transition: border-color var(--dur) var(--ease),
        transform var(--dur) var(--ease);
}

.service-card::before {
    content: '';
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 2px;
    background: var(--or);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}

.service-card:hover {
    border-color: rgba(201, 169, 110, 0.4);
    transform: translateY(-6px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--or);
    margin-bottom: 28px;
}

.service-card h3 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    color: var(--ivoire);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--ivoire-2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--or);
    transition: letter-spacing var(--dur) var(--ease);
}

.card-link:hover {
    letter-spacing: 0.18em;
}

.services-more {
    margin-top: clamp(40px, 5vw, 64px);
    text-align: center;
}

/* --- ZONE D'INTERVENTION ------------------------------------- */
#zone {
    padding: var(--section-pad) 0;
    background: var(--noir-3);
    overflow: hidden;
}

.zone-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.zone-visual {
    position: relative;
    overflow: hidden;
}

.zone-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s var(--ease);
}

.zone-visual:hover img {
    transform: scale(1.04);
}

.zone-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 169, 110, 0.3);
    padding: 12px 20px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--or);
}

.zone-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.zone-content {
    padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zone-content h2 {
    margin-bottom: 24px;
}

.zone-content>p {
    font-size: 0.95rem;
    color: var(--ivoire-2);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 420px;
}

.zone-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
    margin-bottom: 40px;
}

.zone-list li {
    font-size: 0.85rem;
    color: var(--ivoire-2);
    padding: 8px 0;
    border-bottom: 1px solid var(--gris);
    position: relative;
    padding-left: 16px;
}

.zone-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--or);
    font-size: 0.7rem;
}

/* --- RÉALISATION MISE EN AVANT ------------------------------- */
#realisation-featured {
    padding: var(--section-pad) 0;
    background: var(--noir);
}

.real-showcase {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--gap);
    align-items: start;
}

.real-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.real-img-main {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.real-img-s1,
.real-img-s2 {
    width: 100%;
    height: 232px;
    object-fit: cover;
}

.real-info {
    padding: clamp(24px, 3vw, 40px);
    background: var(--noir-2);
    border: 1px solid var(--gris);
}

.real-info dl {
    margin-bottom: 36px;
}

.real-info dl>div {
    padding: 14px 0;
    border-bottom: 1px solid var(--gris);
}

.real-info dl>div:first-child {
    border-top: 1px solid var(--gris);
}

.real-info dt {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 4px;
}

.real-info dd {
    font-size: 0.9rem;
    color: var(--ivoire-2);
    line-height: 1.5;
}

/* --- CTA BAND ------------------------------------------------ */
/* cta-band déplacé dans style.css (global) */

/* --- Responsive ---------------------------------------------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .real-img-main {
        grid-column: 1 / 3;
        grid-row: 1;
        height: 320px;
    }

    .real-img-s1,
    .real-img-s2 {
        height: 180px;
    }
}

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

    .zone-inner {
        grid-template-columns: 1fr;
    }

    .zone-visual {
        height: 320px;
    }

    .chiffres-list .separator {
        display: none;
    }

    .cta-band-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-band-content p {
        max-width: 100%;
    }

    .cta-band-actions {
        justify-content: center;
    }

    .hero-sub br {
        display: none;
    }
}