/*
 * WebpackPro — améliorations visuelles de la page d'accueil
 * Fichier : assets/css/home-enhancements.css
 */

/* Fond plus riche, mais toujours professionnel */
.hero--enhanced {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(76px, 9vw, 118px) 0 clamp(68px, 8vw, 96px);
    background:
        radial-gradient(circle at 8% 0%, rgba(166, 217, 138, 0.28), transparent 26rem),
        radial-gradient(circle at 87% 22%, rgba(154, 200, 171, 0.35), transparent 28rem),
        linear-gradient(135deg, #f8fcf9 0%, #eef8f2 52%, #fbfdfc 100%);
}

.hero--enhanced::before,
.hero--enhanced::after {
    position: absolute;
    z-index: -1;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(22, 123, 108, 0.10);
    border-radius: 50%;
    content: "";
}

.hero--enhanced::before {
    top: -18rem;
    left: -10rem;
}

.hero--enhanced::after {
    right: -16rem;
    bottom: -18rem;
}

.hero-grid--enhanced {
    position: relative;
}

.hero-copy {
    position: relative;
}

.hero-copy::before {
    position: absolute;
    top: 30px;
    left: -28px;
    width: 4px;
    height: 116px;
    background: linear-gradient(180deg, var(--brand), rgba(22, 123, 108, 0));
    border-radius: 999px;
    content: "";
    opacity: 0.65;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(22, 123, 108, 0.12);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(18, 53, 58, 0.05);
}

.hero h1 {
    max-width: 800px;
    text-wrap: balance;
}

.hero h1 em {
    display: inline-block;
    margin-top: 5px;
    padding: 0 8px 3px;
    background: linear-gradient(90deg, rgba(166, 217, 138, 0.48), rgba(166, 217, 138, 0));
    border-radius: 8px;
}

.hero-lead {
    max-width: 650px;
    text-wrap: pretty;
}

.hero-benefit-grid {
    gap: 14px;
}

.hero-benefit-grid > div {
    min-height: 73px;
    padding: 14px 14px 14px 15px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(219, 232, 225, 0.9);
    border-left: 3px solid #a6d98a;
    border-radius: 13px;
    box-shadow: 0 12px 28px rgba(18, 53, 58, 0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hero-benefit-grid > div:hover {
    box-shadow: 0 18px 34px rgba(18, 53, 58, 0.10);
    transform: translateY(-3px);
}

.hero-benefit-grid b {
    font-size: 14px;
}

.hero-primary-cta {
    position: relative;
    padding: 16px 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-primary-cta::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.hero-secondary-cta {
    padding: 11px 4px;
    border-bottom: 1px solid rgba(18, 53, 58, 0.28);
}

.microcopy {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    max-width: 640px;
}

.hero-visual--enhanced {
    position: relative;
    padding: 22px 14px 14px;
    isolation: isolate;
}

.hero-visual--enhanced img {
    position: relative;
    z-index: 2;
    border-radius: 22px;
    filter: drop-shadow(0 26px 46px rgba(18, 53, 58, 0.16));
    transform: rotate(1deg);
    transition: transform .35s ease;
}

.hero-visual--enhanced:hover img {
    transform: rotate(0deg) translateY(-5px);
}

.hero-visual__glow {
    position: absolute;
    z-index: 1;
    top: 8%;
    right: 4%;
    width: 79%;
    height: 82%;
    background: radial-gradient(circle, rgba(166, 217, 138, 0.56), rgba(166, 217, 138, 0) 69%);
    filter: blur(9px);
}

.hero-visual__badge {
    position: absolute;
    z-index: 3;
    top: 5%;
    left: -10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(219, 232, 225, 0.94);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(18, 53, 58, 0.13);
    color: #315152;
    font-size: 12px;
    font-weight: 800;
}

.hero-visual__badge span {
    display: grid;
    width: 19px;
    height: 19px;
    background: #dff1df;
    border-radius: 50%;
    color: var(--brand);
    font-size: 12px;
    place-items: center;
}

.trust-strip--enhanced {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 0%, rgba(166, 217, 138, 0.22), transparent 18rem),
        var(--ink);
}

.trust-strip--enhanced .trust-inner {
    gap: 24px 42px;
}

.trust-strip--enhanced .trust-inner span {
    position: relative;
}

/* Section "de l'idée au site" : davantage de relief */
.idea-to-site-section--enhanced {
    position: relative;
    background:
        radial-gradient(circle at 85% 16%, rgba(154, 200, 171, 0.25), transparent 25rem),
        linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
}

.idea-to-site-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(38px, 6vw, 78px);
    align-items: center;
}

.idea-to-site-copy > p:not(.section-kicker) {
    max-width: 610px;
    color: var(--muted);
    font-size: 17px;
}

.idea-to-site-copy .text-link {
    display: inline-flex;
    gap: 9px;
    margin-top: 12px;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 11px 24px rgba(18, 53, 58, 0.06);
}

.idea-to-site-card {
    position: relative;
    padding: 9px;
    overflow: hidden;
    background: linear-gradient(140deg, #12353a 0%, #195b54 100%);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(18, 53, 58, 0.18);
}

.idea-to-site-card::before {
    position: absolute;
    top: -100px;
    right: -90px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    content: "";
}

.idea-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 14px;
    padding: 19px;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid rgba(219, 232, 225, 0.95);
}

.idea-step:first-child {
    border-radius: 17px 17px 0 0;
}

.idea-step:nth-child(3) {
    border-radius: 0 0 17px 17px;
    border-bottom: 0;
}

.idea-step-number {
    display: grid;
    width: 38px;
    height: 38px;
    background: #e8f4e9;
    border-radius: 12px;
    color: var(--brand);
    font: 800 12px Manrope, sans-serif;
    place-items: center;
}

.idea-step strong {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-family: Manrope, sans-serif;
    font-size: 16px;
}

.idea-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.idea-to-site-note {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
    margin: 11px 0 0;
    padding: 18px 19px;
    background: rgba(166, 217, 138, .95);
    border-radius: 17px;
    color: #143a35;
}

.idea-to-site-note b {
    font-family: Manrope, sans-serif;
    font-size: 14px;
}

.idea-to-site-note span {
    font-size: 13px;
}

/* Cartes et boutons de la suite de page */
.offer-main-card {
    border: 1px solid rgba(255,255,255,.12);
}

.included-list article {
    transition: background .2s ease, padding-left .2s ease;
}

.included-list article:hover {
    padding-left: 11px;
    background: rgba(242, 248, 244, 0.68);
}

.demo-gallery-card {
    border-radius: 20px;
}

.demo-gallery-copy {
    position: relative;
}

.demo-gallery-copy::after {
    position: absolute;
    right: 20px;
    bottom: 13px;
    left: 20px;
    height: 1px;
    background: linear-gradient(90deg, rgba(22,123,108,0), rgba(22,123,108,.24), rgba(22,123,108,0));
    content: "";
}

.compare-card {
    box-shadow: 0 16px 35px rgba(18, 53, 58, 0.06);
}

.form-wrap {
    position: relative;
    overflow: hidden;
}

.form-wrap::before {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 290px;
    height: 290px;
    background: radial-gradient(circle, rgba(166, 217, 138, 0.28), rgba(166,217,138,0) 68%);
    content: "";
    pointer-events: none;
}

.form-copy,
.lead-form {
    position: relative;
    z-index: 1;
}

@media (max-width: 960px) {
    .hero-copy::before {
        display: none;
    }

    .idea-to-site-grid {
        grid-template-columns: 1fr;
    }

    .idea-to-site-copy > p:not(.section-kicker) {
        max-width: none;
    }

    .hero-visual--enhanced {
        max-width: 660px;
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .hero--enhanced {
        padding-top: 64px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .hero-benefit-grid > div {
        min-height: auto;
    }

    .hero-visual--enhanced {
        padding: 14px 0 0;
    }

    .hero-visual__badge {
        top: -2px;
        left: 0;
        max-width: calc(100% - 20px);
        font-size: 11px;
    }

    .hero-visual--enhanced img {
        border-radius: 16px;
        transform: none;
    }

    .idea-to-site-card {
        border-radius: 18px;
    }

    .idea-step {
        padding: 16px;
    }

    .idea-to-site-note {
        padding: 16px;
    }

    .microcopy {
        display: block;
        line-height: 1.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-benefit-grid > div,
    .hero-visual--enhanced img,
    .included-list article {
        transition: none;
    }

    .hero-visual--enhanced img {
        transform: none;
    }
}
