/* ============================================
   Variables & Base Styles
   ============================================ */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --offer-sub-color: #0d9488;
    --offer-sub-dark: #0f766e;
    --offer-sub-light: #2dd4bf;
    --gradient-offer-sub: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --dark-secondary: #1e293b;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    /* Offre clé en main : uniquement rose / corail (pas de bleu ni violet) */
    --gradient-cle-en-main: linear-gradient(135deg, #db2777 0%, #ec4899 42%, #f472b6 100%);
    --cle-main-accent: #be185d;
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --btn-radius: 12px;
    --btn-transition: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   Accessibilité RGAA
   ============================================ */

/* Lien d'évitement — visible au focus clavier */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white) !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--btn-radius);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* ============================================
   Fil d'Ariane (pages réalisations)
   ============================================ */
.breadcrumb-realisations-wrap {
    display: inline-block;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
}

.breadcrumb-realisations {
    align-items: center;
    gap: 0.15rem;
    font-size: 0.9rem;
}

.breadcrumb-realisations .breadcrumb-item + .breadcrumb-item::before {
    color: #64748b;
    content: ">";
    font-weight: 600;
    padding-right: 0.45rem;
}

.breadcrumb-realisations .breadcrumb-item a {
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
}

.breadcrumb-realisations .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-realisations .breadcrumb-item.active {
    color: #334155;
    font-weight: 600;
}

/* Focus visible pour la navigation au clavier (RGAA 10.14) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Contraste suffisant sur les liens du footer */
.footer a:focus-visible {
    outline-color: var(--primary-light);
}

/* ============================================
   Typographie — échelle harmonisée
   ============================================ */
.lead {
    font-size: 1.0625rem;
    font-weight: 400;
}

/* Titres selon normes courantes (hiérarchie claire) */
h1, .h1 { font-size: 2rem; font-weight: 700; }      /* 32px - titre principal */
h2, .h2 { font-size: 1.75rem; font-weight: 700; }   /* 28px - titres de section */
h3, .h3 { font-size: 1.5rem; font-weight: 600; }    /* 24px */
h4, .h4 { font-size: 1.25rem; font-weight: 600; }   /* 20px */
h5, .h5 { font-size: 1.125rem; font-weight: 600; }  /* 18px */
h6, .h6 { font-size: 1rem; font-weight: 600; }      /* 16px */

.display-1 { font-size: 2.5rem; }   /* 40px - hero, accroches */
.display-2 { font-size: 2.25rem; }
.display-3 { font-size: 2rem; }
.display-4 { font-size: 1.75rem; }
.display-5 { font-size: 1.5rem; }
.display-6 { font-size: 1.25rem; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    z-index: 1030;
}

/* Offset pour compenser le menu fixe : éviter que le contenu soit caché sous la navbar */
#main-content {
    padding-top: 44px;
}

/* Pages formulaire (demande devis) : plus de marge pour le titre sous le menu */
.main-form-page {
    padding-top: 88px !important;
}

/* --- Page demande devis : pleine hauteur, panneau gauche + formulaire droite --- */
.devis-page {
    overflow-x: hidden;
}

.devis-page-hero {
    position: relative;
}

/* Hauteur pilotée par le contenu (formulaire) — plus de plein écran forcé */
.devis-page-split {
    align-items: stretch;
}

.devis-page-aside,
.devis-page-form-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.devis-page-aside {
    position: relative;
    background: linear-gradient(155deg, #0f172a 0%, #1e1b4b 42%, #312e81 100%);
    color: #fff;
    overflow: hidden;
}

.devis-page-aside::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(99, 102, 241, 0.35), transparent 50%),
        radial-gradient(ellipse 60% 40% at 85% 70%, rgba(14, 165, 233, 0.2), transparent 45%);
    pointer-events: none;
    animation: devis-aside-glow 14s ease-in-out infinite alternate;
}

@keyframes devis-aside-glow {
    0% { opacity: 0.75; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

.devis-aside-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.devis-aside-title {
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.devis-aside-title-accent {
    background: linear-gradient(120deg, #a5b4fc 0%, #38bdf8 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: devis-accent-shimmer 6s ease-in-out infinite;
}

@keyframes devis-accent-shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
}

.devis-aside-lead {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 36rem;
}

.devis-stats-heading {
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.88);
}

.devis-stats-region {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* Si le formulaire dépasse la colonne gauche, la zone stats s’étire pour remplir le fond */
}

.devis-stats-marquee {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    min-height: 10.5rem;
    max-height: clamp(13rem, 34vh, 20rem);
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
}

@media (min-width: 992px) {
    .devis-stats-marquee {
        min-height: 15rem;
        max-height: clamp(20rem, 48vh, 34rem);
    }
}

.devis-stats-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: devis-stats-scroll 42s linear infinite;
    will-change: transform;
}

@keyframes devis-stats-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.devis-stat-card {
    flex-shrink: 0;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.devis-stat-card:hover {
    transform: translateX(6px);
    border-color: rgba(165, 180, 252, 0.45);
    background: rgba(255, 255, 255, 0.09);
}

.devis-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

.devis-stat-figure {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.35rem;
}

.devis-stat-text {
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.92);
    margin: 0 0 0.5rem;
}

.devis-stat-source {
    display: block;
    font-size: 0.72rem;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
}

.devis-form-time-estimate {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.devis-form-column-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.devis-form-layout-row {
    flex: 0 1 auto;
    align-items: stretch;
}

.devis-form-layout-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Formulaire occupe la hauteur utile ; panier reste à sa hauteur de contenu (sticky utile au scroll) */
.devis-form-layout-row > .col-lg-8 {
    align-items: stretch;
}

.devis-form-layout-row > .col-lg-4 {
    align-items: flex-start;
}

.devis-multi-card {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px -12px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.devis-multi-card::before {
    content: "";
    display: block;
    height: 4px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 45%, #38bdf8 100%);
}

.devis-multi-card .card-body {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.devis-multi-card .card-body > .step-indicator,
.devis-multi-card .card-body > .devis-step-track {
    flex-shrink: 0;
}

.devis-multi-card #preachat-form {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.devis-page .devis-multi-card .step-pane {
    display: none;
}

.devis-page .devis-multi-card .step-pane.active {
    display: block;
    flex: none;
    min-height: 0;
    overflow: visible;
}

.devis-multi-card .step-nav-row {
    flex-shrink: 0;
    margin-top: 1.25rem;
}

.devis-page .devis-form .form-control,
.devis-page .devis-form .form-select {
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0.65rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.devis-page .devis-form .form-control:hover,
.devis-page .devis-form .form-select:hover {
    border-color: rgba(99, 102, 241, 0.35);
}

.devis-page .devis-form .form-control:focus,
.devis-page .devis-form .form-select:focus {
    border-color: var(--primary-color, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.devis-page .devis-form textarea.form-control {
    min-height: 6rem;
}

.devis-page .devis-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark, #1e293b);
    margin-bottom: 0.4rem;
}

.devis-step-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 1.25rem;
    padding: 0.5rem 0.6rem;
    border-radius: 16px;
    background: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.devis-page .devis-step-track .step {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    border-radius: 12px;
    padding: 0.7rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: transparent;
    color: #475569;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 82px;
    text-align: center;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.devis-page .devis-step-track .step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(15, 23, 42, 0.1) 20%,
        rgba(15, 23, 42, 0.1) 80%,
        transparent
    );
}

.devis-page .devis-step-track .step:last-child::after {
    display: none;
}

.devis-page .devis-step-track .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    flex-shrink: 0;
}

.devis-page .devis-step-track .step-label,
.devis-page .devis-step-track .step-label-short {
    display: block;
    line-height: 1.25;
    text-align: center;
    max-width: 100%;
    hyphens: auto;
    overflow-wrap: break-word;
}

.devis-page .devis-step-track .step.active {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.14) 0%, rgba(99, 102, 241, 0.08) 100%);
    color: #3730a3;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.25);
}

.devis-page .devis-step-track .step.active .step-number {
    background: linear-gradient(145deg, #6366f1 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.45);
}

.devis-page .devis-step-track .step.completed {
    background: rgba(34, 197, 94, 0.08);
    color: #166534;
}

.devis-page .devis-step-track .step.completed .step-number {
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    box-shadow: 0 1px 4px rgba(34, 197, 94, 0.35);
}

@media (min-width: 992px) {
    .devis-page .devis-step-track .step {
        min-height: 88px;
        padding: 0.75rem 0.55rem;
        font-size: 0.8125rem;
    }

    .devis-page .devis-step-track .step-label {
        font-size: 0.8125rem;
        font-weight: 600;
    }

    .devis-page .devis-step-track .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.875rem;
    }
}

.devis-cart-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 32px -14px rgba(15, 23, 42, 0.1);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.devis-cart-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.devis-cart-card #cart-heading-title {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.devis-cart-accent {
    width: 2.5rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #38bdf8);
    margin-bottom: 0.75rem;
}

