:root {
    --green: #173f35;
    --green-light: #2f6858;
    --cream: #fffaf2;
    --soft: #f3ede4;
    --gold: #c59b4a;
    --burgundy: #7d2f3b;
    --ink: #202a27;
    --muted: #63706c;
    --line: #e1d8ca;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(23, 63, 53, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: var(--green);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--green);
    color: var(--white);
}

.site-header {
    position: static;
    z-index: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 242, 0.96);
    backdrop-filter: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green);
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: var(--gold);
    font-weight: 800;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 16px;
}

.main-nav a {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.hero {
    min-height: 78vh;
    display: grid;
    align-items: center;
    padding: 86px 0 66px;
    background:
        radial-gradient(circle at 82% 18%, rgba(197, 155, 74, 0.28), transparent 28%),
        linear-gradient(120deg, var(--green), var(--green-light));
    color: var(--white);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.72fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    max-width: 780px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--green);
    line-height: 1.14;
}

.hero h1 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(2.75rem, 6vw, 5.1rem);
    line-height: 1.08;
    overflow-wrap: break-word;
}

.hero-lead {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.18rem;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.section-actions.centered {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 20px;
    border: 1px solid var(--green);
    border-radius: 6px;
    background: var(--green);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
}

.btn:hover,
.btn:focus-visible {
    background: var(--green-light);
}

.btn-secondary {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.hero .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
    color: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    color: var(--white);
    font-weight: 800;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.trust-list li {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.hero-panel,
.notice,
.card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 28px;
    color: var(--ink);
}

.hero-visual-panel {
    position: relative;
    overflow: hidden;
}

.hero-visual-panel::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(197, 155, 74, 0.35);
    border-radius: 50%;
}

.hero-visual-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(197, 155, 74, 0.18);
    color: var(--gold);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.hero-panel h2 {
    font-size: 1.75rem;
}

.section {
    padding: 72px 0;
}

.section-soft {
    background: var(--soft);
}

.statement {
    text-align: center;
}

.statement h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.card-grid {
    display: grid;
    gap: 22px;
}

.card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.notice {
    padding: 24px;
}

.visual-card {
    position: relative;
    overflow: hidden;
}

.visual-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(197, 155, 74, 0.12);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border: 1px solid rgba(197, 155, 74, 0.45);
    border-radius: 50%;
    background: rgba(23, 63, 53, 0.06);
    color: var(--green);
    font-size: 1rem;
    font-weight: 900;
}

.card h3,
.notice h3 {
    font-size: 1.25rem;
}

.card a {
    font-weight: 800;
}

.tag {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(197, 155, 74, 0.18);
    color: var(--green);
    font-size: 0.84rem;
    font-weight: 800;
}

.ebook-card {
    border-top: 4px solid var(--gold);
}

.ebook-feature {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.ebook-feature img {
    display: block;
    width: min(100%, 150px);
    max-width: 150px;
    max-height: 210px;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
    margin: 0 auto 18px;
    border-radius: 6px;
    box-shadow: 0 14px 28px rgba(23, 63, 53, 0.18);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 36px;
    align-items: center;
}

.final-cta {
    background: var(--green);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
}

.final-cta h2 {
    color: var(--white);
}

.site-footer {
    padding: 48px 0 22px;
    background: #102f28;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 28px;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1.05rem;
}

.site-footer a {
    display: block;
    margin: 7px 0;
    color: rgba(255, 255, 255, 0.84);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.88rem;
}

@media (max-width: 900px) {
    .header-inner {
        display: grid;
        padding: 14px 0;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: auto;
        padding: 68px 0 54px;
    }

    .hero-inner,
    .split,
    .card-grid.three,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 540px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, 1120px);
    }

    .hero {
        padding: 52px 0 42px;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero-actions .btn,
    .hero-actions .text-link,
    .section-actions .btn {
        width: 100%;
    }

    .trust-list {
        display: grid;
    }

    .section {
        padding: 50px 0;
    }
}

.card-grid.three > .card {
    min-width: 0;
    height: 100%;
}
.brand-logo {
    display: block;
    width: auto;
    height: clamp(64px, 7vw, 72px);
    max-width: 210px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand:has(.brand-logo) {
    gap: 14px;
}

.hero-logo-img {
    display: block;
    width: min(100%, 260px);
    max-height: 220px;
    margin: 0 auto 22px;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(23, 63, 53, 0.22));
    transition: transform 180ms ease, filter 180ms ease;
}

