/* =====================================================================
   components.css — composants UI (hero, sliders, cards, etc.)
   ===================================================================== */

/* ====================================================================
   HERO QUADRANTS (homepage)
   ==================================================================== */

.hero-quadrants {
    position: relative;
    padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 8vw, 6rem);
    background:
        radial-gradient(circle at 12% 15%, rgba(249, 197, 209, .25), transparent 40%),
        radial-gradient(circle at 88% 18%, rgba(191, 227, 242, .35), transparent 40%),
        radial-gradient(circle at 14% 85%, rgba(122, 215, 196, .25), transparent 40%),
        radial-gradient(circle at 86% 82%, rgba(185, 212, 179, .25), transparent 40%),
        #fff;
    overflow: hidden;
}

.hero-quadrants__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.25rem;
    min-height: min(700px, 80vh);
}
@media (max-width: 768px) {
    .hero-quadrants__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; min-height: 60vh; gap: .65rem; }
}

.hero-quadrants__cell {
    position: relative;
    border-radius: var(--radius-2xl);
    padding: var(--sp-6);
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
    color: var(--brand-institutional);
}
.hero-quadrants__cell::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: inherit;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.55), transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(15,23,42,.18), transparent 55%);
}
.hero-quadrants__cell--pink { background-color: var(--quad-pink-d); }
.hero-quadrants__cell--blue { background-color: var(--quad-blue-d); }
.hero-quadrants__cell--teal { background-color: var(--quad-teal-d); }
.hero-quadrants__cell--sage { background-color: var(--quad-sage-d); }

.hero-quadrants__cell-icon {
    align-self: flex-start;
    width: 48px; height: 48px;
    background: #fff;
    border-radius: var(--radius);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--brand-institutional);
    box-shadow: var(--shadow);
}
.hero-quadrants__cell-icon svg { width: 26px; height: 26px; }

.hero-quadrants__cell-text {
    display: flex; flex-direction: column; gap: .35rem;
    max-width: 80%;
}
.hero-quadrants__label {
    display: inline-block;
    background: var(--brand-institutional);
    color: #fff;
    padding: .45rem .9rem;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs); font-weight: 700;
    letter-spacing: .04em;
    align-self: flex-start;
    box-shadow: 0 4px 10px rgba(11, 37, 69, .25);
}
.hero-quadrants__desc {
    color: var(--brand-institutional-d);
    font-size: var(--fs-xs);
    line-height: 1.55;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
@media (max-width: 640px) {
    .hero-quadrants__cell { padding: .85rem; gap: .65rem; }
    .hero-quadrants__cell-icon { width: 36px; height: 36px; }
    .hero-quadrants__cell-icon svg { width: 20px; height: 20px; }
    .hero-quadrants__label { font-size: 10px; padding: .25rem .55rem; }
    .hero-quadrants__desc { display: none; }
}

.hero-quadrants__card {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: min(540px, 86%);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    z-index: 5;
}
.hero-quadrants__card h1 {
    margin-bottom: var(--sp-3);
    font-size: clamp(1.6rem, 3.5vw, var(--fs-5xl));
}
.hero-quadrants__card .lead {
    margin-bottom: var(--sp-5);
    font-size: clamp(var(--fs-base), 1.5vw, var(--fs-lg));
}
.hero-quadrants__cta {
    display: flex; flex-direction: column; gap: .65rem; justify-content: center; align-items: stretch;
    margin-bottom: var(--sp-4);
}
@media (min-width: 640px) { .hero-quadrants__cta { flex-direction: row; align-items: center; } }
.hero-quadrants__trust {
    display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center;
    color: var(--c-text-mute); font-size: var(--fs-xs);
    list-style: none;
    padding: 0;
    margin: 0;
}
.hero-quadrants__trust li {
    display: inline-flex; align-items: center; gap: .3rem;
}
.hero-quadrants__trust svg { width: 12px; height: 12px; color: var(--c-success); flex-shrink: 0; }

/* ====================================================================
   HERO SIMPLE (pages internes)
   ==================================================================== */

.hero-simple {
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 80% 10%, rgba(6, 182, 212, .08), transparent 50%),
        linear-gradient(180deg, #fff, var(--c-bg-soft));
    border-bottom: 1px solid var(--c-border);
}
.hero-simple__inner { max-width: 880px; }
.hero-simple .eyebrow { margin-bottom: var(--sp-4); }
.hero-simple h1 { margin-bottom: var(--sp-4); }
.hero-simple .lead { font-size: clamp(var(--fs-lg), 2vw, var(--fs-xl)); max-width: 720px; }
.hero-simple__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: var(--sp-6); }