.devis-page .devis-cart-card.sticky-top {
    top: 6.5rem;
}

.devis-offers-showcase {
    border-radius: 18px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 20px 44px -24px rgba(15, 23, 42, 0.18);
}

.devis-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.devis-offer-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.devis-offer-card--monthly {
    border-color: rgba(30, 64, 175, 0.3);
    background: linear-gradient(165deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
}

.devis-offer-card--custom {
    background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 100%);
}

.devis-offer-head {
    padding: 1rem 1rem 0.65rem;
}

.devis-offer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
}

.devis-offer-card--monthly .devis-offer-chip {
    background: rgba(191, 219, 254, 0.2);
    color: #dbeafe;
    border: 1px solid rgba(191, 219, 254, 0.35);
}

.devis-offer-card--custom .devis-offer-chip {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.devis-offer-title {
    margin: 0.75rem 0 0.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.devis-offer-subtitle {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.devis-offer-card--monthly .devis-offer-subtitle {
    color: rgba(226, 232, 240, 0.95);
}

.devis-offer-card--custom .devis-offer-subtitle {
    color: #475569;
}

.devis-offer-price {
    margin: 0 1rem 0.95rem;
    border-radius: 12px;
    padding: 0.9rem 0.95rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.devis-offer-card--monthly .devis-offer-price {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
}

.devis-offer-card--custom .devis-offer-price {
    background: #fff;
    border: 1px solid rgba(79, 70, 229, 0.15);
    color: #334155;
}

.devis-offer-features {
    margin: 0;
    padding: 0 1rem 1.15rem;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.devis-offer-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    line-height: 1.4;
}

.devis-offer-features i {
    font-size: 0.95rem;
    margin-top: 0.1rem;
}

.devis-offer-card--monthly .devis-offer-features li {
    color: #e2e8f0;
}

.devis-offer-card--monthly .devis-offer-features i {
    color: #93c5fd;
}

.devis-offer-card--custom .devis-offer-features li {
    color: #334155;
}

.devis-offer-card--custom .devis-offer-features i {
    color: #4f46e5;
}

@media (max-width: 991.98px) {
    .devis-page-split {
        min-height: 0;
    }

    .devis-page-aside {
        min-height: auto;
    }

    .devis-stats-marquee {
        max-height: 280px;
        mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent);
        -webkit-mask-image: linear-gradient(to bottom, transparent, #000 5%, #000 92%, transparent);
    }

    .devis-page-form-shell {
        min-height: 0;
    }

    .devis-page .devis-cart-card.sticky-top {
        position: relative !important;
        top: 0 !important;
    }

    .devis-page .devis-step-track,
    .devis-page .devis-step-track.step-indicator {
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(99, 102, 241, 0.35) transparent;
        gap: 0.35rem;
        padding: 0.45rem 0.5rem 0.55rem;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 0.5rem;
    }

    .devis-page .devis-step-track .step {
        flex: 0 0 auto;
        min-width: 5.85rem;
        max-width: 7.5rem;
        min-height: 76px;
        padding: 0.65rem 0.4rem;
        gap: 0.4rem;
        font-size: 0.75rem;
        scroll-snap-align: center;
    }

    .devis-page .devis-step-track .step-label-short {
        font-size: 0.72rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .devis-page .devis-step-track .step-number {
        width: 26px;
        height: 26px;
        font-size: 0.78rem;
    }

    .devis-page .devis-step-track .step:not(:last-child)::after {
        display: none;
    }

    .devis-form-layout-row > .col-lg-4 {
        align-items: stretch;
    }

    .devis-offers-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .devis-stats-track {
        animation: none;
    }

    .devis-page-aside::before {
        animation: none;
    }

    .devis-aside-title-accent {
        animation: none;
    }

    .devis-stat-card {
        transition: none;
    }

    .devis-stat-card:hover {
        transform: none;
    }

    .devis-page .devis-step-track .step {
        transition: none;
    }
}

/* --- Demande de devis : compléments (ex-inline) --- */
.devis-page .devis-step-track.step-indicator {
    margin-bottom: 1.5rem;
}

.devis-page .multi-step-card {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 16px;
    border: none;
}

.devis-page .prestation-choice-card {
    border-radius: 14px !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.devis-page .prestation-choice-card:hover {
    border-color: rgba(99, 102, 241, 0.45) !important;
    box-shadow: 0 8px 28px -10px rgba(99, 102, 241, 0.28);
    transform: translateY(-1px);
}

.devis-page .prestation-choice-card[aria-pressed="true"] {
    border-color: #6366f1 !important;
    background: linear-gradient(165deg, rgba(99, 102, 241, 0.07) 0%, rgba(129, 140, 248, 0.04) 100%) !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.22);
}

.devis-page .prestation-choice-card .prestation-card-sub {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: #64748b;
    margin-top: 0.35rem;
    line-height: 1.4;
}

.devis-form-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.devis-form-trust-badges .badge {
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.1);
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.devis-aside-trust {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    max-width: 32rem;
}

.devis-aside-trust li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.95);
    margin-bottom: 0.5rem;
}

.devis-aside-trust li:last-child {
    margin-bottom: 0;
}

.devis-aside-trust .bi {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #a5b4fc;
}

.devis-stats-below {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* Titre lisible sur fond clair (bloc sous le formulaire, mobile) */
.devis-stats-below .devis-stats-heading {
    color: #0f172a;
}

/* Cartes chiffres : le même markup sert au fond sombre (desktop) et au fond clair (mobile) */
.devis-stats-below .devis-stat-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    backdrop-filter: none;
}

.devis-stats-below .devis-stat-card:hover {
    transform: translateX(4px);
    border-color: rgba(99, 102, 241, 0.35);
    background: #f8fafc;
}

.devis-stats-below .devis-stat-icon {
    background: rgba(99, 102, 241, 0.14);
    color: #4338ca;
}

.devis-stats-below .devis-stat-figure {
    color: #0f172a;
}

.devis-stats-below .devis-stat-text {
    color: #334155;
}

.devis-stats-below .devis-stat-source {
    color: #64748b;
}

.devis-stats-region--mobile .devis-stats-marquee {
    max-height: 260px;
}

.devis-page .devis-cart-card .card-body {
    padding: 1.25rem 1.35rem;
}

.devis-page #submit-form.btn-success {
    padding: 0.65rem 1.35rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 4px 14px -4px rgba(34, 197, 94, 0.5);
}

.devis-page #next-step.btn-primary {
    border-radius: 999px;
    font-weight: 600;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.devis-page #prev-step {
    border-radius: 999px;
}

.entreprise-suggestions-dropdown {
    background: #f0f4ff;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.entreprise-suggestions-dropdown .entreprise-suggestion-item {
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    line-height: 1.35;
    background: #f8fafc;
    border-left: 3px solid transparent;
}

.entreprise-suggestions-dropdown .entreprise-suggestion-item:hover {
    background: #e7f1ff;
    border-left-color: #0d6efd;
}

.entreprise-suggestions-dropdown .entreprise-suggestion-nom {
    font-weight: 600;
    color: #1a1d21;
}

.entreprise-suggestions-dropdown .entreprise-suggestion-adresse {
    margin-top: 0.2rem;
    font-weight: 400;
    color: #495057;
}

.devis-page .required::after {
    content: " *";
    color: #dc3545;
}

.devis-page .helper-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* Espacement compact entre sections et contenus (desktop) */
section .row.mb-5 {
    margin-bottom: 2rem !important;
}
section .row.g-5 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Ancres : scroll avec marge pour ne pas masquer le titre sous la navbar */
section[id] {
    scroll-margin-top: 120px;
}

/* Sur les pages expertises, le menu d'ancres est sticky donc besoin d'offset */
.expertise-nav ~ section[id],
.expertise-hero ~ section {
    scroll-margin-top: 80px;
    position: relative;
    z-index: 10;
}

/* Assurer que le dropdown s'affiche au-dessus de la section hero sur les pages expertises */
.expertise-main-nav .dropdown-menu,
.expertise-main-nav .dropdown-menu-dark,
#expertiseNavbarNav .dropdown-menu,
#expertiseNavbarNav .dropdown-menu-dark {
    z-index: 10002 !important;
    position: absolute !important;
}

