/* ════════════════════════════════════════════════════════════════════════
   HOME PAGE — front-page.php
   Studios Services Rouchon
   Utilise les variables existantes du thème (theme.css) :
   --color-black/white/blue/yellow/red/dark-grey/light-grey
   --font-din / --font-lexend / --header-height / --padding
   ════════════════════════════════════════════════════════════════════════ */

/* ─── Boutons génériques (réutilisables) ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-lexend);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 14px 28px;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
}
.btn--orange        { background: var(--color-red);   color: #fff; }
.btn--orange:hover  { background: #b8401f; }
.btn--black         { background: var(--color-black); color: #fff; }
.btn--black:hover   { background: #222; }
.btn--white         { background: #fff; color: var(--color-black); }
.btn--white:hover   { background: var(--color-light-grey); }
.btn--outline       { background: transparent; color: var(--color-black); border-color: var(--color-black); }
.btn--outline:hover { background: var(--color-black); color: #fff; }
.btn--outline-white       { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--outline-white:hover { background: #fff; color: var(--color-black); }
.btn--white-outline       { background: transparent; color: #fff; border-color: #fff; }
.btn--white-outline:hover { background: #fff; color: var(--color-black); }


/* ════════════════════════════════════════════════════════════════════════
   SECTION 1 — HERO SLIDER
   ════════════════════════════════════════════════════════════════════════ */
.home-hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 520px;
    max-height: 760px;
    overflow: hidden;
}
.home-hero__slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}
.home-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 var(--padding);
}
.home-hero__title {
    font-family: var(--font-lexend);
    font-weight: 200;            /* extra-light comme dans la maquette */
    text-transform: uppercase;
    font-size: clamp(32px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 30px;
}
.home-hero__title br + * { font-weight: 800; }

.home-hero__info-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.home-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-hero__stat-value {
    font-family: var(--font-lexend);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.04em;
}
.home-hero__stat-label {
    font-family: var(--font-din);
    font-size: 11px;
    color: var(--color-light-grey);
    margin-bottom: 4px;
}
.home-hero__cta { margin-top: 22px; }

/* Flèches navigation */
.home-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
    opacity: 0.85;
}
.home-hero__nav:hover { opacity: 1; }
.home-hero__nav--prev { left: 10px; }
.home-hero__nav--next { right: 10px; }

/* Pagination dots */
.home-hero__pagination {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
    width: auto !important;
}
.home-hero__pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #fff;
    opacity: 0.4;
    border-radius: 50%;
    transition: opacity 0.2s;
}
.home-hero__pagination .swiper-pagination-bullet-active { opacity: 1; }

@media screen and (min-width: 992px) {
    .home-hero__content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: 80px;
        text-align: left;
    }
    .home-hero__title { margin-bottom: 0; }
    .home-hero__info-right { align-items: flex-end; text-align: right; }
    .home-hero__stat { align-items: flex-end; }
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 2 — BARRE DE STATS
   ════════════════════════════════════════════════════════════════════════ */
.home-stats {
    background: var(--color-black);
    color: #fff;
    padding: 40px var(--padding);
}
.home-stats__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
}
.home-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}
.home-stats__value {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(22px, 3vw, 30px);
}
.home-stats__label {
    font-family: var(--font-din);
    font-size: 13px;
    color: var(--color-dark-grey);
    margin-top: 6px;
}
.home-stats__sep { display: none; }

