:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #d9e2ef;
    --focus: #2563eb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.card {
    width: 100%;
    max-width: 780px;
    background: var(--card);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.badge {
    display: inline-block;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: bold;
    font-size: 13px;
}

h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.intro {
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 24px;
}

.field {
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

select,
input[type="search"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    outline: none;
}

select:focus,
input[type="search"]:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

select:disabled,
input:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
}

small {
    display: block;
    color: var(--muted);
    margin-top: 7px;
    line-height: 1.4;
}

.result {
    margin-top: 20px;
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed var(--line);
    color: #334155;
    font-weight: bold;
}

.credit {
    color: var(--muted);
    font-size: 12px;
    margin: 22px 0 0;
    text-align: center;
}


/* Bloc page de vente */
.sales-block {
    margin: 26px 0 28px;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid #dbeafe;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e0ecff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.88rem;
}

.sales-block h2 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    line-height: 1.15;
    color: #0f172a;
}

.sales-lead {
    margin: 0 0 20px;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.sales-item {
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.sales-item strong {
    display: block;
    margin-bottom: 7px;
    color: #111827;
    font-size: 1rem;
}

.sales-item span {
    display: block;
    color: #64748b;
    line-height: 1.55;
    font-size: 0.93rem;
}

.offer-box {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
}

.offer-box h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.offer-box p {
    margin: 0;
    line-height: 1.65;
    color: #dbeafe;
}

@media (max-width: 700px) {
    .sales-grid {
        grid-template-columns: 1fr;
    }

    .sales-block {
        padding: 18px;
    }
}


/* Prix et bouton achat */
.price-box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.price-label {
    display: block;
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 5px;
}

.price {
    display: block;
    font-size: 2.4rem;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 8px;
}

.price-box p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}

.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #16a34a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(22, 163, 74, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.buy-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(22, 163, 74, 0.32);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 12px;
    background: #e5e7eb;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.achat-card {
    max-width: 760px;
}

.achat-price {
    margin: 20px 0;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
}

.achat-price span {
    display: block;
    color: #15803d;
    font-weight: 700;
    margin-bottom: 6px;
}

.achat-price strong {
    display: block;
    color: #14532d;
    font-size: 3rem;
    line-height: 1;
}

.achat-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.small-note {
    margin-top: 22px;
    padding: 14px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    line-height: 1.6;
    font-size: 0.92rem;
}

@media (max-width: 700px) {
    .price-box {
        flex-direction: column;
        align-items: stretch;
    }

    .buy-button {
        width: 100%;
    }
}


/* Contacts achat */
.contact-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #475569;
    font-size: 0.95rem;
    margin: 8px 0 12px;
}

.contact-lines a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.contact-card {
    margin: 20px 0;
    padding: 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.contact-card h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #0f172a;
}

.contact-card p {
    margin: 7px 0;
    color: #475569;
}

.contact-card a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}


/* Liste du contenu livré */
.included-list {
    margin: 14px 0 16px;
    padding-left: 0;
    list-style: none;
}

.included-list li {
    position: relative;
    margin: 9px 0;
    padding-left: 28px;
    line-height: 1.55;
    color: #dbeafe;
}

.included-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    color: #86efac;
}

.included-list strong {
    color: #ffffff;
}

.dark-text li {
    color: #475569;
}

.dark-text strong {
    color: #0f172a;
}

.deliverables-card {
    margin: 20px 0;
    padding: 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.deliverables-card h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #0f172a;
}


.sales-summary {
    margin: 18px 0;
    padding: 16px;
    border-radius: 14px;
    background: #eff6ff;
    color: #1e3a8a;
    line-height: 1.65;
    font-weight: 600;
}


/* Amélioration responsive complète */
.main-cta {
    margin-top: 22px;
}

