/* ========================================
   SWISS DESIGN — International Typographic Style
   Pure typography, hairline rules, asymmetric grid,
   tabular numerics, single red accent. No decoration.
======================================== */

:root {
    --bg:        #ffffff;
    --bg-soft:   #fafafa;
    --bg-inverse:#0a0a0a;
    --ink:       #0a0a0a;
    --ink-mid:   #4a4a4a;
    --ink-soft:  #8a8a8a;
    --ink-muted: #b8b8b8;
    --rule:      #e6e6e6;
    --rule-strong: #0a0a0a;
    --accent:    #8b6cf3;
    --accent-deep: #6d4ee0;
    --accent-soft: rgba(139, 108, 243, 0.08);
    --accent-grad: linear-gradient(135deg, #b8a4ff 0%, #8b6cf3 50%, #6d4ee0 100%);
    --accent-grad-soft: linear-gradient(135deg, rgba(184, 164, 255, 0.12) 0%, rgba(109, 78, 224, 0.08) 100%);

    --font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --grid-margin: clamp(20px, 4vw, 64px);
    --section-pad: clamp(80px, 10vw, 160px);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: clamp(56px, 8svh, 96px);
}
@supports not (height: 1svh) {
    html { scroll-padding-top: clamp(56px, 8vh, 96px); }
}
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern', 'liga', 'calt';
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; padding: 0; cursor: pointer; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* === SKIP LINK — WCAG 2.4.1 Bypass Blocks === */
.skip-link {
    position: absolute;
    top: -48px;
    left: 8px;
    z-index: 1000;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
    top: 0;
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* === FOCUS — accessibility (WCAG 2.4.7) ===
   focus-visible only triggers for keyboard (or when user agent decides),
   so mouse users keep clean visuals while keyboard users get a clear ring. */
.btn,
.btn-ghost,
.domain-card,
.option-card,
.feature-chip,
.qty-btn,
.menu-toggle,
.nav-links a,
.nav-cta,
.brand,
.brand-mark-only,
.lang-link,
.lang-banner-cta,
.lang-banner-close,
.devis-form input,
.devis-form textarea,
[data-nav] {
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible,
.btn-ghost:focus-visible,
.domain-card:focus-visible,
.option-card:focus-visible,
.feature-chip:focus-visible,
.qty-btn:focus-visible,
.menu-toggle:focus-visible,
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.brand:focus-visible,
.brand-mark-only:focus-visible,
.lang-link:focus-visible,
.lang-banner-cta:focus-visible,
.lang-banner-close:focus-visible,
[data-nav]:focus-visible {
    outline-color: var(--accent);
    outline-offset: 3px;
}
.devis-form input:focus-visible,
.devis-form textarea:focus-visible {
    outline-color: var(--accent);
    outline-offset: 0;
    border-color: var(--accent);
}

/* === SCROLLBAR === */
html {
    scrollbar-color: var(--ink) var(--bg-soft);
    scrollbar-width: thin;
}

/* === GRID / CONTAINER === */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
    width: 100%;
}

/* === TYPOGRAPHY SYSTEM === */
.display-1 {
    font-family: var(--font-sans);
    font-size: clamp(3.5rem, 11vw, 11rem);
    line-height: 0.92;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin: 0;
}
.display-2 {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin: 0;
}
.display-3 {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0;
}
.lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: var(--ink-mid);
    max-width: 60ch;
    margin: 0;
}
.body-text {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--ink-mid);
    max-width: 65ch;
}
.caption {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 500;
}
.caption-strong {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
}
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* === RULES (hairlines) === */
.rule         { height: 1px; background: var(--rule); border: 0; margin: 0; }
.rule-ink     { height: 1px; background: var(--ink); border: 0; margin: 0; }

/* === LINK styles === */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.92rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: gap 0.3s ease, color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .link-arrow:hover { gap: 14px; color: var(--accent); }
}
.link-arrow svg { width: 14px; height: 14px; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 22px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    background: var(--ink);
    color: var(--bg);
    border-radius: 0;
    border: 1px solid var(--ink);
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        background: var(--accent-grad);
        border-color: var(--accent);
        color: var(--bg);
    }
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
    .btn-ghost:hover {
        background: var(--ink);
        color: var(--bg);
    }
}
.btn svg { width: 14px; height: 14px; }

/* === SECTION === */
.section {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--rule);
}
.section-header {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr;
    gap: 32px;
    margin-bottom: clamp(48px, 8vw, 96px);
    align-items: start;
}
.section-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
    padding-top: 0.4em;
}
.section-num span { color: var(--ink-soft); }
.section-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.035em;
    margin: 0;
    max-width: 18ch;
}
.section-meta {
    margin-top: 16px;
    font-size: 0.95rem;
    color: var(--ink-mid);
    max-width: 60ch;
    line-height: 1.55;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--bg);
    padding: 16px 0;
    transition: transform 0.3s ease, background 0.3s ease;
}
.navbar.is-hidden { transform: translateY(-100%); }
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.025em;
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--ink);
    line-height: 1;
}
.brand-mark {
    display: inline-block;
    width: 14px;
    height: 2px;
    background: var(--accent-grad);
    border-radius: 2px;
    margin: 0 5px;
    align-self: center;
    transform: translateY(0.05em);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
    .brand:hover .brand-mark { width: 22px; }
}

.brand-mark-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    line-height: 0;
}
.brand-mark-only img {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.brand-mark-only:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 18px rgba(109, 78, 224, 0.25);
}
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
    transition: color 0.25s ease;
    position: relative;
}
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .nav-links a:hover { color: var(--accent); }
    .nav-links a:hover::before { transform: scaleX(1); }
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 12px 18px;
    min-height: 44px;                    /* WCAG 2.5.5 */
    border: 1px solid var(--ink);
    transition: background 0.25s ease, color 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
    .nav-cta:hover { background: var(--ink); color: var(--bg); }
}

.menu-toggle {
    display: none;
    width: 44px; height: 44px;           /* WCAG 2.5.5 */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--ink);
}

/* === HERO === */
.hero {
    padding-top: clamp(140px, 18dvh, 220px);
    padding-bottom: clamp(80px, 12vw, 160px);
    position: relative;
}
@supports not (height: 1dvh) {
    .hero { padding-top: clamp(140px, 18vh, 220px); }
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr;
    gap: 32px;
    align-items: end;
}
.hero-marker {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 8px;
}
.hero-marker span { display: block; color: var(--ink-soft); }
.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 11vw, 11rem);
    line-height: 0.9;
    font-weight: 600;
    letter-spacing: -0.045em;
    margin: 0;
    text-wrap: balance;
}
.hero-title em {
    font-style: normal;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 200% 100%;
    animation: grad-shift 12s ease-in-out infinite;
}
@keyframes grad-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .hero-title em { animation: none; }
}
.hero-foot {
    margin-top: clamp(40px, 6vw, 80px);
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr 1fr;
    gap: 32px;
    align-items: end;
    border-top: 1px solid var(--rule);
    padding-top: 28px;
}
.hero-foot-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.hero-tagline {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.5;
    color: var(--ink-mid);
    max-width: 50ch;
    margin: 0;
}
.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-self: end;
    flex-wrap: wrap;
}