@media screen and (min-width: 768px) {
    .home-stats__inner { flex-direction: row; justify-content: space-around; }
    .home-stats__sep {
        display: block;
        width: 1px;
        align-self: stretch;
        background: rgba(255,255,255,0.15);
    }
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 3 — INTRO / PRÉSENTATION
   ════════════════════════════════════════════════════════════════════════ */
.home-intro {
    margin: 0 auto;
    padding: 70px var(--padding);
}
.home-intro__title {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.1;
    margin-bottom: 50px;
}
.home-intro__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.home-intro__col-title {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 14px;
}
.home-intro__list { font-family: var(--font-din); }
.home-intro__list li {
    text-transform: uppercase;
    font-size: 13px;
    color: var(--color-dark-grey);
    letter-spacing: 0.03em;
    line-height: 1.9;
}
.home-intro__col--text p {
    font-family: var(--font-din);
    font-size: 13.5px;
    line-height: 1.65;
    margin-bottom: 14px;
    color: #222;
}
.home-intro__cta { margin-top: 8px; }

/* Icônes services */
.home-intro__services {
    background: var(--color-black);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10px;
    padding: 40px 20px;
    margin-top: 50px;
}
.home-intro__service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-align: center;
}
.home-intro__service-item img { filter: invert(1); }
.home-intro__service-item span {
    font-family: var(--font-lexend);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

@media screen and (min-width: 768px) {
    .home-intro__grid { grid-template-columns: 1fr 1fr 2fr; }
    .home-intro__services { grid-template-columns: repeat(5, 1fr); }
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 4 — VIGNETTES STUDIOS (sélecteur)
   ════════════════════════════════════════════════════════════════════════ */
.home-studios-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}
.home-studios-nav__item {
    position: relative;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.home-studios-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    transition: background 0.3s;
    z-index: 1;
}
.home-studios-nav__item:hover .home-studios-nav__overlay { background: rgba(0,0,0,0.2); }
.home-studios-nav__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    padding: 24px;
}
.home-studios-nav__label {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1;
}
.home-studios-nav__cta {
    font-family: var(--font-lexend);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(0,0,0,0.55);
    padding: 12px 16px;
    align-self: flex-start;
    transition: background 0.25s;
}
/* État actif : barre orange sous la vignette + CTA orange */
.home-studios-nav__item.is-active .home-studios-nav__cta { background: var(--color-red); }
.home-studios-nav__item.is-active::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--color-red);
    z-index: 3;
}

@media screen and (min-width: 768px) {
    .home-studios-nav { grid-template-columns: repeat(3, 1fr); }
    .home-studios-nav__item { min-height: 260px; }
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 5 — FOCUS STUDIO (panneaux dynamiques)
   ════════════════════════════════════════════════════════════════════════ */
.home-studio-focus {
    margin: 0 auto;
    padding: 60px var(--padding);
}
.home-studio-focus__panel { display: none; }
.home-studio-focus__panel.is-active { display: block; }

/* En-tête : numéro + nom encadré, specs à droite */
.home-studio-focus__header {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}
.home-studio-focus__num-name {
    display: flex;
    align-items: stretch;
}
.home-studio-focus__num {
    font-family: var(--font-lexend);
    font-weight: 800;
    font-size: 26px;
    background: var(--color-black);
    color: #fff;
    padding: 8px 14px;
    display: flex;
    align-items: center;
}
.home-studio-focus__name {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 26px;
    border: 2px solid var(--color-black);
    border-left: none;
    padding: 8px 16px;
    display: flex;
    align-items: center;
}
.home-studio-focus__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.home-studio-focus__spec { display: flex; flex-direction: column; }
.home-studio-focus__spec-label {
    font-family: var(--font-din);
    text-transform: uppercase;
    font-size: 10px;
    color: var(--color-dark-grey);
    letter-spacing: 0.05em;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-light-grey);
    margin-bottom: 6px;
}
.home-studio-focus__spec-value {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 16px;
}

.home-studio-focus__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.home-studio-focus__tagline {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 18px;
}
.home-studio-focus__desc {
    font-family: var(--font-din);
    font-size: 13.5px;
    line-height: 1.65;
    color: #222;
    margin-bottom: 22px;
}
.home-studio-focus__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}
.home-studio-focus__tag {
    font-family: var(--font-din);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid var(--color-light-grey);
    padding: 7px 12px;
}
.home-studio-focus__tag::before { content: "✓  "; color: var(--color-red); }