.expertise-main-nav .dropdown.show .dropdown-menu,
#expertiseNavbarNav .dropdown.show .dropdown-menu,
.expertise-main-nav .dropdown-toggle[aria-expanded="true"] ~ .dropdown-menu,
#expertiseNavbarNav .dropdown-toggle[aria-expanded="true"] ~ .dropdown-menu {
    z-index: 10002 !important;
    display: block !important;
    position: absolute !important;
}

/* Hero section sur pages expertises - statique donc pas de padding-top */
/* Garde position: relative pour les pseudo-éléments mais reste dans le flux normal */
.expertise-hero {
    padding-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    background: var(--gradient-dark) !important;
}

/* Réduire le z-index des éléments du hero sur les pages expertises */
.expertise-hero .container,
.expertise-hero .row,
.expertise-hero .col-lg-10,
.expertise-hero > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Désactiver les animations et effets sur le hero des pages expertises */
.expertise-hero::before {
    animation: none !important;
    opacity: 0 !important;
    display: none !important;
    z-index: 0 !important;
}

.expertise-hero .hero-overlay {
    display: none !important;
    z-index: 0 !important;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

/* Dropdown Menu Styles */
.nav-item.dropdown .dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu-dark {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-top: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-width: 250px;
    z-index: 1050 !important;
}

/* Forcer le z-index très élevé pour les dropdowns sur pages expertises */
.expertise-main-nav .dropdown-menu-dark,
#expertiseNavbarNav .dropdown-menu-dark {
    z-index: 10002 !important;
    position: absolute !important;
}

/* S'assurer que tous les dropdowns dans la nav expertise sont visibles */
#expertiseMainNav .dropdown-menu,
#expertiseMainNav .dropdown-menu-dark,
#expertiseNavbarNav .dropdown-menu {
    z-index: 10002 !important;
    position: absolute !important;
}

.dropdown-menu-dark::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(99, 102, 241, 0.3);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.875rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.05) 100%);
    color: var(--primary-light);
    transform: translateX(5px);
    border-left-color: var(--primary-color);
}

.dropdown-item:active {
    background: rgba(99, 102, 241, 0.25);
    color: var(--white);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Scroll offset for service sections */
#creation-site,
#site-ecommerce,
#gestion-autonome {
    scroll-margin-top: 120px;
    position: relative;
}

/* Highlight service card when navigated to */
#creation-site .service-card,
#site-ecommerce .service-card,
#gestion-autonome .service-card {
    transition: all 0.5s ease;
}

#creation-site:target .service-card,
#site-ecommerce:target .service-card,
#gestion-autonome:target .service-card {
    animation: highlightCard 1s ease;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3), var(--shadow-xl);
}

@keyframes highlightCard {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: flex-start;
    padding-top: 0;
    overflow: hidden;
    z-index: 1;
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(99,102,241,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.hero-section .row.min-vh-100 {
    min-height: unset;
    align-items: flex-start;
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn,
.btn-primary,
.btn-outline-primary,
.btn-outline-light,
.btn-light {
    border-radius: var(--btn-radius);
    font-weight: 600;
    transition: var(--btn-transition);
    letter-spacing: 0.02em;
}

/* Primaire (gradient) — CTA principal */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--white) !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--btn-transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
    color: var(--white) !important;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

/* Outline primary — actions secondaires sur fond clair */
.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: var(--primary-dark);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary:active {
    transform: translateY(0);
}

.btn-outline-primary:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Outline light — hero sur fond sombre */
.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--white) !important;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

/* Light — CTA sur sections sombres (hébergement, etc.) */
.btn-light {
    background: var(--white);
    border: 2px solid transparent;
    color: var(--text-dark) !important;
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background: #f1f5f9;
    color: var(--text-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-light:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

/* Petits boutons (cartes services) */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 10px;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: #f8fafc;
    padding: 60px 0;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 1.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ============================================
   Offres duales (sur mesure / abonnement)
   ============================================ */
.formules-dual {
    scroll-margin-top: 120px;
}

#formule-sur-mesure,
#formule-abonnement {
    scroll-margin-top: 100px;
}

.formules-dual.formules-section {
    background: var(--white);
    padding-top: 0;
    padding-bottom: 0;
}

.formule-offer-band--abonnement {
    border-top: 3px solid rgba(236, 72, 153, 0.35);
}

@media (min-width: 992px) {
    .jump-band-vertical-padding {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}

/* --- Style proche Join Jump : intro + bandeaux produit --- */
.jump-formules-intro {
    background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.jump-intro-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--primary-dark);
}

.jump-intro-title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--dark-bg);
}

.jump-intro-title::after {
    display: none;
}

.jump-intro-lead {
    font-size: 1.0625rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.jump-pill {
    min-height: 48px;
    font-size: 0.95rem;
}

.offer-block--jump.offer-block--sur-mesure.services-section {
    position: relative;
    overflow: hidden;
}

.offer-block--jump.offer-block--sur-mesure.services-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -8%;
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 68%);
    pointer-events: none;
}

.offer-block--jump.offer-block--sur-mesure.services-section::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -12%;
    width: min(50vw, 420px);
    height: min(50vw, 420px);
    background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.offer-block--jump.offer-block--abonnement.services-section {
    position: relative;
    overflow: hidden;
}