/* === SERVICES INDEX (list view) === */
.services-list {
    border-top: 1px solid var(--ink);
}
.service-row {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr auto;
    gap: 32px;
    align-items: center;
    padding: clamp(28px, 4vw, 44px) 0;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
    transition: padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    position: relative;
}
.service-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}
@media (hover: hover) and (pointer: fine) {
    .service-row:hover { padding-left: 32px; color: var(--accent); }
    .service-row:hover .service-arrow { transform: translateX(8px); color: var(--accent); }
}
.service-row-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    font-weight: 500;
}
.service-row-name {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3.5vw, 3rem);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0;
}
.service-row-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--ink-mid);
    letter-spacing: 0;
    margin-top: 10px;
    max-width: 60ch;
    line-height: 1.5;
}
@media (hover: hover) and (pointer: fine) {
    .service-row:hover .service-row-desc { color: inherit; opacity: 0.85; }
}
.service-arrow {
    width: 24px; height: 24px;
    color: var(--ink-soft);
    transition: transform 0.4s ease, color 0.3s ease;
}

/* === SERVICE PAGE === */
.service-page {
    padding-top: clamp(120px, 16vh, 200px);
}
.service-page-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 48px;
    transition: color 0.3s ease;
}
.service-page-back:hover { color: var(--ink); }
.service-page-back svg { width: 14px; height: 14px; }

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr;
    gap: 32px;
    align-items: start;
    padding-bottom: clamp(60px, 8vw, 100px);
    border-bottom: 1px solid var(--ink);
}
.service-hero-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--ink);
    padding-top: 0.4em;
}
.service-hero-num span { color: var(--ink-soft); }
.service-page h1 {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    line-height: 0.96;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin: 0 0 32px;
    max-width: 18ch;
}
.service-page-tagline {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    line-height: 1.45;
    color: var(--ink-mid);
    max-width: 56ch;
    margin: 0 0 56px;
}
.service-page-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
}
.service-page-meta-item {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.service-page-meta-item dt {
    color: var(--ink-soft);
    margin-bottom: 8px;
}
.service-page-meta-item dd {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
}

.about-section {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--rule);
}
.about-grid {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.about-grid p {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
    max-width: 55ch;
}

/* === BENEFITS / STEPS LISTS === */
.list-grid {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr;
    gap: 32px;
    align-items: start;
}
.list-items {
    border-top: 1px solid var(--rule);
}
.list-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: minmax(48px, 60px) minmax(0, 1fr) minmax(0, 2fr);
    gap: 32px;
    align-items: start;
}
.list-item-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    padding-top: 0.4em;
}
.list-item-title {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}
.list-item-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-mid);
    margin: 0;
    max-width: 60ch;
}

@media (max-width: 768px) {
    .list-item, .about-grid, .hero-grid, .section-header, .service-hero-grid, .hero-foot {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-page-meta { grid-template-columns: 1fr; }
}

/* === PRICING TABLE — Swiss === */
.pricing-section {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--rule);
}
.pricing-table {
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}
/* Mobile-first : card layout, each cell on its own row with a data-label */
.pricing-row {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--ink);
    padding: 0;
    transition: background 0.3s ease;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row-head { display: none; }
@media (hover: hover) and (pointer: fine) {
    .pricing-row:not(.pricing-row-head):hover { background: var(--bg-soft); }
}
.pricing-cell {
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid var(--rule);
    font-size: 0.93rem;
    line-height: 1.5;
}
.pricing-cell:last-child { border-bottom: none; }
.pricing-cell::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 16px;
}
.pricing-cell-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    padding-top: 0.25em;
}
.pricing-cell-service {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.96rem;
}
.pricing-cell-price {
    font-family: var(--font-mono);
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: var(--ink);
    font-size: 0.92rem;
}
.pricing-cell-notes {
    color: var(--ink-mid);
    font-size: 0.88rem;
    line-height: 1.55;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.pricing-cell-notes::before { margin-right: 0; }
/* Mobile-specific overrides for the first 2 cells (visual card-header) */
.pricing-cell-num,
.pricing-cell-service {
    background: var(--bg-soft);
    padding: 14px 16px;
}
.pricing-cell-num::before { display: none; }
.pricing-cell-num { padding-bottom: 0; }
.pricing-cell-service { padding-top: 8px; padding-bottom: 16px; }
.pricing-cell-price {
    text-align: right;
    word-break: break-word;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid currentColor;
    line-height: 1;
    border-radius: 0;
}
.type-projet     { color: var(--ink); }
.type-mensuel    { color: var(--accent); }
.type-recurrent  { color: var(--accent); }
.type-gratuit    {
    color: var(--bg);
    background: var(--ink);
    border-color: var(--ink);
}

.pricing-note {
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ≥1024 : restore horizontal grid layout */
/* Pricing table : breakpoint volontairement haut (1280px) car la grille
   à 5 colonnes a besoin de beaucoup d'espace horizontal pour rester
   lisible. En dessous, le layout card reste plus confortable. */
@media (min-width: 1280px) {
    .pricing-row {
        /* minmax(0, …) sur chaque colonne empêche l'overflow texte */
        grid-template-columns:
            minmax(48px, 0.5fr)
            minmax(0, 2fr)
            minmax(110px, 1fr)
            minmax(120px, 1.4fr)
            minmax(0, 3.2fr);
        border-bottom: 1px solid var(--rule);
    }
    .pricing-row-head { display: grid; background: transparent; }
    .pricing-row-head .pricing-cell {
        padding: 14px 16px;
        color: var(--ink-soft);
        font-family: var(--font-mono);
        font-size: 0.7rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        font-weight: 500;
    }
    .pricing-cell {
        padding: 22px 16px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        border-right: 1px solid var(--rule);
        border-bottom: none;
        min-width: 0;
    }
    .pricing-cell:last-child { border-right: none; }
    .pricing-cell::before { display: none; }
    .pricing-cell-num,
    .pricing-cell-service {
        background: transparent;
        padding: 22px 16px;
    }
    .pricing-cell-service { font-weight: 600; }
    .pricing-cell-notes {
        flex-direction: row;
        align-items: flex-start;
        line-height: 1.5;
    }
    .pricing-cell-price {
        white-space: nowrap;
        text-align: left;
    }
    .pricing-cell-type .type-badge { flex-shrink: 0; }
}

/* === BUNDLES — Swiss === */
.bundles-section {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--rule);
    background: var(--bg-soft);
}
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* Rangées partagées par toutes les cards via subgrid :
       num · type · name · tagline · includes (flex) · price · cta */
    grid-template-rows: auto auto auto auto 1fr auto auto;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-top: 64px;
}
.bundle-card {
    background: var(--bg);
    padding: 36px 28px 28px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 7;
    row-gap: 0;
    transition: background 0.3s ease;
    position: relative;
}
@media (hover: hover) and (pointer: fine) {
    .bundle-card:hover {
        background: var(--ink);
        color: var(--bg);
    }
    .bundle-card:hover .bundle-num,
    .bundle-card:hover .bundle-type,
    .bundle-card:hover .bundle-tagline,
    .bundle-card:hover .bundle-includes li,
    .bundle-card:hover .bundle-price-monthly { color: rgba(255,255,255,0.6); }
    .bundle-card:hover .bundle-includes li svg { color: var(--accent); }
}
.bundle-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    margin-bottom: 24px;
}
.bundle-featured .bundle-num::after {
    content: '★ Populaire';
    margin-left: 12px;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 600;
}
.bundle-featured {
    position: relative;
}
.bundle-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent-grad);
    z-index: 1;
}
.bundle-type {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.bundle-name {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 12px;
}
.bundle-tagline {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--ink-mid);
    margin: 0 0 24px;
}
.bundle-tagline:empty { display: none; }
.bundle-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.bundle-includes li {
    font-size: 0.85rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.bundle-includes li svg { color: var(--ink-soft); flex-shrink: 0; width: 12px; height: 12px; }
.bundle-price {
    margin: 0 0 20px;
    padding-top: 16px;
    border-top: 1px solid currentColor;
    opacity: 0.95;
}
@media (hover: hover) and (pointer: fine) {
    .bundle-card:hover .bundle-price { border-color: rgba(255,255,255,0.2); }
}
.bundle-price-main {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
}
.bundle-price-monthly {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-soft);
}
.bundle-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    align-self: flex-start;
    transition: color 0.3s, gap 0.3s;
}
@media (hover: hover) and (pointer: fine) {
    .bundle-cta:hover { color: var(--accent); gap: 14px; }
    .bundle-card:hover .bundle-cta { color: var(--bg); }
    .bundle-card:hover .bundle-cta:hover { color: var(--accent); }
}

