/* CarteTunisie V32 — page publique de sélection des offres seulement.
   Les anciennes classes .offre-* ne sont pas modifiées pour préserver les autres pages. */
body:has(.ct32-offer) { margin: 0; background: #f6f3ff; }
body:has(.ct32-offer) .offre-main { padding: 0; max-width: none; width: 100%; }
.ct32-offer, .ct32-offer * { box-sizing: border-box; }
.ct32-offer {
    --ct32-ink:#111b43; --ct32-soft:#606b91; --ct32-purple:#7321e9;
    position: relative; isolation: isolate; min-height: 100dvh;
    color:var(--ct32-ink); background:
        radial-gradient(ellipse 78% 35% at 55% 12%, rgba(255,255,255,.94),transparent 90%),
        linear-gradient(150deg,#f7f8ff 0%,#f4efff 60%,#ede7ff 100%);
    padding: 20px max(16px, env(safe-area-inset-right)) 30px;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    overflow: hidden;
}
.ct32-offer:after { content:""; position:absolute; z-index:-1; bottom:-155px; left:-20%; right:-20%; height:235px; border-radius:50% 50% 0 0; background:linear-gradient(110deg,#dbc8ff,#f2e9ff 50%,#a975f5); pointer-events:none; }
.ct32-waves { position:absolute; z-index:-1; pointer-events:none; width:390px; height:290px; top:-178px; border-radius:0 0 60% 60%; background:linear-gradient(140deg,#7421e7,#a95bfc); opacity:.95; }
.ct32-waves-left { left:-175px; transform:rotate(-17deg); }
.ct32-waves-right { right:-180px; transform:rotate(18deg); background:linear-gradient(140deg,#5d18be,#9d45ef); }
.ct32-header,.ct32-heading,.ct32-tabs,.ct32-plan-viewport,.ct32-perks,.ct32-return { position:relative; max-width:1040px; margin-inline:auto; }
.ct32-header { display:grid; grid-template-columns:55px minmax(0,1fr) auto; align-items:center; gap:13px; min-height:68px; }
.ct32-back { display:grid; place-items:center; width:44px; height:44px; border-radius:15px; background:rgba(255,255,255,.85); color:#192657; box-shadow:0 6px 16px rgba(66,33,152,.08); text-decoration:none; }
.ct32-back:hover { color:#7625e9; }
.ct32-brand { display:flex; align-items:center; gap:12px; min-width:0; }
.ct32-brand img { width:53px; height:53px; object-fit:contain; background:#fff; border-radius:17px; box-shadow:0 8px 20px rgba(42,28,96,.09); }
.ct32-brand-text { display:flex; flex-direction:column; min-width:0; }
.ct32-brand-text strong { font-weight:900; font-size:clamp(20px,2.2vw,29px); letter-spacing:-1px; white-space:nowrap; line-height:1.1; }
.ct32-brand-text strong span { color:#169df1; }
.ct32-brand-text small { color:#556088; font-size:clamp(10px,1.15vw,13px); margin-top:4px; line-height:1.2; }
.ct32-language { display:flex; padding:4px; background:#fff; border-radius:999px; gap:3px; box-shadow:0 5px 18px rgba(94,52,144,.09); }
.ct32-language a { min-width:48px; padding:8px 13px; border-radius:999px; color:#152150; font-weight:800; text-align:center; font-size:14px; text-decoration:none; }
.ct32-language a.active { color:white; background:linear-gradient(135deg,#b22aff,#5714c7); box-shadow:0 4px 12px rgba(108,26,221,.22); }
.ct32-heading { text-align:center; margin-top:16px; margin-bottom:17px; }
.ct32-heading h1 { font-size:clamp(24px,3.1vw,38px); font-weight:900; line-height:1.16; letter-spacing:-.9px; margin:0 0 6px; }
.ct32-heading p { font-size:clamp(13px,1.5vw,17px); color:#5d668f; margin:0; line-height:1.4; }
.ct32-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:15px; }
.ct32-tab { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:3px; border:1px solid rgba(108,80,177,.09); background:rgba(255,255,255,.9); border-radius:20px; color:#171c50; min-height:92px; padding:11px 7px; box-shadow:0 9px 24px rgba(48,34,105,.09); cursor:pointer; font-family:inherit; transition:transform .2s,background .2s,box-shadow .2s; position:relative; }
.ct32-tab:hover { transform:translateY(-2px); }
.ct32-tab:focus-visible { outline:3px solid #ffb744; outline-offset:3px; }
.ct32-tab-icon { display:flex; color:#7626db; height:26px; align-items:center; }
.ct32-tab strong { font-size:clamp(12px,1.5vw,17px); font-weight:800; line-height:1.2; overflow-wrap:anywhere; text-align:center; }
.ct32-tab small { font-size:clamp(10px,1.1vw,13px); color:#697197; text-align:center; line-height:1.1; }
.ct32-tab-free:not(.is-active) { background:linear-gradient(135deg,#fcfffc,#e3ffef); }
.ct32-tab-free .ct32-tab-icon { color:#1cad58; }
.ct32-tab-standard.is-active { color:#fff; background:linear-gradient(145deg,#9251ff,#4411cb); border-color:transparent; box-shadow:0 10px 24px rgba(90,27,222,.26); }
.ct32-tab-pro.is-active { color:#fff; background:linear-gradient(145deg,#993cff,#5b14ca); border-color:transparent; box-shadow:0 10px 24px rgba(90,27,222,.24); }
.ct32-tab-free.is-active { background:linear-gradient(145deg,#19bd6a,#0c8f4a); color:#fff; border-color:transparent; }
.ct32-tab.is-active .ct32-tab-icon,.ct32-tab.is-active small { color:#fff; }
.ct32-tab.is-active:after { content:""; width:14px; height:14px; background:inherit; position:absolute; bottom:-6px; left:calc(50% - 7px); transform:rotate(45deg); z-index:-1; }
.ct32-plan-viewport { min-height:0; }
.ct32-panel { border:1px solid #c5b3ff; border-radius:24px; overflow:hidden; background:#fff; box-shadow:0 12px 28px rgba(94,60,170,.12); }
.ct32-panel[hidden] { display:none!important; }
.ct32-plan-head { display:flex; align-items:center; justify-content:space-between; gap:16px; color:#fff; min-height:107px; background:linear-gradient(120deg,#963eff,#4b189f); padding:19px 26px; }
.ct32-panel-free .ct32-plan-head { background:linear-gradient(115deg,#18bd65,#0a8651); }
.ct32-panel-professional .ct32-plan-head { background:linear-gradient(120deg,#a443ff,#5510a9); }
.ct32-plan-description { min-width:0; }
.ct32-plan-name { display:flex; align-items:center; gap:12px; }
.ct32-plan-name svg { flex:none; }
.ct32-plan-name h2 { margin:0; font-size:clamp(22px,2.5vw,34px); line-height:1.15; font-weight:850; overflow-wrap:anywhere; }
.ct32-plan-description p { margin:7px 0 0; color:#f8efff; font-size:clamp(12px,1.2vw,15px); line-height:1.4; }
.ct32-plan-price { text-align:end; border-inline-start:1px solid rgba(255,255,255,.5); padding-inline-start:19px; flex:none; }
.ct32-plan-price strong { display:block; font-size:clamp(23px,3vw,40px); font-weight:900; white-space:nowrap; line-height:1.1; }
.ct32-plan-price small { display:block; color:#ebe0ff; font-size:13px; font-weight:650; margin-top:5px; }
.ct32-plan-body { padding:17px 25px 20px; position:relative; }
.ct32-plan-features { list-style:none; margin:0 0 18px; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; }
.ct32-plan-features li { display:flex; align-items:flex-start; gap:10px; color:#172149; font-size:clamp(13px,1.3vw,15px); font-weight:650; line-height:1.3; }
.ct32-plan-features li svg { color:#00ba58; flex:none; margin-top:1px; }
.ct32-plan-note { color:#0e7950; background:#eafff0; border-radius:10px; padding:9px 12px; font-size:13px; margin:0 0 14px; }
.ct32-choose { display:flex; align-items:center; justify-content:center; gap:16px; min-height:51px; text-decoration:none; color:#fff!important; border-radius:15px; font-size:clamp(15px,1.7vw,19px); font-weight:850; transition:filter .2s,transform .2s; padding:12px 16px; text-align:center; }
.ct32-choose:hover { filter:brightness(1.08); transform:translateY(-1px); }
.ct32-choose:focus-visible { outline:3px solid #fdba4a; outline-offset:3px; }
.ct32-choose span { font-size:23px; line-height:1; }
.ct32-choose-standard { background:linear-gradient(105deg,#28c7f4,#1259ec); box-shadow:0 9px 18px rgba(9,85,229,.16); }
.ct32-choose-free { background:linear-gradient(105deg,#1ccc70,#0c9e50); box-shadow:0 9px 18px rgba(5,161,91,.16); }
.ct32-choose-professional { background:linear-gradient(105deg,#af4aff,#5414d2); box-shadow:0 9px 18px rgba(109,20,200,.2); }
.ct32-pro-recommended { display:inline-flex; color:#6a3a00; background:#fff1ba; border-radius:20px; padding:3px 12px; font-size:12px; font-weight:800; margin-bottom:13px; }
.ct32-pro-more { margin:-4px 0 14px; border-radius:10px; color:#5a5687; font-size:13px; }
.ct32-pro-more summary { cursor:pointer; color:#5d1eb0; font-weight:800; padding:5px 0; }
.ct32-pro-more p { padding:3px 0; margin:3px 0; }
.ct32-perks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:16px; }
.ct32-perk { display:flex; align-items:center; gap:9px; background:rgba(255,255,255,.75); border-radius:15px; padding:12px; box-shadow:0 8px 18px rgba(82,54,153,.07); min-height:66px; }
.ct32-perk span { display:grid; place-items:center; flex:none; width:39px; height:39px; background:#eee7ff; color:#7122d7; border-radius:50%; }
.ct32-perk strong { font-size:clamp(11px,1.1vw,14px); font-weight:800; line-height:1.25; }
.ct32-return { display:block; width:max-content; max-width:100%; text-align:center; color:#6035ad; font-weight:700; font-size:13px; margin-top:15px; text-decoration:none; }
.ct32-return:hover { text-decoration:underline; }
html[dir="rtl"] .ct32-offer { direction:rtl; }
html[dir="rtl"] .ct32-plan-price { text-align:start; }
html[dir="rtl"] .ct32-back svg { transform:rotate(180deg); }
@media(max-width:650px) {
 .ct32-offer { padding:11px 12px 20px; }
 .ct32-waves { width:190px; height:165px; top:-90px; }
 .ct32-waves-left { left:-100px; }
 .ct32-waves-right { right:-102px; }
 .ct32-header { grid-template-columns:37px minmax(0,1fr) auto; gap:8px; min-height:54px; }
 .ct32-back { width:36px; height:36px; border-radius:12px; }
 .ct32-brand { gap:5px; }
 .ct32-brand img { width:40px; height:40px; border-radius:12px; }
 .ct32-brand-text strong { font-size:clamp(14px,4.15vw,18px); letter-spacing:-.55px; }
 .ct32-brand-text small { font-size:8px; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 .ct32-language { padding:3px; }
 .ct32-language a { min-width:30px; padding:6px 7px; font-size:11px; }
 .ct32-heading { margin-top:14px; margin-bottom:15px; }
 .ct32-heading h1 { font-size:clamp(22px,6vw,28px); letter-spacing:-.6px; margin-bottom:5px; }
 .ct32-heading p { font-size:clamp(11px,3vw,13px); }
 .ct32-tabs { gap:6px; margin-bottom:12px; }
 .ct32-tab { border-radius:17px; min-height:86px; padding:9px 3px; gap:3px; }
 .ct32-tab-icon { height:25px; }
 .ct32-tab strong { font-size:clamp(10px,3.2vw,13px); }
 .ct32-tab small { font-size:10px; }
 .ct32-panel { border-radius:20px; }
 .ct32-plan-head { min-height:99px; padding:15px 14px; gap:9px; }
 .ct32-plan-name { gap:7px; }
 .ct32-plan-name svg { width:26px; height:26px; }
 .ct32-plan-name h2 { font-size:clamp(20px,5.2vw,25px); }
 .ct32-plan-description p { font-size:11px; line-height:1.35; }
 .ct32-plan-price { padding-inline-start:11px; }
 .ct32-plan-price strong { font-size:clamp(20px,5.6vw,26px); }
 .ct32-plan-price small { font-size:11px; }
 .ct32-plan-body { padding:14px 15px 16px; }
 .ct32-plan-features { grid-template-columns:1fr; gap:10px; margin-bottom:14px; }
 .ct32-plan-features li { gap:9px; font-size:13px; }
 .ct32-choose { min-height:47px; padding:10px 7px; font-size:15px; }
 .ct32-perks { gap:6px; margin-top:12px; }
 .ct32-perk { flex-direction:column; gap:4px; text-align:center; min-height:80px; padding:8px 3px; border-radius:14px; }
 .ct32-perk span { width:31px; height:31px; }
 .ct32-perk span svg { width:21px; height:21px; }
 .ct32-perk strong { font-size:clamp(9px,2.7vw,11px); }
 .ct32-return { margin-top:15px; font-size:12px; }
}
@media(max-width:360px) {
 .ct32-offer { padding-inline:9px; }
 .ct32-brand img { width:34px; height:34px; }
 .ct32-brand-text strong { font-size:13px; }
 .ct32-brand-text small { max-width:125px; font-size:7.5px; }
 .ct32-tab strong { font-size:10px; }
 .ct32-tab small { font-size:9px; }
 .ct32-plan-price strong { font-size:19px; }
}
@media(prefers-reduced-motion:reduce) { .ct32-tab,.ct32-choose { transition:none; } }
/* La page complète occupe harmonieusement la hauteur disponible.
   Sur les petits écrans, elle s'allonge naturellement si le contenu le demande. */
.ct32-offer { display:flex; flex-direction:column; justify-content:space-between; }
.ct32-header,.ct32-heading,.ct32-tabs,.ct32-plan-viewport,.ct32-perks,.ct32-return { width:100%; }
.ct32-return { width:max-content; }

/* Professional payment periods: informational, not a payment checkout. */
.ct32-billing { margin:0 0 18px; }
.ct32-billing h3 { margin:0 0 10px; font-size:15px; font-weight:800; color:#30205d; }
.ct32-billing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.ct32-billing-card { display:flex; flex-direction:column; align-items:center; text-align:center; border:1px solid #ddd1fa; border-radius:13px; padding:12px 5px; background:#faf7ff; min-width:0; }
.ct32-billing-period { color:#42236e; font-size:clamp(11px,1.4vw,15px); font-weight:800; }
.ct32-billing-card strong { color:#591ac0; font-size:clamp(17px,2.7vw,29px); line-height:1.2; margin-top:5px; overflow-wrap:anywhere; }
.ct32-billing-card small { color:#675a82; font-size:11px; }
.ct32-billing-total { margin-top:8px; padding-top:7px; border-top:1px solid #e5d9f9; font-size:clamp(10px,1.4vw,13px); color:#33224e; width:100%; overflow-wrap:anywhere; }
.ct32-billing-annual { background:#eee3ff; border:1.5px solid #8c42e9; }
.ct32-billing p { font-size:11px; color:#675a82; margin:8px 0 0; }
@media(max-width:340px) { .ct32-billing-grid { grid-template-columns:1fr; } }