/* ====================================================================
   BREADCRUMBS
   ==================================================================== */

.breadcrumbs ol {
    display: flex; flex-wrap: wrap; gap: .35rem;
    font-size: var(--fs-xs); color: var(--c-text-mute);
    margin-bottom: var(--sp-4);
}
.breadcrumbs li::after { content: " ›"; margin-left: .35rem; color: var(--c-border-d); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs li[aria-current] { color: var(--brand-dark); font-weight: 500; }
.breadcrumbs a { color: var(--c-text-mute); }
.breadcrumbs a:hover { color: var(--brand-primary); }

/* ====================================================================
   SOLUTIONS GRID
   ==================================================================== */

.solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--sp-6);
}
.solution-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.solution-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-lg);
}
.solution-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}
.solution-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.solution-card:hover .solution-card__media img { transform: scale(1.04); }
.solution-card__media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
    background: linear-gradient(180deg, transparent, rgba(15, 23, 42, .35));
}
.solution-card__body { padding: var(--sp-6); flex: 1; display: flex; flex-direction: column; }
.solution-card__cat {
    color: var(--brand-primary-d);
    font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: .35rem;
}
.solution-card h3 { margin-bottom: .5rem; }
.solution-card p { color: var(--c-text-mute); font-size: var(--fs-sm); margin-bottom: var(--sp-4); flex: 1; }
.solution-card__link {
    color: var(--brand-primary-d);
    font-weight: 600; font-size: var(--fs-sm);
    display: inline-flex; align-items: center; gap: .35rem;
}
.solution-card__link::after { content: "→"; transition: transform var(--t-fast); }
.solution-card__link:hover::after { transform: translateX(4px); }

/* ====================================================================
   SLIDER (brands + testimonials)
   ==================================================================== */

.slider {
    position: relative;
    overflow: hidden;
    --slider-gap: 1.5rem;
}
.slider__track {
    display: flex; gap: var(--slider-gap);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}
.slider__slide { flex: 0 0 auto; }

.slider--brands .slider__slide {
    width: clamp(120px, 18vw, 200px);
    aspect-ratio: 2 / 1;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    filter: grayscale(1) opacity(.7);
    transition: filter var(--t);
}
.slider--brands .slider__slide:hover { filter: none; }
.slider--brands .slider__slide img { max-width: 100%; max-height: 60%; object-fit: contain; }

.slider--testimonials .slider__slide {
    width: clamp(280px, 80%, 540px);
}
.testimonial {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
    height: 100%;
}
.testimonial__stars { color: #FBBF24; display: flex; gap: .15rem; margin-bottom: var(--sp-4); }
.testimonial__quote { font-size: var(--fs-lg); line-height: 1.55; color: var(--brand-dark); margin-bottom: var(--sp-5); }
.testimonial__author { display: flex; align-items: center; gap: .85rem; }
.testimonial__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #fff; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.testimonial__name { font-weight: 600; color: var(--brand-dark); font-size: var(--fs-sm); }
.testimonial__role { color: var(--c-text-mute); font-size: var(--fs-xs); }

.slider__nav {
    display: flex; justify-content: center; gap: .5rem; margin-top: var(--sp-6);
}
.slider__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-border-d);
    transition: all var(--t-fast);
}
.slider__dot.is-active { background: var(--brand-primary); width: 28px; border-radius: var(--radius-full); }

/* ====================================================================
   PARALLAX SECTION
   ==================================================================== */