.hero-visual-panel:hover .hero-logo-img,
.hero-visual-panel:focus-within .hero-logo-img {
    transform: scale(1.025);
    filter: drop-shadow(0 20px 38px rgba(197, 155, 74, 0.28));
}

.hero-visual-panel {
    background:
        radial-gradient(circle at 75% 20%, rgba(197, 155, 74, 0.18), transparent 28%),
        linear-gradient(180deg, #ffffff, #fffaf2);
}

.visual-card .card-icon {
    box-shadow: inset 0 0 0 6px rgba(255, 250, 242, 0.85);
}

@media (max-width: 900px) {
    .brand-logo {
        height: 64px;
        max-width: 160px;
    }

    .hero-logo-img {
        width: min(100%, 210px);
        max-height: 180px;
    }
}
.hero-logo-premium {
    width: min(100%, 340px);
    max-height: 360px;
}

.footer-logo {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 16px rgba(197, 155, 74, 0.22));
}

@media (max-width: 900px) {
    .hero-logo-premium {
        width: min(100%, 260px);
        max-height: 280px;
    }
}
/* Correctifs finaux HPEL : header unique, logo premium et couverture ebook */
.site-header {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
}

main .site-header,
.section .site-header,
.hero .site-header,
footer .site-header {
    display: none !important;
}

.hero-visual-panel:has(.hero-logo-premium) {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.hero-visual-panel:has(.hero-logo-premium)::after {
    display: none;
}

.hero-logo-premium {
    width: min(100%, 260px);
    max-width: 260px;
    max-height: 260px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(197, 155, 74, 0.26));
}

.hero-visual-panel:hover .hero-logo-premium,
.hero-visual-panel:focus-within .hero-logo-premium {
    transform: scale(1.025);
    filter: drop-shadow(0 22px 40px rgba(197, 155, 74, 0.34));
}

.ebook-feature {
    overflow: hidden;
}

.ebook-feature img {
    width: min(100%, 220px);
    max-width: 220px;
    max-height: 310px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .hero-logo-premium {
        width: min(100%, 230px);
        max-width: 230px;
        max-height: 230px;
    }

    .ebook-feature img {
        width: min(100%, 190px);
        max-width: 190px;
        max-height: 270px;
    }
}
/* Ajustement final des logos HPEL */
.brand-logo {
    height: clamp(52px, 5.5vw, 56px) !important;
    max-width: 170px !important;
}

.hero-logo-premium {
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    max-height: 360px !important;
    filter:
        drop-shadow(0 18px 34px rgba(197, 155, 74, 0.24))
        drop-shadow(0 0 18px rgba(197, 155, 74, 0.16)) !important;
}

.hero-visual-panel:hover .hero-logo-premium,
.hero-visual-panel:focus-within .hero-logo-premium {
    transform: scale(1.018);
    filter:
        drop-shadow(0 22px 40px rgba(197, 155, 74, 0.28))
        drop-shadow(0 0 22px rgba(197, 155, 74, 0.2)) !important;
}

@media (max-width: 900px) {
    .brand-logo {
        height: 52px !important;
        max-width: 150px !important;
    }

    .hero-logo-premium {
        width: min(100%, 300px) !important;
        max-width: 300px !important;
        max-height: 320px !important;
    }
}

@media (max-width: 620px) {
    .hero-logo-premium {
        width: min(100%, 250px) !important;
        max-width: 250px !important;
        max-height: 280px !important;
    }
}
/* Ajustement final strict des tailles logos HPEL */
.brand-logo {
    height: clamp(52px, 5vw, 56px) !important;
    max-height: 56px !important;
    max-width: 170px !important;
    object-fit: contain !important;
}

.hero-logo-premium {
    width: auto !important;
    height: clamp(320px, 28vw, 360px) !important;
    max-width: min(100%, 360px) !important;
    max-height: 360px !important;
    object-fit: contain !important;
    filter:
        drop-shadow(0 18px 34px rgba(197, 155, 74, 0.22))
        drop-shadow(0 0 16px rgba(197, 155, 74, 0.14)) !important;
}

.hero-visual-panel:has(.hero-logo-premium) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-panel:hover .hero-logo-premium,
.hero-visual-panel:focus-within .hero-logo-premium {
    transform: scale(1.015);
    filter:
        drop-shadow(0 20px 38px rgba(197, 155, 74, 0.26))
        drop-shadow(0 0 20px rgba(197, 155, 74, 0.18)) !important;
}

