/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c2c2c;
    background-color: #fdf4f3;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* === Button Reset === */
button.landCfg {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

/* === Layout === */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #962D22, #C0392B, #E74C3C);
    color: #fff;
    padding: 5rem 0 4rem;
    text-align: center;
    margin-left: 220px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.hero .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 580px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.hero-buttons {
    display: none;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.hero-cta {
    width: auto;
    max-width: fit-content;
    padding: 1rem 1.8rem;
    background: #fff !important;
    color: #C0392B !important;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
}

.hero-cta:hover {
    background: #fce8e6 !important;
    color: #962D22 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* === Bottom Bar (sticky CTA) === */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 220px;
    right: 0;
    z-index: 999;
    background: linear-gradient(135deg, #962D22, #C0392B);
    padding: 0.7rem 1rem;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.bottom-bar.visible {
    transform: translateY(0);
}

.bottom-bar .bottom-bar-cta {
    margin-top: 0 !important;
    text-align: center;
    flex: 1;
    max-width: 280px;
    background: #fff !important;
    color: #C0392B !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-bar .bottom-bar-cta:hover {
    background: #fce8e6 !important;
    color: #962D22 !important;
}

/* === Sidebar === */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    padding: 2rem 1.2rem;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.sidebar-inner {
    flex: 1;
    overflow: hidden;
}

.sidebar-logo-link {
    display: block;
    margin: -2rem -1.2rem 1rem;
    padding: 1rem;
    background: #fff;
    text-align: center;
    text-decoration: none;
    flex-shrink: 0;
}

.sidebar-logo {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto;
}

.sidebar-inner h2 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 1rem;
}

.sidebar-inner ul {
    list-style: none;
    padding: 0;
}

.sidebar-inner li {
    margin-bottom: 0.2rem;
}

.sidebar-inner a {
    display: block;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sidebar-inner a:hover {
    background: #fce8e6;
    color: #C0392B;
}

.sidebar-inner a.active {
    border-left-color: #C0392B;
    color: #C0392B;
    background: #fce8e6;
    font-weight: 700;
}

.sidebar-cta {
    display: block;
    margin-top: 1rem;
    flex-shrink: 0;
    padding: 0.7rem 1rem;
    background: linear-gradient(135deg, #962D22, #C0392B);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50px;
    position: relative;
    overflow: visible;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 10px rgba(192, 57, 43, 0.3);
}

.sidebar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.45);
}

.sidebar-cta::before,
.sidebar-cta::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.sidebar-cta::before {
    background: #E74C3C;
    box-shadow:
        -18px -12px 0 0 #E74C3C,
         20px -8px 0 -1px #C0392B,
        -14px  14px 0 -1px #F2BDB9,
         22px  10px 0 0 #E74C3C,
        -8px  -18px 0 -1px #C0392B,
         12px  16px 0 -1px #F2BDB9;
    animation: sparkleA 2.8s ease-in-out infinite;
}

.sidebar-cta::after {
    background: #C0392B;
    box-shadow:
         16px -14px 0 -1px #F2BDB9,
        -20px  8px 0 0 #E74C3C,
         10px  18px 0 -1px #C0392B,
        -16px -16px 0 0 #F2BDB9,
         24px  4px 0 -1px #E74C3C,
        -6px   20px 0 0 #C0392B;
    animation: sparkleB 2.8s ease-in-out infinite;
    animation-delay: 1.4s;
}

@keyframes sparkleA {
    0% { opacity: 0; transform: scale(0) translate(0, 0); }
    15% { opacity: 1; transform: scale(1) translate(0, 0); }
    40% { opacity: 1; transform: scale(1) translate(-3px, -5px); }
    60% { opacity: 0.6; transform: scale(0.6) translate(-5px, -8px); }
    80%, 100% { opacity: 0; transform: scale(0) translate(-8px, -12px); }
}

@keyframes sparkleB {
    0% { opacity: 0; transform: scale(0) translate(0, 0); }
    15% { opacity: 1; transform: scale(1) translate(0, 0); }
    40% { opacity: 1; transform: scale(1) translate(3px, 5px); }
    60% { opacity: 0.6; transform: scale(0.6) translate(5px, 8px); }
    80%, 100% { opacity: 0; transform: scale(0) translate(8px, 12px); }
}

main {
    margin-left: 220px;
}

/* === Breadcrumb === */
.breadcrumb {
    padding: 0.7rem 0;
    background: #fce8e6;
    margin-left: 220px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.breadcrumb a {
    color: #C0392B;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.breadcrumb a:hover {
    color: #962D22;
}

.breadcrumb-sep {
    color: #ccc;
}

.breadcrumb-current {
    color: #777;
}

/* === Content blocks === */
.section-text {
    padding: 1.5rem 0;
}

.section-text .container {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.section-text .container > h2 {
    background: linear-gradient(135deg, #962D22, #C0392B);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    padding: 1.1rem 2rem;
    margin: 0;
}

.section-text .container > p,
.section-text .container > ul,
.section-text .container > .cards-grid {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.section-text .container > p:first-of-type,
.section-text .container > h2 + ul {
    padding-top: 2rem;
}

.section-text .container > p:last-of-type,
.section-text .container > ul:last-of-type {
    padding-bottom: 2rem;
}

.section-text p {
    color: #444;
    margin-bottom: 1rem;
}

.section-text p:last-child {
    margin-bottom: 0;
}

.section-text ul {
    color: #444;
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
    padding-left: 0;
}

.section-text li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* === Intro === */
.section-intro {
    padding: 3.5rem 0 2rem;
}

.section-intro .container {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.section-intro .offer-logo {
    flex-shrink: 0;
    width: 120px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    order: 2;
}

.section-intro p {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
    order: 1;
    flex: 1;
}

/* === Offer Grid (homepage) === */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem 2.5rem;
}

.offer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fdf4f3;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: #5C1A14;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 2px solid transparent;
}

.offer-card:hover {
    background: #fce8e6;
    border-color: #C0392B;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.15);
}

.offer-card-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.6rem;
    border-radius: 10px;
}

.offer-rating {
    display: inline-block;
    background: linear-gradient(135deg, #C0392B, #E74C3C);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
}

.offer-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #C0392B;
    margin-bottom: 0.3rem;
}

.offer-desc {
    display: block;
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
}

/* === Internal Links === */
.section-text a,
.section-faq a,
.section-verdict a,
.section-intro a {
    color: #C0392B;
    background: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(192, 57, 43, 0.2);
    transition: background 0.15s ease, color 0.15s ease;
}

.section-text a:hover,
.section-faq a:hover,
.section-verdict a:hover,
.section-intro a:hover {
    background: #C0392B;
    color: #fff;
}

/* === Cards === */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.card {
    border-radius: 16px;
    padding: 2rem 1.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-align: center;
}

.card p {
    font-size: 0.92rem;
    line-height: 1.65;
}

.card--rose {
    background: #fce8e6;
    color: #5C1A14;
}
.card--rose h3 { color: #C0392B; }

.card--blue {
    background: #fdf0ee;
    color: #5C1A14;
}
.card--blue h3 { color: #962D22; }

.card--green {
    background: #fbe3e0;
    color: #5C1A14;
}
.card--green h3 { color: #E74C3C; }

.card--orange {
    background: #fce8e6;
    color: #5C1A14;
}
.card--orange h3 { color: #D4554A; }

.cards-grid--inner {
    margin: 1.5rem 0;
}

/* === Presentation grid (text + image) === */
.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem 2.5rem;
    align-items: center;
}

.presentation-text {
    text-align: center;
}

.presentation-text p {
    margin: 0 0 1.2rem;
    text-align: left;
}

.presentation-image {
    text-align: center;
}

.presentation-image img {
    width: 75%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* === Summary highlights === */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2rem 2.5rem;
}

.highlight-card {
    background: #fce8e6;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.highlight-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #C0392B;
    margin-bottom: 0.3rem;
}

.highlight-label {
    display: block;
    font-size: 0.82rem;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === FAQ === */
.section-faq {
    padding: 2rem 0 3rem;
}

.section-faq .container {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.section-faq h2 {
    background: linear-gradient(135deg, #962D22, #C0392B);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    padding: 1.1rem 2rem;
    margin: 0;
}

.section-faq .faq-item:first-of-type {
    margin-top: 1.5rem;
}

.section-faq .faq-item {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.section-faq .faq-item:last-of-type {
    margin-bottom: 1.5rem;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.8rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #C0392B;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #555;
    font-size: 0.92rem;
}

/* === Verdict === */
.section-verdict {
    background: linear-gradient(135deg, #962D22, #C0392B, #E74C3C);
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.verdict-content {
    max-width: 680px;
    margin: 0 auto;
}

.section-verdict h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.section-verdict p {
    max-width: 620px;
    margin: 0 auto 2rem;
    opacity: 0.93;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* === Mobile Bar & Menu (hidden on desktop) === */
.mobile-bar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 0 1rem;
    height: 52px;
    align-items: center;
    justify-content: space-between;
}

.mobile-bar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #C0392B;
    font-weight: 700;
    font-size: 1rem;
}

.mobile-bar-logo img {
    width: 28px;
    height: 28px;
}

.mobile-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #C0392B;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.mobile-burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-burger.open span:nth-child(2) {
    opacity: 0;
}

.mobile-burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}

/* === Footer === */
footer {
    padding: 2.5rem 0 5rem;
    text-align: center;
    margin-left: 220px;
}

footer p {
    font-size: 0.78rem;
    color: #bbb;
}

/* === Responsive === */
@media (max-width: 900px) {
    .sidebar {
        display: none;
    }

    main,
    .hero,
    footer,
    .breadcrumb {
        margin-left: 0;
    }

    .bottom-bar {
        left: 0;
    }

    .mobile-bar {
        display: flex;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        padding: 0.5rem 1rem 1rem;
        gap: 0.15rem;
        max-height: 70vh;
        overflow-y: auto;
    }

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        display: block;
        padding: 0.55rem 0.8rem;
        font-size: 0.9rem;
        color: #555;
        text-decoration: none;
        border-radius: 8px;
        border-left: 3px solid transparent;
        transition: background 0.15s, color 0.15s;
    }

    .mobile-menu a:hover,
    .mobile-menu a.active {
        background: #fce8e6;
        color: #C0392B;
        border-left-color: #C0392B;
    }
}

@media (max-width: 700px) {
    html {
        font-size: 15px;
    }

    main {
        padding: 0 1rem;
    }

    .hero {
        padding: 3.5rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .offer-grid {
        grid-template-columns: 1fr 1fr;
        padding: 1.5rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .presentation-grid {
        grid-template-columns: 1fr;
    }

    .section-intro .container {
        flex-direction: column;
        text-align: center;
    }

    .section-intro .offer-logo {
        order: 0;
        width: 100px;
    }

    .section-intro p {
        order: 1;
    }

    .hero-buttons {
        display: flex;
    }

    footer {
        padding-bottom: 5rem;
    }
}

/* === Prelinker Form === */
.ptprelinker-register-form {
    /****** En tête gold / iron / silver ******/
    --ptprelinker-css-bg-primary-register-gold: #962D22 !important;
    --ptprelinker-css-ft-primary-register-gold: #fff !important;

    /****** Bouton ******/
    --ptprelinker-css-bg-success: #C0392B !important;
    --ptprelinker-css-border-success: #C0392B !important;
    --ptprelinker-css-border-hover-success: #E74C3C !important;
    --ptprelinker-css-hover-success: #E74C3C !important;
    --ptprelinker-css-ft-success: #fff !important;

    /****** Content ******/
    --ptprelinker-css-bg-body: #fdf4f3 !important;
    --ptprelinker-css-middle: #2c2c2c;

    /****** Icon ******/
    --ptprelinker-css-bg-icon-register-gold: #fce8e6 !important;
    --ptprelinker-css-color-icon-register-gold: #C0392B !important;

    /****** Input ******/
    --ptprelinker-css-bg-input: #fff !important;
    --ptprelinker-css-ft-placeholder: #999 !important;
}
