/**
 * Page d’accueil (index.php) : hero, vidéo, carrousel, bloc SEO.
 * Chargé après les meta ; Bootstrap arrive via header_bootstrap.php (body).
 * Images : chemins relatifs à ce fichier (dossier css/).
 */

/* Styles pour la page d'accueil — charte premium Lokatere */
:root {
    --lokatere-orange: #ff6600;
    --lokatere-red: #f90404f4;
    --lokatere-dark: #333;
    /* Landing : surfaces & ombres (design-premium-moderne.mdc) */
    --lp-surface: #ffffff;
    --lp-surface-soft: #fafbfc;
    --lp-surface-warm: #fffaf7;
    --lp-ink: #141820;
    --lp-ink-muted: #4a5568;
    --lp-border-soft: rgba(15, 23, 42, 0.06);
    --lp-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --lp-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(255, 102, 0, 0.04);
    --lp-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(255, 102, 0, 0.06);
    --lp-radius-card: 10px;
    --lp-radius-panel: 12px;
    --lp-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page d'accueil - Design normal */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Section principale */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Section hero sous le header */
#hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Hauteur raisonnable pour laisser de la place au footer */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Vidéo en arrière-plan */
#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay sombre sur la vidéo */
#hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

/* Titre page visible (SEO + accessibilité) : lisible et mis en avant sans écraser le carrousel */
.hero-seo-title {
    position: absolute;
    top: max(0.75rem, 3vh);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: min(92%, 1200px);
    margin: 0;
    padding: 0.55rem 1.4rem 0.65rem;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    font-size: clamp(1rem, 2.45vw, 1.38rem);
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: 0.02em;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.5),
        0 2px 18px rgba(0, 0, 0, 0.8),
        0 0 1px rgba(0, 0, 0, 1);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.48);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 6px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Accent charte : fine barre orange-rouge sous le titre */
.hero-seo-title::after {
    content: '';
    display: block;
    width: 3.25rem;
    height: 3px;
    margin: 0.42rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lokatere-orange), var(--lokatere-red));
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.45);
}

/* Bloc texte indexable sous le hero (ton aligné marque, hors carrousel) */
.accueil-seo-intro {
    position: relative;
    color: var(--lokatere-dark);
    padding: 3rem 1.25rem 3.25rem;
    background: linear-gradient(168deg, #fff9f5 0%, #f3f3f3 42%, #fafafa 100%);
}

.accueil-seo-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--lokatere-orange), var(--lokatere-red));
}

.accueil-seo-inner {
    max-width: 44rem;
    margin: 0 auto;
    padding: 2rem 2.35rem 2.4rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(255, 102, 0, 0.18);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 18px 44px rgba(255, 102, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.accueil-seo-titre {
    font-size: clamp(1.28rem, 2.8vw, 1.58rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.2rem;
    line-height: 1.28;
    padding-left: 1rem;
    border-left: 4px solid var(--lokatere-orange);
    letter-spacing: -0.02em;
}

.accueil-seo-lead {
    font-size: 1.06rem;
    line-height: 1.72;
    margin: 0;
    color: #3d3d3d;
}

/* Navigation « pour aller plus loin » : grille de cartes */
.accueil-seo-nav {
    margin-top: 1.65rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.accueil-seo-nav-heading {
    margin: 0 0 1.05rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777;
}

.accueil-seo-nav-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
    gap: 1rem;
}

.accueil-seo-nav-grid > li {
    margin: 0;
    padding: 0;
    display: flex;
}

.accueil-seo-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.15rem 1.2rem 1.2rem;
    text-decoration: none;
    color: inherit;
    text-align: left;
    background: linear-gradient(180deg, #fffdfb 0%, #f7f7f7 100%);
    border: 1px solid rgba(255, 102, 0, 0.22);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.accueil-seo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lokatere-orange), var(--lokatere-red));
}

.accueil-seo-card:hover {
    border-color: rgba(255, 102, 0, 0.5);
    box-shadow: 0 10px 28px rgba(255, 102, 0, 0.16);
    transform: translateY(-3px);
}

.accueil-seo-card:focus-visible {
    outline: 3px solid rgba(255, 102, 0, 0.5);
    outline-offset: 3px;
}

.accueil-seo-card:active {
    transform: translateY(-1px);
}

.accueil-seo-card-title {
    font-size: 1.06rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}

.accueil-seo-card-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #555;
}

.accueil-seo-card-arrow {
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lokatere-orange);
}

/* Carousel de texte - TAILLE AGRANDIE - SANS SCROLL */
#text-carousel {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    width: min(92%, 1200px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

/* Footer toujours visible en bas */
.footer-lokatere {
    position: relative;
    z-index: 5;
    margin-top: auto;
    background-color: rgba(0, 0, 0, 0.9);
    min-height: 80px;
}

.text-slide {
    display: none;
    animation: fadeEffect 1.5s;
}