@media (max-width: 900px) {
    .brand-logo {
        height: clamp(44px, 8vw, 48px) !important;
        max-height: 48px !important;
        max-width: 145px !important;
    }

    .hero-logo-premium {
        height: clamp(220px, 42vw, 260px) !important;
        max-width: min(100%, 260px) !important;
        max-height: 260px !important;
    }
}

@media (max-width: 620px) {
    .brand-logo {
        height: 44px !important;
        max-height: 44px !important;
        max-width: 132px !important;
    }

    .hero-logo-premium {
        height: clamp(220px, 58vw, 250px) !important;
        max-width: min(100%, 250px) !important;
        max-height: 250px !important;
    }
}
/* Correctif final Hero HPEL : logo premium sans carte ni debordement */
html,
body {
    overflow-x: hidden;
}

.hero {
    overflow: hidden;
}

.hero-inner {
    min-width: 0;
}

.hero-copy,
.hero-panel {
    min-width: 0;
}

.hero-visual-panel:has(.hero-logo-premium) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.hero-visual-panel:has(.hero-logo-premium)::after {
    display: none !important;
}

.hero-logo-premium {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(100%, 300px) !important;
    max-height: 300px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    filter:
        drop-shadow(0 16px 30px rgba(197, 155, 74, 0.2))
        drop-shadow(0 0 14px rgba(197, 155, 74, 0.12)) !important;
}

.hero-visual-panel:hover .hero-logo-premium,
.hero-visual-panel:focus-within .hero-logo-premium {
    transform: scale(1.012);
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual-panel:has(.hero-logo-premium) {
        max-width: 100% !important;
    }

    .hero-logo-premium {
        max-width: min(100%, 240px) !important;
        max-height: 240px !important;
    }
}

@media (max-width: 620px) {
    .hero-logo-premium {
        max-width: min(100%, 200px) !important;
        max-height: 200px !important;
    }
}

@media (max-width: 420px) {
    .hero-logo-premium {
        max-width: min(100%, 180px) !important;
        max-height: 180px !important;
    }
}
/* Hero accueil HPEL : colonne logo premium sans panneau */
html,
body {
    overflow-x: hidden;
}

.hero {
    overflow: hidden;
}

.hero-inner {
    min-width: 0;
}

.hero-copy,
.hero-logo-column {
    min-width: 0;
}

.hero-logo-column {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.hero-logo-column .hero-logo-premium {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 300px);
    max-height: 300px;
    object-fit: contain;
    margin: 0 auto;
    filter:
        drop-shadow(0 16px 30px rgba(197, 155, 74, 0.22))
        drop-shadow(0 0 14px rgba(197, 155, 74, 0.14));
    transition: transform 180ms ease, filter 180ms ease;
}

.hero-logo-column:hover .hero-logo-premium,
.hero-logo-column:focus-within .hero-logo-premium {
    transform: scale(1.012);
    filter:
        drop-shadow(0 20px 38px rgba(197, 155, 74, 0.26))
        drop-shadow(0 0 20px rgba(197, 155, 74, 0.18));
}

@media (max-width: 900px) {
    .hero-logo-column .hero-logo-premium {
        max-width: min(100%, 220px);
        max-height: 220px;
    }
}
/* Bibliothèque HPEL */
.hero-support {
    max-width: 700px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
}

.library-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.library-illustration {
    display: grid;
    place-items: center;
    min-height: 128px;
    margin: -4px -4px 18px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 76% 24%, rgba(197, 155, 74, 0.24), transparent 32%),
        linear-gradient(135deg, rgba(23, 63, 53, 0.94), rgba(47, 104, 88, 0.88));
    color: var(--gold);
    overflow: hidden;
}

.library-illustration span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(197, 155, 74, 0.55);
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.08);
    color: var(--gold);
    font-size: 1.45rem;
    font-weight: 900;
}

.library-card p {
    flex: 1 1 auto;
}

.library-card-button {
    width: fit-content;
    margin-top: 10px;
}

.library-featured-card {
    border-top: 4px solid var(--gold);
}

.library-empty-category {
    max-width: 720px;
}

.library-ebook-section {
    align-items: center;
}

.library-ebook-card img {
    width: min(100%, 260px);
    max-width: 260px;
    max-height: 360px;
}

@media (max-width: 620px) {
    .library-card-button {
        width: 100%;
    }

    .library-illustration {
        min-height: 108px;
    }

    .library-ebook-card img {
        width: min(100%, 220px);
        max-width: 220px;
        max-height: 310px;
    }
}
/* Correctif compatibilite landing.php ebook - 2026-07-03
   Restaure les anciennes classes de la page ebook sans modifier articles.php. */
