/* Pricing popup: reuse the homepage's existing block 7 presentation.
 * Source: landing-845e6957cb3a5202fe0c9ef9.css, ap7-tarifs-style, 2026-12-03.
 * The native section is moved by showOffers(); no copy, renderer or price changes.
 * Keep its existing translated dialog label available to assistive technology.
 */
#ap1-offers-dialog .ap1-offers-body {
    background: #0b1020;
    color: #f4f8ff;
    scrollbar-color: #537a96 #0b1020;
}
#ap1-offers-dialog .ap1-offers-head {
    position: absolute;
    inset: 16px 16px auto auto;
    z-index: 3;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}
#ap1-offers-dialog .ap1-offers-head > div {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
#ap1-offers-dialog #offre.ap7-premium > .hero {
    display: block !important;
}

/* ap7-tarifs-style */
/* Block 7 presentation only. The original pricing engine and DOM IDs are retained. */
#ap1-offers-dialog #offre.ap7-premium{--ap7-ink:#f4f8ff;--ap7-muted:#afc4db;--ap7-blue:#38bdff;--ap7-ice:#a4d9ff;color:var(--ap7-ink);background:radial-gradient(ellipse at 48% -15%,#1b436b 0%,#101e34 34%,#0b1020 74%);font-family:Inter,Arial,sans-serif;position:relative;text-align:left;overflow:hidden;padding-bottom:24px!important}
#ap1-offers-dialog #offre.ap7-premium .wrap{width:min(1280px,calc(100% - 96px));max-width:1280px}
#ap1-offers-dialog #offre.ap7-premium .hero{background:transparent;overflow:visible;text-align:center}
#ap1-offers-dialog #offre.ap7-premium .hero::after{display:none}
#ap1-offers-dialog #offre.ap7-premium .hero .inside{display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;min-height:0;padding:72px 0 32px}
#ap1-offers-dialog #offre.ap7-premium .heroCopy{width:100%;max-width:900px;margin:auto;text-align:center}
#ap1-offers-dialog #offre.ap7-premium .ap7-eyebrow{display:inline-flex;align-items:center;gap:12px;color:#a4d9ff;font-size:11px;font-weight:700;letter-spacing:.19em;text-transform:uppercase;margin-bottom:18px}
#ap1-offers-dialog #offre.ap7-premium .ap7-eyebrow::before{content:'';width:30px;height:1px;background:#38bdff;box-shadow:0 0 12px #38bdff}
#ap1-offers-dialog #offre.ap7-premium .hero [data-ap-price-title]{font-size:clamp(35px,4.2vw,64px);line-height:1.04;letter-spacing:-.055em;font-weight:800;color:#f4f8ff;text-wrap:balance;margin:0}
#ap1-offers-dialog #offre.ap7-premium .hero [data-ap-price-title] em{color:#a4d9ff}
#ap1-offers-dialog #offre.ap7-premium .hero p{color:#bccde0;max-width:660px;margin:17px auto 0;font-size:16px;line-height:1.65}
#ap1-offers-dialog #offre.ap7-premium .price-team-nine{display:none}
#ap1-offers-dialog #offre.ap7-premium #ap-pricing-content{padding:10px 0 20px;display:flow-root}
#ap1-offers-dialog #offre.ap7-premium .section-lead{display:none}
#ap1-offers-dialog #offre.ap7-premium .periods{float:none;display:flex;justify-content:center;align-items:stretch;width:max-content;max-width:100%;margin:0 auto 13px;background:#0b1528;border:1px solid #2a435d;border-radius:12px;padding:4px;gap:5px}
#ap1-offers-dialog #offre.ap7-premium .periods button{color:#bccde0;background:transparent;padding:10px 18px;font-size:13px;font-weight:650;border-radius:9px;white-space:nowrap;box-shadow:none}
#ap1-offers-dialog #offre.ap7-premium .periods button[aria-pressed=true]{color:#051d2e;background:#a4d9ff;box-shadow:0 0 18px #38bdff30}
#ap1-offers-dialog #offre.ap7-premium .periods button span{color:#7fe9bd;font-size:11px;font-weight:650}
#ap1-offers-dialog #offre.ap7-premium .periods button[aria-pressed=true] span{color:#146844}
#ap1-offers-dialog #offre.ap7-premium .billing-terms{text-align:center;color:#a9bdd3;font-size:12px;margin:0 0 26px}
#ap1-offers-dialog #offre.ap7-premium .plans{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#ap1-offers-dialog #offre.ap7-premium .plan{position:relative;min-width:0;min-height:295px;padding:22px 18px 17px;border-radius:18px;border:1px solid #2a405a;background:linear-gradient(145deg,#142439,#101c2e);color:#f4f8ff;box-shadow:0 18px 42px #050b1630;transition:border-color .2s,transform .2s,box-shadow .2s,background .2s}
#ap1-offers-dialog #offre.ap7-premium .plan.is-chosen{border-color:#38bdff;background:linear-gradient(150deg,#18364f,#13253c 65%);box-shadow:0 0 0 1px #38bdff66,0 12px 40px #38bdff13}
#ap1-offers-dialog #offre.ap7-premium .plan.is-chosen::before{content:'';position:absolute;top:-1px;left:15%;right:15%;height:2px;background:linear-gradient(90deg,transparent,#a4d9ff,transparent);filter:drop-shadow(0 0 5px #38bdff)}
#ap1-offers-dialog #offre.ap7-premium .plan h3{margin:0 0 16px;color:#f4f8ff;font-size:18px;line-height:1.3;letter-spacing:-.025em}
#ap1-offers-dialog #offre.ap7-premium .plan-pick input{accent-color:#38bdff}
#ap1-offers-dialog #offre.ap7-premium .plan-reco{background:#173f4c;color:#a0f1d0;font-size:10px;white-space:nowrap}
#ap1-offers-dialog #offre.ap7-premium .plan .price strong{color:#f5f9ff;font-size:clamp(27px,2.4vw,39px);line-height:1.1;letter-spacing:-.06em;overflow-wrap:anywhere}
#ap1-offers-dialog #offre.ap7-premium .plan .price small,#ap1-offers-dialog #offre.ap7-premium .invoice{color:#9fb6cf;font-size:11px;line-height:1.4}
#ap1-offers-dialog #offre.ap7-premium .plan ul{border-color:#2a405a;color:#c5d5e7;padding:15px 0 0;margin:0 0 18px;font-size:13px;line-height:1.55}
#ap1-offers-dialog #offre.ap7-premium .plan li{display:flex;gap:7px;align-items:flex-start;margin:7px 0}
#ap1-offers-dialog #offre.ap7-premium .plan li::before{content:'\2713';color:#8debc0;font-weight:750;flex:none}
#ap1-offers-dialog #offre.ap7-premium .plan button.plan-button{background:transparent;color:#a4d9ff;border:1px solid #34516d;min-height:35px;font-size:12px}
#ap1-offers-dialog #offre.ap7-premium button.ap-basket-add{background:#1b344c!important;color:#dceeff!important;border:1px solid #385a74!important;box-shadow:none!important;border-radius:9px!important;min-height:42px;font-size:12px;line-height:1.3}
#ap1-offers-dialog #offre.ap7-premium .plan.is-chosen button.ap-basket-add{background:linear-gradient(110deg,#a4d9ff,#38bdff)!important;color:#082338!important;border-color:#76d3ff!important}
#ap1-offers-dialog #offre.ap7-premium .ap-basket-status{color:#8debc0}#ap1-offers-dialog #offre.ap7-premium .ap-basket-status a{color:#a4d9ff}#ap1-offers-dialog #offre.ap7-premium .ap-basket-status.has-error{color:#ffb991}
#ap1-offers-dialog #offre.ap7-premium .config-entry{margin-top:20px;padding:22px 25px;border:1px solid #2a405a;border-radius:16px;background:linear-gradient(110deg,#12243b,#16334c);display:flex;align-items:center;justify-content:space-between;gap:20px}
#ap1-offers-dialog #offre.ap7-premium .config-entry h3{color:#f4f8ff;font-size:23px;margin:0 0 4px;letter-spacing:-.035em}
#ap1-offers-dialog #offre.ap7-premium .config-entry p{color:#b1c7dc;font-size:13px;margin:0}
#ap1-offers-dialog #offre.ap7-premium .config-entry button{border:1px solid #5cc5ff;background:#a4d9ff;color:#092539;font-weight:750;border-radius:10px;padding:12px 16px;font-size:13px;white-space:normal}
#ap1-offers-dialog #offre.ap7-premium .config-panel{background:#101d31;color:#f4f8ff;border-color:#2c4660;border-radius:16px;padding:25px}
#ap1-offers-dialog #offre.ap7-premium .config-panel h3{color:#f4f8ff}
#ap1-offers-dialog #offre.ap7-premium .gauge,#ap1-offers-dialog #offre.ap7-premium .quote{background:#13263c;border-color:#314a65;color:#f4f8ff}
#ap1-offers-dialog #offre.ap7-premium .gauge input[type=number]{background:#0d192b;color:#eaf5ff;border-color:#39536d;border-radius:8px}
#ap1-offers-dialog #offre.ap7-premium .gauge input[type=range]{accent-color:#38bdff}
#ap1-offers-dialog #offre.ap7-premium .quote{background:linear-gradient(135deg,#183b50,#142c40)}
#ap1-offers-dialog #offre.ap7-premium .quote .price strong{color:#8debc0;font-size:32px}
#ap1-offers-dialog #offre.ap7-premium .quote p,#ap1-offers-dialog #offre.ap7-premium .quote small,#ap1-offers-dialog #offre.ap7-premium .config-panel small,#ap1-offers-dialog #offre.ap7-premium .gauge small{color:#bbd1e5}
#ap1-offers-dialog #offre.ap7-premium .ap-basket-custom{border-color:#2f4861}
#ap1-offers-dialog #offre.ap7-premium .ap-basket-terms legend{color:#b5cbe0}
#ap1-offers-dialog #offre.ap7-premium .ap-basket-terms button{background:#13263c;color:#c5d8ed;border-color:#38536c}
#ap1-offers-dialog #offre.ap7-premium .ap-basket-terms button[aria-pressed=true]{background:#a4d9ff;color:#10243a;border-color:#a4d9ff}
#ap1-offers-dialog #offre.ap7-premium .ap7-cta{margin:0 auto 20px;padding:26px 0 22px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
#ap1-offers-dialog #offre.ap7-premium .ap7-start{display:inline-flex;align-items:center;gap:12px;padding:14px 28px;border:1px solid #a4d9ff;border-radius:11px;background:linear-gradient(110deg,#a4d9ff,#38bdff);color:#0a1e2b;text-decoration:none;font-size:15px;font-weight:800;box-shadow:0 10px 32px #38bdff22}
#ap1-offers-dialog #offre.ap7-premium .ap7-benefits{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;font-size:12px;color:#b9cbde;line-height:1.5}
#ap1-offers-dialog #offre.ap7-premium .ap7-benefits span::before{content:'\2713';color:#8debc0;font-weight:750;margin-right:6px}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator{--apr-ink:#f4f8ff;--apr-text:#b5c8de;--apr-line:#30475e;--apr-paper:#13243a;background:transparent;color:#f4f8ff}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-simulator{background:transparent;padding-block:28px 45px}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-wrap{width:min(1280px,calc(100% - 96px))}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-section-label{color:#a4d9ff}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator h2{color:#f4f8ff}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-sim-card{background:#101e31;border-color:#2b445e;box-shadow:none}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-value,#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-estimate-number{color:#a4d9ff}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-value span,#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-estimate-period,#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-estimate-note{color:#a9bfd5}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-estimate{border-color:#2d465f}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-recommendation{background:#17394a;color:#b7ebff;border-color:#365b70}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-text-button{color:#a4d9ff}
#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator input[type=range]{background:linear-gradient(to right,#2699d4 0%,#38bdff var(--apr-fill),#2c435a var(--apr-fill),#2c435a 100%)}
#ap1-offers-dialog #offre.ap7-premium .plan-dialog{width:min(460px,calc(100% - 32px));padding:25px;border:1px solid #3b5f7c;border-radius:18px;background:#14283e;color:#eef6ff;box-shadow:0 24px 80px #0008}
#ap1-offers-dialog #offre.ap7-premium .plan-dialog::backdrop{background:#020817b5;backdrop-filter:blur(8px)}
#ap1-offers-dialog #offre.ap7-premium .plan-dialog button{background:#a4d9ff;color:#10243a}
@media(hover:hover){#ap1-offers-dialog #offre.ap7-premium .plan:hover{background:#172d45;border-color:#537a96;transform:translateY(-3px)}#ap1-offers-dialog #offre.ap7-premium .plan.is-chosen:hover{border-color:#38bdff;box-shadow:0 0 0 1px #38bdff66,0 12px 40px #38bdff26}}
#ap1-offers-dialog #offre.ap7-premium .plan:focus-within{background:#192d45;outline:2px solid #a4d9ff;outline-offset:2px}
@media(max-width:1100px){#ap1-offers-dialog #offre.ap7-premium .wrap,#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-wrap{width:calc(100% - 48px)}#ap1-offers-dialog #offre.ap7-premium .plan{padding:19px 13px}}
@media(max-width:930px){#ap1-offers-dialog #offre.ap7-premium .plans{grid-template-columns:repeat(3,minmax(0,1fr))}#ap1-offers-dialog #offre.ap7-premium .config-grid{grid-template-columns:1fr 1fr}#ap1-offers-dialog #offre.ap7-premium .quote{grid-column:1/-1}}
@media(max-width:620px){#ap1-offers-dialog #offre.ap7-premium .wrap,#ap1-offers-dialog #offre.ap7-premium #ap-use-estimator .apr-wrap{width:calc(100% - 28px)}#ap1-offers-dialog #offre.ap7-premium .hero .inside{padding:44px 0 22px}#ap1-offers-dialog #offre.ap7-premium .hero p{font-size:14px}#ap1-offers-dialog #offre.ap7-premium .periods{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}#ap1-offers-dialog #offre.ap7-premium .periods button{white-space:normal;padding:9px 4px;font-size:12px}#ap1-offers-dialog #offre.ap7-premium .periods button span{display:block;font-size:10px}#ap1-offers-dialog #offre.ap7-premium .plans{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#ap1-offers-dialog #offre.ap7-premium .plan{min-height:272px;padding:16px 11px}#ap1-offers-dialog #offre.ap7-premium .plan h3{font-size:16px}#ap1-offers-dialog #offre.ap7-premium .plan .price strong{font-size:29px}#ap1-offers-dialog #offre.ap7-premium .plan ul{font-size:12px}#ap1-offers-dialog #offre.ap7-premium .plan:last-child{grid-column:1/-1;min-height:0}#ap1-offers-dialog #offre.ap7-premium .config-entry{align-items:stretch;flex-direction:column;padding:19px;gap:15px}#ap1-offers-dialog #offre.ap7-premium .config-panel{padding:15px}#ap1-offers-dialog #offre.ap7-premium .config-grid{grid-template-columns:1fr}#ap1-offers-dialog #offre.ap7-premium .quote{grid-column:auto}#ap1-offers-dialog #offre.ap7-premium .ap7-benefits{gap:7px 14px;font-size:11px}}
@media(prefers-reduced-motion:reduce){#ap1-offers-dialog #offre.ap7-premium .plan{transition:none;transform:none!important}}

/* Remove only the older popup-specific tab overrides. The same compact
 * controls and promotional badges remain in use on the homepage and here.
 */
#ap1-offers-dialog #offre.ap7-premium .periods button {
    display: block;
    min-height: 42px;
    border: 0;
    line-height: 1.25;
    text-align: center;
    transition: none;
}
#ap1-offers-dialog #offre.ap7-premium .periods button:hover {
    background: transparent;
}
#ap1-offers-dialog #offre.ap7-premium .periods button[aria-pressed=true]:hover {
    background: #a4d9ff;
}
#ap1-offers-dialog #offre.ap7-premium .periods button span,
#ap1-offers-dialog #offre.ap7-premium .periods button[aria-pressed=true] span {
    display: inline-block;
    max-width: none;
    margin: 0 0 0 4px;
    padding: 2px 6px;
    border: 1px solid #76bc95;
    border-radius: 6px;
    line-height: 1.25;
    white-space: nowrap;
}
#ap1-offers-dialog #offre.ap7-premium .periods button:focus-visible {
    outline: 3px solid #168cc7;
    outline-offset: 3px;
}
/* The public brand layer contains an older popup-only dark text override.
 * Correct it within that same layer, whose !important rules have priority.
 */
@layer autopilot-public-brand {
    #ap1-offers-dialog #offre.ap7-premium .plan:not(.is-chosen) button.plan-button {
        color: #a4d9ff !important;
        -webkit-text-fill-color: #a4d9ff !important;
    }
}
@media (max-width: 620px) {
    #ap1-offers-dialog .ap1-offers-head { inset: 12px 12px auto auto; }
    #ap1-offers-dialog #offre.ap7-premium .hero .inside { padding-top: 64px; }
    #ap1-offers-dialog #offre.ap7-premium .periods button span,
    #ap1-offers-dialog #offre.ap7-premium .periods button[aria-pressed=true] span {
        display: block;
        margin: 3px 0 0;
    }
}
