/* ============================================================
   V2-HOME-TWEAKS.CSS — Ajustements en cours après validation
   Les blocs déjà validés sont figés dans v2-home-tweaks-core.css.
   ============================================================ */

@import url("v2-home-tweaks-core.css");

/* ---------- Parcours client : progression 01 → 04 ---------- */
.v2-home .v2-process {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 90%, rgba(225,84,34,.055), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}

.v2-home .v2-process .v2-section-head {
    max-width: 760px;
    margin-bottom: 42px;
}

.v2-home .v2-process-grid {
    position: relative;
    gap: 18px;
}

/* Trait de progression discret derrière les quatre étapes. */
.v2-home .v2-process-grid::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 47px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(225,84,34,.18),
        rgba(225,84,34,.72) 28%,
        rgba(225,84,34,.72) 72%,
        rgba(225,84,34,.18));
}

.v2-home .v2-process-step {
    position: relative;
    z-index: 1;
    min-height: 225px;
    padding: 26px 22px 24px;
    border: 1px solid rgba(43,35,29,.09);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 13px 30px rgba(45,35,28,.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.v2-home .v2-process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(225,84,34,.25);
    box-shadow: 0 20px 38px rgba(45,35,28,.10);
}

.v2-home .v2-step-number {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 6px 18px rgba(225,84,34,.24);
    font-size: 13px;
    letter-spacing: .03em;
}

.v2-home .v2-process-step h3 {
    font-size: 19px;
    line-height: 1.22;
    color: #211f1d;
}

.v2-home .v2-process-step p {
    margin-top: 9px;
    color: #68635f;
    font-size: 14px;
    line-height: 1.58;
}

/* La dernière étape ferme visuellement le parcours. */
.v2-home .v2-process-step:nth-child(4) {
    border-color: rgba(225,84,34,.18);
    background: linear-gradient(180deg, #fff 0%, #fff8f4 100%);
}

/* ---------- Avis Google + zone d’intervention ---------- */
.v2-home .v2-trust {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 12%, rgba(225,84,34,.075), transparent 26%),
        linear-gradient(180deg, #f3eee8 0%, #eee8e1 100%);
}

.v2-home .v2-trust::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    right: -210px;
    top: -230px;
    border: 1px solid rgba(225,84,34,.12);
    border-radius: 50%;
    pointer-events: none;
}

.v2-home .v2-trust .v2-shell {
    position: relative;
    z-index: 1;
}

.v2-home .v2-trust .v2-section-head {
    max-width: 790px;
    margin-bottom: 38px;
}

.v2-home .v2-trust-grid {
    grid-template-columns: .82fr 1.18fr;
    gap: 26px;
    align-items: stretch;
}

.v2-home .v2-review-card,
.v2-home .v2-zone-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(48,39,32,.09);
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 44px rgba(45,35,28,.08);
}

.v2-home .v2-review-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.v2-home .v2-review-card::before {
    content: 'AVIS CLIENT · GOOGLE';
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 6px 10px;
    border: 1px solid rgba(225,84,34,.16);
    border-radius: 999px;
    background: #fff3ed;
    color: #a9431f;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
}

.v2-home .v2-stars {
    font-size: 24px;
    letter-spacing: 3px;
    line-height: 1;
}

.v2-home .v2-review-card blockquote {
    position: relative;
    margin-top: 20px;
    padding-top: 18px;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.45;
    font-weight: 700;
    color: #24211f;
}

.v2-home .v2-review-card blockquote::before {
    content: '“';
    position: absolute;
    top: -11px;
    left: -3px;
    color: rgba(225,84,34,.26);
    font-size: 54px;
    line-height: 1;
    font-family: Georgia, serif;
}

.v2-home .v2-review-author {
    margin-top: 18px;
    color: #716a64;
    font-size: 13px;
    font-weight: 700;
}

.v2-home .v2-review-actions {
    margin-top: 28px;
}

