/* ==========================================================================
   Infogérance WP — design system
   Bootstrap 5.3 fournit la grille, les utilitaires et la base des formulaires ;
   ce fichier définit l'identité : jetons, typographie, composants, sections.
   ========================================================================== */

@font-face {
    font-family: 'Manrope';
    src: url("../fonts/manrope-latin-wght-normal-aA_waSK.woff2") format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Police de repli ajustée pour limiter le décalage de mise en page pendant le chargement. */
@font-face {
    font-family: 'Manrope Fallback';
    src: local('Arial');
    size-adjust: 104%;
    ascent-override: 98%;
    descent-override: 27%;
    line-gap-override: 0%;
}

:root {
    /* Couleurs de marque */
    --iwp-night: #0b1c2e;
    --iwp-navy: #10243a;
    --iwp-deep: #16344f;
    --iwp-steel: #24486b;
    --iwp-green: #10b981;
    --iwp-green-600: #059669;
    --iwp-green-700: #047857;
    --iwp-mint: #5eead4;
    --iwp-mint-soft: #ccfbf1;
    --iwp-amber: #f59e0b;
    --iwp-amber-700: #b45309;
    --iwp-red-700: #b42318;

    /* Surfaces et texte */
    --iwp-bg: #f7f9fc;
    --iwp-tint: #eef3f8;
    --iwp-surface: #ffffff;
    --iwp-text: #172b3a;
    --iwp-muted: #526175;
    --iwp-border: #e1e8f0;
    --iwp-border-strong: #c8d3df;
    --iwp-on-dark: #ffffff;
    --iwp-on-dark-muted: #b4c3d3;
    --iwp-dark-border: rgba(148, 178, 208, 0.18);

    /* Formes */
    --iwp-radius-sm: 10px;
    --iwp-radius: 16px;
    --iwp-radius-lg: 24px;
    --iwp-radius-xl: 32px;
    --iwp-shadow-sm: 0 1px 2px rgba(16, 36, 58, 0.06), 0 1px 1px rgba(16, 36, 58, 0.04);
    --iwp-shadow: 0 10px 30px -12px rgba(16, 36, 58, 0.18), 0 2px 6px rgba(16, 36, 58, 0.05);
    --iwp-shadow-lg: 0 30px 60px -24px rgba(11, 28, 46, 0.35), 0 8px 20px -8px rgba(11, 28, 46, 0.12);
    --iwp-ring: 0 0 0 3px rgba(16, 185, 129, 0.35);

    --iwp-font: 'Manrope', 'Manrope Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --iwp-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Code', Menlo, Consolas, monospace;
    --iwp-header-h: 72px;
    --iwp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    /* Raccordement Bootstrap */
    --bs-body-font-family: var(--iwp-font);
    --bs-body-color: var(--iwp-text);
    --bs-body-bg: var(--iwp-bg);
    --bs-body-line-height: 1.65;
    --bs-link-color: var(--iwp-green-700);
    --bs-link-color-rgb: 4, 120, 87;
    --bs-link-hover-color: var(--iwp-navy);
    --bs-link-hover-color-rgb: 16, 36, 58;
    --bs-border-color: var(--iwp-border);
    --bs-heading-color: var(--iwp-navy);
    --bs-emphasis-color: var(--iwp-navy);
    --bs-secondary-color: var(--iwp-muted);
    --bs-focus-ring-color: rgba(16, 185, 129, 0.35);
    --bs-form-invalid-color: var(--iwp-red-700);
    --bs-form-invalid-border-color: var(--iwp-red-700);
    --bs-form-valid-border-color: var(--iwp-green-600);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
    scroll-padding-top: calc(var(--iwp-header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--iwp-font);
    font-size: 1.0625rem;
    background: var(--iwp-bg);
    color: var(--iwp-text);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--bs-heading-color);
    text-wrap: balance;
}

h1, .h1 { font-size: clamp(2.1rem, 1.35rem + 3.3vw, 3.9rem); letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.7rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.3; }
h4, .h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

strong, b { font-weight: 700; }

::selection { background: var(--iwp-mint-soft); color: var(--iwp-night); }

:focus-visible {
    outline: 3px solid var(--iwp-green);
    outline-offset: 3px;
    border-radius: 6px;
}

.on-dark :focus-visible { outline-color: var(--iwp-mint); }

img, svg { max-width: 100%; }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    vertical-align: -0.25em;
}

.container {
    --bs-gutter-x: 2rem;
}

@media (min-width: 1200px) {
    .container { max-width: 1200px; }
}

@media (max-width: 575.98px) {
    .container { --bs-gutter-x: 2rem; }
    body { font-size: 1rem; }
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--iwp-night);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--iwp-radius-sm);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.text-muted-iwp { color: var(--iwp-muted) !important; }
.lead {
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
    line-height: 1.6;
    font-weight: 450;
    color: var(--iwp-muted);
}
.on-dark .lead { color: var(--iwp-on-dark-muted); }