.parallax {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    isolation: isolate;
    display: flex; align-items: center;
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0;
}
.parallax__bg {
    position: absolute; inset: -10% 0; z-index: -2;
    background-size: cover; background-position: center;
    will-change: transform;
}
.parallax::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(135deg, rgba(15, 23, 42, .75), rgba(8, 145, 178, .55));
}
.parallax__content { max-width: 720px; }
.parallax__content h2 { color: #fff; }
.parallax__content p { color: rgba(255, 255, 255, .9); }

/* ====================================================================
   STATS COUNTERS
   ==================================================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--sp-6);
}
.stat {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-xl);
    padding: var(--sp-6);
    text-align: center;
}
.stat__value {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, var(--fs-5xl));
    font-weight: 700; line-height: 1;
    background: linear-gradient(135deg, var(--brand-primary-l), var(--brand-accent));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: .35rem;
}
.stat__label { color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); }
.section--light .stat { background: var(--c-bg-soft); border-color: var(--c-border); }
.section--light .stat__label { color: var(--c-text-mute); }

/* ====================================================================
   PRODUCT CARDS (marques, modèles)
   ==================================================================== */

.product-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: all var(--t);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-accent); }
.product-card__media {
    aspect-ratio: 3 / 2; background: var(--c-bg-mute);
    display: flex; align-items: center; justify-content: center;
    padding: var(--sp-4);
}
.product-card__media img { max-width: 80%; max-height: 80%; object-fit: contain; }
.product-card__body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.product-card__brand {
    text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-xs);
    color: var(--brand-primary-d); font-weight: 700; margin-bottom: .25rem;
}
.product-card h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.product-card__meta {
    display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-3);
}
.tag {
    background: var(--c-bg-mute); color: var(--brand-dark);
    padding: .25rem .65rem; border-radius: var(--radius-full);
    font-size: var(--fs-xs); font-weight: 500;
}
.tag--accent { background: rgba(14, 165, 233, .12); color: var(--brand-primary-d); }

/* ====================================================================
   BANNER CTA
   ==================================================================== */

.banner-cta {
    background: linear-gradient(120deg, var(--brand-primary), var(--brand-accent));
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem);
    display: grid; grid-template-columns: 1.4fr auto; gap: var(--sp-6);
    align-items: center;
    box-shadow: var(--shadow-brand);
    overflow: hidden; position: relative;
}
.banner-cta::before {
    content: ""; position: absolute; top: -50%; right: -10%;
    width: 50%; height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%);
    transform: rotate(20deg);
}
@media (max-width: 768px) { .banner-cta { grid-template-columns: 1fr; text-align: center; } }
.banner-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, var(--fs-3xl)); margin-bottom: .5rem; }
.banner-cta p { color: rgba(255, 255, 255, .9); margin-bottom: 0; }
.banner-cta .btn--secondary {
    background: #fff; color: var(--brand-primary-d);
    border-color: #fff;
}
.banner-cta .btn--secondary:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }

/* ====================================================================
   FAQ ACCORDION
   ==================================================================== */

.faq { max-width: 880px; margin: 0 auto; }
.faq__item {
    border-bottom: 1px solid var(--c-border);
}
.faq__btn {
    width: 100%;
    text-align: left;
    padding: var(--sp-5) 0;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-family: var(--font-title); font-weight: 600;
    color: var(--brand-dark); font-size: var(--fs-lg);
    cursor: pointer;
}
.faq__btn::after {
    content: "+";
    font-size: 1.75rem; line-height: 1;
    color: var(--brand-primary);
    transition: transform var(--t);
}
.faq__item.is-open .faq__btn::after { content: "−"; }
.faq__answer {
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
}
.faq__answer-inner { padding: 0 0 var(--sp-5); color: var(--c-text-mute); }
.faq__item.is-open .faq__answer { max-height: 720px; }

/* ====================================================================
   STICKY BAR (mobile + desktop)
   ==================================================================== */

.sticky-bar {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    color: #fff;
    padding: .85rem 1rem;
    z-index: var(--z-sticky);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .12);
    transform: translateY(110%);
    transition: transform var(--t);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__text { font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; flex: 1; min-width: 0; }