.offer-block--jump.offer-block--abonnement.services-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.offer-block--jump.offer-block--abonnement.services-section::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: -8%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(251, 113, 133, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

/* Bandeau clé en main : fond rose / corail uniquement (pas de lavande / bleu) */
.offer-block--jump.offer-block--abonnement.services-section {
    background: linear-gradient(180deg, #fff1f2 0%, #fdf2f8 45%, #ffe4e6 100%);
    border-top: 1px solid rgba(236, 72, 153, 0.14);
}

.jump-product-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
}

.jump-product-tag--on-dark {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.jump-product-tag--mint {
    color: #9d174d;
    background: linear-gradient(135deg, rgba(253, 242, 248, 0.98) 0%, rgba(255, 228, 230, 0.95) 100%);
    border: 1px solid rgba(236, 72, 153, 0.35);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.12);
}

.jump-band-title {
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

.jump-band-title--light {
    color: var(--white);
}

.jump-band-title--dark {
    color: var(--dark-bg);
}

.jump-band-title--dark::after {
    display: none;
}

.jump-band-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.jump-band-lead--light {
    color: rgba(255, 255, 255, 0.78);
}

.jump-price-hero {
    max-width: 22rem;
    text-align: center;
    padding: 1.35rem 1.5rem;
    border-radius: 20px;
}

.jump-price-hero--dark {
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Safari iOS : backdrop-filter peut provoquer clignotements / repaints au scroll sur les blocs prix */
@media (max-width: 991.98px) {
    .jump-price-hero--dark {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(30, 41, 59, 0.55);
    }
}

.jump-price-hero--mint {
    color: var(--dark-bg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(236, 72, 153, 0.22);
    box-shadow: 0 16px 40px rgba(236, 72, 153, 0.14);
}

.jump-price-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    opacity: 0.85;
}

.jump-price-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem 0.35rem;
}

.jump-price-amount--word {
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.jump-price-amount--numeric {
    font-size: clamp(2.75rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Prix chiffré du bandeau clé en main : dégradé rose uniquement */
#formule-abonnement .jump-price-amount--numeric {
    background: var(--gradient-cle-en-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#formule-abonnement .jump-price-currency {
    color: var(--cle-main-accent);
}

.jump-price-currency {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--primary-dark);
}

.jump-price-period {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.jump-price-unit {
    font-size: 1.15rem;
    font-weight: 600;
    opacity: 0.9;
}

.jump-price-note,
.jump-price-secondary {
    font-size: 0.875rem;
    line-height: 1.45;
    opacity: 0.88;
}

.jump-price-hero--mint .jump-price-label {
    color: var(--text-light);
}

.jump-offer-panel {
    max-width: 920px;
    background: var(--white);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
    opacity: 1;
    transform: none;
    position: relative;
    z-index: 1;
}

.jump-offer-panel--mint {
    border-color: rgba(236, 72, 153, 0.2);
    box-shadow: 0 24px 56px rgba(236, 72, 153, 0.1);
}

.jump-feature-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .jump-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }

    .jump-offer-panel {
        padding: 2.5rem 2.75rem;
    }
}

.jump-feature-cell {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.jump-feature-check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-dark);
    font-size: 1rem;
    margin-top: 0.1rem;
}

.jump-feature-check--mint {
    background: rgba(236, 72, 153, 0.14);
    color: var(--cle-main-accent);
}

.jump-cta-row {
    text-align: center;
}

.jump-cta-primary {
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.jump-cta-mint {
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(236, 72, 153, 0.28);
    border: none;
}

.jump-border-mint {
    border-color: rgba(236, 72, 153, 0.2) !important;
}

/* Boutons du bandeau clé en main : dégradé marque (pas le vert Bootstrap) */
#formule-abonnement .jump-cta-mint.btn-success {
    background: var(--gradient-cle-en-main) !important;
    border-color: transparent !important;
    color: #fff !important;
}

#formule-abonnement .jump-cta-mint.btn-success:hover {
    filter: brightness(1.06);
    color: #fff !important;
}

#formule-abonnement .btn-outline-success {
    border-color: rgba(236, 72, 153, 0.65) !important;
    color: #9d174d !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

#formule-abonnement .btn-outline-success:hover {
    background: rgba(236, 72, 153, 0.1) !important;
    border-color: var(--secondary-color) !important;
    color: #831843 !important;
}

.formule-badge--abonnement {
    background: var(--gradient-cle-en-main) !important;
    color: var(--white) !important;
}

.offers-intro .section-title::after {
    background: var(--gradient-primary);
}

.offer-pill {
    font-weight: 600;
    font-size: 0.9rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: var(--btn-transition);
}

.offer-pill--sur-mesure {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border: none;
    box-shadow: var(--shadow-sm);
}

.offer-pill--sur-mesure:hover {
    color: var(--white) !important;
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.offer-pill--abonnement {
    background: var(--white);
    color: var(--offer-sub-dark) !important;
    border: 2px solid var(--offer-sub-color);
}

.offer-pill--abonnement:hover {
    background: rgba(13, 148, 136, 0.08);
    color: var(--offer-sub-dark) !important;
    border-color: var(--offer-sub-dark);
}

.offer-block--sur-mesure.services-section {
    background: linear-gradient(165deg, var(--dark-bg) 0%, #1a2332 45%, var(--dark-secondary) 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.offer-block-eyebrow {
    letter-spacing: 0.12em;
    color: var(--primary-light);
}

.offer-block-eyebrow--abonnement {
    color: var(--offer-sub-dark);
}

.offer-block-lead--on-dark {
    color: rgba(255, 255, 255, 0.72);
}

.section-title--on-dark {
    color: var(--white);
}

.section-title--on-dark::after {
    background: var(--gradient-primary);
}

.section-title--abonnement::after {
    background: var(--gradient-offer-sub);
}

.offer-block--abonnement.services-section {
    background: linear-gradient(180deg, #ecfdf5 0%, #f0fdfa 55%, #e6fffa 100%);
    border-top: 1px solid rgba(13, 148, 136, 0.12);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.text-offer-sub {
    color: var(--offer-sub-color) !important;
}

.badge-offer-sub {
    background: rgba(13, 148, 136, 0.15);
    color: var(--offer-sub-dark);
    font-weight: 600;
}

.btn-outline-offer-sub {
    color: var(--offer-sub-dark) !important;
    border: 2px solid var(--offer-sub-color);
    background: transparent;
    border-radius: var(--btn-radius);
    font-weight: 600;
    transition: var(--btn-transition);
}

.btn-outline-offer-sub:hover {
    background: rgba(13, 148, 136, 0.1);
    border-color: var(--offer-sub-dark);
    color: var(--offer-sub-dark) !important;
}

.offer-block--abonnement .service-card.featured {
    border-color: var(--offer-sub-color);
}

.offer-block--abonnement .service-icon {
    background: var(--gradient-offer-sub);
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.35);
}

.offer-block--abonnement .service-card::before {
    background: var(--gradient-offer-sub);
}

.offer-block--abonnement .service-card-elongated {
    border: 1px solid rgba(13, 148, 136, 0.22);
}

.offer-block--abonnement .service-card-elongated:hover {
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.12);
}

/* Accueil : section abonnement à venir — moins visible que le bloc sur mesure */
.offer-block--abonnement--teaser.services-section {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
}

.offer-block--abonnement--teaser .index-abonnement-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: #94a3b8 !important;
}

.offer-block--abonnement--teaser .index-abonnement-title {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
}

.offer-block--abonnement--teaser .index-abonnement-title::after,
.offer-block--abonnement--teaser .section-title.section-title--abonnement::after {
    display: none !important;
}

.offer-block--abonnement--teaser .index-abonnement-lead {
    font-size: 0.875rem !important;
    line-height: 1.5;
    color: #94a3b8 !important;
}

.offer-block--abonnement--teaser .index-abonnement-card {
    opacity: 0.92;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

.offer-block--abonnement--teaser .index-abonnement-card:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}

.offer-block--abonnement--teaser .service-icon-elongated {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
}

.offer-block--abonnement--teaser .badge-offer-sub {
    background: #e2e8f0;
    color: #64748b;
    font-weight: 600;
}

.offer-block--abonnement--teaser .text-offer-sub {
    color: #94a3b8 !important;
}

.offer-block--abonnement--teaser .btn-outline-offer-sub {
    border-color: #cbd5e1;
    color: #64748b !important;
}

/* Carte expertise allongée (1 colonne) */
.service-card-elongated {
    opacity: 1;
    transform: none;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.service-card-elongated:hover {
    transform: none;
    box-shadow: var(--shadow-lg);
}

.service-icon-elongated {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
    font-size: 2rem;
}

@media (max-width: 767.98px) {
    .service-card-elongated {
        text-align: center;
    }
    .service-icon-elongated {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   Service Detail Pages
   ============================================ */
.service-detail-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-top: 2rem;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
}

.benefits-list .benefit-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.benefits-list .benefit-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
    border-left-color: var(--primary-color);
}

.benefits-list .benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dropdown-item.active {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    border-left-color: var(--primary-color);
}

/* ============================================
   Prestations Cards
   ============================================ */
.prestation-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Variation de design pour page e-commerce */
.bg-light .prestation-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
}

.bg-light .prestation-card:hover {
    border-color: var(--primary-color);
    background: var(--white);
}

.prestation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.prestation-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0 auto;
}

