﻿
/* ================================================================
   BLOC TRUST BOOSTER â€” Essai gratuit
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@700;800&display=swap');

.pm-free-order {
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #d1fae5;
    margin-bottom: 20px;
    box-shadow: 0 4px 24px rgba(5,150,105,.10);
}

/* Header vert */
.pmf-header {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 55%, #047857 100%);
    padding: 22px 22px 18px;
    position: relative;
    overflow: hidden;
}
.pmf-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}

.pmf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 3px 10px 3px 7px;
    font-size: 10.5px;
    font-weight: 700;
    color: #a7f3d0;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.pmf-badge-dot {
    width: 6px; height: 6px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 6px #34d399;
    animation: pmfPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes pmfPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.75); }
}

.pmf-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.pmf-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}
.pmf-price-block { text-align: right; flex-shrink: 0; }
.pmf-price-original {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    text-decoration: line-through;
    line-height: 1;
    margin-bottom: 2px;
}
.pmf-price-free {
    font-size: 28px;
    font-weight: 800;
    color: #6ee7b7;
    line-height: 1;
}
.pmf-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.5;
    margin: 0;
}
.pmf-urgency {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(251,191,36,.12);
    border: 1px solid rgba(251,191,36,.25);
    border-radius: 7px;
    padding: 7px 11px;
    margin-top: 12px;
    font-size: 12px;
    color: #fcd34d;
    font-weight: 600;
}