/* bundles-grid uses auto-fit minmax — no need for breakpoint overrides */

/* === CONTACT === */
.contact-section {
    padding: var(--section-pad) 0;
    border-top: 1px solid var(--ink);
    background: var(--ink);
    color: var(--bg);
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}
.contact-section .section-num,
.contact-section .caption,
.contact-section .hero-marker { color: rgba(255,255,255,0.5); }
.contact-section .display-2 { color: var(--bg); }
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}
.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 16px;
    color: var(--bg);
    transition: color 0.3s;
}
.contact-item:hover { color: var(--accent); }
.contact-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.contact-value {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 48px;
}
.contact-form .form-input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 0;
    border-radius: 0;
    transition: border-color 0.3s;
    width: 100%;
}
.contact-form .form-input::placeholder { color: rgba(255,255,255,0.4); }
.contact-form .form-input:focus-visible {
    border-bottom-color: var(--accent);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.contact-form textarea.form-input {
    min-height: 120px;
    resize: vertical;
}
.contact-form .form-submit {
    margin-top: 12px;
    align-self: flex-start;
    background: var(--bg);
    color: var(--ink);
    border-color: var(--bg);
}
.contact-form .form-submit:hover {
    background: var(--accent-grad);
    border-color: var(--accent);
    color: var(--bg);
}

/* === FOOTER === */
.footer {
    padding: 80px 0 40px;
    background: var(--ink);
    color: var(--bg);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;             /* mobile-first */
    gap: clamp(24px, 4vw, 32px);
    padding-bottom: clamp(40px, 6vw, 60px);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 640px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 1;
}
.footer-brand .brand-mark {
    width: 36px;
    height: 5px;
    margin: 0 12px;
    border-radius: 4px;
}
.footer-tagline {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
    max-width: 32ch;
}
.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 18px;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-col a {
    font-size: 0.9rem;
    color: var(--bg);
    transition: color 0.25s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 768px) {
    /* footer-grid columns now handled mobile-first above */
    .footer-brand { font-size: 1.8rem; }
    .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* === MOBILE NAV — at 968px to align with pricing breakpoint === */
@media (max-width: 968px) {
    .nav-links, .nav-cta { display: none; }
    .menu-toggle { display: flex; }
    .mobile-nav {
        position: fixed;
        inset: 0;
        background: var(--bg);
        z-index: 200;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        overscroll-behavior: contain;
        overflow-y: auto;
    }
    .mobile-nav[hidden] { display: none; }
    .mobile-nav.open { opacity: 1; pointer-events: auto; }
    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(20px, 4vw, 32px);
    }
    .mobile-nav a {
        font-family: var(--font-sans);
        font-size: clamp(1.6rem, 6vw, 2rem);
        font-weight: 600;
        letter-spacing: -0.02em;
        color: var(--ink);
        padding: 8px 16px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    .mobile-nav a:active { color: var(--accent); }
    .mobile-nav-close-top {
        position: absolute;
        top: max(20px, env(safe-area-inset-top));
        right: max(20px, env(safe-area-inset-right));
        width: 44px; height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(28px, 6vw, 36px);
        line-height: 1;
        color: var(--ink);
        background: transparent;
    }
    .mobile-nav-close-thumb {
        position: absolute;
        bottom: max(28px, env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 28px;
        min-height: 48px;
        background: var(--ink);
        color: var(--bg);
        border: 1px solid var(--ink);
        border-radius: 999px;
        font-family: var(--font-mono);
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        cursor: pointer;
    }
    .mobile-nav-close-thumb svg { width: 16px; height: 16px; }
}

@media (hover: hover) and (pointer: fine) {
    .mobile-nav a:hover { color: var(--accent); }
}

/* === REVEAL ANIMATION (subtle) === */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================
   MOBILE-FIRST REFINEMENTS
   Breakpoints: 480 (tiny) · 640 (phone) · 768 (tablet) · 1024 (laptop)
   ============================================ */

/* Tap targets & inputs (iOS zoom prevention requires ≥ 16px) */
/* Hover-cancellation media query removed: all hovers are now gated via
   @media (hover: hover) and (pointer: fine) at their declaration site,
   so they never trigger on touch devices in the first place. */

/* Safe area for notched devices */
.navbar { padding-top: max(16px, env(safe-area-inset-top)); }
.footer { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
.container {
    padding-left: max(var(--grid-margin), env(safe-area-inset-left));
    padding-right: max(var(--grid-margin), env(safe-area-inset-right));
}

/* === ≤ 1024px (tablet & below) === */
@media (max-width: 1024px) {
    :root {
        --section-pad: clamp(56px, 9vw, 120px);
        --grid-margin: clamp(20px, 4vw, 40px);
    }
    .hero {
        padding-top: clamp(120px, 16dvh, 180px);
        padding-bottom: clamp(64px, 10vw, 120px);
    }
    .hero-foot {
        grid-template-columns: minmax(60px, 80px) minmax(0, 1fr);
        gap: 20px 28px;
    }
    .hero-cta-row {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}

/* === ≤ 768px (phone landscape & tablet portrait) === */
@media (max-width: 768px) {
    /* Container slightly tighter */
    :root { --grid-margin: 20px; }

    /* Body 16px confirmed (iOS zoom prevention) */
    body { font-size: 16px; }

    /* === NAVBAR === */
    .navbar { padding: 12px 0; padding-top: max(12px, env(safe-area-inset-top)); }
    .navbar-inner { gap: 12px; }
    .brand-mark-only img { width: 32px; height: 32px; border-radius: 7px; }
    .menu-toggle {
        display: flex;
        width: 44px; height: 44px;
        margin: -4px -8px -4px 0;
    }

    /* === HERO === */
    .hero {
        padding-top: clamp(96px, 18vh, 140px);
        padding-bottom: 56px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hero-marker {
        font-size: 0.7rem;
        padding-bottom: 0;
    }
    .hero-title {
        font-size: clamp(2.4rem, 11vw, 4.8rem);
        line-height: 0.95;
        letter-spacing: -0.035em;
    }
    .hero-foot {
        margin-top: 36px;
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 24px;
    }
    .hero-foot-meta { font-size: 0.68rem; }
    .hero-tagline {
        font-size: 1rem;
        line-height: 1.55;
        max-width: none;
    }
    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }
    .hero-cta-row .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        min-height: 50px;
        font-size: 0.74rem;
    }

    /* === BUTTONS — full tap zone === */
    .btn { min-height: 48px; padding: 12px 20px; }

    /* === SECTION HEADERS === */
    .section-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section-num {
        font-size: 0.68rem;
        margin-bottom: 4px;
    }
    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
        letter-spacing: -0.03em;
        line-height: 1.05;
    }
    .section-meta {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    /* === SERVICES LIST === */
    .service-row {
        padding: 20px 0;
        gap: 16px;
        align-items: center;
    }
    .service-row-num { font-size: 0.7rem; }
    .service-row-name {
        font-size: 1.25rem;
        letter-spacing: -0.02em;
        line-height: 1.15;
    }
    .service-row-desc {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-top: 4px;
    }
    .service-arrow { width: 22px; height: 22px; flex-shrink: 0; }

    /* === SERVICE PAGE === */
    .service-page {
        padding-top: clamp(96px, 16vh, 140px);
        padding-bottom: 48px;
    }
    .service-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .service-hero-num { font-size: 0.7rem; }
    .service-page h1 {
        font-size: clamp(2.2rem, 9vw, 3.8rem);
        letter-spacing: -0.035em;
    }
    .service-page-tagline {
        font-size: 1.05rem;
        line-height: 1.5;
    }
    .service-page-meta {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }
    .service-page-meta-item {
        padding: 14px 0;
        border-top: 1px solid var(--rule);
    }
    .service-page-meta-item:last-child { border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
    .service-page-back {
        font-size: 0.7rem;
        margin-bottom: 24px;
    }

    /* === LIST ITEMS (benefits / steps) === */
    .list-items {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    .list-item { padding: 24px 0; }
    .list-item-num { font-size: 0.7rem; margin-bottom: 8px; }
    .list-item-title {
        font-size: 1.05rem;
        line-height: 1.25;
        margin-bottom: 8px;
    }
    .list-item-desc {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    /* === ABOUT GRID === */
    .about-grid { grid-template-columns: 1fr; gap: 16px; }
    .about-grid p {
        font-size: 1.02rem;
        line-height: 1.65;
        max-width: none;
    }

    /* === PRICING TABLE === */
    .pricing-table {
        border-top: 1px solid var(--ink);
        border-bottom: 1px solid var(--ink);
    }
    .pricing-cell {
        font-size: 0.9rem;
        padding: 12px 16px;
    }
    .pricing-cell-num {
        font-size: 0.62rem;
        padding: 14px 16px 0;
    }
    .pricing-cell-service {
        font-size: 1rem;
        font-weight: 600;
        padding: 6px 16px 14px;
    }
    .pricing-cell::before { font-size: 0.62rem; }
    .pricing-cell-price { font-size: 0.92rem; }
    .pricing-cell-notes {
        font-size: 0.86rem;
        line-height: 1.5;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 12px 16px 16px;
    }
    .pricing-note {
        font-size: 0.62rem;
        margin-top: 18px;
    }

    /* === BUNDLES === */
    .bundles-grid {
        grid-template-columns: 1fr;
        gap: 1px;
        margin-top: 36px;
    }
    .bundle-card {
        padding: 28px 22px 22px;
    }
    .bundle-num { margin-bottom: 16px; font-size: 0.66rem; }
    .bundle-name {
        font-size: 1.3rem;
        letter-spacing: -0.02em;
    }
    .bundle-tagline {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }
    .bundle-includes { gap: 8px; margin-bottom: 22px; }
    .bundle-includes li { font-size: 0.9rem; }
    .bundle-price-main { font-size: 1.05rem; }
    .bundle-cta {
        font-size: 0.7rem;
        padding: 14px 0 10px;
        min-height: 44px;
    }

    /* === CONTACT === */
    .contact-section { padding-top: 64px; padding-bottom: 64px; }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .contact-grid > div:first-child { display: none; }
    .contact-info { margin-top: 24px; gap: 18px; }
    .contact-value { font-size: 1.15rem; letter-spacing: -0.015em; }
    .contact-form { margin-top: 8px; gap: 12px; }
    .contact-form .form-input {
        font-size: 16px; /* iOS zoom prevention */
        padding: 14px 0;
    }
    .contact-form .form-submit {
        align-self: stretch;
        width: 100%;
        justify-content: center;
        min-height: 50px;
    }

    /* === FOOTER === */
    .footer {
        padding: 56px 0 32px;
        padding-bottom: max(32px, env(safe-area-inset-bottom));
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
        padding-bottom: 36px;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .footer-brand { font-size: 1.6rem; letter-spacing: -0.03em; }
    .footer-brand .brand-mark { width: 22px; height: 3px; margin: 0 7px; }
    .footer-tagline {
        font-size: 0.88rem;
        max-width: none;
    }
    .footer-col-title {
        font-size: 0.66rem;
        margin-bottom: 14px;
    }
    .footer-col a { font-size: 0.86rem; }
    .footer-bottom {
        margin-top: 24px;
        font-size: 0.66rem;
    }

    /* === MOBILE NAV (overlay menu) === */
    .mobile-nav {
        padding-top: max(64px, env(safe-area-inset-top));
        padding-bottom: max(32px, env(safe-area-inset-bottom));
        gap: 24px;
    }
    .mobile-nav a {
        font-size: 1.6rem;
        letter-spacing: -0.025em;
        padding: 6px 0;
    }
    .mobile-nav-close {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* === ≤ 640px (phone landscape & smaller) === */
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid > div:first-child { grid-column: auto; }
}

/* === ≤ 480px (phone portrait) === */
@media (max-width: 480px) {
    :root { --grid-margin: 16px; }

    .hero {
        padding-top: 88px;
        padding-bottom: 40px;
    }
    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    .hero-foot { margin-top: 28px; padding-top: 20px; gap: 18px; }

    .section-title { font-size: 1.6rem; }

    .pricing-cell-service { font-size: 0.95rem; }

    /* Reduce mobile-nav font size on tiny screens */
    .mobile-nav a { font-size: 1.35rem; }

    /* Tighter bundle cards */
    .bundle-card { padding: 22px 18px 18px; }
    .bundle-name { font-size: 1.2rem; }
}

/* ============================================================
   DEVIS — Configurateur de devis
   ============================================================ */

.devis-hero {
    padding-top: clamp(120px, 14dvh, 180px);
    padding-bottom: clamp(48px, 8vw, 96px);
}
@supports not (height: 1dvh) {
    .devis-hero { padding-top: clamp(120px, 14vh, 180px); }
}

.devis-config {
    padding: clamp(56px, 8vw, 96px) 0 var(--section-pad);
    border-top: 1px solid var(--rule);
}

.devis-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.devis-main {
    display: flex;
    flex-direction: column;
    gap: clamp(48px, 6vw, 88px);
    min-width: 0;
}

.devis-step + .devis-step,
.devis-domain-section + .devis-domain-section,
.devis-domain-section + .devis-step {
    padding-top: clamp(40px, 5vw, 64px);
    border-top: 1px solid var(--rule);
}

.devis-step-head {
    display: grid;
    grid-template-columns: minmax(60px, 100px) minmax(0, 1fr);
    gap: 32px;
    margin-bottom: clamp(28px, 4vw, 48px);
    align-items: start;
}
.devis-step-head .section-num { padding-top: 0.4em; }
.devis-step-head .section-title { grid-column: 2; max-width: 22ch; margin: 0; }
.devis-step-head .section-meta { grid-column: 2; margin-top: 16px; }

/* === DOMAIN GRID === */
.domain-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.domain-card {
    background: var(--bg);
    padding: 28px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    border: 0;
    border-radius: 0;
    position: relative;
    transition: background 0.25s ease, color 0.25s ease;
    color: var(--ink);
    min-height: 160px;
}
.domain-card:hover { background: var(--bg-soft); }
.domain-card.is-selected {
    background: var(--ink);
    color: var(--bg);
}
.domain-emoji,
.domain-icon {
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}
.domain-icon svg { width: 28px; height: 28px; }
.domain-name {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin: 0;
}
.domain-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: auto;
}
.domain-card.is-selected .domain-tag { color: rgba(255,255,255,0.55); }
.domain-check {
    position: absolute;
    top: 18px; right: 18px;
    width: 16px; height: 16px;
    color: var(--bg);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.domain-card.is-selected .domain-check { opacity: 1; }

/* === ITEM LIST === */
.item-list {
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}
.item-row {
    border-bottom: 1px solid var(--rule);
    padding: 20px 0;
    transition: opacity 0.25s ease;
}
.item-row:last-child { border-bottom: none; }
.item-row.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.item-toggle {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    cursor: pointer;
}
.item-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.item-toggle-mark {
    width: 18px;
    height: 18px;
    border: 1px solid var(--ink-soft);
    background: var(--bg);
    margin-top: 0.2em;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
}
.item-toggle-mark::after {
    content: '';
    position: absolute;
    top: 2px; left: 6px;
    width: 4px;
    height: 9px;
    border: solid var(--bg);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}
.item-toggle input[type="checkbox"]:checked ~ .item-toggle-mark {
    background: var(--ink);
    border-color: var(--ink);
}
.item-toggle input[type="checkbox"]:checked ~ .item-toggle-mark::after {
    transform: rotate(45deg) scale(1);
}

.item-info { display: flex; flex-direction: column; gap: 4px; }
.item-label {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.item-help {
    font-size: 0.84rem;
    color: var(--ink-soft);
    line-height: 1.4;
}
.item-price {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-align: right;
    align-self: center;
}

.item-qty {
    margin-top: 14px;
    margin-left: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.qty-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--ink);
    height: 44px;                        /* mobile-first WCAG 2.5.5 */
}
.qty-btn {
    width: 44px;                         /* mobile-first WCAG 2.5.5 */
    background: var(--bg);
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    border: 0;
}
@media (hover: hover) and (pointer: fine) {
    .qty-btn:hover { background: var(--ink); color: var(--bg); }
    .qty-stepper { height: 38px; }       /* compact for mouse pointers */
    .qty-btn { width: 38px; }
}
.qty-input {
    width: 56px;
    text-align: center;
    border: 0;
    border-left: 1px solid var(--ink);
    border-right: 1px solid var(--ink);
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: max(16px, 0.92rem);       /* prevent iOS zoom */
    font-weight: 500;
    -moz-appearance: textfield;
}
@media (hover: hover) and (pointer: fine) {
    .qty-input { width: 52px; }
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* === ADDONS (web) === */
.item-addons {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.addon-block {
    padding: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.addon-label {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4;
}
.addon-help {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-left: 8px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.feature-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--rule);
    cursor: pointer;
    font-size: 0.86rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.feature-chip:hover { border-color: var(--ink-soft); }
.feature-chip input { margin: 0; accent-color: #8b6cf3; }
.feature-chip:has(input:checked) {
    border-color: var(--ink);
    background: var(--bg-soft);
    color: var(--ink);
}

.always-included {
    padding: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--rule);
}
.always-included .caption { display: block; margin-bottom: 12px; }
.always-included ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.always-included li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--ink);
}
.always-included li svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* === FORM === */
.devis-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
}
.devis-form .form-row {
    display: grid;
    grid-template-columns: 1fr;          /* mobile-first */
    gap: 14px;
}
@media (min-width: 768px) {
    .devis-form .form-row { grid-template-columns: 1fr 1fr; }
}
.devis-form input,
.devis-form textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--rule);
    padding: 14px 0;
    font-family: var(--font-body);
    font-size: max(16px, 1rem);          /* prevent iOS zoom */
    color: var(--ink);
    border-radius: 0;
    transition: border-color 0.2s ease;
    width: 100%;
}
.devis-form input:focus-visible,
.devis-form textarea:focus-visible {
    border-bottom-color: var(--ink);
}
.devis-form textarea { resize: vertical; min-height: 100px; }
.devis-form input::placeholder,
.devis-form textarea::placeholder { color: var(--ink-soft); }

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}
.form-disclaimer {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    margin-top: 12px;
    line-height: 1.5;
}
.form-disclaimer a { border-bottom: 1px solid currentColor; }

/* Legacy responsive block removed — wizard is now mobile-first.
   Touch targets and qty controls are 44px in base styles. */

/* ============================================================
   WIZARD — multi-step devis flow (cards UI, no checkboxes)
   ============================================================ */

/* Neutralize old stacking rules — only one step is visible at a time */
.devis-wizard .devis-step + .devis-step,
.devis-wizard .devis-domain-section + .devis-step,
.devis-wizard .devis-domain-section + .devis-domain-section {
    padding-top: 0;
    border-top: none;
}

.devis-wizard {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 72px);
    max-width: 920px;
    margin: 0 auto;
}

.devis-wizard-body > [data-step-key] {
    display: block;
    opacity: 1;
}
.devis-wizard-body > [data-step-key][hidden] { display: none; }
.devis-wizard-body > [data-step-key].is-entering {
    animation: devis-step-enter 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes devis-step-enter {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .devis-wizard-body > [data-step-key].is-entering { animation: none; }
}

/* --- Stepper (mobile-first) ----------------------------------- */
.devis-progress {
    width: 100%;
}
.devis-progress-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    counter-reset: step;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.devis-progress-list::-webkit-scrollbar { display: none; }

.devis-progress-item {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 0.78rem;
    color: var(--ink-soft);
    flex: 0 0 auto;
    min-width: 0;
    position: relative;
    padding-right: 4px;
}
.devis-progress-item:not(:last-child)::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: var(--rule);
    margin-left: 4px;
    min-width: 16px;
}
.devis-progress-item.is-done::after { background: var(--accent); }

.devis-progress-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--rule);
    background: var(--bg);
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.devis-progress-label {
    display: none;                       /* mobile: numbers only */
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.devis-progress-item.is-current .devis-progress-num {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}
.devis-progress-item.is-current { color: var(--ink); }
.devis-progress-item.is-current .devis-progress-label { font-weight: 600; }
.devis-progress-item.is-done .devis-progress-num {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.devis-progress-item.is-done { color: var(--ink-mid); }

/* --- Step heads (replaces .devis-step-head old grid) ---------- */
.devis-step .devis-step-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: clamp(28px, 4vw, 44px);
    grid-template-columns: none;
}
.devis-step-title {
    font-family: var(--font-sans);
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0;
    max-width: min(22ch, 100%);
}
.devis-step-meta {
    font-size: 1rem;
    color: var(--ink-mid);
    line-height: 1.5;
    margin: 0;
    max-width: 60ch;
}

/* --- Domain cards (step 1) — mobile-first ---------------------- */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: clamp(12px, 2vw, 16px);
    border: none !important;  /* override any old border on container */
    background: transparent;  /* override grid background that created vertical separator lines */
}
.domain-card {
    background: var(--bg);
    border: 0;
    border-radius: 0;
    padding: clamp(20px, 4vw, 28px) clamp(18px, 4vw, 26px);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, color 0.2s ease;
    color: var(--ink);
    min-height: clamp(130px, 22vw, 180px);
}
@media (hover: hover) and (pointer: fine) {
    .domain-card:hover {
        background: var(--bg-soft);
    }
}
.domain-card.is-selected {
    background: var(--accent-soft);
    color: var(--ink);
}
.domain-emoji,
.domain-icon {
    font-size: 32px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}
.domain-icon svg { width: 32px; height: 32px; }
.domain-name {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}
.domain-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: auto;
}
.domain-card.is-selected .domain-tag { color: var(--accent-deep); }
.domain-mark {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--rule);
    background: var(--bg);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.domain-mark::after {
    content: '';
    width: 8px;
    height: 4px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px) scale(0);
    transition: transform 0.2s ease;
}
.domain-card.is-selected .domain-mark {
    background: var(--accent);
    border-color: var(--accent);
}
.domain-card.is-selected .domain-mark::after {
    transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

/* --- Option cards (category steps) — mobile-first ------------- */
.option-list {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vw, 14px);
    border: none;
}
.option {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.option.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}
.option-card {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: clamp(16px, 2.5vw, 20px) clamp(18px, 3vw, 24px);
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
    cursor: pointer;
    text-align: left;
    color: var(--ink);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
    .option-card:hover {
        border-color: var(--ink-soft);
        transform: translateX(2px);
    }
}
.option-card:active { border-color: var(--ink-soft); }
.option-card.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.option-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}
.option-label {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.35;
}
.option-help {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.4;
}
.option-mark {
    width: 20px;                         /* mobile base */
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--rule);
    background: var(--bg);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.option-mark::after {
    content: '';
    width: 8px;
    height: 4px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg) translate(1px, -1px) scale(0);
    transition: transform 0.2s ease;
}
.option-card.is-selected .option-mark {
    background: var(--accent);
    border-color: var(--accent);
}
.option-card.is-selected .option-mark::after {
    transform: rotate(-45deg) translate(1px, -1px) scale(1);
}