.prestation-card h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
}

.prestation-card ul li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Hébergement Section
   ============================================ */
.hebergement-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

.hebergement-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hebergement-info-box {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.hebergement-info-box h4,
.hebergement-info-box h5 {
    color: var(--text-dark);
}

.hebergement-info-box ul li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hebergement-info-box .text-muted {
    font-size: 0.85rem;
}

#hebergementTabs .nav-link {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
#hebergementTabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
#hebergementTabs .nav-link.active,
#hebergementTabsRefonte .nav-link.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}
#hebergementTabsRefonte .nav-link {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
#hebergementTabsRefonte .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ============================================
   Tarifs / Offres (style Linkeo)
   ============================================ */
.tarifs-section {
    background: #f8fafc;
    padding: 100px 0;
}

.tarif-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.tarif-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.tarif-card-featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.tarif-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tarif-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.tarif-price {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.tarif-price strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.tarif-creation-fees {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.tarif-block {
    margin-bottom: 1.25rem;
}

.tarif-block-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #e2e8f0;
}

.tarif-list {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.tarif-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}

.tarif-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* ============================================
   Project Cards
   ============================================ */
.project-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.project-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

.project-card ul li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.project-card .project-results-box {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.project-card .project-results-box ul li,
.project-card .project-problem-block ul li {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.project-card .project-results-box strong {
    color: var(--primary-dark);
    font-variant-numeric: tabular-nums;
}

.project-card .project-problem-block {
    border-left: 3px solid rgba(245, 158, 11, 0.85);
    padding-left: 0.85rem;
}

.project-card .project-detail-toggle {
    font-size: 0.875rem;
    font-weight: 600;
    border-color: rgba(100, 116, 139, 0.45);
    color: var(--text-dark);
}

.project-card .project-detail-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
    background: rgba(99, 102, 241, 0.06);
}

.project-card .project-detail-chevron {
    transition: transform 0.25s ease;
}

.project-card .project-detail-toggle[aria-expanded="true"] .project-detail-chevron {
    transform: rotate(180deg);
}

.project-card .project-detail-toggle[aria-expanded="true"] .project-detail-label-collapsed {
    display: none !important;
}

.project-card .project-detail-toggle[aria-expanded="true"] .project-detail-label-expanded {
    display: inline !important;
}

.project-card .project-detail-collapse {
    margin-bottom: 0.25rem;
}

/* ============================================
   Dernières actualités (carrousel page site-web)
   ============================================ */
.vitrine-blog-section .carousel-indicators {
    position: static;
    margin: 1.25rem 0 0;
    padding-bottom: 0.25rem;
    justify-content: center;
    gap: 0.35rem;
}

.vitrine-blog-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.35;
    border: 0;
}

.vitrine-blog-section .carousel-indicators .active {
    opacity: 1;
}

.vitrine-blog-slide-card {
    max-width: 900px;
    overflow: hidden;
    position: relative;
}

.vitrine-blog-slide-img-wrap {
    min-height: 200px;
    height: 100%;
}

@media (min-width: 768px) {
    .vitrine-blog-slide-img-wrap {
        min-height: 280px;
    }
}

.vitrine-blog-slide-img {
    object-fit: cover;
    display: block;
}

.vitrine-blog-slide-placeholder {
    min-height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.06));
}

@media (min-width: 768px) {
    .vitrine-blog-slide-placeholder {
        min-height: 280px;
    }
}

.vitrine-blog-section .carousel-control-prev,
.vitrine-blog-section .carousel-control-next {
    width: 3rem;
    height: 3rem;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.45);
    opacity: 1;
}

.vitrine-blog-section .carousel-control-prev {
    left: 0.5rem;
}

.vitrine-blog-section .carousel-control-next {
    right: 0.5rem;
}

.vitrine-blog-section .carousel-control-prev-icon,
.vitrine-blog-section .carousel-control-next-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   Pack Card
   ============================================ */
.pack-card {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.accordion-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Expertise Main Navigation (simplifiée)
   ============================================ */
.expertise-main-nav.navbar,
.expertise-main-nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    z-index: 10000 !important;
    position: relative !important;
    isolation: isolate;
}

/* Navigation dropdown sur pages expertises */
.expertise-main-nav .nav-item.dropdown {
    position: relative !important;
    z-index: 10001 !important;
}

.expertise-main-nav .navbar-nav {
    position: relative;
    z-index: 10001 !important;
}

.expertise-main-nav .navbar-collapse {
    z-index: 10001 !important;
    position: relative;
}

.expertise-main-nav.scrolled {
    background: rgba(15, 23, 42, 0.98);
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

/* ============================================
   Expertise Navigation Menu (ancres)
   ============================================ */
.expertise-nav {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.75rem 0;
    z-index: 1020;
    box-shadow: var(--shadow-md);
    top: 0;
}

.expertise-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.expertise-nav-list li {
    margin: 0;
}

.expertise-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.expertise-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
}

.expertise-nav-link:hover,
.expertise-nav-link.active {
    color: var(--primary-light);
    background: rgba(99, 102, 241, 0.1);
}

.expertise-nav-link:hover::after,
.expertise-nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    width: 80%;
}

/* Responsive pour le menu expertise */
@media (max-width: 768px) {
    .expertise-nav {
        top: 0;
    }
    
    .expertise-nav-list {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .expertise-nav-list::-webkit-scrollbar {
        display: none;
    }
    
    .expertise-nav-link {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* ============================================
   Avantages Section
   ============================================ */
.avantages-section {
    background: var(--gradient-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.avantages-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.avantages-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, -30px) rotate(180deg);
    }
}

.avantage-card {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 1;
}

.avantage-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.avantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-xl);
}

.avantage-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.avantage-card:hover .avantage-icon {
    transform: scale(1.1) rotate(5deg);
}

.avantage-card h4 {
    font-size: 1.25rem;
}

/* ============================================
   Offre Spéciale Section
   ============================================ */
.offre-speciale-section {
    background: var(--gradient-dark);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.offre-speciale-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.offre-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.offre-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.offre-box h2 {
    color: var(--white);
}

.offre-box p {
    color: rgba(255, 255, 255, 0.9);
}

.offre-box strong {
    color: var(--primary-light);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 50px 0;
}

.cta-box {
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--white);
    padding: 60px 0;
}

.contact-form {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.contact-form-wrapper iframe {
    width: 100%;
    max-width: 600px;
    height: 500px;
    min-height: 400px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
        min-height: 450px;
    }
    
    .contact-form-wrapper iframe {
        height: 450px;
        min-height: 450px;
    }
}

.form-floating > label {
    color: var(--text-light);
    font-weight: 500;
}

.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-control:focus ~ label,
.form-select:focus ~ label,
.form-control:not(:placeholder-shown) ~ label,
.form-select:not([value=""]) ~ label {
    color: var(--primary-color);
}

/* ============================================
   Pourquoi Section
   ============================================ */
.pourquoi-section {
    position: relative;
    background: var(--white);
    padding: 60px 0;
    z-index: 10;
    margin-top: 0;
    min-height: auto;
}

.benefit-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stats-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-agency-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Bouton flottant "Demander un devis"
   ============================================ */
.floating-devis-group {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: min(100vw - 1.5rem, 28rem);
}

.floating-devis-btn {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1050;
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    background: var(--gradient-primary);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: var(--btn-transition);
}

.floating-devis-group .floating-devis-btn {
    position: static;
}