.measure { max-width: 68ch; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn-iwp {
    --btn-bg: var(--iwp-navy);
    --btn-fg: #fff;
    --btn-border: transparent;
    --btn-hover-bg: var(--iwp-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border: 1.5px solid var(--btn-border);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: -0.005em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--iwp-ease), color 0.2s, border-color 0.2s, transform 0.2s var(--iwp-ease), box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.btn-iwp:hover {
    background: var(--btn-hover-bg);
    color: var(--btn-fg);
    text-decoration: none;
    transform: translateY(-1px);
}
.btn-iwp:active { transform: translateY(0); }
.btn-iwp .icon { transition: transform 0.2s var(--iwp-ease); }
.btn-iwp:hover .icon-arrow { transform: translateX(3px); }

.btn-primary-iwp {
    --btn-bg: var(--iwp-green);
    --btn-fg: var(--iwp-night);
    --btn-hover-bg: #34d399;
    box-shadow: 0 8px 22px -10px rgba(16, 185, 129, 0.75);
}
.btn-outline-iwp {
    --btn-bg: transparent;
    --btn-fg: var(--iwp-navy);
    --btn-border: var(--iwp-border-strong);
    --btn-hover-bg: var(--iwp-surface);
}
.btn-outline-iwp:hover { border-color: var(--iwp-navy); }
.btn-ghost-dark {
    --btn-bg: rgba(255, 255, 255, 0.04);
    --btn-fg: #fff;
    --btn-border: rgba(255, 255, 255, 0.28);
    --btn-hover-bg: rgba(255, 255, 255, 0.1);
}
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn-sm-iwp { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-block-iwp { width: 100%; }

.btn-iwp[disabled],
.btn-iwp.is-loading { cursor: progress; opacity: 0.85; transform: none; }
.btn-iwp .spinner {
    display: none;
    width: 1.05em;
    height: 1.05em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: iwp-spin 0.7s linear infinite;
}
.btn-iwp.is-loading .spinner { display: inline-block; }
.btn-iwp.is-loading .icon { display: none; }

@keyframes iwp-spin { to { transform: rotate(360deg); } }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--iwp-green-700);
    text-decoration: none;
}
.link-arrow:hover { color: var(--iwp-navy); text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform 0.2s var(--iwp-ease); }
.on-dark .link-arrow { color: var(--iwp-mint); }
.on-dark .link-arrow:hover { color: #fff; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}
/* Flou d'arrière-plan porté par un pseudo-élément : un backdrop-filter sur l'en-tête lui-même
   en ferait le bloc conteneur du panneau de navigation mobile (position: fixed). */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
}
body.nav-open .site-header::before { background: #fff; }
.site-header.is-scrolled {
    border-bottom-color: var(--iwp-border);
    box-shadow: 0 6px 24px -18px rgba(16, 36, 58, 0.5);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--iwp-header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--iwp-navy);
    text-decoration: none;
    flex-shrink: 0;
}
.brand:hover { color: var(--iwp-navy); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-weight: 800;
    font-size: 1.16rem;
    letter-spacing: -0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.brand-wp {
    display: inline-block;
    padding: 0.2em 0.42em 0.18em;
    border-radius: 6px;
    background: var(--iwp-green);
    color: var(--iwp-night);
    font-size: 0.72em;
    letter-spacing: 0.02em;
    line-height: 1;
}
.brand-sub {
    margin-top: 0.3rem;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--iwp-muted);
}
.on-dark a.brand, .on-dark a.brand:hover { color: #fff; text-decoration: none; }
.on-dark .brand-sub { color: var(--iwp-on-dark-muted); }

.nav-main { margin-left: auto; }
.nav-main > ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-link-iwp {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 44px;
    padding: 0.5rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--iwp-text);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.nav-link-iwp:hover, .nav-link-iwp[aria-expanded='true'] {
    background: var(--iwp-tint);
    color: var(--iwp-navy);
    text-decoration: none;
}
.nav-link-iwp[aria-current='page'] { color: var(--iwp-green-700); }
.nav-link-iwp .icon { width: 1rem; height: 1rem; transition: transform 0.2s; }
.nav-link-iwp[aria-expanded='true'] .icon { transform: rotate(180deg); }

.nav-item-dropdown { position: relative; }
.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: min(680px, 90vw);
    transform: translateX(-38%);
    padding: 0.75rem;
    border: 1px solid var(--iwp-border);
    border-radius: var(--iwp-radius-lg);
    background: var(--iwp-surface);
    box-shadow: var(--iwp-shadow-lg);
}
.nav-dropdown[hidden] { display: none; }
.nav-dropdown ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-dropdown-link {
    display: flex;
    gap: 0.85rem;
    padding: 0.8rem;
    border-radius: var(--iwp-radius);
    color: var(--iwp-text);
    text-decoration: none;
    transition: background-color 0.2s;
}
.nav-dropdown-link:hover { background: var(--iwp-bg); color: var(--iwp-text); text-decoration: none; }
.nav-dropdown-link strong { display: block; color: var(--iwp-navy); font-size: 0.97rem; }
.nav-dropdown-link span { display: block; color: var(--iwp-muted); font-size: 0.86rem; line-height: 1.45; margin-top: 0.15rem; }
.nav-dropdown-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0.9rem 1rem;
    border-radius: var(--iwp-radius);
    background: var(--iwp-bg);
    font-size: 0.92rem;
    color: var(--iwp-muted);
}

.header-cta { display: flex; align-items: center; gap: 0.5rem; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    border: 1px solid var(--iwp-border);
    border-radius: 14px;
    background: var(--iwp-surface);
    color: var(--iwp-navy);
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

@media (max-width: 1099.98px) {
    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .nav-main {
        position: fixed;
        inset: var(--iwp-nav-top, var(--iwp-header-h)) 0 0 0;
        z-index: 1029;
        margin: 0;
        padding: 1.25rem 1rem 2rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: var(--iwp-surface);
        border-top: 1px solid var(--iwp-border);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.25s var(--iwp-ease), visibility 0s linear 0.25s;
    }
    .nav-main.is-open {
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: opacity 0.2s, transform 0.25s var(--iwp-ease), visibility 0s;
    }
    .nav-main > ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
    .nav-link-iwp {
        width: 100%;
        justify-content: space-between;
        min-height: 52px;
        padding: 0.75rem 1rem;
        border-radius: var(--iwp-radius);
        font-size: 1.08rem;
    }
    .nav-dropdown {
        position: static;
        width: auto;
        transform: none;
        margin: 0.25rem 0 0.5rem;
        padding: 0.25rem;
        border: 0;
        box-shadow: none;
        background: var(--iwp-bg);
    }
    .nav-dropdown ul { grid-template-columns: 1fr; }
    .nav-dropdown-foot { display: none; }
    .nav-mobile-cta { display: grid !important; gap: 0.6rem; margin-top: 1.25rem; }
    body.nav-open { overflow: hidden; }
}
.nav-mobile-cta { display: none !important; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); position: relative; }
.section-sm { padding-block: clamp(3rem, 2.5rem + 3vw, 5rem); }
.section-tint { background: var(--iwp-tint); }
.section-white { background: var(--iwp-surface); }
.section + .section-white,
.section-white + .section-white { border-top: 1px solid var(--iwp-border); }