.text-slide.active {
    display: block;
}

.text-slide h2 {
    font-size: 6.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    animation: slideInDown 1s ease-out;
    line-height: 1.1;
}

.text-slide p {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: slideInUp 1s ease-out 0.3s both;
    line-height: 1.3;
}

.discover-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--lokatere-orange), var(--lokatere-red));
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    animation: slideInUp 1s ease-out 0.5s both;
}

.discover-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 102, 0, 0.5);
    color: white;
    text-decoration: none;
}

/* Flèches de navigation du carousel */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover,
.carousel-arrow:focus {
    background: rgba(255, 102, 0, 0.9);
    color: white;
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.carousel-arrow-prev {
    left: 12px;
}

.carousel-arrow-next {
    right: 12px;
}

/* Points de pagination */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    color: transparent;
    font-size: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.carousel-dot:hover,
.carousel-dot:focus {
    background: rgba(255, 255, 255, 0.7);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.carousel-dot.active {
    background: var(--lokatere-orange);
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Footer standard - styles normaux */
/* Le footer utilise les styles de includes/footer_bootstrap.php */

/* Responsive */
@media (max-width: 1200px) {
    #text-carousel {
        width: 92%;
        padding: 70px 50px;
    }

    .text-slide h2 {
        font-size: 5.6rem;
        /* Proportionnel au desktop */
    }

    .text-slide p {
        font-size: 1.8rem;
    }
}

/* Mobile : image de fond dédiée (vidéo désactivée), entièrement visible et lisible */
@media (max-width: 768px) {
    #hero-section {
        background-image: url('../img/hero-accueil-appart-factures-premium.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-color: var(--lokatere-dark);
    }

    #hero-video {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Overlay léger sur mobile pour garder le texte lisible tout en laissant voir l'image */
    #hero-section::before {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
    }

    #text-carousel {
        width: 95%;
        padding: 60px 30px;
    }

    .text-slide h2 {
        font-size: 4.4rem;
    }

    .text-slide p {
        font-size: 1.6rem;
    }

    .discover-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .carousel-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .carousel-arrow-prev {
        left: 8px;
    }

    .carousel-arrow-next {
        right: 8px;
    }

    .carousel-dots {
        bottom: 14px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    #hero-section {
        height: 85vh;
        /* Image entièrement visible sur petit écran, sans recadrage */
        background-size: contain;
        background-position: center center;
    }

    #text-carousel {
        width: 96%;
        padding: 40px 20px;
    }

    .text-slide h2 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .text-slide p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .discover-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .carousel-arrow-prev {
        left: 6px;
    }

    .carousel-arrow-next {
        right: 6px;
    }

    .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }

    .carousel-dot {
        width: 9px;
        height: 9px;
    }

    .hero-seo-title {
        font-size: clamp(0.88rem, 3.6vw, 1.06rem);
        top: max(0.5rem, 2vh);
        padding: 0.42rem 0.95rem 0.5rem;
        letter-spacing: 0.015em;
        border-radius: 8px;
    }

    .hero-seo-title::after {
        width: 2.5rem;
        height: 2px;
        margin-top: 0.32rem;
    }

    .accueil-seo-intro {
        padding: 2rem 0.85rem 2.25rem;
    }

    .accueil-seo-inner {
        padding: 1.35rem 1.15rem 1.65rem;
        border-radius: 14px;
    }

    .accueil-seo-titre {
        padding-left: 0.75rem;
        font-size: clamp(1.12rem, 4.2vw, 1.35rem);
    }

    .accueil-seo-nav {
        margin-top: 1.35rem;
        padding-top: 1.25rem;
    }

    .accueil-seo-nav-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .accueil-seo-card {
        padding: 1rem 1.05rem 1.1rem;
    }
}

/* Réduction des animations si l'utilisateur le demande (accessibilité) */
@media (prefers-reduced-motion: reduce) {
    .text-slide,
    .text-slide h2,
    .text-slide p,
    .discover-button {
        animation: none !important;
    }

    #text-carousel * {
        animation: none !important;
    }

    .accueil-seo-card:hover,
    .accueil-seo-card:active {
        transform: none;
    }
}

/* ===========================
   Landing page conversion 2026
   Remplace visuellement l'ancien hero carrousel
   =========================== */
body.page-accueil {
    background: linear-gradient(180deg, #f6f7f9 0%, #fafbfc 45%, #f3f4f6 100%);
    color: var(--lp-ink);
}

/* Fond hero : photo en <img> LCP (WebP responsive) + calques légers — rollback : réintégrer url() JPG ici */
body.page-accueil #hero-section.lp-hero {
    min-height: 0;
    height: auto;
    padding: 7rem 24px 2.5rem;
    background-color: #2a2522;
    background-image:
        linear-gradient(155deg, rgba(255, 107, 53, 0.09) 0%, transparent 52%),
        linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.22) 55%, rgba(15, 23, 42, 0.38) 100%);
    background-size: auto, auto;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    position: relative;
    overflow: hidden;
}