.site-header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

.site-header .brand img {
    display: block;
    width: auto;
    height: 52px;
    max-width: 140px;
    object-fit: contain;
    flex: 0 0 auto;
}

.site-header .brand span {
    font-weight: 800;
    line-height: 1.15;
}

.btn-small .label-mobile {
    display: none;
}

.btn-small {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 0.9rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.72fr);
    gap: 44px;
    align-items: center;
}

body.landing-ebook .hero {
    min-height: auto;
    padding: 58px 0 52px;
    overflow: hidden;
}

body.landing-ebook .hero-copy {
    min-width: 0;
    max-width: 760px;
}

body.landing-ebook .hero h1 {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 5.4vw, 4.8rem);
    overflow-wrap: anywhere;
}

body.landing-ebook .subtitle,
body.landing-ebook .hero-pain {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
}

.price-line {
    display: grid;
    gap: 6px;
    max-width: 640px;
    margin: 24px 0 0;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
}

.price-line strong {
    color: var(--gold);
    font-size: 1.8rem;
    line-height: 1;
}

.price-line span {
    color: rgba(255, 255, 255, 0.78);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.cover-panel {
    align-self: center;
    width: 100%;
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.1);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.cover-panel img {
    display: block;
    width: min(100%, 320px);
    max-width: 320px;
    max-height: 455px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.cover-fallback {
    display: grid;
    place-items: center;
    min-height: 360px;
    border-radius: 8px;
    background: var(--green);
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 900;
    text-align: center;
}

.cover-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.cover-meta strong {
    color: var(--gold);
    font-size: 1.35rem;
}

.soft {
    background: var(--soft);
}

.intro,
.why,
.testimonials,
.reassurance,
.faq {
    background: var(--cream);
}

.benefits,
.content-grid,
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.benefits article,
.content-grid article,
.testimonial-grid figure,
.offer-box,
.reassurance-list > div,
.faq details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.benefits article,
.content-grid article,
.testimonial-grid figure,
.offer-box,
.reassurance-list > div {
    padding: 24px;
}

.checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    margin-bottom: 10px;
    padding-left: 26px;
    position: relative;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
}

.offer-box h2 {
    color: var(--green);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.secure,
.dev-note {
    color: var(--muted);
    font-size: 0.94rem;
}

.reassurance-list {
    display: grid;
    gap: 14px;
}

.reassurance-list strong,
.reassurance-list span {
    display: block;
}

.reassurance-list span {
    color: var(--muted);
}

.testimonial-grid figure {
    margin: 0;
}

.testimonial-grid blockquote {
    margin: 0 0 14px;
    color: var(--ink);
    font-style: italic;
}

.testimonial-grid figcaption {
    color: var(--muted);
    font-weight: 800;
}

.faq details {
    margin-bottom: 12px;
    padding: 18px 20px;
}

.faq summary {
    color: var(--green);
    cursor: pointer;
    font-weight: 900;
}

.footer {
    padding: 24px 16px;
    background: #102f28;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .site-header .nav,
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .site-header .nav {
        display: grid;
        align-items: start;
        padding: 14px 0;
    }

    .hero-grid,
    .benefits,
    .content-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .cover-panel {
        max-width: 460px;
        margin: 0 auto;
    }

    .cover-panel img {
        max-width: 280px;
        max-height: 398px;
    }
}

@media (max-width: 620px) {
    body.landing-ebook .hero {
        padding: 52px 0 42px;
    }

    body.landing-ebook .hero h1 {
        font-size: clamp(2.15rem, 12vw, 3rem);
    }

    .site-header .btn-small .label-mobile {
        display: none;
    }

    .btn-small {
        width: 100%;
    }

    .site-header .brand img {
        height: 44px;
        max-width: 120px;
    }

    .cover-panel {
        padding: 16px;
    }

    .cover-panel img {
        max-width: 230px;
        max-height: 327px;
    }

    .cover-meta {
        display: grid;
        text-align: center;
    }
}
/* Correctifs ciblés landing ebook - HPEL */
body.landing-ebook main:focus {
    outline: none;
}

body.landing-ebook .skip-link:focus {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 1000;
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    text-decoration: none;
}

body.landing-ebook .site-header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

body.landing-ebook .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.72fr);
    gap: 44px;
    align-items: center;
}

body.landing-ebook .hero-actions-primary {
    margin-top: 18px;
}

body.landing-ebook .hero-pain {
    margin-top: 22px;
}

