/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #1F4E79;
    --main-hover: #163a5a;
    --cta-color: #ff7a00;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #eef2f7);
}

/* ================= CONTAINER ================= */
.details-container {
    max-width: 1000px;
    margin: auto;
    padding: 30px 20px 50px;
}

/* ALIGNEMENT */
.details-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.details-content > * {
    margin-bottom: 30px;
    width: 100%;
    max-width: 500px;
}

/* ================= IMAGE ================= */
.details-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ================= TITLE ================= */
.details-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--cta-color);
}

/* ================= DESCRIPTION ================= */
.details-description {
    color: #555;
    font-size: 15px;
}

/* ================= BOX ================= */
.details-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.details-box:hover {
    transform: translateY(-5px);
}

/* ================= SECTION ================= */
.details-section {
    padding-top: 10px;
}

.details-section h2 {
    color: var(--main-color);
    margin-bottom: 15px;
    border-left: 5px solid var(--cta-color);
    padding-left: 10px;
    font-size: 18px;
}

/* ================= LIST ================= */
ul {
    padding-left: 20px;
    color: #444;
    line-height: 1.6;
}

ul li {
    margin-bottom: 8px;
}

.doc-list li {
    font-size: 14px;
    color: #374151;
}

/* ================= PROMO ================= */
.promo-box {
    background: #fff3e0;
    border-left: 5px solid var(--cta-color);
    padding: 18px;
    border-radius: 12px;
    font-size: 14px;
}