body.page-accueil #hero-section.lp-hero .lp-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

body.page-accueil #hero-section.lp-hero .lp-hero-overlay {
    z-index: 1;
}

body.page-accueil #hero-section.lp-hero::before {
    content: none;
}

@media (prefers-reduced-motion: reduce) {
    body.page-accueil #hero-section.lp-hero .lp-hero__bg {
        object-fit: cover;
        object-position: center center;
    }
}

.lp-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 25%, rgba(255, 107, 53, 0.12), transparent 58%),
        radial-gradient(circle at 88% 78%, rgba(229, 90, 43, 0.06), transparent 48%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.04) 100%);
}

.lp-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

/* Panneau hero : verre dépoli + relief premium */
.lp-hero-panel {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem);
    border-radius: var(--lp-radius-panel);
    background: linear-gradient(
        165deg,
        rgba(22, 24, 32, 0.65) 0%,
        rgba(14, 16, 22, 0.52) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        var(--lp-shadow-sm),
        0 28px 64px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(20px) saturate(1.15);
    backdrop-filter: blur(20px) saturate(1.15);
}

.lp-hero-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.95), rgba(229, 90, 43, 0.85), transparent);
    opacity: 0.95;
    pointer-events: none;
}

.lp-hero-head {
    margin-bottom: clamp(1.35rem, 3vw, 1.85rem);
}

.lp-kicker {
    display: inline-block;
    margin: 0 0 12px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 2px 14px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lp-kicker-brand {
    margin: 0;
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
    line-height: 1.45;
}

body.page-accueil .hero-seo-title {
    position: static;
    transform: none;
    width: auto;
    max-width: 920px;
    margin: 0 auto clamp(1.15rem, 2.5vw, 1.5rem);
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.45),
        0 2px 12px rgba(0, 0, 0, 0.35),
        0 8px 28px rgba(0, 0, 0, 0.28);
    pointer-events: auto;
}

/* text-wrap: balance — Chrome 114+ / Edge 114+ / Safari 17.5+ (améliore le césure du H1) */
@supports (text-wrap: balance) {
    body.page-accueil .hero-seo-title {
        text-wrap: balance;
    }
}

body.page-accueil .hero-seo-title::after {
    content: '';
    display: block;
    width: min(5.5rem, 28%);
    height: 4px;
    margin: 1.15rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff6b35, #e55a2b);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.45);
}

/* Sous-titre hero : structure premium (deux cartes lisibles) */
.lp-hero-subtitle-wrap {
    max-width: 42rem;
    margin: 0 auto;
}