body.landing-ebook .intermediate-cta,
body.landing-ebook .final-cta {
    background: var(--green);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
}

body.landing-ebook .intermediate-cta h2,
body.landing-ebook .final-cta h2 {
    color: var(--white);
}

body.landing-ebook .intermediate-cta .secure,
body.landing-ebook .final-cta .secure {
    color: rgba(255, 255, 255, 0.76);
}

body.landing-ebook .final-cta .btn-primary,
body.landing-ebook .intermediate-cta .btn-primary {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

body.landing-ebook .final-cta .btn-primary:hover,
body.landing-ebook .final-cta .btn-primary:focus-visible,
body.landing-ebook .intermediate-cta .btn-primary:hover,
body.landing-ebook .intermediate-cta .btn-primary:focus-visible {
    background: #d8b45f;
}

body.landing-ebook .btn:focus-visible,
body.landing-ebook .text-link:focus-visible,
body.landing-ebook summary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    body.landing-ebook .site-header .nav,
    body.landing-ebook .hero-grid {
        grid-template-columns: 1fr;
    }

    body.landing-ebook .site-header .nav {
        display: grid;
        align-items: start;
        padding: 14px 0;
    }
}

@media (max-width: 620px) {
    body.landing-ebook .site-header .btn-small .label-mobile {
        display: none;
    }

    .btn-small {
        width: 100%;
    }
}
@media (max-width: 768px) {
    body.landing-ebook {
        overflow-x: hidden;
    }

    body.landing-ebook .container {
        width: min(100% - 24px, 1120px);
    }

    body.landing-ebook .site-header {
        overflow: hidden;
    }

    body.landing-ebook .site-header .nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 58px;
        padding: 8px 0;
    }

    body.landing-ebook .site-header .brand {
        min-width: 0;
        flex: 1 1 auto;
        gap: 8px;
        overflow: hidden;
    }

    body.landing-ebook .site-header .brand img {
        display: block;
        width: 34px;
        height: 34px;
        max-width: 34px;
        min-width: 34px;
        object-fit: contain;
    }

    body.landing-ebook .site-header .brand span {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.94rem;
        line-height: 1.12;
    }

    body.landing-ebook .site-header .btn-small .label-mobile {
    display: none;
}

