/* ===== Page d'accueil v2 (funnel) — s'appuie sur style.css pour le menu et le footer ===== */

body.v2 {
    display: block;
    place-items: normal; /* annule le centrage hérité de style.css, qui rétrécissait les sections */
    color: #C4C4C4;
    --orange: #C46200;
    --orange-clair: #ffb266;
    --gris: #C4C4C4;
    --carte: rgba(255, 255, 255, 0.04);
    --bordure: rgba(196, 98, 0, 0.3);
}

body.v2 h1, body.v2 h2, body.v2 h3 {
    font-family: "Montserrat", sans-serif;
}

/* ----- Boutons ----- */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.v2-btn:hover {
    transform: translateY(-2px);
}

body.v2 .v2-btn-primary {
    background: var(--orange);
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(196, 98, 0, 0.35);
}

body.v2 .v2-btn-primary:hover {
    background: var(--orange-clair);
    color: #1b1b1b !important;
}

body.v2 .v2-btn-ghost {
    border: 2px solid var(--gris);
    color: var(--gris) !important;
}

body.v2 .v2-btn-ghost:hover {
    background: var(--gris);
    color: #1b1b1b !important;
}

body.v2 .v2-link {
    color: var(--orange-clair) !important;
    font-weight: 700;
}

body.v2 .v2-link:hover {
    text-decoration: underline !important;
}

body.v2 .v2-inline {
    color: var(--orange-clair) !important;
    font-weight: 600;
}

.v2-center {
    text-align: center;
    margin-top: 40px;
}

/* ----- Bouton devis en haut à droite ----- */
body.v2 .v2-top-cta {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: background-color 0.2s ease;
}

body.v2 .v2-top-cta:hover {
    background: var(--orange-clair);
    color: #1b1b1b !important;
}

/* ----- 1. Hero ----- */
.v2-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 120px 20px 80px;
}

.v2-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.v2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.75) 70%, rgba(20, 20, 20, 1) 100%);
    z-index: -1;
}

.v2-hero-content {
    max-width: 900px;
}

.v2-hero-logo {
    width: 160px;
    margin-bottom: 24px;
}

.v2-eyebrow {
    color: var(--orange-clair);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.v2-hero-title {
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 24px;
}

.v2-hero-title span {
    color: var(--orange);
}

.v2-hero-sub {
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.6;
    color: #e2e2e2;
    max-width: 700px;
    margin: 0 auto 36px;
}

.v2-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.v2-reassurance {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: flex;
    gap: 12px 28px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--gris);
}

.v2-reassurance li::before {
    content: "✓ ";
    color: var(--orange);
    font-weight: 800;
}

.v2-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: var(--gris) !important;
    animation: v2-bounce 2s infinite;
}

@keyframes v2-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

body.v2 .v2-eyebrow-link {
    color: var(--orange-clair) !important;
    border-bottom: 1px dashed rgba(255, 178, 102, 0.6);
}

body.v2 .v2-eyebrow-link:hover {
    border-bottom-style: solid;
}

/* ----- 2. Bandeau de confiance ----- */
.v2-trust {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.35);
}

.v2-trust-label {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.v2-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.v2-marquee-track {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: v2-marquee 30s linear infinite;
}

.v2-marquee-track span {
    font-size: 22px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

@keyframes v2-marquee {
    to { transform: translateX(calc(-50% - 32px)); }
}

/* ----- Sections communes ----- */
.v2-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 0;
}

.v2-kicker {
    text-align: center;
    color: var(--orange);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.v2-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 56px;
}

.v2-left {
    text-align: left;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

/* ----- 3. Problème ----- */
.v2-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.v2-pain {
    background: var(--carte);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 28px;
}

.v2-pain-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 16px;
}

.v2-pain h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.v2-pain p {
    margin: 0;
    line-height: 1.6;
}

.v2-bridge {
    text-align: center;
    font-size: 20px;
    margin-top: 48px;
    line-height: 1.6;
}

.v2-bridge strong {
    color: var(--orange-clair);
}

/* ----- 4. Services ----- */
.v2-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.v2-service {
    position: relative;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

.v2-service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--img) center/cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease, filter 0.6s ease;
    z-index: -2;
}

.v2-service::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.92) 75%);
    z-index: -1;
}

.v2-service:hover::before {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.v2-service-body {
    padding: 24px;
}

.v2-service-body h3 {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
}

.v2-service-body p {
    font-size: 14px;
    line-height: 1.55;
    color: #ddd;
}

.v2-service-body .v2-link {
    font-size: 14px;
}

/* ----- 5. Réalisations ----- */
.v2-work {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 16px;
}

.v2-work-big {
    grid-column: span 2;
    grid-row: span 2;
}

.v2-work-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}

.v2-work-item img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.v2-work-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.v2-work-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    font-weight: 700;
    font-size: 17px;
}

.v2-work-caption span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange-clair);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ----- 6. Étapes ----- */
.v2-steps {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: none;
}

.v2-steps li {
    position: relative;
    padding: 28px 24px;
    border-top: 3px solid var(--orange);
    background: var(--carte);
    border-radius: 0 0 14px 14px;
}

.v2-step-num {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 14px;
}

.v2-steps h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.v2-steps p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ----- 7. Offres ----- */
.v2-offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.v2-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--carte);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px 24px;
}

.v2-offer-featured {
    border-color: var(--orange);
    background: rgba(196, 98, 0, 0.08);
}