.lp-hero-subtitle__tagline {
    margin: 0 0 0.75rem;
    font-size: clamp(0.72rem, 1.35vw, 0.82rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    text-align: center;
    line-height: 1.35;
}

.lp-hero-subtitle__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

.lp-hero-subtitle__card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 14px 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.14),
        0 0 0 1px rgba(255, 107, 53, 0.08) inset;
    transition:
        background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-hero-subtitle__card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 107, 53, 0.32);
    box-shadow:
        0 10px 28px rgba(255, 107, 53, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.lp-hero-subtitle__card-head {
    margin: 0;
    font-family: 'Poppins', 'Inter', system-ui, sans-serif;
    font-size: clamp(0.98rem, 1.9vw, 1.12rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.3;
}

.lp-hero-subtitle__card-head strong {
    color: #fff;
    font-weight: 700;
}

.lp-hero-subtitle__text {
    margin: 0;
    font-size: clamp(0.88rem, 1.65vw, 1rem);
    line-height: 1.52;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 560px) {
    .lp-hero-subtitle__cards {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-hero-subtitle__card {
        transition: none;
    }

    .lp-hero-subtitle__card:hover {
        box-shadow:
            0 8px 22px rgba(0, 0, 0, 0.14),
            0 0 0 1px rgba(255, 107, 53, 0.08) inset;
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.18);
    }
}

.lp-cta-row {
    margin-top: clamp(2rem, 4vw, 2.75rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 16px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 16px 28px;
    min-height: 52px;
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* Sur hero sombre, le CTA secondaire (clair) : léger lift seulement — moins d’effet « bloc qui saute ». */
.lp-hero-panel .lp-btn-secondary:hover {
    transform: translateY(-1px);
}

.lp-btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff6600 45%, #e55a2b 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 12px 32px rgba(255, 107, 53, 0.35),
        0 4px 14px rgba(0, 0, 0, 0.25);
}

.lp-btn-primary:hover {
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 16px 40px rgba(255, 107, 53, 0.42),
        0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Secondaire : garder un linear-gradient au repos ET au survol (évite un flash
   si le navigateur ne interpole pas gradient → couleur unie). */
.lp-btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #fff7f0 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #9a3412;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 6px 22px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 140, 100, 0.1);
}

.lp-btn-secondary:hover {
    color: #7c2d12;
    background: linear-gradient(180deg, #fffefc 0%, #ffefe4 100%);
    border-color: rgba(255, 200, 165, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 8px 28px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 107, 53, 0.18);
}

.lp-btn-dark {
    background: linear-gradient(180deg, #1a1d24 0%, #0f1115 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 28px rgba(0, 0, 0, 0.22);
}

.lp-btn-dark:hover {
    color: #fff;
    background: linear-gradient(180deg, #242830 0%, #16181e 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 14px 36px rgba(0, 0, 0, 0.28);
}

.lp-btn-primary:focus-visible,
.lp-btn-secondary:focus-visible,
.lp-btn-dark:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.55);
    outline-offset: 3px;
}

.lp-hero-meta {
    margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
    padding-top: clamp(1.35rem, 2.5vw, 1.85rem);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* Bloc d’orientation hero : structure premium (repère + deux voies + CTA) */
.lp-hero-routing {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.94);
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow:
        0 2px 10px rgba(15, 23, 42, 0.08),
        0 2px 14px rgba(255, 107, 53, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lp-hero-routing__eyebrow {
    margin: 0 0 clamp(0.85rem, 2vw, 1.1rem);
    font-size: clamp(0.68rem, 1.15vw, 0.76rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.lp-hero-routing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.65rem, 2vw, 0.85rem);
    margin-bottom: 0;
}

.lp-hero-routing__lane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 4.5rem;
    padding: 0.85rem 0.65rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition:
        transform 0.25s var(--lp-ease),
        box-shadow 0.25s var(--lp-ease),
        border-color 0.25s var(--lp-ease);
}

.lp-hero-routing__lane--relayloc {
    border-left: 3px solid #ff6b35;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.08);
}

.lp-hero-routing__lane--relayfact {
    border-left: 3px solid rgba(255, 180, 130, 0.95);
    box-shadow: inset 0 0 0 1px rgba(255, 160, 100, 0.1);
}

@media (hover: hover) and (pointer: fine) {
    .lp-hero-routing__lane:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.22);
        box-shadow:
            0 8px 22px rgba(255, 107, 53, 0.12),
            inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    }
}

.lp-hero-routing__hint {
    font-size: clamp(0.78rem, 1.35vw, 0.86rem);
    line-height: 1.45;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    max-width: 14rem;
}

.lp-hero-routing__name {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.lp-hero-routing__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: clamp(0.95rem, 2vw, 1.15rem) 0 0;
}

.lp-hero-routing__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.5rem;
    padding: 0.45rem 1rem 0.45rem 1.05rem;
    border-radius: 8px;
    font-size: clamp(0.82rem, 1.35vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background 0.25s var(--lp-ease),
        border-color 0.25s var(--lp-ease),
        box-shadow 0.25s var(--lp-ease),
        transform 0.25s var(--lp-ease),
        color 0.25s var(--lp-ease);
}

.lp-hero-routing__link--relayloc {
    color: #fff;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 53, 0.28) 0%,
        rgba(255, 102, 0, 0.16) 100%
    );
    border: 1px solid rgba(255, 107, 53, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 4px 14px rgba(255, 107, 53, 0.18);
}

.lp-hero-routing__link--relayfact {
    color: #fff;
    background: linear-gradient(
        135deg,
        rgba(255, 160, 100, 0.24) 0%,
        rgba(255, 120, 70, 0.14) 100%
    );
    border: 1px solid rgba(255, 180, 130, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 4px 14px rgba(255, 140, 90, 0.14);
}

.lp-hero-routing__link-icon {
    font-size: 0.72rem;
    opacity: 0.92;
    transition: transform 0.25s var(--lp-ease);
}

@media (hover: hover) and (pointer: fine) {
    .lp-hero-routing__link--relayloc:hover {
        color: #fff;
        background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.24),
            0 8px 22px rgba(255, 107, 53, 0.32);
        transform: translateY(-1px);
        text-decoration: none;
    }

    .lp-hero-routing__link--relayfact:hover {
        color: #fff;
        background: linear-gradient(135deg, #ff8a50 0%, #e56a35 100%);
        border-color: rgba(255, 255, 255, 0.24);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 8px 22px rgba(255, 140, 90, 0.26);
        transform: translateY(-1px);
        text-decoration: none;
    }

    .lp-hero-routing__link:hover .lp-hero-routing__link-icon {
        transform: translateX(2px);
    }
}

.lp-hero-routing__link:focus-visible {
    outline: 2px solid rgba(255, 107, 53, 0.85);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .lp-hero-routing__lane:hover {
        transform: none;
    }

    .lp-hero-routing__link:hover {
        transform: none;
    }

    .lp-hero-routing__link:hover .lp-hero-routing__link-icon {
        transform: none;
    }
}

.lp-trust-inline {
    margin-top: 14px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(0.88rem, 1.4vw, 0.97rem);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.lp-clarity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.lp-clarity-card {
    position: relative;
    background: var(--lp-surface);
    border-radius: var(--lp-radius-card);
    padding: 26px 24px;
    border: 1px solid var(--lp-border-soft);
    box-shadow: var(--lp-shadow-md);
    transition:
        transform 0.28s var(--lp-ease),
        box-shadow 0.28s var(--lp-ease),
        border-color 0.28s var(--lp-ease);
}

.lp-clarity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: var(--lp-radius-card) 0 0 var(--lp-radius-card);
    background: linear-gradient(180deg, #ff6b35, #e55a2b);
    opacity: 0.85;
}

.lp-clarity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-lg);
    border-color: rgba(255, 102, 0, 0.18);
}

.lp-clarity-card-muted {
    background: linear-gradient(165deg, #fffbf8 0%, #ffffff 55%, #fff9f5 100%);
    border-color: rgba(255, 102, 0, 0.14);
}

.lp-clarity-card-muted::before {
    opacity: 0.65;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.75), rgba(229, 90, 43, 0.55));
}

.lp-clarity-heading {
    margin: 0 0 14px;
    padding-left: 8px;
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lp-ink);
}

.lp-clarity-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #3f3f3f;
    line-height: 1.55;
}

