:root {
    --radius: 16px;
    --border: #ececec;
    /* bord très léger */
    --text: #0b0f14;
    /* noir doux */
    --muted: #6f7781;
    /* gris neutre */
    --bg: #fff;
    --primary: #1e3a8a;
    /* bleu profond */
    --primary-100: #eef2ff;
    /* bleu très pâle */
    --brand-orange: #FCA710;
}

.pricing-hero {
    padding: 36px 0 56px;
    background: #fff;
}

.pricing-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

/* ── Toggle facture ────────────────────────────────────────────────────────── */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding: 6px 0 10px;
}

.billing-tab {
    appearance: none;
    border: 1px solid var(--border);
    background: #f7f8fa;
    color: #1a1d21;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.billing-tab.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.billing-tab:focus {
    outline: 3px solid rgba(30, 58, 138, .35);
    outline-offset: 2px;
}

.save-note {
    color: var(--muted);
    font-size: 14px;
    margin-left: 8px;
}

.pricing-meta {
    color: var(--muted);
    font-size: 13px;
    margin: 12px 0 20px;
    text-align: right;
}

/* ── Grille & cartes ───────────────────────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 992px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.plan {
    background: var(--bg);
    /* border: 1px solid var(--border); */
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, transform .2s ease;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

.plan:hover {
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* carte mise en avant : contour bleu, pas d’ombre */
.plan--featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary) inset;
}

/* badge “Recommandé” plus discret */
.plan__badge {
    position: absolute;
    transform: translateY(-16px);
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}

.plan__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
}

.plan__title {
    font-size: 16px;
    margin: 0;
    color: var(--text);
}

/* prix massif mais sobre */
.plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
}

.price--custom {
    font-size: 18px;
    font-weight: 700;
    color: var(--muted);
}

.currency {
    font-weight: 800;
}

.per {
    color: var(--muted);
    font-size: 14px;
}

.plan__desc {
    color: var(--muted);
    margin: 6px 0 12px;
    min-height: 48px;
}

/* sous-titre “Tout ce qui est inclus…” plus léger */
.plan__includes {
    color: #1a1d21;
    font-weight: 700;
    margin: 8px 0 6px;
    font-size: 14px;
}

/* liste très propre, checks fins, interligne régulier */
.features {
    padding: 0;
    margin: 8px 0 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.features li {
    position: relative;
    padding-left: 22px;
    color: #1a1d21;
    line-height: 1.35;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #17a34a;
    font-weight: 700;
    transform: translateY(1px);
}

/* boutons minimalistes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn--ghost:hover {
    background: #f4f5f7;
    border-color: #e1e1e1;
}

.btn--primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn--primary:hover {
    box-shadow: 0 4px 12px rgba(30, 58, 138, .25);
}

/* accessibilité focus uniforme */
.plan :is(a, button):focus {
    outline: 3px solid rgba(30, 58, 138, .35);
    outline-offset: 2px;
}

/* Checks avec SVG inline */
.features {
    gap: 12px;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-left: 0;
    /* on enlève la marge des anciennes puces */
    line-height: 1.45;
    color: #1a1d21;
}

/* on neutralise les anciennes puces */
.features li::before,
.features li::after {
    content: none !important;
}

.icon-check {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
    /* meilleur alignement vertical */
    color: #16a34a;
    /* vert par défaut */
    fill: currentColor;
    /* la couleur suit .icon-check */
}

/* Variation sur la carte mise en avant */
.plan--featured .icon-check {
    color: var(--primary);
}

/* Variante grisée optionnelle */
.features li.is-muted {
    color: var(--muted);
}

.features li.is-muted .icon-check {
    color: #9aa3ad;
}

/* le header contient et masque ce qui dépasse */
.site-header-deco {
    position: relative;
    overflow: hidden;
}

/* le contenu passe au-dessus */
.site-header-deco>*:not(svg) {
    position: relative;
    z-index: 1;
}

.site-header-deco .page-illustration-tr {
    position: absolute;
    top: -50px;
    /* Move it up a bit */
    right: -50px;
    /* Move it slightly off-screen */
    width: 300px;
    /* Adjust width as needed */
    height: auto;
    opacity: .99;
    pointer-events: none;
    z-index: 9999;
    transform: scale(0.8);
    /* Scale down the image */
}

/* Responsive (optionnel) */
@media (max-width: 992px) {
    .site-header-deco .page-illustration-tr {
        width: 420px;
        opacity: .99;
    }
}

@media (max-width: 576px) {
    .site-header-deco .page-illustration-tr {
        width: 340px;
        opacity: .99;
    }
}

.ad-badge {
    background: #FCA710;
    color: #111;
    font-weight: 700;
    border-radius: 999px;
    padding: .35rem .6rem;
    font-size: .75rem;
    display: inline-block
}

.ad-price {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.01em
}

.ad-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.ad-chip {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: .35rem .6rem;
    font-size: .9rem;
    backdrop-filter: saturate(140%) blur(1.5px)
}

/* Prev / Next : fond orange + icône blanche */
.owl-carousel-light .owl-nav button.owl-prev,
.owl-carousel-light .owl-nav button.owl-next {
    background: var(--sesur-orange) !important;
    border: 0 !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    opacity: 1 !important;
    box-shadow: 0 8px 20px rgba(252, 167, 16, .35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.owl-carousel-light .owl-nav button.owl-prev:hover,
.owl-carousel-light .owl-nav button.owl-next:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
    box-shadow: 0 10px 24px rgba(252, 167, 16, .45);
}

/* Couleur des icônes (selon le thème Porto, ce sont des :before) */
.owl-carousel-light .owl-nav button.owl-prev::before,
.owl-carousel-light .owl-nav button.owl-next::before {
    color: #fff !important;
}

/* fallback si ce sont des SVG */
.owl-carousel-light .owl-nav button.owl-prev svg,
.owl-carousel-light .owl-nav button.owl-next svg {
    fill: #fff;
    stroke: #fff;
}

.ad-content {
    margin: 1.5rem;
}

/* Dots : actif en orange, inactifs discrets */
.owl-carousel-light .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    border: 2px solid rgba(252, 167, 16, .45);
    transition: all .15s ease;
}

.owl-carousel-light .owl-dots .owl-dot:hover span,
.owl-carousel-light .owl-dots .owl-dot.active span {
    background: var(--sesur-orange) !important;
    border-color: var(--sesur-orange) !important;
    box-shadow: 0 6px 12px rgba(252, 167, 16, .35);
    transform: scale(1.08);
}

/* Optionnel: un peu plus compacts sur mobile */
@media (max-width:576px) {

    .owl-carousel-light .owl-nav button.owl-prev,
    .owl-carousel-light .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
    }
}

/* Rayon commun (ajuste la valeur) */
.carousel-rounded {
    border-radius: 12px;
}

/* le conteneur qui clippe les slides */
.carousel-rounded .owl-stage-outer {
    border-radius: inherit !important;
    overflow: hidden;
    /* essentiel pour couper les bords */
}

/* si tu utilises des overlays Porto, on leur transmet aussi le radius */
.carousel-rounded .overlay,
.carousel-rounded .overlay:before {
    border-radius: inherit;
}

/* nav & dots légèrement rentrés pour ne pas “déborder” l’arrondi */
.carousel-rounded .owl-nav {
    padding: 0 .35rem;
}

.carousel-rounded .owl-dots {
    margin-bottom: 1.25rem;
}

.btn-ad {
    background-color: #fe8427;
    border: none !important;
}

.site-header-deco {
    background-color: transparent !important;
}