.section-dark {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(94, 234, 212, 0.13), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(16, 185, 129, 0.12), transparent 60%),
        var(--iwp-night);
    color: var(--iwp-on-dark);
    overflow: hidden;
}
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(148, 178, 208, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 178, 208, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    pointer-events: none;
}
.section-dark > * { position: relative; }
.on-dark { color: var(--iwp-on-dark); --bs-heading-color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: var(--iwp-on-dark-muted); }
.on-dark a:not(.btn-iwp):not(.brand) { color: var(--iwp-mint); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); }
.section-head.text-center { margin-inline: auto; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.1rem; color: var(--iwp-muted); margin-bottom: 0; }
.on-dark .section-head p { color: var(--iwp-on-dark-muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--iwp-green-700);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.on-dark .eyebrow { color: var(--iwp-mint); }
.text-center .eyebrow::after {
    content: '';
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

/* --------------------------------------------------------------------------
   Héros d'accueil
   -------------------------------------------------------------------------- */
.hero {
    padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 3rem + 6vw, 8rem);
}
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .accent {
    background: linear-gradient(100deg, var(--iwp-mint), var(--iwp-green) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .lead { max-width: 37rem; margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--iwp-on-dark-muted);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-proof .icon { color: var(--iwp-green); }

/* Illustration : console de supervision (purement décorative) */
.console-wrap { position: relative; max-width: 560px; margin-inline: auto; padding: 1.5rem 0; }
.console {
    position: relative;
    border: 1px solid var(--iwp-dark-border);
    border-radius: var(--iwp-radius-lg);
    background: linear-gradient(180deg, rgba(27, 64, 100, 0.55), rgba(16, 36, 58, 0.75));
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    overflow: hidden;
}
.console-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--iwp-dark-border);
    font-family: var(--iwp-mono);
    font-size: 0.78rem;
    color: var(--iwp-on-dark-muted);
}
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.console-bar span { margin-left: 0.5rem; }
.console-body { padding: 1.1rem; display: grid; gap: 0.75rem; }
.console-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--iwp-radius);
    background: rgba(11, 28, 46, 0.55);
    border: 1px solid var(--iwp-dark-border);
}
.console-status strong { display: block; color: #fff; font-size: 1rem; }
.console-status small { color: var(--iwp-on-dark-muted); font-size: 0.8rem; }
.live-dot {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--iwp-green);
    vertical-align: 0.05em;
}
.live-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--iwp-green);
    opacity: 0;
    animation: iwp-ping 2.4s var(--iwp-ease) infinite;
}
@keyframes iwp-ping {
    0% { transform: scale(0.6); opacity: 0.8; }
    80%, 100% { transform: scale(1.8); opacity: 0; }
}
.sparkline { width: 150px; height: 42px; }
.sparkline path { fill: none; stroke: var(--iwp-mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: iwp-draw 2.2s 0.3s var(--iwp-ease) forwards; }
.sparkline .area { fill: url(#spark-fill); stroke: none; animation: none; stroke-dasharray: none; }
@keyframes iwp-draw { to { stroke-dashoffset: 0; } }

.console-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.console-tile {
    padding: 0.95rem 1rem;
    border-radius: var(--iwp-radius);
    background: rgba(11, 28, 46, 0.45);
    border: 1px solid var(--iwp-dark-border);
}
.console-tile .label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; color: var(--iwp-on-dark-muted); font-weight: 600; }
.console-tile .label .icon { color: var(--iwp-mint); width: 1rem; height: 1rem; }
.console-tile .value { margin-top: 0.35rem; color: #fff; font-weight: 700; font-size: 0.95rem; }
.console-log { margin: 0; padding: 0; list-style: none; font-family: var(--iwp-mono); font-size: 0.75rem; color: var(--iwp-on-dark-muted); }
.console-log li { display: flex; gap: 0.6rem; padding: 0.3rem 0; border-top: 1px dashed var(--iwp-dark-border); }
.console-log li:first-child { border-top: 0; }
.console-log .ok { color: var(--iwp-green); }
.console-log time { color: #7f93a8; }

.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    background: #fff;
    color: var(--iwp-navy);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--iwp-shadow-lg);
    animation: iwp-float 6s ease-in-out infinite;
}
.float-chip .icon { color: var(--iwp-green-700); width: 1.1rem; height: 1.1rem; }
.float-chip.chip-a { top: 0; right: -12px; }
.float-chip.chip-b { bottom: 0; left: -18px; animation-delay: -3s; }
@keyframes iwp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (max-width: 575.98px) {
    .float-chip.chip-a { right: 0; }
    .float-chip.chip-b { left: 0; }
    .console-grid { grid-template-columns: 1fr; }
    .sparkline { width: 110px; }
}

/* --------------------------------------------------------------------------
   Héros des pages intérieures
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(3rem, 2rem + 4vw, 5.5rem);
    background:
        radial-gradient(800px 360px at 90% 0%, rgba(94, 234, 212, 0.22), transparent 65%),
        linear-gradient(180deg, #fff, var(--iwp-bg));
    border-bottom: 1px solid var(--iwp-border);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(16, 36, 58, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(16, 36, 58, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(105deg, transparent 35%, #000 75%);
    mask-image: linear-gradient(105deg, transparent 35%, #000 75%);
    pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.35rem); margin-bottom: 1.1rem; }
.page-hero .lead { max-width: 40rem; margin-bottom: 1.9rem; }
.page-hero-legal { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }

.breadcrumb-iwp {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 clamp(1.75rem, 1rem + 2vw, 2.75rem);
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
    color: var(--iwp-muted);
}
.breadcrumb-iwp li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumb-iwp li + li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-right: 0.35rem;
    opacity: 0.6;
}
.breadcrumb-iwp a { color: var(--iwp-muted); text-decoration: none; font-weight: 600; }
.breadcrumb-iwp a:hover { color: var(--iwp-navy); text-decoration: underline; }
.breadcrumb-iwp [aria-current='page'] { color: var(--iwp-navy); font-weight: 700; }

.hero-aside {
    padding: 1.75rem;
    border: 1px solid var(--iwp-border);
    border-radius: var(--iwp-radius-lg);
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--iwp-shadow);
}
.hero-aside h2 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--iwp-muted); margin-bottom: 1rem; font-weight: 800; }
.hero-aside .price-from { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.25rem; }
.hero-aside .price-from strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.04em; color: var(--iwp-navy); line-height: 1; }
.hero-aside .price-from span { color: var(--iwp-muted); font-weight: 600; }
.hero-aside hr { margin: 1.25rem 0; border-color: var(--iwp-border); opacity: 1; }

/* --------------------------------------------------------------------------
   Cartes et grilles
   -------------------------------------------------------------------------- */
.card-iwp {
    position: relative;
    height: 100%;
    padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    border: 1px solid var(--iwp-border);
    border-radius: var(--iwp-radius-lg);
    background: var(--iwp-surface);
    box-shadow: var(--iwp-shadow-sm);
    transition: transform 0.25s var(--iwp-ease), box-shadow 0.25s, border-color 0.25s;
}
.card-iwp h3 { margin: 1.1rem 0 0.6rem; }
.card-iwp p { color: var(--iwp-muted); margin-bottom: 0; }
.card-iwp p + p, .card-iwp p + .link-arrow, .card-iwp ul + .link-arrow { margin-top: 1rem; }
.card-link:hover, .card-link:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--iwp-shadow);
    border-color: var(--iwp-border-strong);
}
.card-link .stretched { position: static; }
.card-link .stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card-link .stretched:focus-visible { outline: none; }
.card-link:focus-within { outline: 3px solid var(--iwp-green); outline-offset: 3px; }