.lp-clarity-list li {
    margin-bottom: 8px;
}

.lp-clarity-list li:last-child {
    margin-bottom: 0;
}

.lp-themes-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 16px;
    font-size: 0.98rem;
    color: #555;
}

.lp-theme-voices {
    align-items: stretch;
}

.lp-theme-card {
    position: relative;
    background: var(--lp-surface);
    border-radius: var(--lp-radius-card);
    padding: 22px 20px;
    border: 1px solid var(--lp-border-soft);
    border-left: 4px solid #ff6600;
    box-shadow: var(--lp-shadow-md);
    transition:
        transform 0.28s var(--lp-ease),
        box-shadow 0.28s var(--lp-ease);
}

.lp-theme-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-lg);
}

.lp-theme-line {
    margin: 0;
    font-size: 0.95rem;
    color: #3d3d3d;
    font-style: italic;
    line-height: 1.45;
}

.lp-story-disclaimer {
    max-width: 720px;
    margin: 0 auto 14px;
    text-align: center;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.lp-cta-tertiary-wrap {
    margin-top: 18px;
    text-align: center;
}

.lp-link-on-dark {
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.lp-link-on-dark:hover {
    color: #ffd4b8;
}

.lp-link-on-dark:focus-visible {
    outline: 3px solid rgba(255, 180, 120, 0.95);
    outline-offset: 3px;
    border-radius: 4px;
}

.lp-section {
    padding: clamp(4.25rem, 8vw, 5.5rem) 0;
    position: relative;
}

.lp-section:not(.lp-section-light):not(.lp-section-story):not(.lp-section-final):not(.lp-section-partners) {
    background: linear-gradient(180deg, var(--lp-surface-soft) 0%, #f0f2f5 100%);
}

.lp-section-light {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Bandeau intention SEO accueil — panneau centré (parité services-intent-band) */
.lp-section--intent-seo {
    padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
}

.lp-section--intent-seo .lp-container {
    display: flex;
    justify-content: center;
}

.lp-intent-panel {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3.2vw, 2.15rem) clamp(1.35rem, 3vw, 2rem);
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #fafbfc 52%, #fff9f5 100%);
    border: 1px solid rgba(255, 107, 53, 0.14);
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.05),
        0 18px 44px rgba(15, 23, 42, 0.09);
}

.lp-intent-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.88), rgba(229, 90, 43, 0.65), transparent);
    pointer-events: none;
}

.lp-intent-panel .lp-section-title {
    margin-bottom: 1rem;
}

.lp-intent-panel__lead {
    max-width: 46rem;
    margin: 0 auto 1.35rem;
}

.lp-intent-panel .lp-intent-links {
    margin-top: 0;
}

.lp-section-title {
    text-align: center;
    margin: 0 0 18px;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.18;
    color: var(--lp-ink);
}

.lp-section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff6b35, #e55a2b);
    box-shadow: 0 3px 14px rgba(255, 107, 53, 0.28);
}

.lp-section-title-white {
    color: #fff;
}

.lp-section-story .lp-section-title::after,
.lp-section-final .lp-section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 180, 140, 0.75));
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.lp-section-lead {
    max-width: 880px;
    margin: 8px auto 10px;
    text-align: center;
    font-size: 1.07rem;
    line-height: 1.65;
    color: var(--lp-ink-muted);
    font-weight: 400;
}

.lp-section-lead-white {
    color: rgba(255, 255, 255, 0.9);
}