.v2-home .v2-review-actions .v2-btn {
    min-height: 46px;
    padding: 0 17px;
    font-size: 13px;
}

.v2-home .v2-zone-card {
    grid-template-columns: .92fr 1.08fr;
    gap: 0;
    padding: 0;
    align-items: stretch;
}

.v2-home .v2-zone-card img {
    width: 100%;
    height: 100%;
    min-height: 370px;
    border-radius: 0;
    object-fit: cover;
    filter: saturate(.90) contrast(1.02);
}

.v2-home .v2-zone-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

.v2-home .v2-zone-copy::before {
    content: 'ZONE D’INTERVENTION';
    display: inline-flex;
    width: fit-content;
    margin-bottom: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f4eee8;
    color: #6f635a;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
}

.v2-home .v2-zone-copy h3 {
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.18;
    color: #24211f;
}

.v2-home .v2-zone-copy p {
    margin-top: 10px;
    color: #6a645f;
    font-size: 14px;
    line-height: 1.58;
}

.v2-home .v2-zone-list {
    gap: 8px;
    margin-top: 18px;
}

.v2-home .v2-zone-list span {
    display: block;
    padding: 8px 10px;
    border: 1px solid rgba(43,35,29,.08);
    border-radius: 9px;
    background: #faf8f5;
    color: #4e4945;
    font-size: 12.5px;
    line-height: 1.35;
}

.v2-home .v2-zone-copy > .v2-btn {
    width: fit-content;
    min-height: 44px;
    margin-top: 18px !important;
    font-size: 13px;
}

/* ---------- CTA final ---------- */
.v2-home .v2-final-cta {
    position: relative;
    overflow: hidden;
    padding: 76px 0 82px;
    background:
        radial-gradient(circle at 16% 10%, rgba(225,84,34,.08), transparent 28%),
        linear-gradient(180deg, #f7f4f0 0%, #f1ece6 100%);
}

.v2-home .v2-final-panel {
    position: relative;
    isolation: isolate;
    padding: 54px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    background:
        linear-gradient(120deg, rgba(255,255,255,.035), transparent 38%),
        linear-gradient(120deg, #151515 0%, #211d1b 58%, #4c2113 100%);
    box-shadow: 0 28px 60px rgba(39,29,23,.18);
}

.v2-home .v2-final-panel::before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 390px;
    height: 390px;
    right: -150px;
    top: -185px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
}

.v2-home .v2-final-panel::after {
    z-index: -1;
    width: 300px;
    height: 300px;
    right: -75px;
    top: -105px;
    background: rgba(225,84,34,.20);
}

.v2-home .v2-final-kicker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #ffc1a5;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.v2-home .v2-final-panel h2 {
    max-width: 780px;
    font-size: clamp(32px, 4.5vw, 50px);
    letter-spacing: -.025em;
}

.v2-home .v2-final-panel p {
    max-width: 690px;
    margin-top: 16px;
    color: rgba(255,255,255,.76);
    line-height: 1.62;
}

.v2-home .v2-final-actions {
    margin-top: 30px;
}

.v2-home .v2-final-actions .v2-btn {
    min-height: 50px;
    padding: 0 21px;
}

/* ---------- Footer V2 ---------- */
.v2-home .v2-footer {
    padding: 0;
    background: #0f0f0f;
    color: rgba(255,255,255,.78);
    border-top: 1px solid rgba(255,255,255,.07);
}

.v2-home .v2-footer-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 42px;
    align-items: center;
    padding: 38px 0 30px;
}

.v2-home .v2-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
}

.v2-home .v2-footer-brand span {
    display: block;
    margin-top: 4px;
    color: #f09062;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v2-home .v2-footer-brand p {
    margin-top: 10px;
    max-width: 540px;
    color: rgba(255,255,255,.52);
    font-size: 13px;
    line-height: 1.55;
}

.v2-home .v2-footer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 17px;
}

.v2-home .v2-footer-actions a,
.v2-home .v2-footer-cookie {
    color: rgba(255,255,255,.72);
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s ease;
}