.option-qty {
    margin-top: 12px;
    margin-left: 0;                      /* mobile base : flush left */
    padding: 12px 16px;                  /* mobile base : compact */
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 16px);
    align-self: flex-start;
}

/* --- Addons (web) -------------------------------------------- */
.option-addons {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vw, 18px);
}
.option-addons:empty { display: none; }
.option-addons .addon-block {
    padding: 20px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.option-addons .always-included {
    padding: 20px 24px;
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 12px;
}

/* feature-chip overrides (they're now <button>s) */
.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    min-height: 44px;                    /* WCAG 2.5.5 touch target */
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.86rem;
    color: var(--ink);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .feature-chip:hover { border-color: var(--ink-soft); }
}
.feature-chip:active { border-color: var(--ink-soft); }
.feature-chip.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 500;
}

/* --- Wizard nav (mobile-first : column-reverse, full-width) --- */
.devis-nav {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: clamp(12px, 2vw, 18px);
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}
.devis-nav .btn { width: 100%; justify-content: center; margin: 0; }
.devis-nav .btn[disabled] { opacity: 0.35; pointer-events: none; }

/* --- Errors --------------------------------------------------- */
.devis-step-error {
    color: #c0392b;
    font-size: 0.9rem;
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(192, 57, 43, 0.06);
    border-left: 2px solid #c0392b;
}