.floating-devis-btn:hover,
.floating-devis-btn:focus {
    color: #ffffff;
    filter: brightness(1.05) saturate(1.05);
    border-color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.floating-devis-btn--sm {
    padding: 0.6rem 1.3rem;
    font-size: 0.95rem;
}

/* Groupe : deux boutons compacts côte à côte */
.floating-devis-group .floating-devis-btn,
.floating-contact-btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.floating-contact-btn {
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: var(--btn-transition);
}

.floating-contact-btn:hover,
.floating-contact-btn:focus {
    color: #ffffff;
    filter: brightness(1.06) saturate(1.05);
    border-color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 575.98px) {
    /* Bouton seul (ex. accueil) : pleine largeur utile */
    .floating-devis-btn {
        left: max(0.75rem, env(safe-area-inset-left));
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        text-align: center;
        padding-inline: 1.25rem;
    }

    .floating-devis-group {
        left: max(0.75rem, env(safe-area-inset-left));
        right: max(0.75rem, env(safe-area-inset-right));
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        max-width: none;
        justify-content: center;
        gap: 0.4rem;
    }

    .floating-devis-group .floating-devis-btn,
    .floating-devis-group .floating-contact-btn {
        padding: 0.55rem 0.95rem;
        font-size: 0.82rem;
    }
}

/* ============================================
   Formules Section
   ============================================ */
.formules-section {
    background: #f8fafc;
    padding: 100px 0;
}

/* Une formule sélectionnée : la carte en 1 colonne (pleine largeur) */
.formules-single-column .formula-block {
    flex: 0 0 100%;
    max-width: 100%;
}

.formule-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.formule-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.formule-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.formule-card.featured-formule {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.formule-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.badge-featured {
    background: var(--gradient-primary);
}

.formule-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.formule-card:hover .formule-icon {
    transform: rotate(5deg) scale(1.1);
}

.formule-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

.formule-content ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
}

/* ============================================
   Processus Section
   ============================================ */
.processus-section {
    background: var(--gradient-dark);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.processus-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.etape-card {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 1;
    height: 100%;
}

.etape-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.etape-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-xl);
}

.etape-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.etape-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.etape-card:hover .etape-icon {
    transform: scale(1.1) rotate(5deg);
}

/* ============================================
   Section stack technique (accueil)
   ============================================ */
.methodologie-section {
    background: #f8fafc;
    padding: 60px 0;
}

.methodo-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.methodo-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.methodo-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.methodo-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.methodo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.methodo-item:hover .methodo-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Accueil — section méthodologie / stack technique (pastilles = fond type hero : --gradient-dark + halos) */
.methodologie-section--tech-focus {
    background: linear-gradient(
        165deg,
        #f8fafc 0%,
        rgba(99, 102, 241, 0.06) 48%,
        rgba(236, 72, 153, 0.05) 100%
    );
}

.tech-card-rainbow-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 42%, var(--secondary-color) 100%);
}

.tech-showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
}

.tech-grid--vibrant {
    gap: 1.1rem;
}