/* —— Section « Comment Lokatere prend le relais » (2 piliers + clarté) */
.lp-explain {
    max-width: 100%;
}

.lp-explain-intro {
    max-width: 52rem;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--lp-ink-muted);
}

.lp-intent-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin: 1.25rem auto 0;
    max-width: 52rem;
}

.lp-intent-links__primary {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.22);
    text-decoration: none;
    transition:
        background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-intent-links__primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.28);
    color: #fff;
}

.lp-intent-links__primary:focus-visible {
    outline: 2px solid #ff6b35;
    outline-offset: 3px;
}

.lp-intent-links__secondary {
    font-weight: 600;
    color: var(--lp-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-intent-links__secondary:hover {
    color: #ff6b35;
}

.lp-intent-links__secondary:focus-visible {
    outline: 2px solid #ff6b35;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .lp-intent-links__primary {
        transition: none;
    }

    .lp-intent-links__primary:hover {
        transform: none;
    }
}

.lp-explain-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto 1.75rem;
}

.lp-explain-pillar {
    position: relative;
    padding: 26px 22px 24px;
    border-radius: var(--lp-radius-card);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid var(--lp-border-soft);
    box-shadow: var(--lp-shadow-md);
    transition:
        box-shadow 0.28s var(--lp-ease),
        border-color 0.28s var(--lp-ease),
        transform 0.28s var(--lp-ease);
}

.lp-explain-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--lp-radius-card) var(--lp-radius-card) 0 0;
    background: linear-gradient(90deg, #ff6b35, #e55a2b);
    opacity: 0.9;
}

.lp-explain-pillar--relayfact::before {
    background: linear-gradient(90deg, #e55a2b, #c2410c);
}

.lp-explain-pillar:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-lg);
    border-color: rgba(255, 102, 0, 0.12);
}

.lp-explain-pillar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.lp-explain-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.65rem;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #c2410c;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
}

.lp-explain-pillar-name {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lp-ink);
}

.lp-explain-pillar-tag {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a3412;
}

.lp-explain-pillar-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--lp-ink-muted);
    text-align: center;
}

.lp-explain-clarity {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1.4rem;
    border-radius: var(--lp-radius-card);
    background: linear-gradient(145deg, rgba(255, 107, 53, 0.06) 0%, rgba(255, 255, 255, 0.95) 40%, #fff 100%);
    border: 1px solid rgba(255, 102, 0, 0.12);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.lp-explain-clarity-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    color: var(--lp-ink);
    letter-spacing: -0.02em;
}

.lp-explain-clarity-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lp-explain-clarity-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #374151;
}

.lp-explain-clarity-ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.1rem;
    border-radius: 6px;
    font-size: 0.65rem;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.35);
}

.lp-grid {
    display: grid;
    gap: 16px;
}

.lp-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-card,
.lp-step,
.lp-hook {
    position: relative;
    background: var(--lp-surface);
    border-radius: var(--lp-radius-card);
    padding: 22px 20px;
    border: 1px solid var(--lp-border-soft);
    box-shadow: var(--lp-shadow-md);
    transition:
        transform 0.28s var(--lp-ease),
        box-shadow 0.28s var(--lp-ease),
        border-color 0.28s var(--lp-ease);
}

.lp-card:hover,
.lp-step:hover,
.lp-hook:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-lg);
    border-color: rgba(255, 102, 0, 0.12);
}

.lp-card h3,
.lp-step h3,
.lp-hook h3 {
    margin: 0 0 8px;
    font-size: 1.03rem;
}

.lp-card p,
.lp-step p,
.lp-hook p {
    margin: 0;
    color: #575757;
    font-size: 0.95rem;
    line-height: 1.45;
}

.lp-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 1.15rem;
    color: #e55a2b;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.08);
}

.lp-step {
    position: relative;
}

.lp-step-number {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35 0%, #ff6600 50%, #e55a2b 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 6px 16px rgba(255, 107, 53, 0.35);
}

.lp-cta-center {
    text-align: center;
    margin-top: 24px;
}

#viral-hooks .lp-cta-center .lp-btn-secondary {
    background: #fff;
    border: 2px solid #ff6600;
    color: #bf2f00;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

#viral-hooks .lp-cta-center .lp-btn-secondary:hover {
    background: #fff7f2;
    border-color: #f90404f4;
    color: #8f2400;
    box-shadow: 0 10px 24px rgba(249, 4, 4, 0.2);
}

.lp-stats {
    margin: 0 auto 22px;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lp-stat {
    background: var(--lp-surface);
    border-radius: var(--lp-radius-card);
    border: 1px solid var(--lp-border-soft);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--lp-shadow-md);
    transition:
        transform 0.28s var(--lp-ease),
        box-shadow 0.28s var(--lp-ease);
}

.lp-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-lg);
}