/* --- Form fields --------------------------------------------- */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
.form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.devis-form input,
.devis-form textarea {
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: max(16px, 1rem);          /* prevent iOS zoom */
}
/* :focus-visible handled in the global focus block at top of file */

/* --- Tablet & up (mobile-first ascending) --------------------- */
@media (min-width: 768px) {
    .devis-progress-list { gap: 0; }
    .devis-progress-label { display: inline; }
    .devis-progress-item { padding-right: 16px; gap: 12px; flex: 1 1 auto; }
    .devis-progress-item:not(:last-child)::after { min-width: 24px; margin-left: 8px; }

    .option-mark { width: 22px; height: 22px; }
    .option-qty { margin-left: 24px; padding: 14px 20px; }

    .devis-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .devis-nav .btn { width: auto; justify-content: flex-start; }
    .devis-nav [data-nav="prev"] { margin-right: auto; }
    .devis-nav [data-nav="next"],
    .devis-nav [data-nav="submit"] { margin-left: auto; }
}

/* ============================================================
   CONFIRMATION PANEL — disclaimer + price recap (post submit)
   ============================================================ */
.devis-confirmation {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 44px);
    animation: devis-step-enter 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.devis-confirmation[hidden] { display: none; }

.devis-disclaimer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-left: 2px solid var(--rule);
    border-radius: 0;
    box-shadow: none;
}
.devis-disclaimer-icon {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.6;
    display: inline-flex;
    align-items: center;
    padding-top: 2px;
}
.devis-disclaimer-icon svg { width: 14px; height: 14px; }
.devis-disclaimer-title {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--ink-soft);
    margin-bottom: 4px;
}
.devis-disclaimer-body p {
    margin: 0 0 4px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--ink-soft);
    font-weight: 400;
}
.devis-disclaimer-body p:last-child { margin-bottom: 0; }
.devis-disclaimer-body a {
    color: var(--ink-mid);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.devis-confirmation-head { display: flex; flex-direction: column; gap: 10px; }

.devis-confirmation-recap {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: clamp(24px, 4vw, 36px);
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 14px;
}
.recap-list { list-style: none; margin: 0; padding: 0; }
.recap-cat {
    padding: 14px 0 6px;
    border-bottom: 1px solid var(--rule);
}
.recap-cat:not(:first-child) { padding-top: 22px; }
.recap-row {
    display: flex;
    flex-direction: column;              /* mobile : stacked */
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
}
.recap-row:last-child { border-bottom: none; }
.recap-label {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--ink);
}
.recap-qty {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin-left: 4px;
}
.recap-price {
    font-family: var(--font-mono);
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 500;
    white-space: nowrap;
    align-self: flex-end;                /* mobile : right-align under label */
}
.recap-totals {
    padding-top: 18px;
    border-top: 2px solid var(--ink);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.recap-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}