/* Pastilles stack : même base que .hero-section (gradient-dark + halos bleu / rose comme ::before) */
.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(odd) .tech-badge-wrapper {
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.38) 0%, transparent 52%),
        var(--gradient-dark);
    border-color: rgba(99, 102, 241, 0.45);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(even) .tech-badge-wrapper {
    background:
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.38) 0%, transparent 52%),
        var(--gradient-dark);
    border-color: rgba(236, 72, 153, 0.45);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-badge-wrapper .tech-badge {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 700;
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-badge-wrapper .tech-info-btn {
    color: rgba(255, 255, 255, 0.88);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(odd) .tech-badge-wrapper .tech-info-btn:hover,
.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(odd) .tech-badge-wrapper .tech-info-btn:focus-visible {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.4);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(even) .tech-badge-wrapper .tech-info-btn:hover,
.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(even) .tech-badge-wrapper .tech-info-btn:focus-visible {
    color: #ffffff;
    background: rgba(236, 72, 153, 0.4);
}

.tech-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.tech-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.tech-card.tech-card--showcase {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, rgba(99, 102, 241, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.14);
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.1);
}

.tech-card.tech-card--showcase:hover {
    box-shadow: 0 24px 56px rgba(99, 102, 241, 0.16), 0 0 0 1px rgba(236, 72, 153, 0.1);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    transition: all 0.3s ease;
}

.tech-badge-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 0.6rem;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-badge-wrapper:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tech-badge-wrapper:hover .tech-badge,
.tech-badge-wrapper:hover .tech-info-btn {
    color: var(--white);
}

/* Survol : même logique hero, halo un peu plus présent + ombre (texte reste clair) */
.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(odd) .tech-badge-wrapper:hover {
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.55) 0%, transparent 55%),
        var(--gradient-dark);
    border-color: var(--primary-light);
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(even) .tech-badge-wrapper:hover {
    background:
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.52) 0%, transparent 55%),
        var(--gradient-dark);
    border-color: rgba(244, 114, 182, 0.85);
    box-shadow: 0 6px 22px rgba(236, 72, 153, 0.38);
    transform: translateY(-3px);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-badge-wrapper:hover .tech-badge {
    color: #ffffff;
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-badge-wrapper:hover .tech-info-btn {
    color: rgba(255, 255, 255, 0.92);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(odd) .tech-badge-wrapper:hover .tech-info-btn:hover,
.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(odd) .tech-badge-wrapper:hover .tech-info-btn:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(even) .tech-badge-wrapper:hover .tech-info-btn:hover,
.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(even) .tech-badge-wrapper:hover .tech-info-btn:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(odd) .tech-info-btn:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.methodologie-section--tech-focus .tech-grid--vibrant .tech-item:nth-child(even) .tech-info-btn:focus-visible {
    outline: 2px solid #f9a8d4;
    outline-offset: 2px;
}

.tech-badge {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.tech-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-light);
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.95rem;
}

.tech-info-btn:hover,
.tech-info-btn:focus {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
    outline: none;
}

.tech-badge-wrapper:hover .tech-info-btn:hover,
.tech-badge-wrapper:hover .tech-info-btn:focus {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

/* Design des bulles (popovers) technologies */
.popover.tech-popover {
    max-width: 320px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
    font-size: 0.95rem;
}

.popover.tech-popover .popover-header {
    position: relative;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
    border: none;
    padding: 0.75rem 2.25rem 0.75rem 1rem;
}

.popover.tech-popover .tech-popover-close {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    color: #fff !important;
    padding: 0.25rem;
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1;
    border: none;
    background: transparent;
    cursor: pointer;
}

.popover.tech-popover .tech-popover-close:hover {
    opacity: 1;
    color: #fff;
}

.popover.tech-popover .popover-body {
    padding: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.popover.tech-popover .popover-arrow::before,
.popover.tech-popover .popover-arrow::after {
    border-top-color: rgba(99, 102, 241, 0.2);
}

/* Popovers technologies — affichage mobile */
@media (max-width: 768px) {
    .popover.tech-popover {
        max-width: min(320px, calc(100vw - 2rem));
        margin: 0 1rem;
        font-size: 1rem;
        border-radius: 14px;
        box-shadow: 0 12px 48px rgba(15, 23, 42, 0.2);
    }

    .popover.tech-popover .popover-header {
        padding: 1rem 2.25rem 1rem 1.25rem;
        font-size: 1.05rem;
    }

    .popover.tech-popover .popover-body {
        padding: 1.25rem;
        line-height: 1.55;
        font-size: 0.98rem;
    }
}

@media (max-width: 575.98px) {
    .popover.tech-popover {
        max-width: calc(100vw - 1.5rem);
        margin: 0 0.75rem;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-bg);
    color: var(--white);
}

.footer h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer ul li {
    transition: all 0.3s ease;
}

.footer ul li:hover {
    transform: translateX(5px);
}

.footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--primary-light) !important;
    transform: translateY(-3px);
}

.footer .bi {
    font-size: 1.5rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Prévention du débordement horizontal */
.container, .container-fluid {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
}

img, video {
    max-width: 100%;
    height: auto;
}

/* Tablette et petits écrans */
@media (max-width: 991.98px) {
    .services-section,
    .processus-section,
    .methodologie-section,
    .avantages-section,
    .offre-speciale-section,
    .pourquoi-section,
    .formules-section,
    .cta-section,
    .contact-section {
        padding: 50px 0;
    }

    .avantage-card {
        padding: 1.5rem;
    }

    .avantage-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .offre-box {
        padding: 2rem !important;
    }

    .formule-card,
    .tech-card {
        padding: 2rem;
    }

    .expertise-hero[style*="min-height: 70vh"] {
        min-height: 60vh !important;
    }

    .expertise-hero .row[style*="min-height: 70vh"] {
        min-height: 60vh !important;
    }

    section .row.mb-5 {
        margin-bottom: 1.75rem !important;
    }
    section .row.g-5,
    section .row.g-4 {
        --bs-gutter-x: 1.25rem;
        --bs-gutter-y: 1.25rem;
    }

    .display-4 { font-size: 1.5rem !important; }
    .display-5 { font-size: 1.375rem !important; }
    .section-title { font-size: 1.5rem !important; }
    .lead { font-size: 1rem !important; }
}

/* Mobile */
@media (max-width: 768px) {
    #main-content {
        padding-top: 40px;
    }

    .main-form-page {
        padding-top: 80px !important;
    }

    .hero-section {
        min-height: 100svh;
        min-height: 100vh;
        padding-top: 0;
        margin-top: -8px;
    }

    /* Pages expertises (site-web, intranet, stratégie) : un peu plus de hauteur que le 60vh tablette */
    .hero-section.expertise-hero[style*="min-height: 70vh"] {
        min-height: 72vh !important;
    }

    .expertise-hero .row[style*="min-height: 70vh"] {
        min-height: 72vh !important;
    }

    .hero-section.expertise-hero .btn,
    .hero-section.expertise-hero .btn-lg {
        max-width: 320px;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .hero-section h1,
    .hero-section .display-3 {
        font-size: 1.625rem !important;
    }

    .hero-section .lead {
        font-size: 0.9375rem !important;
        line-height: 1.5;
    }

    .hero-section .btn,
    .hero-section .btn-lg {
        width: 100%;
        max-width: 280px;
        padding: 0.6rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }

    .hero-section .d-flex.gap-3 {
        gap: 0.75rem !important;
        flex-direction: column;
        align-items: center;
    }

    .scroll-indicator {
        font-size: 1.5rem;
        bottom: 20px;
    }

    .service-card.featured {
        transform: scale(1);
    }

    .service-card.featured:hover {
        transform: translateY(-10px);
    }

    .display-2, .display-3 {
        font-size: 1.625rem !important;
    }

    .display-4 {
        font-size: 1.5rem !important;
    }

    .display-5 {
        font-size: 1.375rem !important;
    }

    .display-6 {
        font-size: 1.25rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .lead {
        font-size: 0.9375rem !important;
    }

    h1, .h1 { font-size: 1.625rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.125rem; }

    .btn-lg {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }

    .btn-sm {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    .service-card ul li,
    .service-card p,
    .formule-content ul li,
    .etape-card p {
        font-size: 0.875rem !important;
    }

    .services-section,
    .processus-section,
    .methodologie-section,
    .avantages-section,
    .offre-speciale-section,
    .pourquoi-section,
    .formules-section,
    .cta-section,
    .contact-section {
        padding: 40px 0;
    }

    .contact-form-wrapper {
        padding: 1.25rem;
        min-height: 400px;
    }

    .contact-form-wrapper iframe {
        height: 450px;
        min-height: 400px;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .formule-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .formule-card.featured-formule {
        transform: scale(1);
    }

    .formule-badge {
        top: 12px;
        right: 12px;
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .stats-box {
        margin-top: 1.5rem;
    }

    .benefit-item {
        margin-bottom: 0.75rem;
    }

    .benefit-item:hover {
        transform: none;
    }

    .etape-card {
        margin-bottom: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .methodo-card,
    .tech-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }

    .tech-badge-wrapper {
        padding: 0.75rem 0.5rem;
    }

    .tech-badge {
        font-size: 0.9rem;
    }

    section .row.g-5,
    section .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .tech-info-btn {
        width: 1.1rem;
        height: 1.1rem;
        min-width: 1.1rem;
        font-size: 0.85rem;
    }

    section[id] {
        scroll-margin-top: 80px;
    }

    section .row.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    section .row.g-5,
    section .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* Très petit mobile */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section h1,
    .hero-section .display-3 {
        font-size: 1.5rem !important;
    }

    .hero-section .lead {
        font-size: 0.875rem !important;
    }

    .hero-section .btn,
    .hero-section .btn-lg {
        max-width: 260px;
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }

    .display-2, .display-3 {
        font-size: 1.5rem !important;
    }

    .display-4 {
        font-size: 1.375rem !important;
    }

    .display-5 {
        font-size: 1.25rem !important;
    }

    .display-6 {
        font-size: 1.125rem !important;
    }

    .section-title {
        font-size: 1.375rem !important;
    }

    .lead {
        font-size: 0.875rem !important;
    }

    h1, .h1 { font-size: 1.5rem; }
    h2, .h2 { font-size: 1.375rem; }
    h3, .h3 { font-size: 1.125rem; }
    h4, .h4 { font-size: 1rem; }

    .btn-lg {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }

    .btn-sm {
        padding: 0.35rem 0.875rem;
        font-size: 0.8125rem;
    }

    .service-card ul li,
    .service-card p,
    .formule-content ul li,
    .etape-card p {
        font-size: 0.8125rem !important;
    }

    .services-section,
    .processus-section,
    .methodologie-section,
    .avantages-section,
    .offre-speciale-section,
    .pourquoi-section,
    .formules-section,
    .cta-section,
    .contact-section {
        padding: 32px 0;
    }

    .avantage-card {
        padding: 1.25rem;
    }

    .avantage-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .formule-card,
    .tech-card,
    .methodo-card {
        padding: 1.25rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .tech-badge-wrapper {
        padding: 0.5rem 0.4rem;
    }

    .tech-badge {
        font-size: 0.8rem;
    }

    section .row.mb-5 {
        margin-bottom: 1.25rem !important;
    }
    section .row.g-5,
    section .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .tech-info-btn {
        height: 1rem;
        min-width: 1rem;
        font-size: 0.8rem;
    }

    .footer .row > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
}

/* Récapitulatif dl/dt/dd (confirmation devis) — meilleure lisibilité mobile */
@media (max-width: 575.98px) {
    dl.row dt {
        font-weight: 600;
    }

    dl.row dt:not(:first-of-type) {
        margin-top: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid #e9ecef;
    }

    dl.row dd {
        margin-bottom: 0.25rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Tableau comparatif - style moderne
   ============================================ */
.formula-comparison-card {
    position: relative;
    border-radius: 24px;
    border: 0;
    background: #ffffff;
    box-shadow: none;
    /* overflow visible : le défilement horizontal est géré par .formula-comparison-scroll */
    overflow: visible;
}

.formula-comparison-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(circle at 12% 18%, rgba(99, 102, 241, 0.46) 0%, transparent 56%),
        radial-gradient(circle at 85% 10%, rgba(236, 72, 153, 0.36) 0%, transparent 50%),
        radial-gradient(circle at 60% 100%, rgba(16, 185, 129, 0.22) 0%, transparent 55%);
    pointer-events: none;
    opacity: 0.35;
}

/* Pas de couche décorative additionnelle (éviter l'effet "contour" / superposition) */
.formula-comparison-card::before {
    display: none;
}

.formula-comparison-card > * {
    position: relative;
    z-index: 1;
}

/* Zone scrollable : le tableau dépasse en largeur sur petit écran */
.formula-comparison-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-radius: 18px;
}

/* Lisible sur fond blanc de la carte (évite #choix-formule .text-muted trop clair) */
#choix-formule .formula-comparison-card .formula-comparison-scroll-hint {
    color: #64748b;
}

@media (min-width: 768px) {
    .formula-comparison-scroll-hint {
        display: none !important;
    }
}

.formula-comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 0 !important;
    border-radius: 18px;
    overflow: hidden;
}

.formula-comparison-table thead th {
    border-top: 0;
    background: #f8fafc;
    font-weight: 800;
    letter-spacing: 0.2px;
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 0 !important;
}

.formula-comparison-table thead th:nth-child(2) {
    background: #ede9fe;
    color: #1f2937;
}

.formula-comparison-table thead th:nth-child(3) {
    background: #fce7f3;
    color: #831843;
}

.formula-comparison-table tbody td {
    background: #ffffff;
    border-bottom: 0 !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #0f172a;
}

.formula-comparison-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.formula-comparison-table tbody tr:hover td {
    background: #eef2ff;
}

.formula-comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.formula-comparison-table td:first-child {
    font-weight: 750;
    color: #334155;
    background: #f1f5f9;
}

/* Palette cohérente: on surcharge les couleurs Bootstrap */
.formula-comparison-table .text-primary-emphasis {
    color: #312e81 !important;
}

.formula-comparison-table .text-success-emphasis {
    color: #065f46 !important;
}

/* Uniformisation accessibilité : tableau en palette neutre */
.formula-comparison-table thead th {
    background: #f8fafc !important;
    color: #111827 !important;
}

/* Reprise des en-têtes de colonnes : sur mesure (violet) / clé en main (rose marque) */
.formula-comparison-table thead th:nth-child(2) {
    background: #ede9fe !important;
    color: #1f2937 !important;
}

.formula-comparison-table thead th:nth-child(3) {
    background: #fce7f3 !important;
    color: #831843 !important;
}

.formula-comparison-table tbody td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.formula-comparison-table tbody tr:nth-child(even) td {
    background: #ffffff !important;
}

.formula-comparison-table tbody tr:hover td {
    background: #ffffff !important;
}

/* Mise en avant de la dernière ligne "Prix" */
.formula-comparison-table tbody tr.prix-row td {
    font-weight: 800;
    background: #eef2ff !important;
}

.formula-comparison-table tbody tr.prix-row td:first-child {
    font-weight: 900;
}

.formula-comparison-table td:first-child {
    background: #ffffff !important;
    color: #0f172a !important;
}

.formula-comparison-table .text-primary-emphasis,
.formula-comparison-table .text-success-emphasis {
    color: #0f172a !important;
}

/* Surcharges finales (uniformité totale + suppression des traits) */
.formula-comparison-table thead th,
.formula-comparison-table tbody td {
    border: 0 !important;
    border-bottom: 0 !important;
}

.formula-comparison-table tbody tr:hover td {
    background: #ffffff !important;
}

.formula-comparison-table tbody tr:nth-child(even) td {
    background: #ffffff !important;
}

/* Séparateur vertical léger entre colonnes (sans contour externe) */
.formula-comparison-table thead th:nth-child(n + 2),
.formula-comparison-table tbody td:nth-child(n + 2) {
    border-left: 1px solid rgba(148, 163, 184, 0.45) !important; /* #94a3b8 en discret */
}

/* Tableau comparatif : lisibilité sur très petits écrans */
@media (max-width: 767.98px) {
    .formula-comparison-table {
        min-width: 520px;
    }

    .formula-comparison-table thead th,
    .formula-comparison-table tbody td {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
        padding-top: 0.55rem !important;
        padding-bottom: 0.55rem !important;
        font-size: 0.8125rem;
        line-height: 1.35;
        vertical-align: top;
    }

    .formula-comparison-table thead th {
        font-size: 0.78rem;
    }
}

/* ============================================
   Section "choix-formule" - arrière-plan dégradé
   ============================================ */
#choix-formule {
    position: relative;
    /* Fond plus profond et moderne (tendance "blueprint") */
    background:
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.38) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(236, 72, 153, 0.28) 0%, transparent 52%),
        radial-gradient(circle at 40% 100%, rgba(16, 185, 129, 0.22) 0%, transparent 56%),
        linear-gradient(135deg, rgba(15, 23, 42, 1) 0%, rgba(30, 41, 59, 1) 55%, rgba(11, 18, 32, 1) 100%);
}

/* Voile pour harmoniser + maintenir un contraste constant */
#choix-formule::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 85% 10%, rgba(236, 72, 153, 0.14) 0%, transparent 52%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.35) 0%, rgba(2, 6, 23, 0.55) 100%);
    pointer-events: none;
    z-index: 0;
}

#choix-formule .container,
#choix-formule * {
    position: relative;
    z-index: 1;
}