.lp-stat strong {
    display: block;
    font-size: clamp(1.05rem, 2.1vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #c2410c;
    line-height: 1.3;
    margin-bottom: 6px;
}

.lp-stat span {
    font-size: 0.9rem;
    color: #585858;
}

.lp-testimonials .lp-quote {
    margin: 0;
    background: #fff;
    border-left: 4px solid #ff6600;
    border-radius: 10px;
    padding: 16px;
    font-size: 0.95rem;
    color: #3d3d3d;
}

.lp-testimonials .lp-quote cite {
    display: block;
    margin-top: 9px;
    font-size: 0.85rem;
    color: #777;
    font-style: normal;
}

.lp-section-story {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 102, 0, 0.12), transparent 60%),
        linear-gradient(155deg, #12141a 0%, #1c1f28 50%, #252830 100%);
}

.lp-story {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-radius: var(--lp-radius-card);
    padding: 28px 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        var(--lp-shadow-md),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.lp-story p {
    margin: 0 0 10px;
    color: #333;
}

.lp-story p:last-child {
    margin-bottom: 0;
}

.lp-section-final {
    background:
        radial-gradient(ellipse 70% 45% at 50% 100%, rgba(255, 107, 53, 0.18), transparent 55%),
        linear-gradient(165deg, #14161c 0%, #1a1d26 40%, #22262f 100%);
}

.lp-section-final .lp-section-title {
    color: #fff;
}

.lp-section-partners {
    background: linear-gradient(180deg, #fff8f3 0%, #ffffff 100%);
}

.lp-partners-card {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding: 36px 32px;
    border-radius: var(--lp-radius-panel);
    border: 1px solid rgba(255, 102, 0, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
    box-shadow: var(--lp-shadow-lg);
}

.lp-partners-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 102, 0, 0.22);
    background: linear-gradient(180deg, #fff7f0 0%, #ffefe4 100%);
    color: #9c3900;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.12);
}

.lp-partners-card .lp-section-title {
    margin-bottom: 12px;
}

.lp-partners-card .lp-section-lead {
    margin-bottom: 0;
}

.lp-cta-row-final .lp-btn {
    min-width: 220px;
}

.lp-reassurance-list {
    margin: 22px auto 0;
    max-width: 820px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    color: rgba(255, 255, 255, 0.92);
}

.lp-reassurance-list i {
    color: #ff6600;
    margin-right: 6px;
}

@media (max-width: 1100px) {
    .lp-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.page-accueil #hero-section.lp-hero {
        min-height: 0;
        padding: 6rem 12px 1.5rem;
    }

    .lp-hero-panel {
        padding: 1.25rem 1rem;
        border-radius: 10px;
    }

    .lp-hero-head {
        margin-bottom: 1.15rem;
    }

    .lp-clarity-grid {
        grid-template-columns: 1fr;
    }

    .lp-explain-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 1.25rem;
    }

    .lp-explain-intro {
        font-size: 1.02rem;
        margin-bottom: 1.5rem;
        padding: 0 4px;
    }

    .lp-explain-pillar {
        padding: 22px 18px 20px;
    }

    .lp-explain-clarity {
        padding: 1.25rem 1.1rem;
    }

    .lp-kicker {
        margin-bottom: 10px;
        font-size: 0.74rem;
        padding: 7px 12px;
    }

    .lp-kicker-brand {
        font-size: 0.88rem;
    }

    .lp-hero-routing {
        padding: 1rem 0.85rem;
        margin-left: auto;
        margin-right: auto;
        max-width: min(100%, 36rem);
    }

    .lp-hero-routing__grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .lp-hero-routing__lane {
        min-height: unset;
        padding: 0.8rem 0.9rem;
    }

    .lp-hero-routing__hint {
        max-width: 20rem;
    }

    .lp-hero-routing__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .lp-hero-routing__link {
        width: 100%;
        max-width: 18rem;
        margin-left: auto;
        margin-right: auto;
    }

    body.page-accueil .hero-seo-title {
        font-size: clamp(1.58rem, 7.1vw, 2.08rem);
        line-height: 1.12;
        margin-bottom: clamp(0.85rem, 3vw, 1.1rem);
    }

    .lp-hero-subtitle-wrap {
        max-width: min(100%, 36rem);
    }

    .lp-hero-subtitle__text {
        font-size: clamp(0.86rem, 3.5vw, 0.98rem);
        line-height: 1.5;
    }

    .lp-hero-subtitle__card {
        padding: 12px 14px;
    }

    .lp-hero-subtitle__card-head {
        font-size: clamp(0.92rem, 3.6vw, 1.02rem);
    }

    .lp-grid-5,
    .lp-grid-3,
    .lp-stats,
    .lp-reassurance-list {
        grid-template-columns: 1fr;
    }

    .lp-btn,
    .lp-cta-row-final .lp-btn {
        width: 100%;
        min-width: 0;
    }

    .lp-cta-row {
        margin-top: clamp(1.35rem, 4vw, 1.75rem);
        gap: 12px;
    }

    .lp-hero-meta {
        margin-top: clamp(1.35rem, 4vw, 1.75rem);
        padding-top: clamp(1.1rem, 3vw, 1.45rem);
    }

    .lp-section {
        padding: 56px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-card,
    .lp-step,
    .lp-hook,
    .lp-clarity-card,
    .lp-theme-card,
    .lp-stat,
    .lp-explain-pillar {
        transition: none;
    }

    .lp-btn:hover,
    .lp-card:hover,
    .lp-step:hover,
    .lp-hook:hover,
    .lp-clarity-card:hover,
    .lp-theme-card:hover,
    .lp-stat:hover,
    .lp-explain-pillar:hover {
        transform: none;
    }
}

/* Un cadre commun relie l'explication, les deux choix et leurs conditions. */
.lp-home-context { padding: 3rem 0; background: var(--lp-surface-warm); }
.lp-home-context__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2rem 3rem;
    align-items: center;
    padding: 2.5rem 3rem 1.5rem;
    background: #fff;
    border: 1px solid #ede5df;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(35, 24, 15, 0.04);
    text-align: left;
}
.lp-home-context__eyebrow { margin: 0 0 0.75rem; color: #963b13; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.lp-home-context__title { margin: 0 0 1rem; color: var(--lp-ink); font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 750; line-height: 1.2; letter-spacing: -0.025em; }
.lp-home-context__description,
.lp-home-context__contribution { margin: 0; color: var(--lp-ink-muted); font-size: 0.9375rem; line-height: 1.65; }
.lp-home-context__contribution { margin-top: 1rem; }
.lp-home-context__contribution strong { color: var(--lp-ink); }
.lp-home-context__routing-title { margin: 0 0 1rem; color: var(--lp-ink); font-size: 1rem; line-height: 1.4; font-weight: 650; }
.lp-home-context__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lp-home-context__choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid #e9dfd7;
    border-radius: 12px;
    background: #fffcfa;
    color: var(--lp-ink);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}
.lp-home-context__choice:hover { color: var(--lp-ink); text-decoration: none; background: #fff4eb; border-color: #c35b27; }
.lp-home-context__choice:focus-visible { outline: 3px solid #963b13; outline-offset: 4px; }
.lp-home-context__icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; color: #a93d0d; background: #ffede0; border-radius: 9px; font-size: 1.1rem; }
.lp-home-context__name { margin-bottom: 0.5rem; font-size: 1.25rem; line-height: 1.3; font-weight: 750; }
.lp-home-context__hint { margin-bottom: 1.5rem; color: var(--lp-ink-muted); font-size: 0.875rem; line-height: 1.6; }
.lp-home-context__action { display: flex; align-items: center; gap: 0.5rem; margin-top: auto; color: #963b13; font-size: 0.8125rem; font-weight: 700; line-height: 1.5; }
.lp-home-context__action i { font-size: 0.75rem; }
.lp-home-context__conditions { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid #eee7e2; }
.lp-home-context .lokatere-reassurance-band { max-width: none; margin: 0; padding: 0; color: var(--lp-ink-muted); background: none; border: 0; border-radius: 0; box-shadow: none; text-align: left; font-size: 0.8125rem; line-height: 1.65; }
.lp-home-context .lokatere-reassurance-band__line { margin: 0; }
.lp-home-context .lokatere-reassurance-band__line + .lokatere-reassurance-band__line { margin-top: 0.25rem; }
.lp-home-context .lokatere-reassurance-band strong { color: var(--lp-ink); }
body.page-accueil .lp-hero-panel > .lp-trust-inline { margin: 1.1rem 0 0; }
@media (max-width: 900px) {
    .lp-home-context__grid { grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem; }
    .lp-home-context__title br { display: none; }
    .lp-home-context__choice { padding: 1.25rem; }
}
@media (max-width: 768px) {
    body.page-accueil .lp-hero-content { width: 100%; }
    body.page-accueil .lp-hero-head { margin-bottom: 1rem; }
    body.page-accueil .hero-seo-title { line-height: 1.16; }
    .lp-home-context { padding: 1.5rem 0; }
}
@media (max-width: 480px) {
    .lp-home-context__grid { padding: 1.5rem; border-radius: 16px; }
    .lp-home-context__choices { grid-template-columns: 1fr; gap: 0.75rem; }
    .lp-home-context__choice { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1rem; padding: 1rem; }
    .lp-home-context__icon { grid-column: 1; grid-row: 1 / 3; margin: 0; }
    .lp-home-context__name { grid-column: 2; margin-bottom: 0.25rem; font-size: 1.125rem; }
    .lp-home-context__hint { grid-column: 2; margin-bottom: 0.75rem; }
    .lp-home-context__hint br { display: none; }
    .lp-home-context__action { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-home-context__choice { transition: none; }
}