/* ================= PDF PREVIEW ================= */
.pdf-preview {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.pdf-preview h2 {
    color: var(--main-color);
    margin-bottom: 10px;
    font-size: 19px;
}

.preview-text {
    font-size: 14px;
    color: #555;
}

.pdf-img {
    width: 100%;
    border-radius: 15px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.pdf-img:hover {
    transform: scale(1.05);
}

/* ================= MODAL ================= */
.pdf-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    display: none;
    z-index: 9999;
}

.pdf-modal.active {
    display: flex;
}

.modal-container {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
}

.modal-header {
    height: 60px;
    padding: 0 20px;
    background: #1e3a5f;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.close-btn {
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 10px;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    background: #f1f5f9;
    padding: 40px 20px;
}

.pdf-page {
    max-width: 800px;
    margin: 0 auto 30px;
}

.pdf-page img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.lock-box {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    color: var(--cta-color);
    background: #fff7ed;
    border-radius: 12px;
}

/* ================= PAYMENT ================= */
.payment-card {
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ebook-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.ebook-img {
    width: 70px;
}

.price {
    font-size: 32px;
    color: var(--cta-color);
    font-weight: 700;
}

.trust {
    font-size: 13px;
    color: #16a34a;
}

.urgent {
    font-size: 13px;
    color: red;
    margin-bottom: 15px;
}

/* GRID */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}

/* PAY ITEM */
.pay-item {
    position: relative;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    padding: 15px;
    border-radius: 15px;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    text-align: center;
    transition: 0.3s;
}

.pay-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.pay-item span {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.pay-item:hover {
    border-color: var(--cta-color);
    transform: scale(1.03);
}

/* ACTIVE */
.pay-item.active {
    border-color: var(--cta-color);
    background: #fff7ed;
}

/* ================= RADIO VISUEL ================= */
.radio {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: white;
    transition: 0.3s;
}

.pay-item.active .radio {
    border-color: var(--cta-color);
}

.pay-item.active .radio::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--cta-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* ================= BUTTON ================= */
.pay-btn {
    display: block;
    background: linear-gradient(90deg, var(--cta-color), #ff9a3c);
    color: white;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.pay-btn:hover {
    transform: translateY(-2px);
}

/* ================= INFO ================= */
.info-box {
    background: #f1f5f9;
    border-radius: 15px;
    padding: 20px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .modal-body {
        padding: 20px 10px;
    }

    .details-content h1 {
        font-size: 24px;
    }
}





/* ================= WHATSAPP TESTIMONIAL SLIDER ================= */

.whatsapp-proof-section {
    background: linear-gradient(145deg, #ffffff, #f8fbff);
}

.proof-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* SLIDER */

.proof-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.proof-slider::-webkit-scrollbar {
    display: none;
}

.proof-track {
    display: flex;
    gap: 18px;
}

/* CARD */

.proof-card {
    flex: 0 0 85%;
    scroll-snap-align: center;

    background: white;
    border-radius: 22px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.3s;
}

.proof-card:hover {
    transform: translateY(-5px);
}

.proof-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* DESKTOP */

@media (min-width: 768px) {

    .proof-card {
        flex: 0 0 40%;
    }

}

/* ================= SLIDER ================= */

.proof-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.proof-slider::-webkit-scrollbar {
    display: none;
}

.proof-track {
    display: flex;
    gap: 18px;
}

.proof-card {
    flex: 0 0 85%;
    scroll-snap-align: center;

    overflow: hidden;
    border-radius: 22px;

    background: white;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    cursor: pointer;
}

.proof-card img {
    width: 100%;
    display: block;
}

/* DESKTOP */

@media (min-width: 768px) {

    .proof-card {
        flex: 0 0 40%;
    }

}

/* ================= DOTS ================= */

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #cbd5e1;

    transition: 0.3s;
}

.dot.active {
    width: 28px;
    border-radius: 20px;

    background: var(--cta-color);
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

/* ================= IMAGE VIEWER ================= */

.img-viewer {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.9);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 99999;

    padding: 20px;
}

.img-viewer.active {
    display: flex;
}

.img-viewer img {
    max-width: 100%;
    max-height: 90vh;

    border-radius: 15px;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 25px;

    font-size: 40px;
    color: white;

    cursor: pointer;
}


/* ================= TESTIMONIAL BUTTON ================= */

.testimonial-btn {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 25px;

    width: 100%;

    background: linear-gradient(90deg, #25D366, #1ebe5d);

    color: white;
    text-decoration: none;

    padding: 15px 20px;

    border-radius: 15px;

    font-weight: 600;
    font-size: 15px;

    transition: 0.3s;

    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.testimonial-btn:hover {
    transform: translateY(-3px);
}





/* ================= IMAGE VIEWER ================= */
.img-viewer{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.96);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
    overflow:hidden;
}

/* IMAGE */
#viewerImg{
    max-width:92%;
    max-height:92%;
    object-fit:contain;
    transition:transform .25s ease;
    cursor:grab;
    border-radius:12px;
    user-select:none;
}

/* CLOSE */
.close-viewer{
    position:absolute;
    top:20px;
    right:30px;
    color:white;
    font-size:55px;
    cursor:pointer;
    z-index:10;
}

/* ZOOM ICON */
.zoom-indicator{
    position:absolute;
    top:25px;
    left:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:28px;
}

/* CONTROLS */
.zoom-controls{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:15px;
    z-index:100;
}

.zoom-controls button{
    width:58px;
    height:58px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    color:white;
    font-size:28px;
    cursor:pointer;
    backdrop-filter:blur(10px);
    transition:.25s;
}

.zoom-controls button:hover{
    transform:scale(1.1);
    background:rgba(255,255,255,.25);
}



     /* ================= STEPS ================= */

        .steps-box{
            background:#f8fafc;
            border-radius:18px;
            padding:22px;
            margin-top:20px;
        }

        .steps-title{
            font-size:18px;
            font-weight:700;
            margin-bottom:20px;
            color:#111827;
        }

        .step{
            display:flex;
            align-items:flex-start;
            gap:15px;
            margin-bottom:20px;
        }

        .step:last-child{
            margin-bottom:0;
        }

        .step-number{
            min-width:42px;
            height:42px;
            border-radius:50%;
            background:linear-gradient(135deg,#ff7a00,#ff9a3c);
            color:white;
            display:flex;
            justify-content:center;
            align-items:center;
            font-weight:700;
            font-size:16px;
        }

        .step-text{
            font-size:15px;
            line-height:1.7;
            color:#475569;
        }

        .step-text strong{
            color:#111827;
        }



        .support-section{
    padding:20px 15px 70px;
}

.support-container{
    max-width:1200px;
    margin:auto;

    background:white;

    border-radius:28px;

    padding:45px 30px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.support-container h2{
    font-size:34px;
    color:#111827;

    margin-bottom:15px;
}

.support-container p{
    color:#64748b;

    line-height:1.8;

    max-width:700px;

    margin:0 auto 30px;
}

.support-btn{
    display:inline-flex;

    justify-content:center;
    align-items:center;

    background:linear-gradient(135deg,#111827,#1f2937);

    color:white;

    padding:18px 28px;

    border-radius:18px;

    font-weight:600;

    transition:.3s;

    box-shadow:0 12px 30px rgba(0,0,0,0.15);
    text-decoration:none;
}

.support-btn:hover{
    transform:translateY(-4px);
}

@media(max-width:600px){

    .support-container{
        padding:35px 20px;
    }

    .support-container h2{
        font-size:28px;
    }

}