/* Galerie */
.home-studio-focus__gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}
.home-studio-focus__gallery-main {
    position: relative;
    display: block;
    overflow: hidden;
}
.home-studio-focus__gallery-main img,
.home-studio-focus__gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-studio-focus__gallery-cta {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    white-space: nowrap;
}
.home-studio-focus__gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media screen and (min-width: 992px) {
    .home-studio-focus__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .home-studio-focus__specs {
        grid-template-columns: repeat(4, auto);
        gap: 36px;
    }
    .home-studio-focus__body { grid-template-columns: 1fr 1fr; align-items: start; }
    .home-studio-focus__gallery { grid-template-rows: 1fr auto; }
    .home-studio-focus__gallery-thumbs { grid-template-columns: 1fr 1fr; }
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 6 — CLIENTS / LOGOS
   ════════════════════════════════════════════════════════════════════════ */
.home-clients {
    background: #f4f4f4;
    padding: 70px var(--padding);
    text-align: center;
}
.home-clients__label {
    font-family: var(--font-din);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--color-dark-grey);
    margin-bottom: 14px;
}
.home-clients__title {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.1;
    margin-bottom: 45px;
}
.home-clients__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px 50px;
    max-width: 1000px;
    margin: 0 auto;
}
.home-clients__logo-item img {
    max-height: 36px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.75;
    transition: opacity 0.25s;
}
.home-clients__logo-item img:hover { opacity: 1; }


/* ════════════════════════════════════════════════════════════════════════
   SECTION 7 — TÉMOIGNAGES
   ════════════════════════════════════════════════════════════════════════ */
.home-testimonials {
    background: #f4f4f4;
    padding: 0 var(--padding) 80px;
    text-align: center;
}
.home-testimonials__eyebrow {
    font-family: var(--font-lexend);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 24px;
}
.home-testimonials__slider {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 50px;
}
.home-testimonials__quote {
    font-family: var(--font-din);
}
.home-testimonials__quote p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}
.home-testimonials__quote cite {
    display: block;
    font-style: normal;
    font-family: var(--font-lexend);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}
.home-testimonials__role {
    font-size: 11px;
    color: var(--color-dark-grey);
}
.home-testimonials__nav {
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-dark-grey);
    cursor: pointer;
    transition: color 0.2s;
}
.home-testimonials__nav:hover { color: var(--color-black); }
.home-testimonials__nav--prev { left: 0; }
.home-testimonials__nav--next { right: 0; }
.home-testimonials__pagination {
    position: static !important;
    margin-top: 26px;
    display: flex;
    gap: 8px;
    justify-content: center;
}
.home-testimonials__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--color-dark-grey);
    opacity: 0.4;
    border-radius: 50%;
}
.home-testimonials__pagination .swiper-pagination-bullet-active { opacity: 1; }


/* ════════════════════════════════════════════════════════════════════════
   SECTION 8 — FAQ (accordéon)
   ════════════════════════════════════════════════════════════════════════ */
.home-faq {
    margin: 0 auto;
    padding: 70px var(--padding);
    max-width: 860px;
}
.home-faq__title {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    font-size: clamp(22px, 3.5vw, 34px);
    line-height: 1.1;
    margin-bottom: 45px;
}
.home-faq__item { border-bottom: 1px solid var(--color-light-grey); }
.home-faq__item:first-child { border-top: 1px solid var(--color-light-grey); }
.home-faq__question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    padding: 22px 4px;
    cursor: pointer;
    font-family: var(--font-lexend);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.02em;
}
.home-faq__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.home-faq__item.is-open .home-faq__icon { transform: rotate(180deg); }
.home-faq__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.home-faq__item.is-open .home-faq__answer {
    max-height: 400px;
    padding-bottom: 22px;
}
.home-faq__answer p {
    font-family: var(--font-din);
    font-size: 13.5px;
    line-height: 1.65;
    color: #333;
    max-width: 90%;
}


/* ════════════════════════════════════════════════════════════════════════
   SECTION 9 — CTA FINAL
   ════════════════════════════════════════════════════════════════════════ */
.home-cta {
    background: var(--color-black);
    color: #fff;
    padding: 80px var(--padding);
}
.home-cta__inner {
    margin: 0 auto;
    text-align: center;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-cta__title {
    font-family: var(--font-lexend);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(22px, 3.5vw, 34px);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 30px;
}
.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 26px;
}
.home-cta__emails {
    font-family: var(--font-din);
    font-size: 13px;
    color: var(--color-light-grey);
    margin-bottom: 36px;
}
.home-cta__emails a { color: var(--color-light-grey); transition: color 0.2s; }
.home-cta__emails a:hover { color: #fff; }
.home-cta__address {
    font-family: var(--font-lexend);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--color-dark-grey);
}