/* Ajustement contraste pour le texte de description */
#choix-formule .text-muted {
    color: rgba(226, 232, 240, 0.92) !important;
}

#choix-formule h2,
#choix-formule .lead {
    color: rgba(248, 250, 252, 0.97) !important;
}

#choix-formule .badge {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.96) !important;
}

/* ============================================
   Accessibilité boutons sous le tableau
   ============================================ */
#choix-formule .formula-choice-btn {
    color: #ffffff !important;
}

/* Bouton secondaire (outline) : fond pour atteindre un contraste AA */
#choix-formule .btn-outline-primary {
    background: rgba(99, 102, 241, 0.24) !important;
    border-color: rgba(99, 102, 241, 0.95) !important;
    color: #ffffff !important;
}

#choix-formule .btn-outline-primary:hover {
    background: rgba(99, 102, 241, 0.40) !important;
    border-color: rgba(99, 102, 241, 1) !important;
    color: #ffffff !important;
}

#choix-formule .btn-success {
    background: var(--gradient-cle-en-main) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

#choix-formule .btn-success:hover {
    filter: brightness(1.06);
    border-color: transparent !important;
    color: #ffffff !important;
}

#choix-formule .btn:focus-visible,
#choix-formule .formula-choice-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.96) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.4) !important;
}

/* ============================================
   Prix "Clé en main" - mise en avant
   ============================================ */
#cle-en-main-extensions .cle-en-main-pricing {
    gap: 1rem;
}

#cle-en-main-extensions .cle-en-main-price-pill,
#cle-en-main-extensions .cle-en-main-setup-pill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(236, 72, 153, 0.28);
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    min-width: 190px;
}

#cle-en-main-extensions .cle-en-main-price-label,
#cle-en-main-extensions .cle-en-main-setup-label {
    font-weight: 700;
    letter-spacing: 0.2px;
}

#cle-en-main-extensions .cle-en-main-price-value,
#cle-en-main-extensions .cle-en-main-setup-value {
    font-weight: 900;
    line-height: 1.1;
    font-size: 1.9rem;
}

#cle-en-main-extensions .cle-en-main-price-unit {
    font-weight: 800;
    font-size: 0.95rem;
}

#cle-en-main-extensions .cle-en-main-setup-star {
    font-size: 0.9rem;
    vertical-align: super;
}

/* Encadré récap clé en main : rose uniquement (pas de bleu / violet) */
.formule-cle-main-detail-box {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(251, 113, 133, 0.1) 100%);
    border-color: rgba(236, 72, 153, 0.4) !important;
}

/* Icônes de la section clé en main : accent rose (évite le bleu Bootstrap .text-primary) */
#cle-en-main-extensions .text-cle-main {
    color: var(--cle-main-accent) !important;
}

#cle-en-main-extensions .btn-cle-main-cta.btn-primary {
    background: var(--gradient-cle-en-main) !important;
    border-color: transparent !important;
}

#cle-en-main-extensions .btn-cle-main-cta.btn-primary:hover {
    filter: brightness(1.06);
    border-color: transparent !important;
}

