/* Comparateur (comparatif.html), 25/11/2026 : habillage dans la famille de CANAL+ et des pages opérateurs.
   UN HABILLAGE SEULEMENT : le script de la page dessine les cartes, les filtres et les fenêtres avec ses classes
   Tailwind ; ce fichier les redessine sans toucher ni aux ids ni aux classes qu'il lit (.tab-btn, .plan-card,
   .selected, .comp-hidden, .compare-check…). Animations coupées si l'appareil le demande. */
body:has(.cmp-onglets) { font-family:'Figtree', system-ui, sans-serif;
  background:radial-gradient(60% 40% at 100% 20%, rgba(255,224,218,.55), transparent 70%), #FFFAF5; }

/* Les onglets Mobile / Internet : deux grandes tuiles */
.cmp-onglets { display:grid; grid-template-columns:1fr 1fr; gap:14px; max-width:560px; margin:8px auto 0; padding:0 16px; scroll-margin-top:90px; }
.cmp-onglets .tab-btn { display:flex; flex-direction:column; align-items:center; gap:6px; padding:18px 10px; border-radius:26px;
  background:#fff; border:2px solid #EDE7E0; color:#1F1B16; font-family:'Urbanist', sans-serif; transition:transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.cmp-onglets .tab-btn span { font-size:34px; line-height:1; }
.cmp-onglets .tab-btn b { font-size:19px; font-weight:900; letter-spacing:-.01em; }
.cmp-onglets .tab-btn:hover { transform:translateY(-3px); border-color:#FFA07A; }
.cmp-onglets .tab-btn.bg-charcoal, .cmp-onglets .tab-btn.active { background:#1F1B16; color:#fff; border-color:#1F1B16;
  box-shadow:0 18px 36px -18px rgba(31,27,22,.7), 0 0 40px -16px rgba(255,107,53,.6); }

/* Le bandeau « souscrire en ligne » */
.cmp-bandeau-info { max-width:900px; margin:18px auto 0; padding:0 16px; }
.cmp-bandeau-info p { margin:0; padding:16px 20px; border-radius:24px; background:linear-gradient(90deg, #fff5ef, #fff); border:2px solid rgba(255,107,53,.3);
  font-size:14px; line-height:1.55; color:#57534e; }
.cmp-bandeau-info b { display:block; font-family:'Urbanist', sans-serif; font-size:17px; color:#1F1B16; margin-bottom:4px; }

/* Les filtres */
main aside { border:2px solid #EDE7E0 !important; border-radius:28px !important; box-shadow:0 24px 50px -36px rgba(31,27,22,.4); }
main aside h2 { font-family:'Urbanist', sans-serif; }
main aside select, #sortBy { border:2px solid #EDE7E0 !important; border-radius:14px !important; background-color:#fff !important; font-size:15px !important; padding:10px 12px !important; }
main aside input[type=checkbox] { width:18px; height:18px; accent-color:#FF6B35; }
#compareBtn { border-radius:99px !important; padding:12px !important; font-family:'Urbanist', sans-serif; font-size:15px !important; }

/* Les cartes de forfaits */
#resultsGrid .plan-card { border-radius:26px !important; transition:transform .25s, box-shadow .25s, border-color .25s !important; }
#resultsGrid .plan-card:hover { transform:translateY(-4px); box-shadow:0 22px 44px -24px rgba(255,107,53,.5); }
#resultsGrid .plan-card.selected { box-shadow:0 0 0 3px #FF6B35, 0 22px 44px -24px rgba(255,107,53,.6); }
#resultsGrid .plan-card h3 { font-family:'Urbanist', sans-serif; letter-spacing:-.01em; }
#resultsGrid a[class*="rounded-full"], #resultsGrid button[class*="rounded-full"] { transition:transform .2s, filter .2s; }
#resultsGrid a[class*="rounded-full"]:hover, #resultsGrid button[class*="rounded-full"]:hover { transform:translateY(-1px); filter:brightness(1.05); }
#noResults { border-width:2px !important; border-radius:32px !important; }
.y-aide { border-radius:24px !important; }

/* Les fenêtres : comparaison, assistant, rappel */
#compareModal > div, #wizardModal > div, #callbackModal > div { border-radius:32px !important; box-shadow:0 40px 80px -30px rgba(0,0,0,.55); }
#compareModal h3, #wizardModal h3, #callbackModal h3 { font-family:'Urbanist', sans-serif; letter-spacing:-.02em; }
#wizardSteps button { border-radius:22px !important; border-width:2px !important; font-size:17px !important; padding:16px 18px !important;
  transition:transform .2s, border-color .2s, box-shadow .2s; }
#wizardSteps button:hover { transform:translateY(-2px); border-color:#FF6B35 !important; box-shadow:0 16px 34px -20px rgba(255,107,53,.6); }
#callbackModal input, #callbackModal select { font-size:17px !important; border-width:2px !important; border-radius:16px !important; padding:12px 14px !important; }
#cbSubmit { font-family:'Urbanist', sans-serif; font-size:18px !important; padding:15px !important; box-shadow:0 18px 36px -14px rgba(255,107,53,.75); }

/* Les sections du bas */
main ~ section > div[class*="rounded-3xl"] { border-radius:32px !important; }

@media (prefers-reduced-motion: reduce) {
  #resultsGrid .plan-card, .cmp-onglets .tab-btn { transition:none !important; }
}