.card-dark {
    background: linear-gradient(160deg, var(--iwp-deep), var(--iwp-night));
    border-color: rgba(148, 178, 208, 0.18);
    color: #fff;
}
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--iwp-on-dark-muted); }

.card-flat { box-shadow: none; background: transparent; border-style: dashed; }

.icon-badge {
    display: inline-flex;
    flex-shrink: 0;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(145deg, #e6fbf4, #d4f5ec);
    color: var(--iwp-green-700);
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.18);
}
.icon-badge .icon { width: 1.5rem; height: 1.5rem; }
.icon-badge-sm { width: 40px; height: 40px; border-radius: 12px; }
.icon-badge-sm .icon { width: 1.2rem; height: 1.2rem; }
.icon-badge-warn { background: linear-gradient(145deg, #fff4e5, #ffe8c7); color: var(--iwp-amber-700); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25); }
.on-dark .icon-badge, .card-dark .icon-badge { background: rgba(94, 234, 212, 0.1); color: var(--iwp-mint); box-shadow: inset 0 0 0 1px rgba(94, 234, 212, 0.25); }

.problem-card {
    display: flex;
    gap: 1rem;
    height: 100%;
    padding: 1.4rem;
    border-radius: var(--iwp-radius);
    background: var(--iwp-surface);
    border: 1px solid var(--iwp-border);
}
.problem-card h3 { font-size: 1.06rem; margin: 0.15rem 0 0.35rem; }
.problem-card p { margin: 0; color: var(--iwp-muted); font-size: 0.96rem; line-height: 1.55; }

.solution-card { display: flex; flex-direction: column; }
.solution-card ul { margin-top: 1.1rem; }
.solution-card .card-foot { margin-top: auto; padding-top: 1.5rem; }
.solution-card .tag-price {
    display: inline-block;
    margin-top: 1.1rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--iwp-tint);
    color: var(--iwp-navy);
    font-weight: 700;
    font-size: 0.88rem;
}
.card-dark .tag-price { background: rgba(94, 234, 212, 0.12); color: var(--iwp-mint); }

/* Listes */
.list-check, .list-x, .list-dot { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.list-check li, .list-x li, .list-dot li { position: relative; padding-left: 1.85rem; line-height: 1.5; }
.list-check li::before, .list-x li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.8rem;
}
.list-check li::before {
    background-color: rgba(16, 185, 129, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.3 4.3L19 7.2'/%3E%3C/svg%3E");
}
.on-dark .list-check li::before, .card-dark .list-check li::before, .plan-card.is-recommended .list-check li::before {
    background-color: rgba(94, 234, 212, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.3 4.3L19 7.2'/%3E%3C/svg%3E");
}
.list-x li::before {
    background-color: rgba(180, 35, 24, 0.09);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
.list-dot li::before { content: ''; position: absolute; left: 0.45rem; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--iwp-green); }
.list-tight { gap: 0.4rem; font-size: 0.97rem; }

/* Bloc partagé texte / visuel */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1.05fr 0.95fr; } .split-reverse > :first-child { order: 2; } }

.feature-row { display: flex; gap: 1rem; }
.feature-row + .feature-row { margin-top: 1.5rem; }
.feature-row h3, .feature-row h4 { font-size: 1.08rem; margin: 0.2rem 0 0.3rem; }
.feature-row p { margin: 0; color: var(--iwp-muted); font-size: 0.97rem; }
.on-dark .feature-row p { color: var(--iwp-on-dark-muted); }

/* Encadrés */
.callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-radius: var(--iwp-radius);
    border: 1px solid var(--iwp-border);
    background: var(--iwp-surface);
}
.callout > .icon { color: var(--iwp-green-700); width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; }
.callout p { margin: 0; color: var(--iwp-muted); }
.callout p + p { margin-top: 0.5rem; }
.callout strong { color: var(--iwp-navy); }
.callout-warn { background: #fffaf0; border-color: #f6dfb2; }
.callout-warn > .icon { color: var(--iwp-amber-700); }
.callout-draft { background: #fff8e6; border: 1px dashed #e2b04a; }
.callout-draft > .icon { color: var(--iwp-amber-700); }

/* Statistiques / repères textuels (aucune donnée chiffrée inventée) */
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.pill-list li {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--iwp-surface);
    border: 1px solid var(--iwp-border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--iwp-navy);
}
.on-dark .pill-list li { background: rgba(255, 255, 255, 0.05); border-color: var(--iwp-dark-border); color: #fff; }

/* --------------------------------------------------------------------------
   Diagramme « couches » (pages Infogérance / Hébergement)
   -------------------------------------------------------------------------- */
.stack-diagram { display: grid; gap: 0.6rem; }
.stack-layer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    border-radius: var(--iwp-radius);
    border: 1px solid var(--iwp-border);
    background: var(--iwp-surface);
    box-shadow: var(--iwp-shadow-sm);
}
.stack-layer strong { display: block; color: var(--iwp-navy); }
.stack-layer span { display: block; color: var(--iwp-muted); font-size: 0.9rem; }
.stack-layer .who {
    margin-left: auto;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    background: var(--iwp-tint);
    color: var(--iwp-navy);
}
.stack-layer.is-ours { border-color: rgba(16, 185, 129, 0.45); background: linear-gradient(90deg, rgba(16, 185, 129, 0.07), #fff 60%); }
.stack-layer.is-ours .who { background: var(--iwp-green); color: var(--iwp-night); }
@media (max-width: 575.98px) {
    .stack-layer { flex-wrap: wrap; }
    .stack-layer .who { margin-left: 3.4rem; }
}

/* --------------------------------------------------------------------------
   Tarifs
   -------------------------------------------------------------------------- */
.pricing-switch {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: var(--iwp-surface);
    border: 1px solid var(--iwp-border);
    box-shadow: var(--iwp-shadow-sm);
}
.pricing-switch button {
    min-height: 46px;
    padding: 0.55rem 1.35rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--iwp-muted);
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.pricing-switch button:hover { color: var(--iwp-navy); }
.pricing-switch button[aria-selected='true'] {
    background: var(--iwp-navy);
    color: #fff;
    box-shadow: 0 6px 16px -8px rgba(16, 36, 58, 0.7);
}
.pricing-switch-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-bottom: 2.5rem; text-align: center; }
.pricing-switch-wrap p { margin: 0; color: var(--iwp-muted); max-width: 46rem; }
.pricing-panel[hidden] { display: none; }
.pricing-panel-title { margin-bottom: 1.5rem; }
.js .pricing-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-js-only { display: block; }
.js .no-js-only { display: none; }

.plan-grid { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 992px) { .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 768px) and (max-width: 991.98px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
    border: 1px solid var(--iwp-border);
    border-radius: var(--iwp-radius-lg);
    background: var(--iwp-surface);
    box-shadow: var(--iwp-shadow-sm);
}
.plan-card .plan-audience { font-size: 0.86rem; font-weight: 700; color: var(--iwp-green-700); letter-spacing: 0.02em; }
.plan-card h3 { font-size: 1.6rem; margin: 0.25rem 0 0.75rem; }
.plan-card .plan-pitch { color: var(--iwp-muted); font-size: 0.97rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; margin: 1.25rem 0 0.2rem; color: var(--iwp-navy); }
.plan-price .amount { font-size: clamp(2.6rem, 2.2rem + 1.4vw, 3.3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.plan-price .currency { font-size: 1.5rem; font-weight: 800; }
.plan-price .period { color: var(--iwp-muted); font-weight: 600; font-size: 0.95rem; }
.plan-card .plan-ht { font-size: 0.82rem; color: var(--iwp-muted); margin-bottom: 1.5rem; }
.plan-card .btn-iwp { margin-bottom: 1.6rem; }
.plan-card .plan-inherits { font-weight: 700; color: var(--iwp-navy); margin-bottom: 0.75rem; font-size: 0.95rem; }
.plan-card .list-check { font-size: 0.95rem; gap: 0.55rem; }
.plan-card .plan-note { margin-top: auto; padding-top: 1.4rem; font-size: 0.84rem; color: var(--iwp-muted); }
.plan-card .plan-note p { margin: 0; padding-top: 1rem; border-top: 1px dashed var(--iwp-border-strong); }

.plan-card.is-recommended {
    background: linear-gradient(165deg, var(--iwp-deep) 0%, var(--iwp-night) 70%);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--iwp-shadow-lg);
}
@media (min-width: 992px) { .plan-card.is-recommended { transform: translateY(-12px); } }
.plan-card.is-recommended h3,
.plan-card.is-recommended .plan-price,
.plan-card.is-recommended .plan-inherits { color: #fff; }
.plan-card.is-recommended .plan-audience { color: var(--iwp-mint); }
.plan-card.is-recommended .plan-pitch,
.plan-card.is-recommended .plan-price .period,
.plan-card.is-recommended .plan-ht,
.plan-card.is-recommended .plan-note { color: var(--iwp-on-dark-muted); }
.plan-card.is-recommended .plan-note p { border-top-color: rgba(148, 178, 208, 0.3); }
.plan-badge {
    position: absolute;
    top: -13px;
    right: 1.5rem;
    padding: 0.32rem 0.8rem;
    border-radius: 999px;
    background: var(--iwp-mint);
    color: var(--iwp-night);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pricing-footnote { margin-top: 2rem; text-align: center; color: var(--iwp-muted); font-size: 0.93rem; }
.on-dark .pricing-footnote { color: var(--iwp-on-dark-muted); }

/* Tableau comparatif */
.compare-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.compare-tools .form-check { margin: 0; }
.scroll-hint { display: none; align-items: center; gap: 0.4rem; font-size: 0.86rem; color: var(--iwp-muted); font-weight: 600; }
@media (max-width: 767.98px) { .scroll-hint { display: inline-flex; } }

.table-scroll {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--iwp-border);
    border-radius: var(--iwp-radius-lg);
    background: var(--iwp-surface);
    box-shadow: var(--iwp-shadow-sm);
    -webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible { outline: 3px solid var(--iwp-green); }
.compare-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.compare-table caption { caption-side: top; padding: 1.1rem 1.25rem 0; color: var(--iwp-muted); font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--iwp-border); vertical-align: middle; }
.compare-table thead th {
    position: sticky;
    top: 0;
    background: var(--iwp-surface);
    text-align: center;
    font-weight: 800;
    color: var(--iwp-navy);
    border-bottom: 2px solid var(--iwp-border-strong);
}
.compare-table thead th small { display: block; font-weight: 700; color: var(--iwp-muted); font-size: 0.85rem; letter-spacing: 0; }
.compare-table thead th.is-recommended { color: var(--iwp-green-700); }
.compare-table tbody th { font-weight: 600; color: var(--iwp-text); text-align: left; min-width: 220px; }
.compare-table td { text-align: center; color: var(--iwp-navy); font-weight: 600; }
.compare-table td.is-recommended { background: rgba(16, 185, 129, 0.05); }
.compare-table .group-row th {
    padding-top: 1.4rem;
    background: var(--iwp-bg);
    color: var(--iwp-navy);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--iwp-green-600); width: 1.35rem; height: 1.35rem; }
.compare-table .no { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--iwp-border-strong); vertical-align: middle; }
.compare-table tr.is-diff th { box-shadow: inset 3px 0 0 var(--iwp-green); }
.compare-table.only-diff tbody tr.is-same { display: none; }
.compare-table tbody th:first-child, .compare-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--iwp-surface);
    text-align: left;
}
.compare-table .group-row th:first-child { background: var(--iwp-bg); }
.compare-table tfoot td { padding: 1.25rem 1rem; border-bottom: 0; }
@media (max-width: 767.98px) {
    .compare-table tbody th:first-child, .compare-table thead th:first-child { min-width: 170px; max-width: 190px; box-shadow: 8px 0 12px -10px rgba(16, 36, 58, 0.35); }
    .compare-table th, .compare-table td { padding: 0.75rem 0.8rem; }
}