.sticky-bar__text strong { font-weight: 700; }
.sticky-bar__cta {
    background: #fff; color: var(--brand-primary-d);
    padding: .65rem 1.1rem; border-radius: var(--radius-full);
    font-weight: 700; font-size: var(--fs-sm);
    display: inline-flex; align-items: center; gap: .35rem;
    flex-shrink: 0;
    min-height: 40px;
}
.sticky-bar__cta:hover { color: var(--brand-darker); background: #fff; transform: translateY(-1px); }
.sticky-bar__close {
    color: rgba(255, 255, 255, .85);
    width: 38px; height: 38px;
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; line-height: 1;
    border-radius: 50%;
}
.sticky-bar__close:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* Évite que la sticky bar masque le contenu en bas (sur mobile uniquement) */
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 768px) {
    .sticky-bar { left: auto; right: 1.25rem; bottom: 1.25rem; max-width: 480px; border-radius: var(--radius-xl); padding: 1rem 1.25rem; }
    body.has-sticky { padding-bottom: 0; }
}

/* ====================================================================
   COOKIE BANNER (RGPD)
   ==================================================================== */

.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: var(--z-toast);
    background: var(--brand-institutional);
    color: rgba(255, 255, 255, .92);
    border-top: 3px solid var(--brand-gold);
    box-shadow: 0 -8px 28px rgba(11, 37, 69, .25);
    padding: .9rem 1rem;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .35s ease, transform .35s ease;
    will-change: opacity, transform;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    align-items: stretch;
}
@media (min-width: 900px) {
    .cookie-banner__inner {
        flex-direction: row;
        align-items: center;
        gap: var(--sp-6);
    }
}
.cookie-banner__title {
    display: none;
}
.cookie-banner__text { flex: 1; min-width: 0; }
.cookie-banner__text p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: var(--fs-xs);
    line-height: 1.5;
}
.cookie-banner__text strong { color: #fff; }
.cookie-banner__text a {
    color: var(--brand-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__text a:hover { color: #fff; }
.cookie-banner__actions {
    display: flex; flex-wrap: nowrap; gap: .5rem;
    justify-content: flex-end;
    flex-shrink: 0;
}
.cookie-banner__actions .btn {
    min-height: 38px;
    padding: .4rem 1rem;
    font-size: var(--fs-xs);
}
.cookie-banner__actions .btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, .8);
    border-color: rgba(255, 255, 255, .25);
}
.cookie-banner__actions .btn--ghost:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}
.cookie-banner__actions .btn--primary {
    background: var(--brand-gold);
    color: var(--brand-institutional);
    border-color: var(--brand-gold);
}
.cookie-banner__actions .btn--primary:hover {
    background: #fff;
    color: var(--brand-institutional);
    border-color: #fff;
}

/* ====================================================================
   SPINNER (forms loading)
   ==================================================================== */

.spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin-right: .5rem;
    vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { opacity: .85; cursor: wait; }
.btn[aria-busy="true"] { pointer-events: none; }

/* ====================================================================
   MODALES (exit-intent + générique)
   ==================================================================== */

.modal {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .6);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center;
    z-index: var(--z-modal);
    padding: 1rem;
}
.modal.is-open { display: flex; animation: modalIn .25s ease; }
.modal__panel {
    background: #fff;
    border-radius: var(--radius-2xl);
    width: 100%; max-width: 520px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    box-shadow: var(--shadow-xl);
}
.modal__close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--c-text-mute);
    font-size: 1.5rem; line-height: 1;
}
.modal__close:hover { background: var(--c-bg-mute); color: var(--brand-dark); }
.modal h3 { margin-bottom: .5rem; }
.modal p { color: var(--c-text-mute); margin-bottom: var(--sp-5); }

@keyframes modalIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ====================================================================
   CALCULATOR
   ==================================================================== */