@media (max-width: 900px) {
    .container {
        align-items: flex-start;
        padding: 20px;
    }

    .card,
    .achat-card {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 12px;
    }

    .card {
        padding: 18px;
        border-radius: 14px;
    }

    h1 {
        font-size: 28px;
    }

    .intro {
        margin-bottom: 18px;
    }

    .sales-block {
        margin: 18px 0 22px;
        padding: 16px;
        border-radius: 14px;
    }

    .sales-block h2 {
        font-size: 1.45rem;
    }

    .sales-lead,
    .offer-box p,
    .price-box p {
        font-size: 0.95rem;
    }

    .offer-box {
        padding: 16px;
    }

    select,
    input[type="search"] {
        font-size: 15px;
        padding: 12px;
    }

    .price-box {
        padding: 16px;
        border-radius: 14px;
    }

    .price {
        font-size: 2.2rem;
    }

    .contact-lines {
        font-size: 0.92rem;
        word-break: break-word;
    }

    .achat-actions a,
    .secondary-button {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .card {
        padding: 14px;
    }

    .badge,
    .eyebrow {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 24px;
    }

    .sales-block h2 {
        font-size: 1.25rem;
    }
}


/* Prix placé en bas */
.bottom-price {
    margin-top: 0 !important;
    padding: 24px;
    border: 2px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.bottom-price .buy-button {
    white-space: nowrap;
}


/* Espacement avant le prix */
form {
    margin-bottom: 18px;
}


/* Grand espace propre avant le bloc prix */
.spacer-before-price {
    height: 75px;
}

/* Correction affichage du prix en bas */
.bottom-price {
    margin-top: 0 !important;
    padding: 24px;
    border: 2px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.bottom-price .price-label {
    display: block;
}

.bottom-price .price {
    display: block;
    font-size: 2.8rem;
    margin-top: 4px;
    margin-bottom: 12px;
}

.bottom-price .contact-lines {
    margin-top: 14px;
}

@media (max-width: 600px) {
    .spacer-before-price {
        height: 50px;
    }

    .bottom-price {
        padding: 18px;
    }
}


@media (max-width: 600px) {
    .database-proof {
        padding: 12px;
        border-radius: 14px;
    }

    .database-proof-text h3 {
        font-size: 1.1rem;
    }

    .database-proof-text p {
        font-size: 0.92rem;
    }

    .database-proof img {
        border-radius: 10px;
    }
}


/* Capture preuve base de données */
.database-proof {
    margin: 28px 0 30px;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.proof-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.85rem;
}

.database-proof-text h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.2;
}

.database-proof-text p {
    margin: 0 0 18px;
    color: #475569;
    line-height: 1.75;
    font-size: 1rem;
}

.database-proof-text strong {
    color: #111827;
}

.database-proof-image {
    padding: 10px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.database-proof img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

@media (max-width: 700px) {
    .database-proof {
        padding: 16px;
        border-radius: 14px;
    }

    .proof-badge {
        font-size: 0.8rem;
    }

    .database-proof-text h3 {
        font-size: 1.22rem;
    }

    .database-proof-text p {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .database-proof-image {
        padding: 8px;
    }
}


/* Capture plus lisible */
.proof-note {
    margin: 0 0 12px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.proof-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #d1d5db;
}

.proof-scroll img {
    display: block;
    width: 1800px;
    max-width: none;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
}

@media (max-width: 700px) {
    .proof-note {
        font-size: 0.9rem;
    }
    .proof-scroll {
        padding: 8px;
    }
    .proof-scroll img {
        width: 1300px;
    }
}


/* Réduction légère de la capture - variante préférée */
.proof-scroll img {
    width: 1500px !important;
}

@media (max-width: 700px) {
    .proof-scroll img {
        width: 1100px !important;
    }
}


/* Masquage de la note de capture */
.proof-note:empty { display: none; }


/* Prix officiel + offre de lancement */
.old-price {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-weight: 700;
    text-decoration: line-through;
    font-size: 1rem;
}

.price {
    display: block;
    color: #16a34a;
    line-height: 1.2;
}

.achat-price .old-price {
    text-decoration: line-through;
    color: #64748b;
    margin-bottom: 8px;
}

.achat-price strong {
    color: #16a34a;
}
