/* =========================================
   index.css — Page d'accueil
   ========================================= */

/* ---- HERO MOSAÏQUE ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
}
.hero-mosaic {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.4fr 0.6fr;
    height: 100%;
    gap: 3px;
}
.mosaic-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mosaic-item {
    overflow: hidden;
    flex: 1;
}
.mosaic-item.tall { grid-row: span 1; }
.mosaic-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
    filter: brightness(0.75);
}
.hero-mosaic:hover .mosaic-img { transform: scale(1.08); }

/* Overlay texte */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(28, 26, 24, 0.55) 0%,
        rgba(28, 26, 24, 0.15) 60%,
        transparent 100%
    );
    display: flex;
    align-items: center;
    padding-left: 60px;
}
.hero-content {
    margin: 0;
    padding: 36px 44px;
    width: fit-content;
    background: rgba(0, 0, 0, 0.28);
    border-left: 2px solid rgba(255, 255, 255, 0.25);
}
.hero-tagline {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}
.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 20px;
}
.hero-content h1 em {
    font-style: italic;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    padding: 14px 36px;
    background: var(--white);
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-body);
    transition: all var(--transition);
}
.btn-hero:hover {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

/* ---- CITATION ---- */
.quote-section {
    background: var(--warm-bg);
    padding: 80px 40px;
    text-align: center;
    border-top: 1px solid var(--beige);
    border-bottom: 1px solid var(--beige);
}
.quote-section blockquote {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 30px);
    font-style: italic;
    font-weight: 300;
    color: var(--charcoal);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ---- SERVICES ---- */
.services-preview {
    padding: 100px 40px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.section-header {
    margin-bottom: 60px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}
.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(28,26,24,0.1);
}
.service-img {
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition);
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-info {
    padding: 24px;
}
.service-info h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
}
.service-info p {
    font-size: 14px;
    color: var(--stone);
    margin-bottom: 16px;
}
.link-arrow {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--charcoal);
    text-transform: uppercase;
}

/* ---- À PROPOS TEASER ---- */
.about-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    background: var(--warm-bg);
}
.about-teaser-img {
    overflow: hidden;
}
.img-frame {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9) saturate(0.9);
    transition: transform 0.8s ease;
}
.about-teaser:hover .img-frame { transform: scale(1.03); }
.about-teaser-text {
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-teaser-text h2 { margin-bottom: 24px; }
.about-teaser-text p {
    color: var(--charcoal);
    font-size: 15px;
    margin-bottom: 12px;
    max-width: 480px;
}


/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .hero-mosaic { grid-template-columns: 1fr 1fr; }
    .hero-mosaic > *:nth-child(n+3) { display: none; }
    .hero-overlay { padding: 24px; align-items: flex-end; padding-bottom: 48px; }
    .hero-content {
        padding: 28px 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .hero-content h1 { font-size: 44px; }
    .hero-tagline { font-size: 11px; }
    .quote-section { padding: 56px 24px; }
    .services-preview { padding: 64px 24px; }
    .services-grid { grid-template-columns: 1fr; max-width: 100%; }
    .service-img { height: 220px; }
    .about-teaser { grid-template-columns: 1fr; }
    .about-teaser-text { padding: 48px 24px; }
    .img-frame { min-height: 280px; }
}

@media (max-width: 480px) {
    .hero-mosaic { grid-template-columns: 1fr; }
    .hero-mosaic > *:nth-child(n+2) { display: none; }
    .hero-overlay {
        padding: 20px;
        align-items: flex-end;
        padding-bottom: 40px;
    }
    .hero-content {
        padding: 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .hero-tagline { font-size: 10px; letter-spacing: 0.15em; margin-bottom: 12px; }
    .hero-content h1 {
        font-size: 32px;
        line-height: 1.1;
        margin-bottom: 14px;
        word-break: break-word;
    }
    .btn-hero {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 16px;
        font-size: 11px;
    }
    .quote-section { padding: 44px 20px; }
    .quote-section blockquote { font-size: 18px; }
    .services-preview { padding: 52px 20px; }
    .section-header { margin-bottom: 32px; }
    .service-img { height: 200px; }
    .service-info h3 { font-size: 20px; }
    .about-teaser-text { padding: 36px 20px; }
    .about-teaser-text h2 { font-size: 28px; }
    .about-teaser-text p { font-size: 14px; max-width: 100%; }
    .img-frame { min-height: 220px; }
}