.calculator {
    background: #fff;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 1023px) { .calculator { grid-template-columns: 1fr; } }
.calculator__inputs { padding: clamp(1.5rem, 3vw, 2.5rem); }
.calculator__inputs h3 { margin-bottom: var(--sp-4); }
.calculator__inputs label { display: block; margin-bottom: .35rem; }
.calculator__inputs .field { margin-bottom: var(--sp-4); }

.calculator__output {
    background: linear-gradient(160deg, var(--brand-dark), #0B1220);
    color: #fff;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    display: flex; flex-direction: column; justify-content: center;
}
.calculator__output h3 { color: #fff; font-size: var(--fs-xl); margin-bottom: var(--sp-5); }
.calculator__metric {
    padding: var(--sp-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.calculator__metric:last-child { border-bottom: 0; }
.calculator__metric small {
    text-transform: uppercase; letter-spacing: .08em;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, .55);
}
.calculator__metric strong {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(var(--fs-2xl), 3vw, var(--fs-4xl));
    color: var(--brand-accent);
    line-height: 1.1;
    margin-top: .25rem;
}
.calculator__cta { margin-top: var(--sp-5); }

.range {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px;
    background: var(--c-bg-mute);
    border-radius: var(--radius-full); outline: none;
    border: 0; padding: 0;
}
.range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    cursor: pointer; box-shadow: 0 4px 14px rgba(14, 165, 233, .35);
}
.range::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%; border: 0;
    background: var(--brand-primary); cursor: pointer;
}

.checkpills {
    display: flex; flex-wrap: wrap; gap: .5rem;
}
.checkpill {
    position: relative; display: inline-block;
}
.checkpill input { position: absolute; opacity: 0; }
.checkpill span {
    display: inline-block;
    padding: .5rem 1rem; border-radius: var(--radius-full);
    border: 1.5px solid var(--c-border);
    font-size: var(--fs-sm); font-weight: 500;
    cursor: pointer; transition: all var(--t-fast);
}
.checkpill input:checked + span {
    background: var(--brand-primary); color: #fff; border-color: var(--brand-primary);
}

/* ====================================================================
   FORM MULTI-STEP
   ==================================================================== */

.stepper {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: var(--sp-8);
    counter-reset: step;
    gap: .5rem;
}
.stepper__step {
    flex: 1;
    text-align: center;
    position: relative;
    color: var(--c-text-mute);
    font-size: var(--fs-xs); font-weight: 600;
}
.stepper__step::before {
    counter-increment: step;
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    margin: 0 auto .35rem;
    border-radius: 50%;
    background: var(--c-bg-mute);
    color: var(--c-text-mute);
    border: 2px solid var(--c-border);
    font-family: var(--font-title);
    font-size: var(--fs-base);
    transition: all var(--t);
}
.stepper__step.is-active::before {
    background: var(--brand-primary); color: #fff; border-color: var(--brand-primary);
    box-shadow: var(--shadow-brand);
}
.stepper__step.is-done::before {
    background: var(--c-success); border-color: var(--c-success); color: #fff;
}
.stepper__step + .stepper__step::after {
    content: ""; position: absolute; top: 16px; left: -50%; right: 50%;
    height: 2px; background: var(--c-border); z-index: -1;
}
.stepper__step.is-done + .stepper__step::after,
.stepper__step.is-done::after { background: var(--c-success); }

.form-step { display: none; animation: fadeIn .3s ease; }
.form-step.is-active { display: block; }

.form-actions {
    display: flex; gap: 1rem; justify-content: space-between;
    margin-top: var(--sp-6); padding-top: var(--sp-6);
    border-top: 1px solid var(--c-border);
}
.form-actions .btn--ghost { padding: .85rem 1.25rem; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Radio cards (form-step) */
.radio-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: .75rem;
}
.radio-card {
    position: relative; display: block;
    border: 1.5px solid var(--c-border);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    cursor: pointer;
    text-align: center;
    transition: all var(--t-fast);
    font-size: var(--fs-sm); font-weight: 500;
    background: #fff;
}
.radio-card input { position: absolute; opacity: 0; }
.radio-card:hover { border-color: var(--brand-primary-l); }
.radio-card input:checked + .radio-card__inner,
.radio-card.is-checked {
    border-color: var(--brand-primary);
    background: rgba(14, 165, 233, .06);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .1);
}

/* ====================================================================
   ALERTS / TOAST
   ==================================================================== */

.alert {
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    font-size: var(--fs-sm);
    border-left: 4px solid;
    background: var(--c-bg-soft);
}
.alert--success { border-color: var(--c-success); background: rgba(16, 185, 129, .08); }
.alert--error { border-color: var(--c-danger); background: rgba(239, 68, 68, .08); color: #B91C1C; }
.alert--info { border-color: var(--c-info); background: rgba(59, 130, 246, .08); }