/* Paliers agences */
.tier-list { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.tier-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.2rem;
    border-radius: var(--iwp-radius);
    border: 1px solid var(--iwp-dark-border);
    background: rgba(255, 255, 255, 0.04);
}
.tier-list li strong { color: #fff; font-size: 1.15rem; font-weight: 800; white-space: nowrap; }
.tier-list li span { color: var(--iwp-on-dark-muted); font-weight: 600; }
.tier-list.on-light li { border-color: var(--iwp-border); background: var(--iwp-surface); }
.tier-list.on-light li strong { color: var(--iwp-navy); }
.tier-list.on-light li span { color: var(--iwp-text); }
.tier-list li.is-active { border-color: var(--iwp-green); box-shadow: var(--iwp-ring); }

.calc {
    padding: 1.6rem;
    border-radius: var(--iwp-radius-lg);
    border: 1px solid var(--iwp-border);
    background: var(--iwp-surface);
    box-shadow: var(--iwp-shadow);
}
.calc output { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--iwp-navy); line-height: 1.1; }
.calc .calc-detail { color: var(--iwp-muted); font-size: 0.92rem; min-height: 1.5em; }
.calc input[type='range'] { width: 100%; accent-color: var(--iwp-green-600); }

/* --------------------------------------------------------------------------
   Méthode (étapes)
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 992px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; } }
.steps li {
    position: relative;
    padding: 1.5rem 1.35rem;
    border-radius: var(--iwp-radius-lg);
    border: 1px solid var(--iwp-border);
    background: var(--iwp-surface);
    counter-increment: step;
}
.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--iwp-navy);
    color: var(--iwp-mint);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}
@media (min-width: 992px) {
    .steps li:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 2.85rem;
        right: -1.25rem;
        width: 1.25rem;
        height: 2px;
        background: repeating-linear-gradient(90deg, var(--iwp-border-strong) 0 4px, transparent 4px 8px);
    }
}
.steps h3 { font-size: 1.08rem; margin-bottom: 0.45rem; }
.steps p { margin: 0; color: var(--iwp-muted); font-size: 0.95rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   FAQ (accordéon accessible)
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--iwp-border); }
.faq-item:first-child { border-top: 1px solid var(--iwp-border); }
.faq-item h3 { margin: 0; font-size: 1.08rem; }
.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
    min-height: 64px;
    padding: 1.15rem 0.25rem;
    border: 0;
    background: none;
    color: var(--iwp-navy);
    font: inherit;
    font-weight: 700;
    text-align: left;
    line-height: 1.4;
    cursor: pointer;
}
.faq-trigger:hover { color: var(--iwp-green-700); }
.faq-trigger .faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--iwp-tint);
    transition: background-color 0.2s, transform 0.3s var(--iwp-ease);
}
.faq-trigger .faq-icon::before, .faq-trigger .faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: var(--iwp-navy);
    transition: transform 0.3s var(--iwp-ease);
}
.faq-trigger .faq-icon::after { transform: rotate(90deg); }
.faq-trigger[aria-expanded='true'] .faq-icon { background: var(--iwp-green); }
.faq-trigger[aria-expanded='true'] .faq-icon::after { transform: rotate(0deg); }
.faq-panel { padding: 0 0.25rem 1.4rem; color: var(--iwp-muted); max-width: 72ch; }
.faq-panel p:last-child, .faq-panel ul:last-child { margin-bottom: 0; }
.faq-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Appel à l'action final
   -------------------------------------------------------------------------- */