.v2-home .v2-footer-actions a:first-child {
    color: #fff;
    font-weight: 800;
}

.v2-home .v2-footer-actions a:hover,
.v2-home .v2-footer-actions a:focus-visible,
.v2-home .v2-footer-cookie:hover,
.v2-home .v2-footer-cookie:focus-visible {
    color: #f09062;
}

.v2-home .v2-footer-cookie {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.v2-home .v2-footer-bottom {
    padding: 15px 4%;
    border-top: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.40);
    font-size: 11px;
    text-align: center;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .v2-home .v2-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .v2-home .v2-process-grid::before {
        display: none;
    }

    .v2-home .v2-process-step {
        min-height: 205px;
    }

    .v2-home .v2-trust-grid {
        grid-template-columns: 1fr;
    }

    .v2-home .v2-zone-card {
        grid-template-columns: .9fr 1.1fr;
    }

    .v2-home .v2-footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .v2-home .v2-footer-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .v2-home .v2-process .v2-section-head {
        margin-bottom: 28px;
    }

    .v2-home .v2-process-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .v2-home .v2-process-grid::before {
        top: 26px;
        bottom: 26px;
        left: 42px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg,
            rgba(225,84,34,.20),
            rgba(225,84,34,.68),
            rgba(225,84,34,.20));
    }

    .v2-home .v2-process-step {
        min-height: 0;
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 14px;
        row-gap: 3px;
        padding: 19px 18px;
        border-radius: 16px;
    }

    .v2-home .v2-step-number {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .v2-home .v2-process-step h3 {
        grid-column: 2;
        margin: 2px 0 0;
        font-size: 17px;
    }

    .v2-home .v2-process-step p {
        grid-column: 2;
        margin-top: 2px;
        font-size: 13px;
        line-height: 1.48;
    }

    .v2-home .v2-trust .v2-section-head {
        margin-bottom: 28px;
    }

    .v2-home .v2-trust-grid,
    .v2-home .v2-zone-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .v2-home .v2-review-card {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .v2-home .v2-review-card blockquote {
        font-size: 20px;
    }

    .v2-home .v2-review-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .v2-home .v2-review-actions .v2-btn {
        width: 100%;
    }

    .v2-home .v2-zone-card {
        overflow: hidden;
        padding: 0;
        border-radius: 18px;
    }

    .v2-home .v2-zone-card img {
        min-height: 230px;
        max-height: 260px;
    }

    .v2-home .v2-zone-copy {
        padding: 24px 22px 26px;
    }

    .v2-home .v2-zone-copy > .v2-btn {
        width: 100%;
    }

    .v2-home .v2-final-cta {
        padding: 58px 0 62px;
    }

    .v2-home .v2-final-panel {
        padding: 34px 23px;
        border-radius: 19px;
    }

    .v2-home .v2-final-panel h2 {
        font-size: clamp(29px, 9vw, 38px);
    }

    .v2-home .v2-final-panel p {
        font-size: 15px;
    }

    .v2-home .v2-final-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .v2-home .v2-final-actions .v2-btn {
        width: 100%;
    }

    .v2-home .v2-footer {
        padding-bottom: 86px;
    }

    .v2-home .v2-footer-inner {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0 24px;
    }

    .v2-home .v2-footer-actions {
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px 16px;
    }

    .v2-home .v2-footer-bottom {
        padding: 14px 6%;
    }
}


/* Leaflet : les tuiles conservent impérativement leur grille native */
.v2-home .v2-zone-card .leaflet-container img.leaflet-tile {
    inline-size:256px !important;
    block-size:256px !important;
    width:256px !important;
    height:256px !important;
    max-width:none !important;
    max-height:none !important;
    min-height:0 !important;
    position:absolute !important;
    object-fit:fill !important;
    border-radius:0 !important;
}


/* Carte épurée : masquer les villes repères et leurs encadrés */
.afe-town-marker,
.afe-town-label {
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
}