.recap-total-line strong {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.recap-degressive-note {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-style: italic;
}
.recap-contact { padding-top: 18px; border-top: 1px solid var(--rule); }
.recap-contact .caption { display: block; margin-bottom: 10px; }
.recap-contact ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 4px;
    font-size: 0.92rem; color: var(--ink-mid);
}
.recap-contact strong { color: var(--ink); }

.devis-confirmation-actions {
    display: flex;
    flex-direction: column;              /* mobile : stacked, full-width */
    gap: 12px;
    flex-wrap: wrap;
}
.devis-confirmation-actions .btn { width: 100%; justify-content: center; }

@media (min-width: 768px) {
    .recap-row {
        flex-direction: row;
        align-items: baseline;
        gap: 16px;
    }
    .recap-price { align-self: auto; }
    .devis-confirmation-actions { flex-direction: row; }
    .devis-confirmation-actions .btn { width: auto; justify-content: flex-start; }
}

/* ============================================================
   MEDIA — proactive responsive wrappers (CLS-safe)
   ============================================================ */

/* Generic content image — always responsive, no overflow, no squish */
.content-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Aspect-ratio wrapper for iframes (YouTube/Vimeo/Maps) and videos.
   Default 16:9, override with data-ratio="4:3 | 1:1 | 9:16 | 3:4 | 21:9". */