/* Trust pills */
.pmf-pills {
    display: flex;
    gap: 7px;
    padding: 13px 18px;
    background: #f8fafb;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}
.pmf-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 4px 11px;
    font-size: 11.5px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

/* Ã‰toiles + tÃ©lÃ©chargements */
.pmf-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 8px;
}
.pmf-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}
.pmf-star       { color: #f59e0b; font-size: 14px; line-height: 1; }
.pmf-star-half  { color: #fcd34d; }
.pmf-rating     { font-size: 13px; font-weight: 700; color: #111; }
.pmf-rating-count { font-size: 12px; color: #9ca3af; }
.pmf-downloads  { font-size: 12px; color: #6b7280; display: flex; align-items: center; gap: 5px; }
.pmf-downloads strong { color: #111; font-size: 13px; }

/* TÃ©moignage */
.pmf-testimonial {
    margin: 0;
    padding: 14px 18px;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
    position: relative;
}
.pmf-testi-text {
    font-size: 12.5px;
    color: #78350f;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 10px;
    padding-left: 4px;
}
.pmf-testi-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pmf-testi-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.pmf-testi-name { font-size: 12px; font-weight: 700; color: #92400e; }
.pmf-testi-role { font-size: 11px; color: #b45309; }

/* Mentions sÃ©curitÃ© */
.pmf-security-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 11px 18px;
    flex-wrap: wrap;
    background: #fff;
}
.pmf-sec-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

/* ================================================================
   RESET SCOPED â€” n'affecte que .tunnel-container
   ================================================================ */
.tunnel-container *,
.tunnel-container *::before,
.tunnel-container *::after { box-sizing: border-box; }

.tunnel-container {
    max-width: 1140px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #1a1a1a;
}

.co-title { margin: 0 0 18px; font-size: 20px; font-weight: 800; color: #111; }

/* Layout 2 colonnes */
.co-layout { display: flex; gap: 36px; align-items: flex-start; }
.co-left    { flex: 0 0 60%; min-width: 0; }
.co-right   { flex: 1; position: sticky; top: 24px; }

/* ================================================================
   ACCORDÃ‰ON â€” Cartes de paiement
   ================================================================ */
.pm-list { display: flex; flex-direction: column; }
.pm-card {
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 10px;
    overflow: visible;
    transition: border-color .18s, box-shadow .18s;
}
.pm-card.is-open {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

/* Header carte */
.pm-hd {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; min-height: 64px; cursor: pointer; user-select: none;
    background: #fff; border-radius: 10px; transition: background .12s; gap: 12px;
}
.pm-hd:hover { background: #fafafa; }
.pm-card.is-open .pm-hd { background: #f5f8ff; border-radius: 10px 10px 0 0; }
.pm-hd-l { flex: 1; min-width: 0; }
.pm-title { display: block; font-size: 15px; font-weight: 700; color: #111; }
.pm-hd-r  { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pm-logo  { display: block; height: 22px; width: auto; flex-shrink: 0; }

/* Chevron */
.pm-chevron {
    display: block; width: 9px; height: 9px;
    border-right: 2px solid #999; border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform .2s ease, border-color .15s;
    flex-shrink: 0; margin-left: 4px;
}
.pm-card.is-open .pm-hd .pm-chevron { transform: rotate(-135deg); border-color: #2563eb; }

/* Corps carte */
.pm-card .pm-bd,
.pm-card .payment_box {
    display: none !important;
    border-top: 1.5px solid #eee; background: #fff;
    padding: 20px 20px 24px; border-radius: 0 0 10px 10px;
}
.pm-card.is-open .pm-bd,
.pm-card.is-open .payment_box { display: block !important; }

.pm-soon {
    margin: 4px 0 0; padding: 14px 16px;
    background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px;
    color: #94a3b8; font-size: 13px; font-style: italic;
}

/* Reset WC dans les corps */
#pmc-cb-body #payment {
    background: transparent !important; border: none !important;
    padding: 0 !important; box-shadow: none !important;
    border-radius: 0 !important; margin: 0 !important;
}
.pm-card .pm-bd.payment_box::before,
.pm-card .pm-bd::before { display: none !important; }
.pm-card .form-row.place-order,
.pm-card .wc-proceed-to-checkout { display: none !important; }

/* Force affichage Apple Pay (le plugin peut masquer la li) */
#pmc-apple,
li#pmc-apple[style*="display:none"],
li#pmc-apple[style*="display: none"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

/* ================================================================
   CO-ACTIONS â€” CGV, RÃ©tractation, Bouton Commander
   ================================================================ */
.co-actions { margin-top: 22px; }

/* Case CGV */
.co-check-wrap {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: border-color .15s;
}

.co-check-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.co-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    line-height: 1.55;
    color: #374151;
    margin: 0;
}

.co-check-label a {
    color: #2563eb;
    text-decoration: underline;
    transition: color .15s;
}

.co-check-label a:hover { color: #1d4ed8; }

.co-check-label .required {
    color: #ef4444;
    font-weight: 700;
}

.co-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #2563eb;
    cursor: pointer;
}

/* Note lÃ©gale rÃ©tractation â€” dÃ©jÃ  stylÃ©e dans rgpd.css
   Override lÃ©ger pour cohÃ©rence avec le tunnel */
.tunnel-container .rgpd-retractation-note {
    margin-top: 10px;
    font-size: 0.81rem;
}

/* ================================================================
   BOUTON COMMANDER
   ================================================================ */
#place_order {
    display: block !important;
    width: 100% !important;
    margin-top: 14px !important;
    padding: 16px 24px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: background .18s, transform .1s !important;
    line-height: 1 !important;
    font-family: inherit !important;
}
#place_order:hover  { background: #1d4ed8 !important; }
#place_order:active { transform: scale(.99) !important; }
#place_order:focus-visible {
    outline: 3px solid #2563eb !important;
    outline-offset: 3px !important;
}

/* ================================================================
   RÃ‰CAPITULATIF
   ================================================================ */
.co-recap       { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 22px; }
.co-recap-title { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #111; }
.co-recap-row   {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid #f0f0f0;
    font-size: 14px; color: #374151; gap: 8px;
}
.co-recap-row:last-child { border-bottom: none; }
.co-recap-total { font-weight: 800; font-size: 15px; color: #111; padding-top: 12px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .co-layout   { flex-direction: column; }
    .co-left, .co-right { width: 100%; }
    .co-right    { order: -1; position: static; }
    .pm-hd       { min-height: 56px; padding: 0 16px; }
    .pm-bd       { padding: 16px 16px 20px; }
    .pm-title    { font-size: 14px; }
    .pm-logo     { height: 18px; }
    .tunnel-container { padding: 0 14px; margin: 20px auto; }
}