.v2-badge {
    position: absolute;
    top: -13px;
    left: 24px;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.v2-offer h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.v2-offer-for {
    font-size: 13px;
    color: var(--orange-clair);
    margin-bottom: 18px;
}

.v2-offer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.v2-offer li {
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.v2-offer li::before {
    content: "✓ ";
    color: var(--orange);
    font-weight: 800;
}

.v2-price {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.v2-price small {
    font-size: 13px;
    font-weight: 500;
    color: var(--gris);
}

.v2-offer .v2-btn {
    width: 100%;
    font-size: 15px;
    padding: 12px 18px;
}

/* ----- 8. À propos ----- */
.v2-about {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: center;
}

.v2-about .v2-kicker {
    text-align: left;
}

.v2-about .v2-title {
    margin-bottom: 24px;
}

.v2-about-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--bordure);
}

.v2-about-text {
    font-size: 17px;
    line-height: 1.8;
}

.v2-about-text strong {
    color: var(--orange-clair);
}

.v2-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.v2-tools span {
    border: 1px solid var(--bordure);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* ----- 9. FAQ ----- */
.v2-faq {
    max-width: 820px;
    margin: 0 auto;
}

.v2-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
}

.v2-faq summary {
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.v2-faq summary::-webkit-details-marker {
    display: none;
}

.v2-faq summary::after {
    content: "+";
    color: var(--orange);
    font-size: 26px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.v2-faq details[open] summary::after {
    transform: rotate(45deg);
}

.v2-faq details p {
    margin: 14px 0 0;
    line-height: 1.7;
}

/* ----- 10. CTA final ----- */
.v2-final {
    max-width: 1000px;
    margin: 140px auto 100px;
    padding: 72px 32px;
    text-align: center;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, rgba(196, 98, 0, 0.35), rgba(196, 98, 0, 0.05) 70%);
    border: 1px solid var(--bordure);
}

.v2-final h2 {
    font-size: clamp(30px, 4.5vw, 50px);
    font-weight: 800;
    color: #fff;
}

.v2-final > p {
    font-size: 18px;
    max-width: 600px;
    margin: 16px auto 32px;
    line-height: 1.6;
}

.v2-final .v2-final-zone {
    font-size: 14px;
    margin-top: 32px;
    margin-bottom: 0;
}

.v2-final-zone strong {
    color: var(--orange-clair);
}

/* ----- Avis clients ----- */
.v2-reviews {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.v2-review {
    margin: 0;
    background: var(--carte);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.v2-stars {
    color: #f5b301;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.v2-review blockquote {
    flex: 1;
    font-size: 17px;
    line-height: 1.7;
    color: #e6e6e6;
    font-style: italic;
    margin: 0 0 24px;
}

.v2-review figcaption strong {
    display: block;
    color: #fff;
    font-size: 16px;
}

.v2-review figcaption span {
    font-size: 13px;
    color: var(--orange-clair);
}

body.v2 .v2-google {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

body.v2 .v2-google:hover {
    border-color: var(--orange);
}

.v2-google-g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-weight: 800;
    font-size: 14px;
}

body.v2 .v2-reassurance a {
    color: var(--gris) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* ----- Pages locales (ex. vidéaste Saint-Étienne) ----- */
.v2-hero-court {
    min-height: 82vh;
}

.v2-local-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 48px;
}

.v2-local-list > div {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-local-list h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.v2-local-list p {
    margin: 0;
    line-height: 1.7;
}

.v2-zones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 860px;
    margin: 0 auto;
}

.v2-zones span {
    border: 1px solid var(--bordure);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 600;
}

.v2-zones .v2-zone-main {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* ----- CTA collant mobile ----- */
body.v2 .v2-sticky-cta {
    display: none;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .v2-services,
    .v2-offers,
    .v2-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .v2-offers {
        row-gap: 32px;
    }

    .v2-work {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .v2-about {
        grid-template-columns: 260px 1fr;
        gap: 36px;
    }
}

@media (max-width: 767px) {
    body.v2 .v2-top-cta {
        display: none;
    }

    .v2-hero {
        padding-top: 90px;
    }

    .v2-hero-logo {
        width: 110px;
    }

    .v2-reassurance {
        flex-direction: column;
        gap: 8px;
    }

    .v2-section {
        padding-top: 80px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .v2-title {
        margin-bottom: 36px;
    }

    .v2-pain-grid,
    .v2-reviews,
    .v2-local-list,
    .v2-services,
    .v2-offers,
    .v2-steps,
    .v2-about {
        grid-template-columns: 1fr;
    }

    .v2-service {
        min-height: 300px;
    }

    .v2-work {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
        gap: 10px;
    }

    .v2-work-caption {
        font-size: 14px;
        padding: 30px 12px 10px;
    }

    .v2-about-photo {
        max-width: 260px;
        margin: 0 auto;
        display: block;
    }

    .v2-faq summary {
        font-size: 16px;
    }

    .v2-final {
        margin: 80px 16px 60px;
        padding: 48px 20px;
    }

    body.v2 .v2-sticky-cta {
        display: block;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 900;
        padding: 15px;
        border-radius: 999px;
        text-align: center;
        font-weight: 800;
        background: var(--orange);
        color: #fff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transform: translateY(120px);
        transition: transform 0.35s ease;
    }

    body.v2 .v2-sticky-cta.visible {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-marquee-track,
    .v2-scroll {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