.media-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-soft);
}
.media-embed iframe,
.media-embed video,
.media-embed img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}
.media-embed[data-ratio="4:3"]  { aspect-ratio: 4 / 3; }
.media-embed[data-ratio="1:1"]  { aspect-ratio: 1 / 1; }
.media-embed[data-ratio="9:16"] { aspect-ratio: 9 / 16; }
.media-embed[data-ratio="3:4"]  { aspect-ratio: 3 / 4; }
.media-embed[data-ratio="21:9"] { aspect-ratio: 21 / 9; }

/* ============================================================
   LANGUAGE SWITCHER (FR | EN | NL)
   ============================================================ */
.lang-switcher {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 0;
}
.lang-switcher li {
    display: inline-flex;
    align-items: center;
}
.lang-switcher li:not(:last-child)::after {
    content: '|';
    color: var(--rule);
    margin: 0 8px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    line-height: 1;
}
.lang-link {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 8px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .lang-link:hover { color: var(--ink); }
}
.lang-link.is-active {
    color: var(--accent);
    font-weight: 600;
    pointer-events: none;
}

/* Hide desktop switcher under tablet — replaced by mobile-drawer one */
@media (max-width: 1023.98px) {
    .navbar-inner > .lang-switcher { display: none; }
}

/* Mobile switcher inside the drawer */
.mobile-lang-switcher {
    margin-top: clamp(20px, 4vw, 32px);
    gap: 0;
}
.mobile-lang-switcher .lang-link {
    font-size: 0.86rem;
    padding: 12px 8px;
    min-height: 48px;
}

/* ============================================================
   FIRST-VISIT LANGUAGE SUGGESTION BANNER
   ============================================================ */
.lang-banner {
    position: sticky;
    top: 0;
    z-index: 90;
    background: var(--ink);
    color: var(--bg);
    padding: 10px clamp(16px, 4vw, 32px);
    padding-top: max(10px, env(safe-area-inset-top));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    transform: translateY(-100%);
    transition: transform 0.25s ease;
}
.lang-banner[hidden] { display: none; }
.lang-banner.is-visible { transform: translateY(0); }
.lang-banner-text { color: rgba(255, 255, 255, 0.8); }
.lang-banner-cta {
    color: var(--bg);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    padding: 4px 8px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}
@media (hover: hover) and (pointer: fine) {
    .lang-banner-cta:hover {
        color: var(--accent);
        text-decoration-color: var(--accent);
    }
}
.lang-banner-close {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
    line-height: 1;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}
@media (hover: hover) and (pointer: fine) {
    .lang-banner-close:hover { color: var(--bg); }
}

@media (max-width: 480px) {
    .lang-banner {
        font-size: 0.74rem;
        flex-direction: column;
        gap: 6px;
        padding: 12px;
    }
    .lang-banner-close {
        position: absolute;
        top: 8px;
        right: 8px;
        margin-left: 0;
    }
}

/* ============================================================
   DEVIS — Pipelines (sous-étapes web/audiovisuel/automatisation)
   ============================================================ */

/* Pages stepper bloc (web_format) */
.pages-stepper-block {
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--rule);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.pages-stepper-block[hidden] { display: none; }
.pages-stepper-label {
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 500;
}

/* Intro callout (auto_apps + edge cases) */
.devis-step-intro {
    margin: 0 0 18px;
    padding: 14px 18px;
    background: var(--bg-soft);
    border-left: 2px solid var(--accent);
    border-radius: 4px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink-mid);
}

/* Apps grid (auto_apps) */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 600px) { .apps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .apps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.app-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    min-height: 56px;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 12px;
    cursor: pointer;
    color: var(--ink);
    font-size: 0.92rem;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .app-card:hover { border-color: var(--ink-soft); }
}
.app-card:active { border-color: var(--ink-soft); }
.app-card.is-selected {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-weight: 500;
}
.app-card-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.app-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.app-card-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Custom dynamic inputs (fonctions perso / apps perso) */
.custom-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.custom-list:empty { display: none; margin-top: 0; }

.custom-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 14px;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 10px;
    transition: border-color 0.2s ease;
}
.custom-input-row:focus-within { border-color: var(--ink-soft); }
.custom-input-row input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: max(16px, 0.95rem);
    color: var(--ink);
    padding: 8px 0;
    outline: none;
    font-family: inherit;
}
.custom-input-row input::placeholder { color: var(--ink-soft); }