.cta-panel {
    position: relative;
    padding: clamp(2.25rem, 1.5rem + 4vw, 4.5rem);
    border-radius: var(--iwp-radius-xl);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(94, 234, 212, 0.28), transparent 60%),
        radial-gradient(500px 300px at 0% 100%, rgba(16, 185, 129, 0.2), transparent 60%),
        linear-gradient(140deg, var(--iwp-deep), var(--iwp-night));
    color: #fff;
    overflow: hidden;
    box-shadow: var(--iwp-shadow-lg);
}
.cta-panel::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(94, 234, 212, 0.2);
    box-shadow: 0 0 0 40px rgba(94, 234, 212, 0.04), 0 0 0 80px rgba(94, 234, 212, 0.03);
    pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; margin-bottom: 1rem; }
.cta-panel p { color: var(--iwp-on-dark-muted); font-size: 1.1rem; max-width: 40rem; }
.cta-panel .hero-actions { margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */
.form-card {
    padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
    border: 1px solid var(--iwp-border);
    border-radius: var(--iwp-radius-xl);
    background: var(--iwp-surface);
    box-shadow: var(--iwp-shadow);
}
.form-card fieldset { margin: 0 0 1.75rem; padding: 0; border: 0; }
.form-card fieldset > legend.form-label { float: none; font-size: 0.97rem; letter-spacing: 0; text-transform: none; color: var(--iwp-navy); font-weight: 700; margin-bottom: 0.4rem; }
.form-card legend {
    float: none;
    width: auto;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--iwp-green-700);
}
.form-label { font-weight: 700; color: var(--iwp-navy); margin-bottom: 0.4rem; font-size: 0.97rem; }
.form-label .optional { font-weight: 500; color: var(--iwp-muted); font-size: 0.88rem; }
.form-label .required-mark { color: var(--iwp-red-700); margin-left: 0.15rem; }
.form-control, .form-select {
    min-height: 50px;
    padding: 0.7rem 0.95rem;
    border: 1.5px solid var(--iwp-border-strong);
    border-radius: 12px;
    background-color: #fff;
    color: var(--iwp-text);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control::placeholder { color: #8796a8; }
.form-control:hover, .form-select:hover { border-color: #9fb1c4; }
.form-control:focus, .form-select:focus { border-color: var(--iwp-green-600); box-shadow: var(--iwp-ring); }
textarea.form-control { min-height: 150px; resize: vertical; }
.form-text { color: var(--iwp-muted); font-size: 0.86rem; margin-top: 0.4rem; }
.form-check { padding-left: 2.2rem; min-height: 1.75rem; }
.form-check-input { width: 1.5rem; height: 1.5rem; margin-left: -2.2rem; margin-top: 0.05rem; border: 1.5px solid var(--iwp-border-strong); }
.form-check-input:checked { background-color: var(--iwp-green-600); border-color: var(--iwp-green-600); }
.form-check-input:focus { border-color: var(--iwp-green-600); box-shadow: var(--iwp-ring); }
.form-check-label { line-height: 1.5; }
.choice-cards { display: grid; gap: 0.6rem; }
@media (min-width: 576px) { .choice-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice-cards .form-check {
    margin: 0;
    padding: 0.85rem 0.9rem 0.85rem 2.75rem;
    border: 1.5px solid var(--iwp-border-strong);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}
.choice-cards .form-check:hover { border-color: #9fb1c4; }
.choice-cards .form-check:has(:checked) { border-color: var(--iwp-green-600); background: rgba(16, 185, 129, 0.06); }
.choice-cards .form-check-input { margin-left: -2rem; }
.choice-cards .form-check-label { font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.is-invalid, .form-control.is-invalid, .form-select.is-invalid { border-color: var(--iwp-red-700) !important; }
.invalid-feedback { display: flex; align-items: flex-start; gap: 0.4rem; color: var(--iwp-red-700); font-weight: 600; font-size: 0.88rem; margin-top: 0.45rem; }
.invalid-feedback::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: var(--iwp-red-700);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}
.form-row { margin-bottom: 1.25rem; }
.privacy-notice { padding: 1rem 1.15rem; border-radius: 12px; background: var(--iwp-bg); border: 1px solid var(--iwp-border); font-size: 0.86rem; color: var(--iwp-muted); line-height: 1.55; }
.privacy-notice p { margin: 0; }
.privacy-notice p + p { margin-top: 0.4rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert-iwp {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border-radius: 14px;
    border: 1px solid;
    font-weight: 600;
}
.alert-iwp .icon { width: 1.35rem; height: 1.35rem; margin-top: 0.05rem; }
.alert-iwp ul { margin: 0.35rem 0 0; padding-left: 1.1rem; font-weight: 500; }
.alert-iwp-error { background: #fef3f2; border-color: #fecdca; color: #912018; }
.alert-iwp-success { background: #ecfdf3; border-color: #abefc6; color: #05603a; }

.side-panel { position: sticky; top: calc(var(--iwp-header-h) + 24px); }
.side-panel .card-iwp + .card-iwp { margin-top: 1rem; height: auto; }
.side-panel .card-iwp { height: auto; }
.side-panel h2 { font-size: 1.2rem; margin-bottom: 1rem; }

.success-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 1.5rem;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--iwp-green), #34d399);
    color: var(--iwp-night);
    box-shadow: 0 18px 40px -16px rgba(16, 185, 129, 0.8);
}
.success-mark .icon { width: 2.2rem; height: 2.2rem; }

/* --------------------------------------------------------------------------
   Contenus longs (pages légales)
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.45rem; margin: 2.5rem 0 0.9rem; }
.prose h3 { font-size: 1.12rem; margin: 1.75rem 0 0.6rem; }
.prose p, .prose li { color: #334658; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.3rem; }
.prose table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 0.65rem 0.75rem; border: 1px solid var(--iwp-border); vertical-align: top; text-align: left; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 575.98px) {
    .prose table, .prose tbody, .prose tr, .prose th, .prose td { display: block; width: 100%; }
    .prose thead { display: none; }
    .prose tr { margin-bottom: 0.75rem; }
    .prose th[scope='row'] { border-bottom: 0; }
}
.prose th { background: var(--iwp-bg); color: var(--iwp-navy); }
.todo {
    display: inline-block;
    padding: 0.05rem 0.45rem;
    border-radius: 6px;
    background: #fff1d6;
    color: #8a4b00;
    font-weight: 700;
    font-size: 0.92em;
}
.toc { padding: 1.25rem 1.4rem; border-radius: var(--iwp-radius); background: var(--iwp-surface); border: 1px solid var(--iwp-border); }
.toc h2 { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--iwp-muted); margin: 0 0 0.75rem; }
.toc ol { margin: 0; padding-left: 1.15rem; font-size: 0.94rem; }
.toc li + li { margin-top: 0.35rem; }
.toc a { color: var(--iwp-navy); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--iwp-green-700); text-decoration: underline; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 2rem;
    background: var(--iwp-night);
    color: var(--iwp-on-dark-muted);
    font-size: 0.95rem;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.5), transparent);
}
.site-footer h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 800; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.site-footer a:not(.btn-iwp):not(.brand) { display: inline-block; padding: 0.3rem 0; color: var(--iwp-on-dark-muted); text-decoration: none; }
.site-footer a:not(.btn-iwp):not(.brand):hover { color: #fff; text-decoration: underline; }
.site-footer .footer-pitch { max-width: 24rem; margin: 1.25rem 0 1.5rem; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--iwp-dark-border);
    font-size: 0.86rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-bottom a { padding: 0.2rem 0; }
.footer-signature { display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; font-weight: 700; }
.footer-signature::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--iwp-green); }

/* Barre d'environnement (hors production indexée) */
.env-banner {
    padding: 0.4rem 1rem;
    background: #fff1d6;
    color: #6b3a00;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Page d'erreur
   -------------------------------------------------------------------------- */
.error-code {
    font-size: clamp(4.5rem, 3rem + 8vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.9;
    background: linear-gradient(120deg, var(--iwp-mint), var(--iwp-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --------------------------------------------------------------------------
   Apparition progressive (désactivée si mouvement réduit ou sans JS)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--iwp-ease), transform 0.6s var(--iwp-ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .sparkline path { stroke-dashoffset: 0; }
    .js .reveal { opacity: 1; transform: none; }
    .float-chip { animation: none; }
}

@media print {
    .site-header, .site-footer, .cta-panel, .nav-main, .env-banner { display: none !important; }
    body { background: #fff; }
}

/* --------------------------------------------------------------------------
   Ajustements petits écrans
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Les gouttières larges de Bootstrap dépassent la marge du conteneur sur mobile. */
    .row.g-5, .row.gx-5 { --bs-gutter-x: 2rem; }
}
@media (max-width: 575.98px) {
    .tier-list li { flex-wrap: wrap; gap: 0.25rem 1rem; }
    .tier-list li strong { white-space: normal; }
}
@media (max-width: 419.98px) {
    .hero-actions .btn-iwp { width: 100%; }
}

/* --------------------------------------------------------------------------
   Offres en préparation (disponibilité prochaine)
   -------------------------------------------------------------------------- */
.plan-badge-soon { background: #fde7b3; color: #6b3a00; }
.plan-card.is-upcoming .plan-price .period:first-child { flex-basis: 100%; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.plan-card.is-upcoming .plan-price { flex-wrap: wrap; row-gap: 0.25rem; }
.tab-soon {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #fde7b3;
    color: #6b3a00;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    vertical-align: 0.1em;
}
.tag-soon { background: #fde7b3 !important; color: #6b3a00 !important; }
.offer-notice { margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   Récapitulatif de l'offre choisie en tête de formulaire (lot P1-A)
   -------------------------------------------------------------------------- */
.offer-recap {
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    border: 1.5px solid rgba(16, 185, 129, 0.45);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.07), #fff 70%);
}
.offer-recap.is-upcoming { border-color: #f0c870; background: linear-gradient(90deg, #fff6df, #fff 70%); }
.offer-recap p { margin: 0; }
.offer-recap-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--iwp-green-700); }
.offer-recap.is-upcoming .offer-recap-label { color: #8a4b00; }
.offer-recap-name { margin-top: 0.3rem !important; font-size: 1.08rem; color: var(--iwp-navy); }
.offer-recap-name span { color: var(--iwp-muted); font-weight: 600; }
.offer-recap-links { margin-top: 0.4rem !important; font-size: 0.9rem; }
@media (min-width: 576px) { .choice-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cartes hébergement : maintenance incluse et part de l'hébergement (lot P1-A) */
.plan-included { margin-bottom: 1.25rem; padding: 0.9rem 1rem; border-radius: 14px; background: var(--iwp-bg); border: 1px solid var(--iwp-border); }
.plan-card.is-recommended .plan-included { background: rgba(255, 255, 255, 0.05); border-color: rgba(148, 178, 208, 0.25); }
.plan-split { margin: 0 0 0.5rem; font-size: 0.86rem; color: var(--iwp-muted); }
.plan-card.is-recommended .plan-split { color: var(--iwp-on-dark-muted); }
.plan-details summary {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--iwp-green-700);
    cursor: pointer;
}
.plan-card.is-recommended .plan-details summary { color: var(--iwp-mint); }
.plan-details[open] summary { margin-bottom: 0.5rem; }
.plan-details .list-check { font-size: 0.9rem; }

/* Noms de formules : même taille quel que soit le niveau de titre (h3 ou h4). */
.plan-card h4 { font-size: 1.6rem; margin: 0.25rem 0 0.75rem; }

/* --------------------------------------------------------------------------
   Appel à l'action mobile persistant (lot P1-A)
   -------------------------------------------------------------------------- */
.mobile-cta { display: none; }
@media (max-width: 1099.98px) {
    .mobile-cta {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1020;
        display: block;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.94);
        -webkit-backdrop-filter: saturate(1.4) blur(12px);
        backdrop-filter: saturate(1.4) blur(12px);
        border-top: 1px solid var(--iwp-border);
        box-shadow: 0 -8px 24px -16px rgba(16, 36, 58, 0.45);
    }
    .mobile-cta .btn-iwp { width: 100%; min-height: 48px; }
    body.has-mobile-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    body.nav-open .mobile-cta { display: none; }
}
@media print { .mobile-cta { display: none !important; } }
@media (max-width: 379.98px) {
    /* 320 px : libellé sur une ligne (barre de 64 px au lieu de 85 px). */
    .mobile-cta { padding-left: 0.75rem; padding-right: 0.75rem; }
    .mobile-cta .btn-iwp { padding-inline: 0.75rem; font-size: 0.95rem; white-space: nowrap; }
    .mobile-cta .btn-iwp .icon { display: none; }
}