.btn-small {
        width: auto;
        min-width: max-content;
        min-height: 36px;
        flex: 0 0 auto;
        padding: 7px 10px;
        font-size: 0.82rem;
        line-height: 1;
        white-space: nowrap;
    }

    body.landing-ebook .hero {
        position: relative;
        padding: 34px 0 34px;
        background:
            linear-gradient(120deg, rgba(9, 28, 23, 0.92), rgba(23, 63, 53, 0.9)),
            radial-gradient(circle at 78% 18%, rgba(197, 155, 74, 0.22), transparent 32%),
            linear-gradient(120deg, var(--green), var(--green-light));
    }

    body.landing-ebook .hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        min-width: 0;
    }

    body.landing-ebook .hero-copy {
        max-width: 100%;
        min-width: 0;
    }

    body.landing-ebook .hero .eyebrow {
        font-size: 0.72rem;
        margin-bottom: 8px;
    }

    body.landing-ebook .hero h1 {
        max-width: 100%;
        margin-bottom: 10px;
        font-size: clamp(2rem, 10vw, 2.7rem);
        line-height: 1.04;
    }

    body.landing-ebook .subtitle {
        max-width: 100%;
        font-size: clamp(1.05rem, 5.2vw, 1.35rem);
        font-weight: 800;
        line-height: 1.25;
        color: rgba(255, 255, 255, 0.94);
    }

    body.landing-ebook .hero-actions-primary {
        align-items: stretch;
        gap: 8px;
        margin-top: 16px;
    }

    body.landing-ebook .hero-actions-primary .btn-primary {
        width: 100%;
        max-width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        font-size: clamp(0.82rem, 3.7vw, 0.98rem);
        line-height: 1.15;
        white-space: nowrap;
    }

    body.landing-ebook .hero-actions-primary .text-link {
        min-height: 34px;
        font-size: 0.9rem;
    }

    body.landing-ebook .hero-pain {
        margin-top: 16px;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    body.landing-ebook .price-line {
        margin-top: 16px;
        padding: 12px 14px;
    }

    body.landing-ebook .price-line strong {
        font-size: 1.35rem;
    }

    body.landing-ebook .price-line span {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    body.landing-ebook .trust-list {
        display: none;
    }

    body.landing-ebook .cover-panel {
        max-width: 270px;
        margin: 2px auto 0;
        padding: 12px;
        background: rgba(255, 250, 242, 0.08);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
    }

    body.landing-ebook .cover-panel img {
        max-width: 190px;
        max-height: 270px;
        border-radius: 6px;
    }

    body.landing-ebook .cover-meta {
        display: none;
    }
}

@media (max-width: 390px) {
    body.landing-ebook .site-header .brand span {
        font-size: 0.86rem;
    }

    body.landing-ebook .site-header .btn-small .label-mobile {
    display: none;
}

.btn-small {
        padding: 7px 8px;
        font-size: 0.78rem;
    }

    body.landing-ebook .hero-actions-primary .btn-primary {
        padding-inline: 9px;
        font-size: 0.78rem;
    }
}
/* Mobile landing verticale - HPEL */
@media (max-width: 768px) {
    body.landing-ebook {
        min-width: 0;
        overflow-x: hidden;
        font-size: 16px;
    }

    body.landing-ebook * {
        max-width: 100%;
    }

    body.landing-ebook .container,
    body.landing-ebook .narrow {
        width: min(100% - 24px, 1120px);
        max-width: 100%;
    }

    body.landing-ebook .section {
        padding: 44px 0;
    }

    body.landing-ebook .hero {
        min-height: auto;
        padding: 30px 0 36px;
    }

    body.landing-ebook .hero-grid,
    body.landing-ebook .split,
    body.landing-ebook .benefits,
    body.landing-ebook .content-grid,
    body.landing-ebook .testimonial-grid,
    body.landing-ebook .card-grid,
    body.landing-ebook .card-grid.three,
    body.landing-ebook .library-ebook-section {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: stretch;
    }

    body.landing-ebook .hero-copy {
        order: 1;
        width: 100%;
    }

    body.landing-ebook .cover-panel {
        order: 2;
        justify-self: center;
        width: min(100%, 270px);
        max-width: 270px;
        margin: 6px auto 0;
    }

    body.landing-ebook .cover-panel img {
        width: min(100%, 190px);
        max-width: 190px;
        max-height: 270px;
        margin-inline: auto;
    }

    body.landing-ebook .hero h1 {
        font-size: clamp(2.05rem, 10vw, 2.75rem);
        line-height: 1.06;
        margin-bottom: 10px;
    }

    body.landing-ebook h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
        line-height: 1.18;
    }

    body.landing-ebook h3 {
        font-size: 1.15rem;
        line-height: 1.25;
    }

    body.landing-ebook p,
    body.landing-ebook li,
    body.landing-ebook details,
    body.landing-ebook blockquote,
    body.landing-ebook .subtitle,
    body.landing-ebook .hero-pain,
    body.landing-ebook .price-line span,
    body.landing-ebook .secure {
        font-size: 1rem;
        line-height: 1.58;
    }

    body.landing-ebook .subtitle {
        font-size: clamp(1.12rem, 5.4vw, 1.42rem);
        line-height: 1.25;
    }

    body.landing-ebook .benefits article,
    body.landing-ebook .content-grid article,
    body.landing-ebook .testimonial-grid figure,
    body.landing-ebook .offer-box,
    body.landing-ebook .reassurance-list > div,
    body.landing-ebook .faq details,
    body.landing-ebook .card,
    body.landing-ebook .notice {
        padding: 20px;
    }

    body.landing-ebook .actions,
    body.landing-ebook .hero-actions-primary {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    body.landing-ebook .btn,
    body.landing-ebook .text-link {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    body.landing-ebook .hero-actions-primary .btn-primary {
        min-height: 48px;
        padding: 11px 10px;
        font-size: clamp(0.8rem, 3.45vw, 0.96rem);
        line-height: 1.15;
        white-space: nowrap;
    }

    body.landing-ebook .price-line {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body.landing-ebook .price-line strong {
        white-space: nowrap;
    }

    body.landing-ebook .trust-list,
    body.landing-ebook .cover-meta {
        display: none;
    }
}

@media (max-width: 430px) {
    body.landing-ebook .hero-actions-primary .btn-primary {
        font-size: 0.82rem;
        letter-spacing: 0;
        padding-inline: 8px;
    }
}

@media (max-width: 390px) {
    body.landing-ebook .hero-actions-primary .btn-primary {
        font-size: 0.76rem;
    }
}

@media (max-width: 360px) {
    body.landing-ebook .hero-actions-primary .btn-primary {
        font-size: 0.72rem;
        padding-inline: 6px;
    }
}