.custom-remove-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--rule);
    background: var(--bg-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    flex-shrink: 0;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.custom-remove-btn:hover {
    border-color: #c0392b;
    color: #c0392b;
    background: rgba(192, 57, 43, 0.06);
}
.custom-remove-btn svg { width: 14px; height: 14px; }

.custom-add-btn {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px dashed var(--rule);
    background: transparent;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--ink-mid);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.custom-add-btn:hover {
    border-color: var(--ink-soft);
    color: var(--ink);
}
.custom-add-btn svg { width: 14px; height: 14px; }

/* Recap row : details secondaires (liste des features/apps cochées) */
.recap-detail {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* Contact form status (homepage) */
.contact-form-status {
    margin: 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.4;
}
.contact-form-status[hidden] { display: none; }
.contact-form-status[data-tone="success"] {
    background: rgba(46, 160, 67, 0.12);
    color: #2ea043;
    border-left: 2px solid #2ea043;
}
.contact-form-status[data-tone="error"] {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b;
    border-left: 2px solid #c0392b;
}
.contact-form-status[data-tone="sending"] {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    border-left: 2px solid rgba(255,255,255,0.3);
}

/* ========================================
   HERO INTRO (FAQ, Blog and other single-column heroes)
   Aligned to the right column of .hero-grid, with hairline rule on top.
======================================== */
.hero-intro-wrap {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr;
    gap: 32px;
    margin-top: clamp(40px, 6vw, 80px);
    border-top: 1px solid var(--rule);
    padding-top: 28px;
}
.hero-intro {
    grid-column: 2;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    color: var(--ink-mid);
    max-width: 65ch;
    margin: 0;
}
@media (max-width: 640px) {
    .hero-intro-wrap {
        grid-template-columns: 1fr;
    }
    .hero-intro { grid-column: 1; }
}

/* ========================================
   FAQ PAGE
======================================== */
.faq-category {
    border-top: 1px solid var(--rule);
    padding: clamp(40px, 6vw, 64px) 0;
}
.faq-category:first-of-type {
    border-top: none;
    padding-top: 0;
}
.faq-category-title {
    font-family: var(--font-sans);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0 0 clamp(24px, 4vw, 40px);
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-category-title span[aria-hidden] {
    font-size: 0.85em;
    opacity: 0.85;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-item {
    border-top: 1px solid var(--rule);
    padding: 0;
}
.faq-item:last-child {
    border-bottom: 1px solid var(--rule);
}
.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: clamp(18px, 2.5vw, 24px) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: color 0.2s ease;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { color: var(--accent-deep); }
.faq-summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.faq-question {
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin: 0;
    flex: 1;
}
.faq-toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: transform 0.25s ease, color 0.2s ease;
}
.faq-toggle svg { width: 18px; height: 18px; }
.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-deep);
}
.faq-answer {
    padding: 0 0 clamp(20px, 3vw, 28px);
    max-width: 68ch;
    color: var(--ink-mid);
    line-height: 1.65;
    font-size: 0.97rem;
}
.faq-answer p { margin: 0 0 0.85em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a {
    color: var(--accent-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.faq-answer a:hover { color: var(--ink); }

.faq-cta {
    background: var(--bg-soft);
    border-top: 1px solid var(--rule);
}
.faq-cta .section-title {
    max-width: 24ch;
}
.faq-cta-text {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--ink-mid);
    max-width: 60ch;
    line-height: 1.6;
}
.faq-cta-text a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.faq-cta-text a:hover { color: var(--accent-deep); }

/* ========================================
   BLOG — Liste + Article
======================================== */
.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
    width: 100%;
}

/* --- Blog list --- */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.blog-item {
    border-top: 1px solid var(--rule);
}
.blog-item:last-child {
    border-bottom: 1px solid var(--rule);
}
.blog-row {
    display: block;
    padding: clamp(28px, 4vw, 48px) 0;
    transition: padding 0.25s ease;
    position: relative;
}
.blog-row:hover {
    padding-left: 16px;
}
.blog-row:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.blog-meta time {
    font-variant-numeric: tabular-nums;
}
.blog-cat {
    color: var(--accent-deep);
    border-left: 1px solid var(--rule);
    padding-left: 12px;
}
.blog-title {
    font-family: var(--font-sans);
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    max-width: 26ch;
    transition: color 0.2s ease;
}
.blog-row:hover .blog-title { color: var(--accent-deep); }
.blog-excerpt {
    margin: 0 0 16px;
    color: var(--ink-mid);
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 60ch;
}
.blog-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
}
.blog-cta svg { width: 14px; height: 14px; }
.blog-empty {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    padding: clamp(40px, 8vw, 80px) 0;
    text-align: center;
}

/* --- Article detail --- */
.article-hero {
    padding-top: clamp(64px, 8vw, 120px);
    padding-bottom: clamp(40px, 5vw, 64px);
}
.article-breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.article-breadcrumb a {
    color: var(--ink);
    transition: color 0.2s ease;
}
.article-breadcrumb a:hover { color: var(--accent-deep); }
.article-cat { color: var(--accent-deep); }

.article-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    max-width: 22ch;
    margin: 0 0 20px;
}
.article-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    line-height: 1.45;
    color: var(--ink-mid);
    margin: 0 0 32px;
    max-width: 52ch;
    font-weight: 400;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.article-meta time { font-variant-numeric: tabular-nums; }

.article-cover {
    margin: 0;
    padding: 0;
}
.article-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

.article-body {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
    border-top: 1px solid var(--rule);
}
.article-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ink);
}
.article-content h2 {
    font-family: var(--font-sans);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 2.5em 0 0.75em;
    max-width: 32ch;
}
.article-content h3 {
    font-family: var(--font-sans);
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 2em 0 0.5em;
}
.article-content p { margin: 0 0 1.15em; }
.article-content ul,
.article-content ol {
    margin: 0 0 1.15em;
    padding-left: 1.25em;
    list-style: revert;
}
.article-content li { margin-bottom: 0.4em; }
.article-content a {
    color: var(--accent-deep);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.article-content a:hover { color: var(--ink); }
.article-content strong { font-weight: 600; color: var(--ink); }
.article-content em { font-style: italic; }
.article-content img {
    margin: 1.5em 0;
    width: 100%;
    height: auto;
    border-radius: 4px;
}
.article-content blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    margin: 1.5em 0;
    color: var(--ink-mid);
    font-style: italic;
}
.article-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 3px;
}

.article-cta {
    background: var(--bg-soft);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}
.article-cta .section-title { max-width: 22ch; }
.article-cta-text {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--ink-mid);
    line-height: 1.6;
    max-width: 60ch;
}
.article-cta-text a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s ease;
}
.article-cta-text a:hover { color: var(--accent-deep); }

.article-related {
    padding-top: clamp(64px, 8vw, 120px);
}
.article-related .section-title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    max-width: 30ch;
    margin-bottom: 32px;
}

/* ========================================
   FOOTER — Sociaux
======================================== */
.footer-socials {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-socials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.footer-social:hover {
    color: var(--bg);
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-1px);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ========================================
   ZONES D'INTERVENTION — 19 communes Bruxelles
======================================== */
.footer-zones {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.zones-intervention-compact {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

/* Full version (for /contact or /zones page later) */
.zones-intervention {
    padding: clamp(40px, 5vw, 64px) 0;
}
.zones-intervention-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 16px;
    font-weight: 500;
}
.zones-intervention-meta {
    font-size: 0.95rem;
    color: var(--ink-mid);
    line-height: 1.55;
    max-width: 60ch;
    margin: 0 0 24px;
}
.zones-intervention-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 6px 24px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: var(--ink);
}
.zones-intervention-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--rule);
}
