/* ====================== BASE ====================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-padding-top: calc(var(--header-height) + 24px);
}

img,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    font-size-adjust: 0.52;
    position: relative;
}

:root {
    --header-height: 78px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Bricolage Grotesque", sans-serif;
    margin: 0;
    font-size-adjust: 0.5;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================== HEADER ====================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 0;
}

main > section[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 20px;
}

.logo img {
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Navigation */

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    font-size: 0.95rem;
    color: #4b5563;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #0575E6;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #111827;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

/* CTA Header */

.nav-cta {
    background: #0575E6;
    color: #fff;
    padding: 10px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(5,117,230,0.25);
    transition: 0.15s ease;
}

.nav-cta:hover {
    background: #0465c3;
    transform: translateY(-2px);
}

/* Burger */

.nav-toggle {
    display: none;
    width: 38px;
    height: 32px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #111827;
    border-radius: 2px;
    transition: 0.2s;
}

.nav-toggle span:first-child { top: 11px; }
.nav-toggle span:last-child  { top: 19px; }

.site-header.nav-open .nav-toggle span:first-child {
    transform: rotate(45deg);
    top: 15px;
}

.site-header.nav-open .nav-toggle span:last-child {
    transform: rotate(-45deg);
    top: 15px;
}

/* ====================== HERO ====================== */

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding: 48px 0 52px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 248, 252, 0.96) 52%, rgba(255, 255, 255, 0.98) 100%);
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, #e7e5e4 1px, transparent 1px),
        linear-gradient(to bottom, #e7e5e4 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 0 0;
    -webkit-mask-image:
        repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px),
        repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px),
        radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%);
    mask-image:
        repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px),
        repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px),
        radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(78vw, 980px);
    height: min(76%, 720px);
    background:
        linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.46) 45%, rgba(255,255,255,0.86)),
        url("/ASSETS/IMAGE-3D-1.webp") center / cover no-repeat;
    opacity: 0.16;
    border-radius: 8px;
    filter: saturate(1.05) contrast(1.02);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 470px);
    align-items: flex-start;
    justify-content: space-between;
    column-gap: clamp(72px, 7vw, 130px);
    width: 100%;
}

/* Colonne gauche */

.hero-left {
    max-width: 660px;
    min-width: 0;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #40566f;
    margin-bottom: 12px;
}

.hero-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: #f97316;
}

/* ====================== MATERIALS V2 ====================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.materials-v2-page {
    background:
        radial-gradient(circle at top right, rgba(5, 117, 230, 0.08), transparent 32%),
        linear-gradient(180deg, #f6f8fb 0%, #ffffff 24%);
}

.materials-v2-hero {
    padding: 44px 0 28px;
    background: transparent;
    min-height: auto;
}

.materials-v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
    gap: 22px;
    align-items: stretch;
}

.materials-v2-hero-copy,
.materials-v2-hero-panel,
.materials-v2-assistant,
.materials-v2-primary,
.materials-v2-section,
.materials-v2-cta,
.materials-v2-drawer-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(207, 218, 231, 0.9);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    border-radius: 24px;
}

.materials-v2-hero-copy,
.materials-v2-hero-panel {
    padding: 28px;
}

.materials-v2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #55708f;
    margin-bottom: 12px;
}

.materials-v2-hero .tools-detail-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.02;
    max-width: 11ch;
}

.materials-v2-hero .tools-detail-intro {
    margin-top: 14px;
    max-width: 58ch;
    color: #4a617d;
}

.materials-v2-hero-chips,
.materials-v2-primary-badges,
.materials-v2-alt-badges,
.materials-v2-library-tags,
.materials-v2-drawer-meta,
.materials-v2-statebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.materials-v2-hero-chips span,
.materials-v2-state-pill,
.materials-v2-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #d8e2ef;
    background: #f6f9fc;
    font-size: 0.82rem;
    font-weight: 600;
    color: #37506b;
}

.materials-v2-badge.is-ok {
    background: #effaf4;
    border-color: #bfe5cb;
    color: #20704a;
}

.materials-v2-badge.is-warning {
    background: #fff8eb;
    border-color: #ead49f;
    color: #8a6421;
}

.materials-v2-badge.is-danger {
    background: #fff1f0;
    border-color: #efc1bd;
    color: #b54a42;
}

.materials-v2-hero-panel {
    display: grid;
    gap: 18px;
    align-content: space-between;
}

.materials-v2-hero-stat strong,
.materials-v2-section-head h2,
.materials-v2-assistant-head h2,
.materials-v2-primary-head h2,
.materials-v2-cta h2,
.materials-v2-compare-card h3,
.materials-v2-library-card h3,
.materials-v2-alt-card h3,
.materials-v2-guidance-card h3,
.materials-v2-card h3,
.materials-v2-drawer-head h2,
.materials-v2-drawer-section h3 {
    font-family: "Bricolage Grotesque", sans-serif;
}

.materials-v2-hero-stat strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.materials-v2-hero-stat span,
.materials-v2-section-head p,
.materials-v2-assistant-head p,
.materials-v2-alt-head p,
.materials-v2-guidance-card p,
.materials-v2-library-card p,
.materials-v2-primary-summary p,
.materials-v2-cta p,
.materials-v2-drawer-head p,
.materials-v2-alt-lower {
    color: #5b728d;
}

.materials-v2-hero-actions,
.materials-v2-assistant-actions,
.materials-v2-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.materials-v2-content {
    padding: 0 0 72px;
}

.materials-v2-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 20px;
    align-items: start;
}

.materials-v2-assistant {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    padding: 22px;
}

.materials-v2-assistant-head,
.materials-v2-primary-head,
.materials-v2-section-head,
.materials-v2-library-toolbar,
.materials-v2-library-head,
.materials-v2-alt-head,
.materials-v2-compare-head,
.materials-v2-fact,
.materials-v2-library-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.materials-v2-assistant-head {
    margin-bottom: 18px;
}

.materials-v2-mode-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: #edf3f9;
    border: 1px solid #d8e2ef;
}

.materials-v2-mode-btn,
.materials-v2-primary-btn,
.materials-v2-secondary-btn,
.materials-v2-ghost-btn,
.materials-v2-link-btn,
.materials-v2-inline-link,
.materials-v2-filter-btn {
    appearance: none;
    border: 0;
    font: inherit;
    cursor: pointer;
    transition: 0.18s ease;
}

.materials-v2-mode-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: transparent;
    color: #49627d;
    font-weight: 600;
}

.materials-v2-mode-btn.is-active {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    color: #0f2740;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.materials-v2-group + .materials-v2-group {
    margin-top: 18px;
}

.materials-v2-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.materials-v2-group-head span {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1rem;
    color: #10263d;
}

.materials-v2-group-head small {
    color: #647d98;
    font-size: 0.82rem;
}

.materials-v2-options-grid {
    display: grid;
    gap: 10px;
}

.materials-v2-options-grid.is-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.materials-v2-options-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.materials-v2-option {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid #d7e3ef;
    background: #ffffff;
    color: #0f2740;
    text-align: left;
}

.materials-v2-option:hover,
.materials-v2-filter-btn:hover,
.materials-v2-ghost-btn:hover,
.materials-v2-secondary-btn:hover,
.materials-v2-inline-link:hover {
    border-color: #9fc5ef;
    background: #f8fbff;
}

.materials-v2-option.is-active {
    border-color: #8ec0f4;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
    box-shadow: inset 0 0 0 1px rgba(5, 117, 230, 0.08);
}

.materials-v2-option-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #f1f5fb;
    color: #5d748d;
}

.materials-v2-option.is-active .materials-v2-option-icon {
    background: #ddebff;
    color: #0d5fbd;
}

.materials-v2-option-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.materials-v2-option-copy strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
}

.materials-v2-option-state {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1.5px solid #c3d2e2;
    background: #ffffff;
}

.materials-v2-option.is-active .materials-v2-option-state {
    border-color: #0575E6;
    background: radial-gradient(circle at center, #0575E6 0 46%, transparent 48%);
}

.materials-v2-primary,
.materials-v2-section,
.materials-v2-cta {
    padding: 24px;
}

.materials-v2-main {
    display: grid;
    gap: 18px;
}

.materials-v2-primary-head {
    align-items: stretch;
    margin-bottom: 14px;
}

.materials-v2-primary-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1;
    margin-bottom: 8px;
}

.materials-v2-scorecard {
    min-width: 132px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 4px;
    padding: 16px 14px;
    border-radius: 20px;
    background: #f7fafc;
    border: 1px solid #d9e4ef;
}

.materials-v2-scorecard span,
.materials-v2-scorecard small,
.materials-v2-fact span,
.materials-v2-meter span,
.materials-v2-library-score {
    font-size: 0.82rem;
    color: #617b95;
}

.materials-v2-scorecard strong {
    font-size: 2.2rem;
    line-height: 1;
    color: #0f2740;
}

.materials-v2-primary-summary {
    display: grid;
    gap: 12px;
}

.materials-v2-primary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.materials-v2-card,
.materials-v2-guidance-card,
.materials-v2-alt-card,
.materials-v2-compare-card,
.materials-v2-library-card {
    border: 1px solid #dbe5ef;
    border-radius: 20px;
    background: #fbfdff;
}

.materials-v2-card {
    padding: 18px;
}

.materials-v2-card ul,
.materials-v2-drawer-section ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #516882;
}

.materials-v2-card li + li,
.materials-v2-drawer-section li + li {
    margin-top: 6px;
}

.materials-v2-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.materials-v2-fact {
    padding: 14px 16px;
    border: 1px solid #dbe5ef;
    border-radius: 18px;
    background: #f9fbfd;
}

.materials-v2-fact strong {
    color: #122c46;
    font-size: 0.94rem;
}

.materials-v2-alt-grid,
.materials-v2-guidance-grid,
.materials-v2-library-grid {
    display: grid;
    gap: 14px;
}

.materials-v2-alt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.materials-v2-guidance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.materials-v2-library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.materials-v2-alt-card,
.materials-v2-guidance-card,
.materials-v2-library-card,
.materials-v2-compare-card {
    padding: 18px;
}

.materials-v2-score-pill {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #edf5ff;
    color: #0a64c4;
    font-weight: 700;
}

.materials-v2-inline-link {
    padding: 0;
    background: transparent;
    color: #0a64c4;
    font-weight: 600;
    text-decoration: none;
}

.materials-v2-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.materials-v2-meter + .materials-v2-meter {
    margin-top: 10px;
}

.materials-v2-meter-track {
    position: relative;
    height: 8px;
    margin-top: 7px;
    border-radius: 999px;
    background: #e8eef5;
    overflow: hidden;
}

.materials-v2-meter-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6faef2, #0575E6);
}

.materials-v2-search {
    display: block;
    flex: 1 1 320px;
}

.materials-v2-search input {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid #d8e2ef;
    background: #ffffff;
    font: inherit;
}

.materials-v2-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.materials-v2-filter-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #d7e3ef;
    background: #f8fbfd;
    color: #3b5571;
    font-weight: 600;
}

.materials-v2-filter-btn.is-active,
.materials-v2-primary-btn {
    background: #0575E6;
    color: #ffffff;
    border-color: #0575E6;
    box-shadow: 0 12px 24px rgba(5, 117, 230, 0.18);
}

.materials-v2-primary-btn,
.materials-v2-secondary-btn,
.materials-v2-ghost-btn,
.materials-v2-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
}

.materials-v2-secondary-btn,
.materials-v2-ghost-btn,
.materials-v2-link-btn {
    border: 1px solid #d8e2ef;
    background: #ffffff;
    color: #17314c;
}

.materials-v2-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
}

.materials-v2-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
}

.materials-v2-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
}

.materials-v2-drawer-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: min(520px, calc(100vw - 28px));
    padding: 24px;
    overflow-y: auto;
}

.materials-v2-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #d8e2ef;
    background: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.materials-v2-drawer-section + .materials-v2-drawer-section {
    margin-top: 18px;
}

.materials-v2-tooltip {
    position: absolute;
    z-index: 80;
    max-width: 260px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #10263d;
    color: #f8fbff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.materials-v2-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.materials-v2-tooltip strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.84rem;
}

.materials-v2-tooltip span {
    display: block;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(248, 251, 255, 0.86);
}

body.materials-v2-drawer-open {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .materials-v2-hero-grid,
    .materials-v2-shell,
    .materials-v2-cta,
    .materials-v2-library-grid,
    .materials-v2-guidance-grid,
    .materials-v2-compare,
    .materials-v2-alt-grid,
    .materials-v2-primary-grid,
    .materials-v2-facts {
        grid-template-columns: 1fr;
    }

    .materials-v2-assistant {
        position: static;
    }
}

@media (max-width: 720px) {
    .materials-v2-hero-copy,
    .materials-v2-hero-panel,
    .materials-v2-assistant,
    .materials-v2-primary,
    .materials-v2-section,
    .materials-v2-cta,
    .materials-v2-drawer-panel {
        border-radius: 20px;
    }

    .materials-v2-options-grid.is-two,
    .materials-v2-options-grid.is-three,
    .materials-v2-library-grid,
    .materials-v2-guidance-grid,
    .materials-v2-alt-grid,
    .materials-v2-primary-grid,
    .materials-v2-facts,
    .materials-v2-compare {
        grid-template-columns: 1fr;
    }

    .materials-v2-option {
        min-height: 62px;
    }

    .materials-v2-assistant-head,
    .materials-v2-primary-head,
    .materials-v2-section-head,
    .materials-v2-library-toolbar,
    .materials-v2-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .materials-v2-drawer-panel {
        top: auto;
        right: 10px;
        left: 10px;
        bottom: 10px;
        width: auto;
    }
}

.hero-left h1 {
    font-size: 3.18rem;
    line-height: 1.02;
    margin-bottom: 16px;
    color: #111827;
    max-width: 660px;
}

.hero-subtitle {
    max-width: 59ch;
    font-size: 1.02rem;
    line-height: 1.62;
    color: #405166;
}

.hero-question {
    max-width: 54ch;
    font-size: 1.12rem;
    line-height: 1.52;
    font-weight: 700;
    color: #142033;
    margin-bottom: 12px;
}

/* Stats */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 22px;
    max-width: 660px;
}

.stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0 10px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #dce5ef;
    box-shadow: 0 12px 32px rgba(15,23,42,0.07);
    text-align: left;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.stat-value {
    font-weight: 800;
    font-size: 1.18rem;
    color: #0b1220;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 4.8ch;
    font-variant-numeric: tabular-nums;
}

.stat-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #93c5fd;
    display: inline-block;
}

.stat-one .stat-dot { background: #60a5fa; }
.stat-two .stat-dot { background: #34d399; }
.stat-three .stat-dot { background: #fbbf24; }

.stat-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 1;
    filter: none;
}

.stat-icon {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: #0457b0;
    background: #eaf3ff;
}

.stat-suffix {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

.stat-number {
    display: inline-block;
    min-width: 2.4ch;
    text-align: right;
}


.stat-label {
    font-size: 0.8rem;
    color: #526174;
    white-space: normal;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #0457b0;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(5,117,230,0.25);
    transition: 0.15s ease;
}

.hero-btn:hover {
    background: #03499b;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: #ffffff;
    color: #142033;
    border: 1px solid #d2dce8;
    box-shadow: 0 8px 20px rgba(15,23,42,0.08);
}

.hero-btn-secondary:hover {
    background: #f8fafc;
    color: #0457b0;
}

/* ====================== FORMULAIRE HERO RIGHT ====================== */

.hero-right {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.quote-card {
    width: 100%;
    max-width: 470px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(191, 204, 220, 0.9);
    backdrop-filter: blur(14px);
}

.quote-card::before {
    content: "";
    position: absolute;
    inset: -1px -1px auto -1px;
    height: 3px;
    border-radius: 8px 8px 0 0;
    background: #0575E6;
}

.quote-card-header {
    padding: 18px 22px 16px;
    border-bottom: 1px solid #e4ebf3;
    background: #ffffff;
    border-radius: 8px 8px 0 0;
}

.quote-card-kicker {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #0575E6;
}

.quote-card-header h2 {
    max-width: none;
    font-size: 1.06rem;
    line-height: 1.35;
    color: #101827;
}

/* Onglets */

.quote-tabs {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #eef4fa;
    border-bottom: 1px solid #dce5ef;
}

.quote-tab {
    flex: 1;
    min-height: 48px;
    padding: 11px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    color: #405166;
}

.quote-tab:hover {
    background: #ffffff;
    border-color: #d8e3ef;
}

.quote-tab.active {
    background: #ffffff;
    color: #0b4aa8;
    border-color: rgba(5,117,230,0.22);
    box-shadow: 0 10px 22px rgba(15,23,42,0.09);
}

.quote-feedback {
    margin: 14px 18px 0;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #7c2d12;
}

.quote-feedback[hidden] {
    display: none;
}

.quote-feedback-title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
}

.quote-feedback-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
}

.quote-feedback-note {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #9a3412;
}

/* Corps du formulaire */

.quote-body {
    padding: 20px 22px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 0 0 8px 8px;
}

/* Indicateur d'étapes */

.quote-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px;
    border-radius: 8px;
    background: #f6f9fc;
    border: 1px solid #e0e8f1;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.5;
    transition: 0.15s ease;
}

.step-indicator.active {
    opacity: 1;
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #64748b;
    background: #f9fafb;
}

.step-indicator.active .step-number {
    border-color: #0575E6;
    background: #0575E6;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(5,117,230,0.22);
}

.step-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.step-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #cfe4fb, #e5e7eb);
}

/* Steps */

.quote-step {
    display: none;
}

.quote-step.active {
    display: block;
}

.quote-title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0f172a;
    text-align: left;
    line-height: 1.42;
}

/* Champs */

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.quote-form .field {
    margin-bottom: 12px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field-row .field {
    margin-bottom: 12px;
}

.field-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #38475a;
    letter-spacing: 0.01em;
}

.required-star {
    color: #dc2626;
    margin-left: 3px;
    font-weight: 700;
    font-size: 0.85em;
}

/* Inputs */

.field input,
.field select,
.field textarea {
    min-height: 46px;
    border-radius: 8px;
    border: 1px solid #d5dfeb;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    background: #ffffff;
    color: #101827;
}

.field textarea {
    border-radius: 8px;
    min-height: 80px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #0575E6;
    box-shadow: 0 0 0 3px rgba(5, 117, 230, 0.14);
    background-color: #ffffff;
}

/* FILE UPLOAD + TOOLTIP */

.file-field input[type="file"] {
    border-radius: 8px;
    border: 1px dashed #9fb8d4;
    padding: 13px;
    background: #f6faff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.file-field input[type="file"]:focus {
    border-color: #0575E6;
    box-shadow: 0 0 0 1px rgba(5, 117, 230, 0.4);
    background: #ffffff;
}

.file-progress {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #dbe5f0;
    border-radius: 12px;
    background: #f8fbff;
}

.file-progress[hidden] {
    display: none;
}

.file-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.file-progress-name {
    min-width: 0;
    font-size: 0.83rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-progress-percent {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0b4aa8;
}

.file-progress-bar {
    position: relative;
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbeafe;
}

.file-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #0575E6);
    transition: width 0.18s ease;
}

.file-progress-note {
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.45;
}

.file-progress-files {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file-progress-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #dbe5f0;
}

.file-progress-thumb {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #dbe5f0;
    background: #e2e8f0;
}

.file-progress-thumb-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #1e3a8a;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.file-progress-thumb-fallback.is-loading {
    color: #475569;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.file-progress-item-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
}

.file-progress-item-name {
    min-width: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-progress-item-size {
    font-size: 0.76rem;
    color: #64748b;
}

.file-progress-remove {
    flex-shrink: 0;
    border: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.file-progress-remove:hover,
.file-progress-remove:focus-visible {
    background: #cbd5e1;
    color: #020617;
}

.file-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0575E6;
    color: white;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    z-index: 10;
}

.tooltip-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 26px;
    background: #ffffff;
    color: #111827;
    padding: 10px 12px;
    font-size: 0.75rem;
    line-height: 1.3;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.15s ease;
    z-index: 20;
}

.tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #ffffff;
}

.tooltip:hover .tooltip-content {
    opacity: 1;
    pointer-events: auto;
}

/* Actions (boutons formulaire) */

.quote-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.step-prev,
.step-next,
.step-submit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 46px;
    border-radius: 8px;
    border: none;
    padding: 11px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.step-prev {
    background: #edf2f7;
    color: #38475a;
    border: 1px solid #d8e3ef;
}

.step-prev:hover:not(:disabled) {
    background: #d4d4d8;
}

.step-prev:disabled {
    opacity: 0.55;
    cursor: default;
}

.step-next {
    background: #0575E6;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(5, 117, 230, 0.24);
}

.step-next:hover:not(:disabled) {
    background: #0465c3;
    box-shadow: 0 3px 8px rgba(5, 117, 230, 0.45);
}

.step-submit {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.24);
}

.step-submit:hover {
    background: #ea580c;
    box-shadow: 0 3px 8px rgba(234, 88, 12, 0.45);
}

.step-next:active,
.step-prev:active,
.step-submit:active {
    transform: translateY(1px);
    box-shadow: none;
}

.step-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.recaptcha-wrap {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
}

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

    .hero-left h1 {
        font-size: 2.12rem;
        max-width: 17ch;
    }

    .hero-subtitle {
        font-size: 0.96rem;
    }

    .hero-stats {
        align-items: stretch;
    }

    .stat {
        width: 100%;
        min-width: 0;
    }

    .stat-label {
        white-space: normal;
    }

    .hero-actions,
    .hero-btn {
        width: 100%;
    }

    .quote-card-header {
        padding: 18px 16px 14px;
    }

    .quote-card-header h2 {
        max-width: 100%;
        font-size: 1.12rem;
    }

    .quote-tabs {
        flex-direction: column;
    }

    .recaptcha-wrap {
        transform: scale(0.92);
        transform-origin: left top;
    }
}

.quote-note {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f7fbff;
    border: 1px solid #e1ebf6;
    font-size: 0.78rem;
    line-height: 1.55;
    color: #526174;
}

@media (min-width: 901px) {
    .hero {
        height: calc(100vh - var(--header-height));
        height: calc(100svh - var(--header-height));
        min-height: 700px;
    }

    .hero .quote-card-header {
        padding: 14px 18px 12px;
    }

    .hero .quote-card-kicker {
        margin-bottom: 4px;
    }

    .hero .quote-card-header h2 {
        font-size: 0.98rem;
        line-height: 1.28;
    }

    .hero .quote-tabs {
        padding: 8px;
    }

    .hero .quote-tab {
        min-height: 42px;
        padding: 9px 12px;
    }

    .hero .quote-body {
        padding: 14px 18px 16px;
    }

    .hero .quote-steps {
        margin-bottom: 12px;
        padding: 8px;
    }

    .hero .step-number {
        width: 22px;
        height: 22px;
    }

    .hero .step-label {
        font-size: 0.72rem;
    }

    .hero .quote-title {
        font-size: 1rem;
        line-height: 1.34;
        margin-bottom: 12px;
    }

    .hero .field,
    .hero .quote-form .field,
    .hero .field-row .field {
        gap: 4px;
        margin-bottom: 10px;
    }

    .hero .field-row {
        gap: 10px;
    }

    .hero .field input,
    .hero .field select,
    .hero .field textarea {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 0.88rem;
    }

    .hero .field textarea {
        min-height: 58px;
    }

    .hero .file-field input[type="file"] {
        padding: 10px;
    }

    .hero .quote-actions {
        margin-top: 8px;
    }

    .hero .step-prev,
    .hero .step-next,
    .hero .step-submit {
        min-height: 40px;
        padding: 9px 12px;
    }

    .hero .quote-note {
        margin-top: 10px;
        padding: 8px 10px;
        line-height: 1.45;
    }
}

/* ====================== PARTNERS ====================== */

.partners {
    position: relative;
    padding: 34px 0 36px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(248,251,255,0.74) 38%, rgba(250,252,255,0.98) 72%, rgba(255,255,255,0) 100%);
    overflow: hidden;
}

.partners::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(to right, rgba(226,232,240,0.75) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(226,232,240,0.75) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 0 0;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.18) 22%, rgba(0,0,0,0.62) 58%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.18) 22%, rgba(0,0,0,0.62) 58%, transparent 100%);
}

.partners::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(250,252,255,0.74) 58%, rgba(255,255,255,1) 100%);
    pointer-events: none;
}

.partners-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
}

.partners-copy {
    display: grid;
    gap: 8px;
    text-align: center;
    justify-items: center;
}

.partners-copy h2 {
    font-size: clamp(1.4rem, 2vw, 1.88rem);
    color: #0f172a;
    line-height: 1.16;
}

.partners-intro {
    max-width: 620px;
    margin: 0;
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.96rem;
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    padding: 10px 0;
}

.partners-marquee::before,
.partners-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(12vw, 120px);
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #fbfdff 0%, rgba(251,253,255,0) 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    animation: partners-marquee 34s linear infinite;
    will-change: transform;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partner-logo-card {
    flex: 0 0 auto;
    min-width: clamp(240px, 22vw, 320px);
    height: 118px;
    padding: 22px 30px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.95) 100%);
    border: 1px solid rgba(226,232,240,0.95);
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-card img {
    max-width: 100%;
    max-height: 84px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) saturate(0.1) contrast(1.02);
    opacity: 0.78;
    transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo-card:hover {
    border-color: rgba(191,219,254,0.9);
    box-shadow: 0 14px 28px rgba(15,23,42,0.06);
}

.partner-logo-card:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.02);
}

@keyframes partners-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 11px));
    }
}

/* ====================== SERVICES ====================== */

.services {
    --services-primary: #0575E6;
    --services-primary-dark: #0457b0;
    --services-primary-soft: rgba(5,117,230,0.08);
    --services-sky: #3ab8ff;
    --services-text: #0f172a;
    --services-muted: #4b5563;
    --services-muted-strong: #334155;
    --services-border: #e5e7eb;
    --services-border-strong: #d8e2ef;
    --services-surface: #ffffff;
    --services-soft: #f8fbff;
    padding: 112px 0 124px;
    background: #ffffff;
    position: relative;
    border-bottom: 1px solid #e8eef6;
}

.services::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image:
        linear-gradient(to right, rgba(226,232,240,0.8) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(226,232,240,0.8) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 0 0;
}

.services::after {
    content: none;
}

.services .container {
    position: relative;
    z-index: 1;
    overflow-x: clip;
}

.services-header,
.services-header-copy,
.services-proof,
.services-spotlight,
.services-spotlight-copy,
.services-grid,
.service-card,
.services-process,
.services-process-list,
.services-cta {
    min-width: 0;
}

.services-header {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 64px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto 68px;
}

.section-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin-bottom: 8px;
}

.services,
.realisations,
.reviews,
.faq,
.cta-final,
.site-footer {
    content-visibility: auto;
}

.services {
    contain-intrinsic-size: auto 1180px;
}

.realisations,
.reviews {
    contain-intrinsic-size: auto 760px;
}

.faq,
.cta-final,
.site-footer {
    contain-intrinsic-size: auto 520px;
}

.services-header-copy {
    max-width: 660px;
}

.services-header h2 {
    font-size: clamp(1.72rem, 2.35vw, 2.08rem);
    margin: 0 0 18px;
    color: var(--services-text);
    line-height: 1.16;
    max-width: 20ch;
}

.services-intro {
    margin: 0;
    font-size: 0.98rem;
    color: var(--services-muted);
    line-height: 1.72;
    max-width: 62ch;
}

.services-proof {
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #e8eef6;
    padding-top: 20px;
}

.services-proof li {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--services-muted-strong);
    font-size: 0.88rem;
    line-height: 1.5;
    font-weight: 600;
}

.services-proof li + li {
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
}

.services-proof li::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--services-primary);
    box-shadow: none;
}

.services-spotlight {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 64px;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    overflow: visible;
    box-shadow: none;
}

.services-spotlight-media {
    width: 100%;
    max-width: 100%;
    min-height: 340px;
    background: var(--services-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15,23,42,0.08);
}

.services-spotlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-spotlight-copy {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-spotlight-copy h3 {
    margin: 0 0 18px;
    color: var(--services-text);
    font-size: clamp(1.32rem, 2vw, 1.58rem);
    line-height: 1.22;
    max-width: 22ch;
}

.services-spotlight-copy p {
    margin: 0;
    color: var(--services-muted);
    line-height: 1.74;
    font-size: 0.96rem;
    max-width: 58ch;
}

.services-spotlight-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 30px;
}

.services-spotlight-points span {
    display: inline-flex;
    align-items: center;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.services-spotlight-points span:first-child {
    color: var(--services-primary);
}

.services-spotlight-points span + span::before {
    content: "";
    width: 1px;
    height: 14px;
    margin: 0 12px;
    background: #d8e2ef;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    max-width: 1040px;
    margin: 58px auto 0;
    align-items: stretch;
}

.service-card-media {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.service-card {
    background: rgba(255,255,255,0.96);
    border-radius: 8px;
    border: 1px solid #e8eef6;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    text-align: left;
    position: relative;
    z-index: 0;
    transform: none;
    opacity: 1;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card::before {
    content: none;
}

.service-card:hover {
    box-shadow: 0 10px 22px rgba(15,23,42,0.045);
    border-color: #dce6f0;
}

.service-card.is-visible {
    transform: none;
    opacity: 1;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #eef2f7;
}

.service-card-body {
    padding: 26px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.service-eyebrow {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #526171;
    font-weight: 700;
    margin: 0;
}

.service-card h3 {
    font-size: 1.05rem;
    padding: 0;
    margin: 0;
    color: var(--services-text);
    letter-spacing: 0;
    text-align: left;
    line-height: 1.26;
    max-width: none;
}

.service-card p {
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
    color: var(--services-muted);
    line-height: 1.7;
    text-align: left;
}

.service-copy {
    color: var(--services-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: none;
    padding-left: 0;
}

.service-note {
    margin-top: auto;
    padding: 12px 0 0;
    border-top: 1px solid #eef2f7;
    font-size: 0.82rem;
    color: #64748b;
    position: relative;
    line-height: 1.5;
}

.service-note::before {
    content: none;
}

.services-process {
    max-width: 1040px;
    margin: 72px auto 0;
    padding: 36px 40px 40px;
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--services-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15,23,42,0.045);
    overflow: hidden;
    position: relative;
}

.services-process::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    width: 74px;
    height: 3px;
    background: var(--services-primary);
}

.services-process-heading {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
    grid-template-rows: auto auto;
    gap: 10px 44px;
    align-items: end;
    padding: 0 0 34px;
    border-bottom: 1px solid #edf2f7;
}

.services-process-heading .section-kicker {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin-bottom: 0;
}

.services-process-heading h3 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    color: var(--services-text);
    font-size: clamp(1.35rem, 2vw, 1.68rem);
    line-height: 1.18;
    max-width: 22ch;
}

.services-process-intro {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin: 0;
    color: var(--services-muted);
    font-size: 0.94rem;
    line-height: 1.68;
    max-width: 62ch;
}

.services-process-list {
    list-style: none;
    counter-reset: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.services-process-list li {
    position: relative;
    min-height: 178px;
    padding: 0 30px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: none;
}

.services-process-list li:not(:first-child) {
    padding-left: 30px;
    border-left: 1px solid #e5edf5;
}

.services-process-list li:hover {
    transform: none;
}

.process-step-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    color: var(--services-primary);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.process-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #dbe3ec;
    background: #f8fafc;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.process-step-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-process-list strong {
    display: block;
    color: var(--services-text);
    font-size: 1.02rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.services-process-list p {
    margin: 0;
    color: var(--services-muted);
    font-size: 0.86rem;
    line-height: 1.55;
    max-width: 26ch;
}

.services-cta {
    max-width: 1040px;
    margin: 64px auto 0;
    padding: 26px 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--services-primary) 0%, var(--services-sky) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(5,117,230,0.2);
    box-shadow: 0 14px 30px rgba(5,117,230,0.22);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: rgba(255,255,255,0.42);
}

.services-cta::after {
    content: none;
}

.services-cta .section-kicker {
    color: rgba(255,255,255,0.78);
    margin-bottom: 8px;
}

.services-cta-copy {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.services-cta-copy h3 {
    margin: 0 0 8px;
    font-size: 1.38rem;
    line-height: 1.26;
    color: #ffffff;
}

.services-cta-copy p:last-child {
    margin: 0;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
}

.services-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.services-cta .hero-btn {
    border-radius: 8px;
    background: #ffffff;
    color: #0b4aa8;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.services-cta .hero-btn:hover {
    background: #e2e8f0;
    color: #0b4aa8;
}

/* ====================== REALISATIONS ====================== */

.realisations {
    padding: 70px 0 80px;
    background: #ffffff;
}

.realisations-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.realisations-header h2 {
    font-size: clamp(1.6rem, 2.3vw, 2rem);
    margin-bottom: 10px;
    color: #0f172a;
}

.realisations-intro {
    font-size: 0.98rem;
    color: #4b5563;
}

.realisations-layout {
    display: block;
}

/* Colonne flux Instagram */

.realisations-feed {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.instagram-feed-status {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
    font-weight: 600;
}

.instagram-feed-status[hidden] {
    display: none;
}

.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.instagram-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(15,23,42,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.instagram-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 30px rgba(15,23,42,0.1);
}

.instagram-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f5f9;
}

.instagram-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.24s ease;
}

.instagram-card:hover .instagram-card-media img {
    transform: scale(1.04);
}

.instagram-card-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.instagram-card-caption {
    display: block;
    padding: 13px 14px 15px;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.45;
}

.instagram-feed-actions {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.instagram-feed-actions[hidden] {
    display: none;
}

.instagram-feed-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    background: #0457b0;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(5,117,230,0.18);
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.instagram-feed-actions a:hover {
    background: #03499b;
    transform: translateY(-2px);
}

.realisations-embed {
    width: 100%;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.realisations-fallback {
    padding: 28px 30px;
    border-radius: 8px;
    border: 1px solid #e3ebf5;
    background: #f8fbff;
    text-align: center;
    color: #4b5563;
}

.realisations-fallback[hidden] {
    display: none;
}

.realisations-fallback-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-weight: 700;
}

.realisations-fallback p {
    margin: 0 auto 14px;
    max-width: 620px;
    line-height: 1.6;
}

.realisations-fallback a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 8px;
    background: #0457b0;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.realisations-fallback a:hover {
    background: #03499b;
}

@media (max-width: 900px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* ====================== AVIS CLIENTS ====================== */

.reviews {
    padding: 70px 0 80px;
    background: #f9fafb;
}

.reviews-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.reviews-header h2 {
    font-size: clamp(1.6rem, 2.3vw, 2rem);
    margin-bottom: 10px;
    color: #0f172a;
}

.reviews-intro {
    font-size: 0.98rem;
    color: #4b5563;
}

.google-reviews {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: Arial, "Roboto", sans-serif;
}

.google-reviews-status {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #64748b;
    text-align: center;
    font-weight: 600;
}

.google-reviews-status[hidden],
.google-reviews-summary[hidden],
.google-reviews-actions[hidden],
.google-reviews-fallback[hidden] {
    display: none;
}

.google-reviews-summary {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(60,64,67,0.12);
}

.google-reviews-summary::before {
    content: "";
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234285F4' d='M23.49 12.27c0-.79-.07-1.54-.19-2.27H12v4.29h6.47c-.28 1.48-1.13 2.73-2.4 3.57v2.97h3.89c2.27-2.08 3.53-5.15 3.53-8.56z'/%3E%3Cpath fill='%2334A853' d='M12 24c3.24 0 5.96-1.07 7.95-2.9l-3.89-2.97c-1.08.72-2.46 1.15-4.06 1.15-3.12 0-5.77-2.08-6.71-4.89H1.27v3.06C3.25 21.35 7.29 24 12 24z'/%3E%3Cpath fill='%23FBBC05' d='M5.29 14.39A7.17 7.17 0 0 1 4.9 12c0-.83.14-1.63.39-2.39V6.55H1.27A11.88 11.88 0 0 0 0 12c0 1.96.46 3.82 1.27 5.45l4.02-3.06z'/%3E%3Cpath fill='%23EA4335' d='M12 4.72c1.76 0 3.34.6 4.58 1.77l3.44-3.39C17.94 1.16 15.23 0 12 0 7.29 0 3.25 2.65 1.27 6.55l4.02 3.06C6.23 6.8 8.88 4.72 12 4.72z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.google-reviews-summary-label {
    color: #202124;
    font-weight: 700;
}

.google-reviews-summary-score {
    color: #202124;
    font-weight: 700;
}

.google-reviews-summary-total {
    color: #5f6368;
    font-size: 0.9rem;
}

.google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.google-reviews-grid .google-review-card:nth-child(n+7) {
    display: none;
}

.google-review-card {
    position: relative;
    min-width: 0;
    min-height: 248px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    background: #ffffff;
    color: #202124;
    box-shadow: 0 1px 2px rgba(60,64,67,0.12);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.google-review-card::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234285F4' d='M23.49 12.27c0-.79-.07-1.54-.19-2.27H12v4.29h6.47c-.28 1.48-1.13 2.73-2.4 3.57v2.97h3.89c2.27-2.08 3.53-5.15 3.53-8.56z'/%3E%3Cpath fill='%2334A853' d='M12 24c3.24 0 5.96-1.07 7.95-2.9l-3.89-2.97c-1.08.72-2.46 1.15-4.06 1.15-3.12 0-5.77-2.08-6.71-4.89H1.27v3.06C3.25 21.35 7.29 24 12 24z'/%3E%3Cpath fill='%23FBBC05' d='M5.29 14.39A7.17 7.17 0 0 1 4.9 12c0-.83.14-1.63.39-2.39V6.55H1.27A11.88 11.88 0 0 0 0 12c0 1.96.46 3.82 1.27 5.45l4.02-3.06z'/%3E%3Cpath fill='%23EA4335' d='M12 4.72c1.76 0 3.34.6 4.58 1.77l3.44-3.39C17.94 1.16 15.23 0 12 0 7.29 0 3.25 2.65 1.27 6.55l4.02 3.06C6.23 6.8 8.88 4.72 12 4.72z'/%3E%3C/svg%3E") center / contain no-repeat;
    display: inline-flex;
    pointer-events: none;
}

.google-review-card:hover {
    border-color: #c6c9ce;
    box-shadow: 0 2px 8px rgba(60,64,67,0.18);
}

.google-review-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding-right: 0;
    padding-top: 22px;
}

.google-review-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 800;
    text-decoration: none;
}

.google-review-card:nth-child(4n+1) .google-review-avatar {
    background: #e8f0fe;
    color: #1a73e8;
}

.google-review-card:nth-child(4n+2) .google-review-avatar {
    background: #e6f4ea;
    color: #188038;
}

.google-review-card:nth-child(4n+3) .google-review-avatar {
    background: #fef7e0;
    color: #f9ab00;
}

.google-review-card:nth-child(4n) .google-review-avatar {
    background: #fce8e6;
    color: #d93025;
}

.google-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.google-review-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.google-review-meta strong {
    overflow: visible;
    color: #202124;
    font-size: 0.95rem;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.google-review-meta span {
    color: #70757a;
    font-size: 0.8rem;
}

.google-review-stars {
    color: #fbbc04;
    letter-spacing: 0;
    font-size: 0.98rem;
    line-height: 1;
}

.google-review-card > .google-review-stars {
    margin-top: 2px;
}

.google-review-card > .google-review-stars::after {
    content: "  Avis Google";
    color: #70757a;
    font-size: 0.78rem;
    font-weight: 500;
}

.google-review-text {
    margin: 0;
    color: #3c4043;
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.google-reviews-actions {
    display: flex;
    justify-content: center;
}

.google-reviews-actions a,
.google-reviews-fallback a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    border: 1px solid #dadce0;
    background: #ffffff;
    color: #1a73e8;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.google-reviews-actions a:hover,
.google-reviews-fallback a:hover {
    background: #f8fbff;
    transform: translateY(-2px);
}

.google-reviews-fallback {
    padding: 28px 30px;
    border-radius: 8px;
    border: 1px solid #e3ebf5;
    background: #ffffff;
    text-align: center;
    color: #4b5563;
}

.google-reviews-fallback-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-weight: 700;
}

.google-reviews-fallback p {
    margin: 0 auto 14px;
    max-width: 620px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .google-reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* ====================== CTA FINAL ====================== */

.cta-final {
    background: linear-gradient(135deg, #0575E6, #3ab8ff);
    padding: 90px 0;
    text-align: center;
    color: #ffffff;
}

.cta-inner h2 {
    font-size: clamp(1.8rem, 2.4vw, 2.2rem);
    font-family: "Bricolage Grotesque", sans-serif;
    margin-bottom: 14px;
    font-weight: 600;
}

.cta-subtitle {
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 28px;
    line-height: 1.55;
    opacity: 0.95;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 999px;
    background: #ffffff;
    color: #0b4aa8;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cta-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

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

.faq {
    padding: 88px 0 96px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-top: 1px solid #e8eef6;
}

.faq-inner {
    max-width: 1040px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}

.faq-header h2 {
    font-size: clamp(1.85rem, 2.8vw, 2.4rem);
    margin-bottom: 12px;
    color: #0b1220;
    line-height: 1.15;
}

.faq-intro {
    font-size: 1rem;
    color: #4b5d6f;
    line-height: 1.7;
}

/* Liste FAQ */

.faq-shell {
    max-width: 920px;
    margin: 0 auto;
    padding: 22px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.98) 100%);
    border: 1px solid #e3ebf5;
    box-shadow:
        0 24px 52px rgba(15,23,42,0.06),
        inset 0 1px 0 rgba(255,255,255,0.95);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border-radius: 18px;
    border: 1px solid #e3eaf3;
    background: rgba(255,255,255,0.92);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.faq-item[open] {
    background: #ffffff;
    border-color: #cfe0f6;
    box-shadow: 0 18px 34px rgba(15,23,42,0.08);
    transform: translateY(-1px);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #0b1220;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    line-height: 1.4;
    transition: background 0.2s ease;
}

.faq-item summary:hover {
    background: rgba(5,117,230,0.025);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    flex: 1;
}

.faq-toggle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d5e1ef;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    position: relative;
    flex: 0 0 auto;
    box-shadow: 0 6px 14px rgba(15,23,42,0.04);
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background: #0b4aa8;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle {
    border-color: #bfd7f7;
    background: linear-gradient(180deg, #eff6ff 0%, #dfefff 100%);
}

.faq-item[open] .faq-toggle::after {
    opacity: 0;
}

.faq-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #e9eff7;
}

.faq-content p {
    margin: 12px 0 0;
    font-size: 0.95rem;
    color: #4b5d6f;
    line-height: 1.72;
}

.faq-content strong {
    color: #0b1220;
}

/* ====================== CONTACT HEADER ====================== */

.contact-header {
    text-align: center;
    padding: 86px 0 48px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.contact-header-inner {
    max-width: 920px;
}

.contact-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin-bottom: 10px;
}

.contact-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.08;
}

.contact-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.65;
}

.contact-proof-strip {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 24px auto 0;
    max-width: 860px;
    color: #516882;
}

.contact-proof-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 16px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.contact-proof-strip span + span {
    border-left: 1px solid #d7e3ef;
}

/* ====================== CONTACT WRAPPER ====================== */

.contact-wrapper {
    position: relative;
    overflow: hidden;
    padding: 58px 0 86px;
    background: linear-gradient(180deg, #eef4fa 0%, #f3f7fb 100%);
    border-top: 1px solid #e0e9f2;
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px, 0.56fr) minmax(520px, 1.44fr);
    align-items: start;
    gap: 64px;
}

/* Colonne gauche : infos */

.contact-info-card {
    max-width: 390px;
    padding: 22px;
    text-align: left;
    flex: 1 1 300px;
    border: 1px solid #d7e3ef;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.contact-info-logo {
    width: 128px;
    display: block;
    margin: 0 0 18px;
}

.contact-info-card h2 {
    text-align: left;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.55rem;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.1;
}

.contact-info-line {
    font-size: 0.95rem;
    color: #4b5563;
    margin: 6px 0;
    text-align: center;
}

.contact-guide-intro {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.65;
}

.contact-guide-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-guide-list li {
    position: relative;
    padding: 11px 12px 11px 34px;
    border: 1px solid #e0e9f2;
    border-radius: 8px;
    background: #f8fbfd;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-guide-list li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 17px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0575E6;
}

.contact-direct-card {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e0e9f2;
}

.contact-direct-title {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-direct-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 8px;
    border: 1px solid #d8e2ef;
    background: #ffffff;
    color: #0b4aa8;
    font-weight: 700;
    text-decoration: none;
}

.contact-direct-link:hover {
    border-color: #93c5fd;
    background: #eff6ff;
}

/* Réseaux sociaux contact */

.contact-info-social {
    margin-top: 20px;
    text-align: left;
}

.social-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 14px;
}

.contact-social-links {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
}

.contact-social-links a {
    padding: 8px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0575E6;
    background: #ffffff;
    white-space: nowrap;
    text-decoration: none;
    transition: 0.2s ease;
}

.contact-social-links a:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #0369a1;
    transform: translateY(-1px);
}

.contact-mini-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #64748b;
    text-align: left;
    line-height: 1.5;
}

.contact-side-note {
    max-width: 320px;
    padding-top: 18px;
    color: #334155;
}

.contact-side-eyebrow {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-side-note h2 {
    margin: 0 0 14px;
    font-family: "Bricolage Grotesque", sans-serif;
    color: #0f172a;
    font-size: 1.42rem;
    line-height: 1.16;
}

.contact-side-note > p {
    margin: 0;
    color: #516882;
    font-size: 0.94rem;
    line-height: 1.75;
}

.contact-side-steps {
    display: grid;
    gap: 0;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(139, 160, 184, 0.28);
}

.contact-side-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(139, 160, 184, 0.28);
    color: #516882;
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-side-steps li > span {
    color: #8aa0b8;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.55;
}

.contact-side-steps strong {
    display: block;
    margin-bottom: 2px;
    color: #0f172a;
    font-size: 0.95rem;
}

.contact-side-steps p {
    margin: 0;
    color: #516882;
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-direct-band {
    position: relative;
    z-index: 1;
    margin-top: 58px;
    padding-top: 28px;
    border-top: 1px solid rgba(139, 160, 184, 0.26);
}

.contact-direct-panel {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 34px;
    padding: 20px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.contact-direct-head {
    max-width: 380px;
    padding: 0;
}

.contact-direct-head span {
    display: block;
    color: #6b7280;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-direct-head p {
    margin: 0;
    color: #516882;
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 360px;
}

.contact-direct-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.contact-direct-links a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-content: center;
    align-items: center;
    gap: 4px 12px;
    min-width: 0;
    min-height: 64px;
    padding: 10px 12px;
    border: 1px solid rgba(139, 160, 184, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.42);
    color: #0f172a;
    line-height: 1.25;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-direct-links a > span:not(.contact-link-icon) {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.contact-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(139, 160, 184, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    color: #416180;
}

.contact-link-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-direct-links a[href*="wa.me"] .contact-link-icon {
    border-color: rgba(37, 211, 102, 0.28);
    background: rgba(37, 211, 102, 0.08);
    color: #168c46;
}

.contact-direct-links a small {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-direct-links a strong {
    color: inherit;
    font-size: 0.94rem;
    font-weight: 750;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.contact-direct-links a:hover {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(139, 160, 184, 0.42);
    color: #0b4aa8;
    transform: translateY(-1px);
}

.contact-direct-links a:hover .contact-link-icon {
    border-color: #b8cce3;
    color: #0b4aa8;
}

.contact-direct-links a[href*="wa.me"]:hover .contact-link-icon {
    border-color: rgba(37, 211, 102, 0.42);
    color: #12833f;
}

/* Google Maps card */

.contact-map {
    margin-top: 22px;
}

.contact-map-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.contact-map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 18px rgba(15,23,42,0.08);
}

.contact-map-iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

/* Colonne droite : formulaire contact */

.contact-form-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: min(100%, 420px);
}

/* On réutilise .quote-card / .quote-tabs / .field etc.
   La card est juste un peu plus "forte" en ombre sur la page contact. */

.contact-form-col .quote-card {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(191, 204, 220, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

.contact-form-col .quote-card::before {
    height: 3px;
    background: #0575E6;
}

.contact-form-col .quote-card-header {
    padding: 18px 22px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e4ebf3;
}

.contact-form-col .quote-card-kicker {
    color: #0575E6;
}

.contact-form-col .quote-card-header h2 {
    max-width: none;
    font-size: 1.06rem;
    line-height: 1.35;
}

.contact-form-col .quote-tabs {
    gap: 8px;
    padding: 12px;
    background: #eef4fa;
    border-bottom: 1px solid #dce5ef;
}

.contact-form-col .quote-tab {
    min-height: 48px;
    border-radius: 8px;
    color: #405166;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form-col .quote-tab:hover {
    background: #ffffff;
    border-color: #d8e3ef;
}

.contact-form-col .quote-tab.active {
    background: #ffffff;
    color: #0b4aa8;
    border-color: rgba(5,117,230,0.22);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.09);
}

.contact-form-col .quote-body {
    padding: 20px 22px 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.contact-form-col .quote-steps {
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px;
    border-radius: 8px;
    background: #f6f9fc;
    border: 1px solid #e0e8f1;
}

.contact-form-col .step-indicator {
    opacity: 0.62;
}

.contact-form-col .step-number {
    width: 24px;
    height: 24px;
    border-color: #cbd5e1;
    font-size: 0.72rem;
}

.contact-form-col .step-indicator.active .step-number {
    border-color: #0575E6;
    background: #0575E6;
    box-shadow: 0 6px 14px rgba(5,117,230,0.22);
}

.contact-form-col .step-label {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-form-col .step-line {
    height: 2px;
    background: linear-gradient(90deg, #cfe4fb, #e5e7eb);
}

.contact-form-col .quote-title {
    margin-bottom: 18px;
    color: #0f172a;
    font-size: 1.08rem;
    line-height: 1.42;
    font-weight: 700;
}

.contact-form-col .quote-note {
    margin: 14px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f7fbff;
    border: 1px solid #e1ebf6;
    color: #526174;
    font-size: 0.76rem;
    line-height: 1.55;
}

.contact-form-col .field {
    gap: 7px;
}

.contact-form-col .quote-form .field,
.contact-form-col .field-row .field {
    margin-bottom: 14px;
}

.contact-form-col .field-row {
    gap: 14px;
}

.contact-form-col .field-label {
    color: #42566e;
    font-size: 0.78rem;
    font-weight: 700;
}

.contact-form-col .field:focus-within .field-label {
    color: #0b4aa8;
}

.contact-form-col .field input,
.contact-form-col .field select,
.contact-form-col .field textarea {
    min-height: 46px;
    border-color: #d5e0ec;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}

.contact-form-col .field textarea {
    min-height: 88px;
}

.contact-form-col .field input::placeholder,
.contact-form-col .field textarea::placeholder {
    color: #94a3b8;
}

.contact-form-col .field input:hover,
.contact-form-col .field select:hover,
.contact-form-col .field textarea:hover {
    border-color: #b8c9dc;
}

.contact-form-col .field input:focus,
.contact-form-col .field select:focus,
.contact-form-col .field textarea:focus {
    border-color: #0575E6;
    box-shadow: 0 0 0 3px rgba(5, 117, 230, 0.14);
}

.contact-form-col .file-label-row {
    gap: 12px;
}

.contact-form-col .file-field input[type="file"] {
    min-height: 54px;
    padding: 13px;
    border-color: #9fb8d4;
    border-style: dashed;
    border-radius: 8px;
    background: #f6faff;
    color: #516882;
}

.contact-form-col .file-field input[type="file"]:hover,
.contact-form-col .file-field input[type="file"]:focus {
    border-color: #8fb7e3;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(11, 74, 168, 0.1);
}

.contact-form-col .tooltip {
    width: 20px;
    height: 20px;
    background: #edf5ff;
    color: #0b4aa8;
    border: 1px solid #cfe0f1;
}

.contact-form-col .tooltip-content {
    border-color: #dbe5ef;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.contact-form-col .quote-actions {
    gap: 10px;
    margin-top: 14px;
}

.contact-form-col .step-prev,
.contact-form-col .step-next,
.contact-form-col .step-submit {
    min-height: 46px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 750;
}

.contact-form-col .step-prev {
    border: 1px solid #d5e0ec;
    background: #edf2f7;
    color: #38475a;
}

.contact-form-col .step-prev:hover:not(:disabled) {
    background: #f8fbff;
    border-color: #b8c9dc;
}

.contact-form-col .step-next {
    background: #0575E6;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(5, 117, 230, 0.24);
}

.contact-form-col .step-next:hover:not(:disabled) {
    background: #0465c3;
    box-shadow: 0 12px 24px rgba(5, 117, 230, 0.28);
}

.contact-form-col .step-submit {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.24);
}

.contact-form-col .step-submit:hover {
    background: #ea580c;
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.contact-process {
    padding: 82px 0 78px;
    background: #ffffff;
    border-top: 1px solid #e7edf4;
}

.contact-section-head {
    max-width: 720px;
    margin-bottom: 28px;
}

.contact-process-shell {
    display: grid;
    grid-template-columns: minmax(240px, 0.82fr) minmax(420px, 1.18fr);
    gap: 72px;
    align-items: start;
}

.contact-process .contact-section-head {
    margin-bottom: 0;
}

.contact-section-head h2,
.contact-location h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    line-height: 1.12;
}

.contact-section-intro {
    max-width: 360px;
    margin: 16px 0 0;
    color: #516882;
    font-size: 0.95rem;
    line-height: 1.68;
}

.contact-process-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-process-list li {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    min-height: 92px;
    padding: 0 0 28px;
}

.contact-process-list li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 42px;
    bottom: 10px;
    width: 1px;
    background: #dbe5ef;
}

.contact-process-list > li > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: #ffffff;
    color: #71869f;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.contact-process-list h3 {
    margin: 2px 0 7px;
    color: #122c46;
    font-size: 1.02rem;
}

.contact-faq-list summary {
    margin: 0 0 8px;
    color: #122c46;
    font-size: 1rem;
}

.contact-process-list p,
.contact-faq-list p,
.contact-location p {
    margin: 0;
    color: #516882;
    font-size: 0.95rem;
    line-height: 1.68;
}

.contact-faq {
    padding: 82px 0;
    background: #f6f9fc;
    border-top: 1px solid #e4ebf3;
    border-bottom: 1px solid #e4ebf3;
}

.contact-faq-inner {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: center;
}

.contact-faq .contact-section-head {
    justify-self: start;
    max-width: 420px;
    text-align: left;
}

.contact-faq .contact-section-head .contact-kicker,
.contact-faq .contact-section-head h2,
.contact-faq .contact-section-head .contact-section-intro {
    text-align: left;
}

.contact-faq-list {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: rgba(255,255,255,0.78);
    box-shadow: 0 18px 42px rgba(15,23,42,0.05);
}

.contact-faq-list details {
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.contact-faq-list details[open] {
    border-color: #dbe5ef;
    background: #ffffff;
}

.contact-faq-list summary {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #122c46;
}

.contact-faq-list summary::-webkit-details-marker {
    display: none;
}

.contact-faq-list summary::after {
    content: "+";
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #edf5ff;
    color: #8aa0b8;
    font-weight: 700;
    line-height: 1;
}

.contact-faq-list details[open] summary::after {
    content: "-";
    color: #0b4aa8;
}

.contact-faq-list p {
    padding: 0 54px 16px 16px;
}

.contact-location {
    padding: 72px 0 92px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.contact-location-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
    gap: 28px;
    align-items: center;
}

.contact-location-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
    padding: 0 16px;
    border-radius: 8px;
    background: #0575E6;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.contact-location-link:hover {
    background: #0465c3;
}

.contact-location .contact-map-wrapper {
    margin: 0;
}

.contact-location .contact-map-iframe {
    height: 340px;
}

.contact-motion-ready .contact-animate {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.contact-motion-ready .contact-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-motion-ready .contact-direct-links a,
.contact-motion-ready .contact-process-list li,
.contact-motion-ready .contact-faq-list details {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.contact-motion-ready .contact-direct-panel.is-visible .contact-direct-links a,
.contact-motion-ready .contact-process-shell.is-visible .contact-process-list li,
.contact-motion-ready .contact-faq-inner.is-visible .contact-faq-list details {
    opacity: 1;
    transform: translateY(0);
}

.contact-motion-ready .contact-direct-panel.is-visible .contact-direct-links a:nth-of-type(1),
.contact-motion-ready .contact-process-shell.is-visible .contact-process-list li:nth-child(1),
.contact-motion-ready .contact-faq-inner.is-visible .contact-faq-list details:nth-child(1) {
    transition-delay: 0.08s;
}

.contact-motion-ready .contact-direct-panel.is-visible .contact-direct-links a:nth-of-type(2),
.contact-motion-ready .contact-process-shell.is-visible .contact-process-list li:nth-child(2),
.contact-motion-ready .contact-faq-inner.is-visible .contact-faq-list details:nth-child(2) {
    transition-delay: 0.16s;
}

.contact-motion-ready .contact-direct-panel.is-visible .contact-direct-links a:nth-of-type(3),
.contact-motion-ready .contact-process-shell.is-visible .contact-process-list li:nth-child(3),
.contact-motion-ready .contact-faq-inner.is-visible .contact-faq-list details:nth-child(3) {
    transition-delay: 0.24s;
}

.contact-motion-ready .contact-faq-inner.is-visible .contact-faq-list details:nth-child(4) {
    transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
    .contact-motion-ready .contact-animate,
    .contact-motion-ready .contact-direct-links a,
    .contact-motion-ready .contact-process-list li,
    .contact-motion-ready .contact-faq-list details {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ====================== FOOTER ====================== */

.site-footer {
    background: #111827;
    color: #e5e7eb;
    padding-top: 40px;
    border-top: 1px solid #1f2937;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex: 1 1 220px;
}

.footer-title {
    margin: 0 0 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

.footer-logo img {
    max-height: 42px;
    width: auto;
    height: auto;
    display: block;
    margin-bottom: 12px;
    object-fit: contain;
}

.footer-text {
    margin: 0;
    font-size: 0.9rem;
    color: #d1d5db;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li + li {
    margin-top: 6px;
}

.footer-col a {
    text-decoration: none;
    color: #3ab8ff;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-contact ul li {
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Réseaux sociaux footer */

.footer-social {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.footer-social-links a {
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    color: #e5e7eb;
    transition: all 0.15s ease;
    font-size: 0.85rem;
}

.footer-social-links a:hover {
    background: #f9fafb;
    color: #111827;
    border-color: transparent;
}

/* Bas du footer */

.footer-bottom {
    background: #0b1120;
    padding: 10px 0 18px;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
    color: #9ca3af;
}

.footer-legal {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal:hover {
    color: #ffffff;
}

/* ====================== TOOLS PAGE ====================== */

.tools-page {
    background: #f9fafb;
}

.tools-page main {
    position: relative;
}

.tools-index-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tools-index-page main {
    flex: 1;
    display: flex;
}

.tools-shell {
    position: relative;
    padding: 82px 0 40px;
    background: #f9fafb;
    overflow: visible;
}

.tools-shell::before,
.tools-shell::after {
    content: none;
}

.tools-index-page .tools-shell {
    flex: 1;
    display: flex;
    align-items: center;
}

.tools-index-page .tools-shell .container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.tools-shell-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.tools-shell-card::before,
.tools-shell-card::after {
    content: none;
}

.tools-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tools-eyebrow::before {
    content: none;
}

.tools-title {
    max-width: 680px;
    margin: 0 auto 18px;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    line-height: 1.16;
    letter-spacing: 0;
    color: #111827;
}

.tools-intro {
    max-width: 640px;
    margin: 0 auto 14px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.65;
}

.tools-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.85fr);
    gap: 24px;
    margin-bottom: 34px;
}

.tools-hero-copy {
    min-width: 0;
}

.tools-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.tools-hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: rgba(255,255,255,0.7);
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.tools-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
}

.tools-metric {
    padding: 18px 18px 16px;
    border-radius: 22px;
    border: 1px solid #e3ebf4;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,249,252,0.96) 100%);
    box-shadow:
        0 10px 24px rgba(15,23,42,0.05),
        inset 0 1px 0 rgba(255,255,255,0.85);
}

.tools-metric strong {
    display: block;
    margin-bottom: 6px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    line-height: 1;
    color: #0b1220;
}

.tools-metric span {
    display: block;
    color: #526171;
    font-size: 0.88rem;
    line-height: 1.55;
}

.tools-hero-panel {
    position: relative;
    padding: 26px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.18), rgba(255,255,255,0) 34%),
        linear-gradient(145deg, #0f172a 0%, #11396f 58%, #0575E6 100%);
    color: #ffffff;
    box-shadow: 0 24px 50px rgba(15,23,42,0.16);
}

.tools-hero-panel::before {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(255,255,255,0));
    pointer-events: none;
}

.tools-panel-label {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tools-panel-title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    line-height: 1.08;
    color: #ffffff;
}

.tools-panel-intro {
    margin: 0 0 20px;
    color: rgba(255,255,255,0.78);
    font-size: 0.94rem;
    line-height: 1.65;
}

.tools-panel-flow {
    display: grid;
    gap: 12px;
}

.tools-panel-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
}

.tools-panel-step strong {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.tools-panel-step span {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.tools-panel-step p {
    margin: 4px 0 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.86rem;
    line-height: 1.55;
}

.tools-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #0b2f63;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 10px 24px rgba(11,18,32,0.16);
}

.tools-panel-link:hover,
.tools-panel-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(11,18,32,0.2);
}

.tools-section-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.tools-section-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #607183;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tools-section-title {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    line-height: 1.15;
    color: #0f172a;
}

.tools-section-text {
    max-width: 42ch;
    margin: 0;
    color: #5b6b7c;
    font-size: 0.94rem;
    line-height: 1.65;
}

.tools-note {
    margin: 0 0 26px;
    color: #6b7280;
    font-size: 0.9rem;
}

.tools-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
    align-items: stretch;
}

.tools-picker-grid-single {
    grid-template-columns: minmax(0, 220px);
    justify-content: center;
}

.tools-picker-grid-duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tools-picker-card {
    position: relative;
    min-height: 100%;
    border-radius: 20px;
    border: 1px solid #e5ebf2;
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(249,250,252,0.98) 100%);
    box-shadow:
        0 8px 20px rgba(15,23,42,0.045),
        inset 0 1px 0 rgba(255,255,255,0.8);
    text-align: left;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.tools-picker-card:hover,
.tools-picker-card:focus-within {
    transform: translateY(-2px);
    border-color: #d7e2ee;
    box-shadow:
        0 12px 24px rgba(15,23,42,0.07),
        inset 0 1px 0 rgba(255,255,255,0.88);
}

.tools-picker-card::before {
    content: none;
}

.card-viewer {
    --card-accent: #0b4aa8;
    --card-accent-soft: rgba(5,117,230,0.08);
}

.card-materials {
    --card-accent: #0f766e;
    --card-accent-soft: rgba(15,118,110,0.08);
}

.card-settings {
    --card-accent: #c2410c;
    --card-accent-soft: rgba(194,65,12,0.09);
}

.card-maintenance {
    --card-accent: #475569;
    --card-accent-soft: rgba(71,85,105,0.09);
}

.tools-picker-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
}

.tools-picker-meta {
    display: none;
}

.tools-picker-status,
.tools-picker-kind {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.tools-picker-status.is-live {
    background: #e8f3ff;
    color: #0b4aa8;
}

.tools-picker-status.is-building {
    background: #fff1e7;
    color: #c2410c;
}

.tools-picker-kind {
    background: var(--card-accent-soft);
    color: var(--card-accent);
}

.tools-picker-head {
    display: block;
}

.tools-picker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 18px;
    border: 1px solid #d7e1ed;
    background: linear-gradient(180deg, #f9fbfe 0%, #eef3f8 100%);
    color: #0b4aa8;
    box-shadow: 0 8px 18px rgba(15,23,42,0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.tools-picker-card:hover .tools-picker-icon,
.tools-picker-card:focus-within .tools-picker-icon {
    transform: translateY(-2px);
    border-color: #d0dbe6;
    box-shadow: 0 14px 28px rgba(15,23,42,0.08);
}

.tools-picker-icon svg {
    width: 28px;
    height: 28px;
}

.tools-picker-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.tools-picker-copy h2,
.tools-picker-card h2 {
    margin: 0 0 8px;
    font-size: 1.16rem;
    line-height: 1.3;
    color: #0f172a;
}

.tools-picker-copy p,
.tools-picker-card p {
    margin: 0;
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.62;
}

/* ====================== TOOLS MINIMAL ====================== */

.tools-minimal-page.tools-shell,
.tools-minimal-page .tools-shell {
    padding: 112px 0 104px;
    background: #ffffff;
    border-bottom: 1px solid #e8eef6;
}

.tools-minimal-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.tools-minimal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 64px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto 68px;
}

.tools-minimal-copy {
    max-width: 660px;
}

.tools-minimal-title {
    margin: 0;
    max-width: 18ch;
    color: #0f172a;
    font-size: clamp(1.72rem, 2.35vw, 2.08rem);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.tools-minimal-intro,
.tools-minimal-card p,
.tools-minimal-aside-copy {
    margin: 14px 0 0;
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.72;
}

.tools-minimal-count {
    margin: 0;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
}

.tools-minimal-aside {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #e8eef6;
}

.tools-minimal-aside-label {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.tools-minimal-aside-copy {
    margin-top: 10px;
    max-width: 34ch;
}

.tools-minimal-proof {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    border-top: 1px solid #e8eef6;
}

.tools-minimal-proof li {
    position: relative;
    padding: 14px 0 14px 18px;
    border-bottom: 1px solid #e8eef6;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 600;
}

.tools-minimal-proof li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #0575E6;
    transform: translateY(-50%);
}

.tools-minimal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}

.tools-minimal-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.tools-minimal-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
    border: 1px solid #e8eef6;
    border-radius: 8px;
    background: rgba(255,255,255,0.96);
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tools-minimal-grid-single .tools-minimal-card {
    min-height: 220px;
}

.tools-minimal-card:hover,
.tools-minimal-card:focus-within {
    transform: none;
    border-color: #d8e2ef;
    box-shadow: 0 12px 24px rgba(15,23,42,0.04);
}

.tools-minimal-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
    padding: 22px 22px 14px;
}

.tools-minimal-label {
    margin: 0;
    color: #526171;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tools-minimal-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef5ef;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.tools-minimal-card h3,
.tools-minimal-foot-copy h2 {
    padding: 0 22px;
    margin: 0;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.26;
}

.tools-minimal-card p {
    padding: 0 22px;
}

.tools-minimal-note {
    margin-top: 10px !important;
    color: #334155;
}

.tools-minimal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 22px 22px;
    padding-top: 18px;
    border-top: 1px solid #e8eef6;
    color: #0b4aa8;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.tools-minimal-link::after {
    content: "→";
}

@media (max-width: 720px) {
    .tools-minimal-page.tools-shell,
    .tools-minimal-page .tools-shell {
        padding: 72px 0 60px;
    }

    .tools-minimal-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .tools-minimal-title {
        max-width: none;
        font-size: clamp(1.9rem, 8vw, 2.35rem);
    }

    .tools-minimal-grid {
        grid-template-columns: 1fr;
    }

    .tools-minimal-card-head {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .tools-minimal-card-head,
    .tools-minimal-card h3,
    .tools-minimal-card p,
    .tools-minimal-link {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ====================== TOOLS SERIOUS ====================== */

.tools-minimal-page.tools-shell {
    position: relative;
    padding: 88px 0 104px;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    background: #ffffff;
}

.tools-minimal-page.tools-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(45deg, transparent 49%, #e5e7eb 49%, #e5e7eb 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, #e5e7eb 49%, #e5e7eb 51%, transparent 51%);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%);
    mask-image: radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%);
    opacity: 0.72;
    pointer-events: none;
}

.tools-minimal-page.tools-shell > .container {
    position: relative;
    z-index: 1;
}

.tools-header {
    display: block;
    max-width: 1120px;
    margin: 0 auto 44px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8eef6;
}

.tools-header .services-header-copy {
    max-width: 620px;
}

.tools-header h1 {
    margin: 0;
    color: #020617;
    font-size: 2.34rem;
    line-height: 1.08;
    letter-spacing: 0;
    max-width: 13ch;
}

.tools-header .services-intro {
    max-width: 58ch;
    margin: 0;
    color: #4b5563;
    font-size: 0.98rem;
    line-height: 1.65;
}

.tools-minimal-count {
    margin: 16px 0 0;
    color: #526171;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tools-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tools-status-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid #edf2f7;
    border-radius: 999px;
    background: rgba(255,255,255,0.54);
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tools-status-row strong {
    color: #0f172a;
    font-size: 0.8rem;
    line-height: 1;
}

.tools-minimal-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid #e4f0e8;
    border-radius: 999px;
    background: #edf7ef;
    color: #006b35;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.tools-catalog {
    max-width: 1120px;
    margin: 0 auto;
}

.tools-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tools-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 332px;
    padding: 22px 20px 20px;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.tools-card:hover,
.tools-card:focus-within {
    border-color: #b8cce4;
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.tools-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border: 1px solid #e7eef7;
    border-radius: 8px;
    background: #f3f7fc;
    color: #0575E6;
}

.tools-card-icon svg {
    width: 38px;
    height: 38px;
    stroke-width: 1.8;
}

.tools-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
}

.tools-card-kicker {
    margin: 0;
    color: #526171;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    max-width: 20ch;
    text-align: center;
}

.tools-card h3 {
    margin: 0;
    color: #020617;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: 0;
    max-width: 16ch;
    text-align: center;
}

.tools-card-text {
    margin: 12px 0 0;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 24ch;
    text-align: center;
}

.tools-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: center;
    margin-top: auto;
    padding-top: 22px;
    color: #003f9e;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.tools-card-pending {
    position: relative;
    border-color: #edf1f5;
    background: rgba(250,251,252,0.9);
    box-shadow: none;
    overflow: hidden;
}

.tools-card-pending:hover,
.tools-card-pending:focus-within {
    border-color: #e5ebf2;
    transform: none;
    box-shadow: none;
}

.tools-card-pending .tools-card-icon {
    background: #f1f4f7;
    border-color: #e5ebf2;
    color: #94a3b8;
}

.tools-card-blur {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    filter: blur(2px);
    opacity: 0.48;
    pointer-events: none;
    user-select: none;
}

.tools-card-pending::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250,251,252,0.34);
    pointer-events: none;
}

.tools-card-pending-label {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 9px 13px;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #526171;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.tools-card-pending .tools-card-kicker,
.tools-card-pending .tools-card-text {
    color: #7b8794;
}

.tools-card-pending h3 {
    color: #475569;
}

.tools-minimal-status-pending {
    background: #eef2f6;
    color: #7b8794;
    border-color: #e1e7ee;
}

.tools-card-link-muted {
    color: #8a97a6;
    pointer-events: none;
}

.tools-card-link-muted::after {
    content: none;
}

.tools-card-link::after {
    content: "→";
    transition: transform 0.18s ease;
}

.tools-card:hover .tools-card-link::after,
.tools-card:focus-within .tools-card-link::after {
    transform: translateX(4px);
}

@media (max-width: 1180px) {
    .tools-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .tools-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tools-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
    border: 1px solid #e8eef6;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    box-shadow: none;
}

.tools-spotlight-copy {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px 28px 30px;
    border-right: 1px solid #e8eef6;
}

.tools-spotlight-copy h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.3rem, 2vw, 1.58rem);
    line-height: 1.22;
    max-width: 22ch;
}

.tools-spotlight-note {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.6;
}

.tools-spotlight-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.tools-spotlight-points li {
    display: inline-flex;
    align-items: center;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tools-spotlight-points li + li::before {
    content: "";
    width: 1px;
    height: 14px;
    margin: 0 12px;
    background: #d8e2ef;
}

.tools-spotlight-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(248,250,252,0.96) 0%, rgba(244,248,252,0.98) 100%);
}

.tools-spotlight-panel-label {
    margin: 0;
    color: #6b7280;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
}

.tools-spotlight-panel-copy {
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.65;
}

.tools-spotlight-action {
    align-self: flex-start;
}

.tools-minimal-grid,
.tools-minimal-grid-single,
.tools-minimal-hero,
.tools-minimal-aside,
.tools-minimal-proof,
.tools-minimal-card,
.tools-minimal-card-head,
.tools-minimal-card h3,
.tools-minimal-card p,
.tools-minimal-link,
.tools-minimal-note,
.tools-minimal-aside-copy,
.tools-minimal-aside-label {
    display: none;
}

@media (max-width: 720px) {
    .tools-minimal-page.tools-shell,
    .tools-minimal-page .tools-shell {
        padding: 72px 0 60px;
    }

    .tools-header {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 40px;
        padding-bottom: 22px;
    }

    .tools-header h1 {
        font-size: 1.82rem;
        line-height: 1.18;
        max-width: 12ch;
    }

    .tools-status-row {
        gap: 8px;
        margin-top: 18px;
    }

    .tools-status-row span {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .tools-catalog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tools-card {
        width: 100%;
        min-height: 0;
        padding: 22px 20px 18px;
    }

    .tools-card-top {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .tools-spotlight {
        grid-template-columns: 1fr;
    }

    .tools-spotlight-copy {
        border-right: 0;
        border-bottom: 1px solid #e8eef6;
        padding: 22px;
    }

    .tools-spotlight-panel {
        padding: 22px;
    }
}

.tools-picker-tags {
    display: none;
}

.tools-picker-tags span {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border-radius: 999px;
    background: #f3f7fb;
    color: #415265;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
}

.tools-picker-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #0b4aa8;
    font-size: 0.92rem;
    font-weight: 700;
}

.tools-picker-cta::after {
    content: "→";
    transition: transform 0.18s ease;
}

.tools-picker-card:hover .tools-picker-cta::after,
.tools-picker-card:focus-within .tools-picker-cta::after {
    transform: translateX(4px);
}

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

    .tools-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .tools-section-text {
        max-width: 60ch;
    }
}

@media (max-width: 780px) {
    .tools-hero-metrics {
        grid-template-columns: 1fr;
    }

    .tools-picker-grid {
        grid-template-columns: 1fr;
    }
}

.tools-detail-header {
    text-align: center;
    padding: 80px 0 34px;
    background:
        radial-gradient(circle at top center, rgba(5,117,230,0.08) 0%, rgba(5,117,230,0) 48%),
        linear-gradient(180deg, #f9fbfd 0%, #f5f8fb 100%);
}

.tools-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: none;
}

.tools-detail-back:hover {
    color: #111827;
}

.tools-detail-title {
    max-width: 760px;
    margin: 0 auto 14px;
    font-size: clamp(1.8rem, 2.8vw, 2.35rem);
    line-height: 1.16;
    color: #111827;
}

.tools-detail-intro {
    max-width: 760px;
    margin: 0 auto;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.4;
}

.tools-detail-content {
    padding: 24px 0 96px;
    background: #f9fafb;
}

.tools-detail-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px 28px 26px;
    border-radius: 28px;
    border: 1px solid #e4eaf2;
    background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(247,250,252,0.97) 100%);
    box-shadow:
        0 18px 32px rgba(15,23,42,0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.tools-detail-card h2 {
    margin-bottom: 12px;
    font-size: clamp(1.16rem, 2vw, 1.42rem);
    line-height: 1.22;
    color: #0b1220;
}

.tools-detail-card p {
    margin: 0;
    color: #526171;
    line-height: 1.65;
    font-size: 0.95rem;
}

.materials-tool-card {
    max-width: 1080px;
}

.materials-tool-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
    gap: 18px;
    align-items: start;
}

.materials-panel {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid #dde6ef;
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(247,250,252,0.98) 100%);
    box-shadow:
        0 16px 30px rgba(15,23,42,0.045),
        inset 0 1px 0 rgba(255,255,255,0.86);
}

.materials-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(5,117,230,0.08);
    color: #0b4aa8;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.materials-panel h2 {
    margin: 12px 0 8px;
    font-size: clamp(1.06rem, 2vw, 1.34rem);
    line-height: 1.18;
    color: #0f172a;
}

.materials-panel p {
    color: #526171;
}

.materials-panel-controls > p {
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.35;
}

.materials-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.materials-flow-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f7fb;
    border: 1px solid #e1e9f2;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.materials-control-group {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.materials-control-group:first-of-type {
    margin-top: 18px;
    padding-top: 0;
    border-top: none;
}

.materials-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.materials-group-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0b1220;
}

.materials-group-caption,
.materials-selection-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid #e2e9f2;
    background: #f7fafc;
    color: #5a6c81;
    font-size: 0.73rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.materials-usage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.materials-machine-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.materials-preference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
}

.materials-needs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.materials-use-btn,
.materials-machine-btn,
.materials-preference-btn,
.materials-need-btn {
    position: relative;
    appearance: none;
    width: 100%;
    min-height: 64px;
    padding: 11px 12px;
    border: 1px solid #dae4ee;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.88),
        0 8px 18px rgba(15,23,42,0.038);
}

.materials-option-btn {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.materials-option-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e3eaf2;
    border-radius: 13px;
    background: linear-gradient(180deg, #f7faff 0%, #eef3f9 100%);
    color: #53677d;
    line-height: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.materials-option-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: auto;
    overflow: visible;
}

.materials-option-copy {
    display: grid;
    gap: 0;
    min-width: 0;
    padding-right: 22px;
}

.materials-option-title {
    display: block;
    color: #16314f;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.18;
}

.materials-option-subtitle {
    display: none;
}

.materials-option-state {
    position: absolute;
    top: 11px;
    right: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid #d5e0eb;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.materials-floating-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1200;
    width: min(280px, calc(100vw - 24px));
    padding: 12px 14px;
    border: 1px solid rgba(202,215,230,0.94);
    border-radius: 16px;
    background: rgba(15,23,42,0.96);
    box-shadow:
        0 18px 36px rgba(15,23,42,0.24),
        inset 0 1px 0 rgba(255,255,255,0.06);
    color: #f8fbff;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
}

.materials-floating-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.materials-floating-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 12px;
    height: 12px;
    background: rgba(15,23,42,0.96);
    border-right: 1px solid rgba(202,215,230,0.28);
    border-bottom: 1px solid rgba(202,215,230,0.28);
    transform: translateX(-50%) rotate(45deg);
}

.materials-floating-tooltip[data-placement="top"]::after {
    top: calc(100% - 7px);
}

.materials-floating-tooltip[data-placement="bottom"]::after {
    bottom: calc(100% - 7px);
    transform: translateX(-50%) rotate(225deg);
}

.materials-floating-tooltip-title {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1.3;
}

.materials-floating-tooltip-body {
    display: block;
    color: rgba(235,243,252,0.9);
    font-size: 0.79rem;
    line-height: 1.48;
}

.materials-use-btn:hover,
.materials-use-btn:focus-visible,
.materials-machine-btn:hover,
.materials-machine-btn:focus-visible,
.materials-preference-btn:hover,
.materials-preference-btn:focus-visible,
.materials-need-btn:hover,
.materials-need-btn:focus-visible {
    border-color: #c5d4e3;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 12px 22px rgba(15,23,42,0.06);
}

.materials-use-btn:focus-visible,
.materials-machine-btn:focus-visible,
.materials-preference-btn:focus-visible,
.materials-need-btn:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 12px 22px rgba(15,23,42,0.06),
        0 0 0 4px rgba(5,117,230,0.12);
}

.materials-use-btn[aria-pressed="true"],
.materials-machine-btn[aria-pressed="true"],
.materials-preference-btn[aria-pressed="true"],
.materials-need-btn[aria-pressed="true"] {
    border-color: rgba(5,117,230,0.38);
    background: linear-gradient(180deg, rgba(235,244,255,0.98) 0%, rgba(246,250,255,0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.92),
        0 12px 22px rgba(5,117,230,0.09);
}

.materials-use-btn[aria-pressed="true"] .materials-option-icon,
.materials-machine-btn[aria-pressed="true"] .materials-option-icon,
.materials-preference-btn[aria-pressed="true"] .materials-option-icon,
.materials-need-btn[aria-pressed="true"] .materials-option-icon {
    border-color: rgba(5,117,230,0.18);
    background: linear-gradient(180deg, rgba(191,220,255,0.72) 0%, rgba(221,236,255,0.64) 100%);
    color: #0c4da3;
}

.materials-use-btn[aria-pressed="true"] .materials-option-state,
.materials-machine-btn[aria-pressed="true"] .materials-option-state,
.materials-preference-btn[aria-pressed="true"] .materials-option-state,
.materials-need-btn[aria-pressed="true"] .materials-option-state {
    border-color: #0575E6;
    background: #0575E6;
    box-shadow: 0 0 0 4px rgba(5,117,230,0.1);
}

.materials-use-btn[aria-pressed="true"] .materials-option-state::before,
.materials-machine-btn[aria-pressed="true"] .materials-option-state::before,
.materials-preference-btn[aria-pressed="true"] .materials-option-state::before,
.materials-need-btn[aria-pressed="true"] .materials-option-state::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #ffffff;
}

.materials-use-btn[aria-pressed="true"] .materials-option-title,
.materials-machine-btn[aria-pressed="true"] .materials-option-title,
.materials-preference-btn[aria-pressed="true"] .materials-option-title,
.materials-need-btn[aria-pressed="true"] .materials-option-title {
    color: #0b2f63;
}

.materials-use-btn[aria-pressed="true"] .materials-option-subtitle,
.materials-machine-btn[aria-pressed="true"] .materials-option-subtitle,
.materials-preference-btn[aria-pressed="true"] .materials-option-subtitle,
.materials-need-btn[aria-pressed="true"] .materials-option-subtitle {
    color: #4b6988;
}

.materials-actions {
    margin-top: 10px;
}

.materials-reset-btn {
    appearance: none;
    border: 1px solid #d7e1ed;
    border-radius: 999px;
    background: rgba(15,23,42,0.03);
    color: #0f172a;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.materials-reset-btn:hover,
.materials-reset-btn:focus-visible {
    background: rgba(15,23,42,0.06);
    border-color: #cbd6e2;
}

.materials-panel-result {
    position: sticky;
    top: 98px;
    overflow: hidden;
}

.materials-panel-result::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #0575E6 0%, #00B4DB 100%);
}

.materials-result-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.materials-confidence {
    min-width: 198px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #dce9f7;
    background: linear-gradient(180deg, rgba(237,245,255,0.9) 0%, rgba(248,250,252,0.92) 100%);
}

.materials-confidence-label {
    display: block;
    margin-bottom: 6px;
    color: #0b4aa8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.materials-confidence strong {
    display: block;
    color: #0f172a;
    font-size: 0.94rem;
    line-height: 1.2;
}

.materials-confidence small {
    display: none;
    margin-top: 5px;
    color: #5f7082;
    font-size: 0.77rem;
    line-height: 1.42;
}

.materials-result-name {
    margin: 12px 0 8px;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.08;
    color: #0b1220;
}

.materials-result-summary {
    max-width: 56ch;
    font-size: 0.92rem;
    line-height: 1.55;
}

.materials-result-context {
    display: none;
}

.materials-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0 12px;
}

.materials-result-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf5ff;
    color: #0b4aa8;
    font-size: 0.76rem;
    font-weight: 600;
}

.materials-result-points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    margin-top: 2px;
}

.materials-result-points li {
    position: relative;
    padding-left: 15px;
    color: #314152;
    font-size: 0.87rem;
    line-height: 1.5;
}

.materials-result-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0575E6;
}

.materials-result-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 16px;
}

.materials-result-metric {
    display: grid;
    gap: 5px;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid #e5ebf2;
    background: rgba(248,250,252,0.92);
}

.materials-result-metric span {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.materials-result-metric strong {
    color: #0f172a;
    font-size: 0.84rem;
    line-height: 1.42;
    font-weight: 600;
}

.materials-result-metric.is-wide {
    grid-column: span 2;
}

.materials-ranking {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5ebf2;
}

.materials-ranking-head {
    margin-bottom: 12px;
}

.materials-ranking-head h3 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    color: #0f172a;
}

.materials-ranking-head p {
    display: none;
}

.materials-ranking-list {
    display: grid;
    gap: 8px;
}

.materials-ranking-item {
    display: grid;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 16px;
    border: 1px solid #e5ebf2;
    background: rgba(248,250,252,0.92);
}

.materials-ranking-item.is-active {
    border-color: rgba(5,117,230,0.34);
    box-shadow: 0 14px 26px rgba(5,117,230,0.08);
}

.materials-ranking-item.is-secondary {
    border-color: rgba(14,165,233,0.2);
}

.materials-ranking-copy {
    display: grid;
    gap: 4px;
}

.materials-ranking-copy span {
    color: #607183;
    font-size: 0.78rem;
    line-height: 1.42;
}

.materials-ranking-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.materials-ranking-title-row strong {
    color: #0f172a;
    font-size: 0.88rem;
}

.materials-ranking-chip-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.materials-ranking-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef3f8;
    color: #475569;
    font-size: 0.71rem;
    font-weight: 600;
    white-space: nowrap;
}

.materials-ranking-chip-machine.is-fit {
    background: rgba(14, 165, 233, 0.12);
    color: #0f766e;
}

.materials-ranking-chip-machine.is-mismatch {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.materials-ranking-meter {
    position: relative;
    height: 7px;
    border-radius: 999px;
    background: #e8eef5;
    overflow: hidden;
}

.materials-ranking-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #0575E6 0%, #00B4DB 100%);
}

.materials-secondary {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5ebf2;
}

.materials-secondary h3 {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #0f172a;
}

.materials-secondary-list {
    display: grid;
    gap: 8px;
}

.materials-secondary-item {
    padding: 12px 13px;
    border-radius: 14px;
    border: 1px solid #e5ebf2;
    background: rgba(248,250,252,0.92);
}

.materials-secondary-item strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 0.86rem;
}

.materials-secondary-item span {
    display: block;
    color: #607183;
    font-size: 0.79rem;
    line-height: 1.42;
}

.materials-library {
    margin-top: 18px;
}

.materials-library-toggle {
    padding: 13px 14px 14px;
    border-radius: 18px;
    border: 1px solid #e5ebf2;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.97) 100%);
}

.materials-library-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
    list-style: none;
}

.materials-library-summary::-webkit-details-marker {
    display: none;
}

.materials-library-summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eef3f8;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1;
}

.materials-library-toggle[open] .materials-library-summary::after {
    content: "-";
}

.materials-library-toggle .materials-library-head {
    margin-top: 10px;
}

.materials-library-head {
    margin-bottom: 12px;
}

.materials-library-head h2 {
    margin-bottom: 4px;
}

.materials-library-head p {
    font-size: 0.75rem;
    line-height: 1.35;
}

.materials-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.materials-library-card {
    padding: 16px 15px;
    border-radius: 18px;
    border: 1px solid #e5ebf2;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.97) 100%);
    transition: 0.2s ease;
}

.materials-library-card.is-active {
    border-color: rgba(5,117,230,0.34);
    box-shadow: 0 16px 30px rgba(5,117,230,0.1);
}

.materials-library-card.is-secondary {
    border-color: rgba(14,165,233,0.2);
}

.materials-library-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.materials-library-top h3 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.materials-library-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eef3f8;
    color: #475569;
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.materials-library-card p {
    font-size: 0.82rem;
    line-height: 1.46;
}

.materials-library-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 11px;
}

.materials-library-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f4f7fb;
    color: #344456;
    font-family: "Poppins", sans-serif;
    font-size: 0.71rem;
    font-weight: 600;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.materials-library-meta {
    display: grid;
    gap: 6px;
    padding-top: 11px;
    border-top: 1px solid #e8edf3;
}

.materials-library-meta span {
    display: block;
    color: #607183;
    font-size: 0.76rem;
    line-height: 1.42;
}

.materials-library-meta strong {
    color: #0f172a;
}

.tools-viewer-page {
    --bg-page: #f9fafb;
    --text-main: #0f172a;
    --text-muted: #526171;
    --bg-card: #ffffff;
    --border-subtle: #e4eaf2;
    --shadow-soft: 0 18px 32px rgba(15,23,42,0.06);
}

.tools-viewer-meta {
    padding: 0 0 28px;
    background: #f9fafb;
}

.tools-viewer-meta-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 26px;
    border-radius: 20px;
    border: 1px solid #e5ebf2;
    background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(249,250,252,0.98) 100%);
    box-shadow:
        0 10px 24px rgba(15,23,42,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.tools-viewer-meta-card h2 {
    margin-bottom: 12px;
    font-size: 1.12rem;
    color: #0f172a;
}

.tools-viewer-meta-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.65;
    font-size: 0.95rem;
}

.tools-viewer-meta-card p + p {
    margin-top: 10px;
}

.tools-viewer-page .page-main {
    padding: 0 20px 96px;
}

.tools-viewer-page .page-main-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.tools-viewer-page .viewer-card {
    min-height: min(860px, calc(100vh - 240px));
}

.tools-viewer-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.18s ease;
}

.tools-viewer-page .btn-sm {
    padding: 9px 14px;
    font-size: 0.88rem;
}

.tools-viewer-page .btn-primary {
    background: #0575E6;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(5,117,230,0.22);
}

.tools-viewer-page .btn-primary:hover {
    background: #0465c3;
    transform: translateY(-2px);
}

.tools-viewer-page .btn-ghost {
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a;
    border-color: var(--border-subtle);
}

.tools-viewer-page .btn-ghost:hover:not(:disabled) {
    background: rgba(15, 23, 42, 0.08);
}

.tools-viewer-page .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.tools-viewer-upload {
    position: relative;
    overflow: hidden;
}

.tools-estimation-page {
    background: #f9fafb;
}

.estimate-hero {
    padding: 78px 0 46px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border-bottom: 1px solid #edf2f7;
}

.estimate-hero-shell {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.estimate-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-bottom: 34px;
    padding: 0 14px;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
    transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.estimate-back::before {
    content: none;
}

.estimate-back span {
    color: #0575E6;
    font-size: 1rem;
    line-height: 1;
}

.estimate-back:hover {
    border-color: rgba(5,117,230,0.35);
    background: #f6faff;
    color: #0575E6;
    transform: translateY(-1px);
}

.estimate-hero-grid {
    display: block;
}

.estimate-hero-copy {
    min-width: 0;
    text-align: center;
}

.estimate-hero .section-kicker {
    display: block;
    margin: 0 0 14px;
    text-align: center;
}

.estimate-hero .tools-detail-title {
    max-width: 690px;
    margin: 0 auto 16px;
    color: #0f172a;
    font-size: clamp(2.25rem, 4.2vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: 0;
    text-align: center;
}

.estimate-hero .tools-detail-intro {
    max-width: 660px;
    margin: 0 auto;
    color: #42546a;
    font-size: 1rem;
    line-height: 1.72;
    text-align: center;
}

.estimate-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.estimate-hero-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    color: #42546a;
    font-size: 0.84rem;
    font-weight: 700;
}

.estimate-result-card,
.estimate-panel {
    border: 1px solid #e3ebf4;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

.estimate-result-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.estimate-content {
    padding: 0 0 92px;
}

.estimate-shell {
    display: grid;
    gap: 20px;
    max-width: 1040px;
    margin: 0 auto;
}

.estimate-stepper {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #e3ebf4;
    border-radius: 8px;
    background: #ffffff;
}

.estimate-stepper span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 56px;
    padding: 0 16px;
    border-right: 1px solid #edf2f7;
    background: #ffffff;
    color: #64748b;
    text-align: left;
}

.estimate-stepper span:last-child {
    border-right: 0;
}

.estimate-stepper b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 900;
}

.estimate-stepper strong {
    min-width: 0;
    color: inherit;
    font-size: 0.88rem;
    font-weight: 800;
}

.estimate-stepper span.is-active {
    background: #f0f7ff;
    color: #075cb8;
}

.estimate-stepper span.is-active b {
    background: #0575E6;
    color: #ffffff;
}

.estimate-stepper span.is-complete {
    color: #0f172a;
}

.estimate-stepper span.is-complete b {
    background: #dbeafe;
    color: #075cb8;
}

.estimate-form {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.estimate-panel {
    padding: 28px;
}

.estimate-panel.is-leaving {
    animation: estimateStepLeave 0.14s ease forwards;
}

.estimate-panel.is-entering {
    animation: estimateStepEnter 0.24s ease both;
}

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

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

@media (prefers-reduced-motion: reduce) {
    .estimate-panel.is-leaving,
    .estimate-panel.is-entering {
        animation: none;
    }
}

.estimate-panel[hidden],
.estimate-result[hidden] {
    display: none !important;
}

.estimate-panel-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
}

.estimate-panel-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef6ff;
    color: #0575E6;
    font-size: 0.9rem;
    font-weight: 800;
}

.estimate-panel h2,
.estimate-result-card h2 {
    margin: 0;
    color: #0f172a;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.12rem;
    line-height: 1.25;
}

.estimate-panel p,
.estimate-local-note,
.estimate-note,
.estimate-maker-tip {
    margin: 6px 0 0;
    color: #5b6b7c;
    font-size: 0.88rem;
    line-height: 1.55;
}

.estimate-maker-tip {
    margin-top: 14px;
    padding: 12px 14px;
    border-left: 3px solid #0575E6;
    background: #f6faff;
    border-radius: 0 8px 8px 0;
}

.estimate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.estimate-conditional {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf2f7;
}

.estimate-conditional[hidden],
.estimate-field[hidden] {
    display: none !important;
}

.estimate-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.estimate-check-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 800;
}

.estimate-check-field input {
    width: 18px;
    height: 18px;
    accent-color: #0575E6;
}

.estimate-field-wide {
    grid-column: 1 / -1;
}

.estimate-field span {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.estimate-field input,
.estimate-field select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    padding: 0 12px;
    font: inherit;
    font-size: 0.92rem;
}

.estimate-field input:focus,
.estimate-field select:focus {
    outline: none;
    border-color: #0575E6;
    box-shadow: 0 0 0 3px rgba(5,117,230,0.14);
}

.estimate-field input.is-invalid,
.estimate-field select.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.estimate-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.estimate-segmented label {
    position: relative;
    display: flex;
}

.estimate-segmented input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.estimate-segmented span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    background: #ffffff;
    color: #42546a;
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
}

.estimate-segmented input:checked + span {
    border-color: rgba(5,117,230,0.45);
    background: #f0f7ff;
    color: #075cb8;
}

.estimate-result {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.estimate-result-card {
    padding: 22px;
}

.estimate-result-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-color: #d7e5f4;
    background: #ffffff;
    color: #0f172a;
}

.estimate-result-main strong {
    display: block;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1;
}

.estimate-result-main small {
    display: block;
    margin-top: 10px;
    color: #526171;
}

.estimate-result-price-meta {
    display: grid;
    gap: 8px;
    justify-items: end;
    min-width: 210px;
}

.estimate-result-price-meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #dbe8f6;
    background: #f6faff;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 800;
}

.estimate-result-kicker {
    color: #0575E6;
}

.estimate-kpis,
.estimate-lines {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
}

.estimate-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.estimate-kpis div,
.estimate-lines div {
    min-width: 0;
    padding: 10px 0;
    border-top: 1px solid #edf2f7;
}

.estimate-lines div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.estimate-kpis dt,
.estimate-lines dt {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.estimate-kpis dd,
.estimate-lines dd {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 800;
}

.estimate-lines dd {
    margin-top: 0;
    text-align: right;
}

.estimate-result-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.estimate-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.estimate-step-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #edf2f7;
}

.estimate-step-actions > span {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 800;
}

.estimate-step-message {
    display: none;
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff5f5;
    color: #991b1b;
    font-size: 0.86rem;
    font-weight: 700;
}

.estimate-step-message.is-visible {
    display: block;
}

.estimate-primary-btn,
.estimate-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0 14px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.estimate-primary-btn {
    background: #0575E6;
    color: #ffffff;
}

.estimate-secondary-btn {
    background: #ffffff;
    border-color: #d9e2ec;
    color: #0f172a;
}

.estimate-primary-btn:hover,
.estimate-secondary-btn:hover {
    transform: translateY(-1px);
}

/* ====================== UTILITAIRE ====================== */

.shake {
    animation: shakeAnim 0.35s ease;
}

@keyframes shakeAnim {
    0% { transform: translateX(0); }
    30% { transform: translateX(-4px); }
    60% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

/* ====================== RESPONSIVE ====================== */

@media (max-width: 900px) {
    :root {
        --header-height: 72px;
    }

    html {
        scroll-padding-top: calc(var(--header-height) + 18px);
    }

    .site-header {
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    }

    .nav-container {
        width: 100%;
        max-width: none;
        min-height: var(--header-height);
        padding: 10px 18px;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 60;
        background: rgba(255, 255, 255, 0.98);
        padding: 16px 22px 20px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.2s ease;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: flex;
        width: 100%;
        padding: 12px 0;
        font-size: 1rem;
    }

    .site-header.nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    main > section[id] {
        scroll-margin-top: calc(var(--header-height) + 18px);
    }

    .hero {
        min-height: calc(100vh - var(--header-height));
        min-height: calc(100svh - var(--header-height));
        padding: 72px 0 86px;
    }

    .hero-stats {
        justify-content: center;
    }

    .stat {
        width: auto;
        max-width: 100%;
    }

    .hero::before {
        inset: 0;
    }

    .hero::after {
        left: 50%;
        top: 22%;
        width: 82vw;
        height: 34%;
        transform: translate(-50%, -50%);
        opacity: 0.08;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        row-gap: 54px;
        align-items: center;
    }

    .hero-left {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-left h1 {
        font-size: 2.75rem;
        text-align: center;
        max-width: 720px;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 22px;
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-question {
        margin-bottom: 18px;
    }

    .hero-stats {
        justify-content: center;
        text-align: center;
        width: 100%;
        gap: 14px;
        margin: 34px 0 30px;
    }

    .stat {
        text-align: left;
    }

    .hero-actions {
        justify-content: center;
        gap: 14px;
    }

    .hero-btn {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right {
        justify-content: center;
        width: 100%;
    }

    .quote-card {
        margin: auto;
    }

    .quote-actions {
        flex-direction: column;
    }

    .partners {
        padding: 28px 0 24px;
    }

    .partners-marquee {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .partner-logo-card {
        min-width: 220px;
        height: 104px;
        padding: 18px 24px;
    }

    .partner-logo-card img {
        max-height: 70px;
    }

    .services {
        padding: 96px 0 104px;
    }

    .services .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 38px;
        align-items: start;
        margin-bottom: 58px;
    }

    .services-header h2 {
        font-size: 1.85rem;
    }

    .services-proof {
        max-width: 520px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .services-spotlight {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-spotlight-media {
        min-height: 280px;
    }

    .services-spotlight-copy {
        padding: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .service-card {
        height: auto;
    }

    .services-process {
        margin-top: 68px;
        padding: 36px 28px 38px;
    }

    .services-process-heading {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 10px;
        align-items: start;
    }

    .services-process-heading .section-kicker,
    .services-process-heading h3,
    .services-process-intro {
        grid-column: auto;
        grid-row: auto;
    }

    .services-process-heading .section-kicker {
        margin-bottom: 0;
    }

    .services-process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 0;
    }

    .services-process-list li:nth-child(odd) {
        padding-left: 0;
        padding-right: 28px;
        border-left: 0;
    }

    .services-process-list li:nth-child(even) {
        padding-left: 28px;
        padding-right: 0;
        border-left: 1px solid #e5edf5;
    }

    .services-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 26px;
    }

    .services-cta-actions {
        justify-content: flex-start;
    }

    .cta-final {
        padding: 70px 0;
    }

    .faq {
        padding: 60px 0 70px;
    }

    .faq-inner {
        max-width: 100%;
    }

    .faq-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .contact-form-col {
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .contact-info-card {
        margin: 0 auto;
        max-width: 680px;
    }

    .contact-side-note {
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
    }

    .contact-wrapper {
        padding: 50px 0 72px;
    }

    .contact-direct-panel {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 22px;
    }

    .contact-direct-head {
        max-width: 560px;
    }

    .contact-direct-links {
        width: 100%;
    }

    .contact-social-links {
        flex-wrap: wrap;
    }

    .contact-map-iframe {
        height: 260px;
    }

    .contact-proof-strip,
    .contact-process-shell,
    .contact-faq-inner,
    .contact-location-grid {
        grid-template-columns: 1fr;
    }

    .contact-process-shell {
        gap: 34px;
    }

    .contact-faq .contact-section-head,
    .contact-faq .contact-section-head .contact-kicker,
    .contact-faq .contact-section-head h2,
    .contact-faq .contact-section-head .contact-section-intro {
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 640px) {

    .tools-picker-grid {
        grid-template-columns: 1fr;
    }

    .contact-header {
        padding: 58px 0 30px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-proof-strip,
    .contact-proof-strip span {
        flex-wrap: wrap;
    }

    .contact-proof-strip {
        gap: 8px 0;
    }

    .contact-proof-strip span {
        flex: 1 1 50%;
        padding: 0 10px;
        white-space: normal;
    }

    .contact-proof-strip span:nth-child(odd) {
        border-left: 0;
    }

    .contact-info-card {
        padding: 18px;
    }

    .contact-side-note {
        padding-top: 0;
        text-align: left;
    }

    .contact-direct-band {
        margin-top: 40px;
        padding-top: 26px;
    }

    .contact-direct-panel {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 12px;
    }

    .contact-direct-head {
        padding: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .contact-direct-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-direct-links a {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        align-items: center;
        min-width: 0;
        min-height: 58px;
        gap: 8px 12px;
        padding: 10px 12px;
    }

    .contact-form-col .quote-body {
        padding: 18px 16px 20px;
    }

    .contact-form-col .quote-tabs {
        gap: 4px;
        padding: 5px;
    }

    .contact-form-col .quote-tab {
        padding: 11px 10px;
        font-size: 0.8rem;
    }

    .contact-form-col .quote-actions {
        gap: 8px;
    }

    .contact-info-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info-card h2,
    .contact-info-social,
    .contact-mini-note {
        text-align: center;
    }

    .contact-social-links {
        justify-content: center;
    }

    .contact-process,
    .contact-faq,
    .contact-location {
        padding: 54px 0;
    }

    .contact-process-list li {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        min-height: auto;
        padding: 0 0 24px;
    }

    .contact-faq-list summary {
        padding: 14px 12px;
    }

    .contact-faq-list p {
        padding: 0 12px 14px;
    }

    .contact-faq-list {
        padding: 8px;
    }

    .contact-location .contact-map-iframe {
        height: 280px;
    }

    .tools-hero {
        gap: 18px;
        margin-bottom: 28px;
    }

    .tools-title {
        max-width: none;
    }

    .tools-hero-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .tools-panel-step {
        padding: 12px;
    }

    .tools-panel-link {
        width: 100%;
    }

    .tools-section-head {
        gap: 12px;
    }

    .tools-picker-link {
        padding: 18px;
    }

    .tools-picker-meta {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tools-picker-head {
        align-items: flex-start;
    }

    .tools-viewer-page .viewer-card {
        min-height: 620px;
    }

    .tools-viewer-page .btn,
    .tools-viewer-page .btn-sm {
        width: 100%;
    }

    .tools-viewer-page .viewer-hud .hud-right {
        width: 100%;
    }

    .estimate-result-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-header h2 {
        font-size: 1.62rem;
        overflow-wrap: break-word;
    }

    .services-proof {
        padding: 0;
        border-top: 0;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-spotlight-media {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .services-spotlight,
    .services-grid,
    .service-card,
    .services-spotlight-media,
    .service-card-media {
        max-width: 100%;
        min-width: 0;
    }

    .services-spotlight-copy {
        padding: 0;
    }

    .services-spotlight-copy h3 {
        font-size: 1.28rem;
        overflow-wrap: break-word;
    }

    .services-spotlight-points span {
        min-height: auto;
        flex: 0 1 auto;
        justify-content: flex-start;
        text-align: center;
    }

    .services-spotlight-points span + span::before {
        margin: 0 9px;
    }

    .services-process {
        margin-top: 52px;
        padding: 28px 22px 30px;
    }

    .services-process-heading h3 {
        font-size: 1.24rem;
        overflow-wrap: break-word;
        max-width: none;
    }

    .services-process-intro {
        max-width: none;
        font-size: 0.92rem;
    }

    .services-process-list {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 30px;
    }

    .services-process-list li {
        min-height: auto;
        padding: 0;
        border-left: 0;
        display: grid;
        grid-template-columns: 60px minmax(0, 1fr);
        grid-template-areas:
            "meta title"
            "meta copy";
        align-items: start;
        gap: 6px 16px;
        text-align: left;
    }

    .services-process-list li + li {
        padding-top: 0;
    }

    .services-process-list li:last-child {
        padding-bottom: 0;
    }

    .services-process-list li:nth-child(odd),
    .services-process-list li:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-left: 0;
    }

    .process-step-meta {
        grid-area: meta;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        margin-bottom: 0;
        width: 60px;
    }

    .services-process-list strong {
        grid-area: title;
        margin-bottom: 0;
        font-size: 1.08rem;
        line-height: 1.3;
    }

    .services-process-list p {
        grid-area: copy;
        max-width: none;
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .faq-shell {
        padding: 14px;
        border-radius: 18px;
    }

    .faq-item summary {
        padding: 16px 16px;
        font-size: 0.96rem;
    }

    .faq-content {
        padding: 0 16px 16px 16px;
    }

    .service-card {
        min-height: auto;
    }

    .service-card h3,
    .services-cta-copy h3 {
        overflow-wrap: break-word;
    }

    .service-copy,
    .service-note {
        max-width: none;
    }

    .service-note {
        padding: 12px 0 0;
    }

    .tools-shell {
        padding: 72px 0 52px;
    }

    .tools-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .tools-picker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .materials-tool-grid {
        grid-template-columns: 1fr;
    }

    .materials-machine-grid,
    .materials-preference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .materials-library-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .materials-result-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .materials-result-metric.is-wide {
        grid-column: span 2;
    }

    .tools-detail-header {
        padding: 68px 0 28px;
    }

    .tools-detail-content {
        padding-bottom: 80px;
    }

    .tools-detail-card {
        padding: 24px;
    }

    .materials-panel {
        padding: 20px 18px;
    }

    .materials-result-head {
        flex-direction: column;
    }

    .materials-confidence {
        width: 100%;
        min-width: 0;
    }

    .materials-panel-result {
        position: relative;
        top: auto;
    }

    .tools-viewer-meta-card {
        padding: 22px 20px;
    }

    .tools-viewer-page .page-main {
        padding: 0 16px 80px;
    }

    .services-cta-actions {
        width: 100%;
    }

    .services-cta .hero-btn,
    .services-cta-actions {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .estimate-hero {
        padding: 76px 0 28px;
    }

    .estimate-back {
        margin-bottom: 24px;
    }

    .estimate-hero .tools-detail-title {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .estimate-panel,
    .estimate-result-card {
        padding: 18px;
    }

    .estimate-grid,
    .estimate-segmented,
    .estimate-kpis,
    .estimate-result-actions {
        grid-template-columns: 1fr;
    }

    .estimate-stepper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .estimate-step-actions {
        grid-template-columns: 1fr;
    }

    .estimate-result-actions {
        flex-direction: column;
    }

    .estimate-step-actions > span {
        text-align: center;
    }

    .estimate-step-actions .estimate-primary-btn,
    .estimate-step-actions .estimate-secondary-btn,
    .estimate-result-actions .estimate-primary-btn,
    .estimate-result-actions .estimate-secondary-btn {
        width: 100%;
    }

    .estimate-panel-head {
        grid-template-columns: 1fr;
    }

    .tools-picker-grid {
        grid-template-columns: 1fr;
    }

    .materials-group-head,
    .materials-ranking-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .materials-ranking-chip-group {
        justify-content: flex-start;
    }

    .materials-usage-grid,
    .materials-machine-grid,
    .materials-preference-grid,
    .materials-needs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .materials-library-grid {
        grid-template-columns: 1fr;
    }

    .materials-result-metrics {
        grid-template-columns: 1fr;
    }

    .materials-result-metric.is-wide {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero {
        min-height: auto;
        padding: 66px 0 84px;
    }

    .hero-inner {
        row-gap: 48px;
    }

    .hero-kicker {
        line-height: 1.45;
    }

    .hero-left h1 {
        font-size: 2.18rem;
        line-height: 1.08;
        max-width: 100%;
        margin-top: 14px;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .hero-question {
        margin-bottom: 20px;
    }

    .hero-stats,
    .hero-actions,
    .hero-btn {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 34px 0 32px;
        justify-items: center;
    }

    .stat {
        width: min(100%, 60%);
        min-width: 0;
        padding: 14px 16px;
        grid-template-columns: 34px minmax(0, 1fr);
        justify-content: start;
        align-items: center;
        gap: 0 12px;
    }

    .stat-copy {
        gap: 3px;
        text-align: left;
        min-width: 0;
    }

    .stat-label {
        white-space: normal;
        font-size: 0.86rem;
    }

    .quote-card-header {
        padding: 20px 18px 16px;
    }

    .quote-card-header h2 {
        max-width: 100%;
        font-size: 1.12rem;
    }

    .quote-tabs {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .quote-body {
        padding: 22px 18px 22px;
    }

    .quote-steps {
        margin-bottom: 20px;
    }

    .quote-title {
        margin-bottom: 20px;
    }

    .quote-form .field,
    .field-row .field {
        margin-bottom: 16px;
    }

    .quote-actions {
        gap: 10px;
        margin-top: 14px;
    }

    .partners-copy {
        gap: 6px;
    }

    .partners-intro {
        font-size: 0.94rem;
    }

    .partners-track {
        gap: 16px;
        animation-duration: 28s;
    }

    .partner-logo-card {
        min-width: 190px;
        height: 92px;
        padding: 16px 18px;
    }

    .partner-logo-card img {
        max-height: 60px;
    }

    .services {
        padding: 88px 0 96px;
    }

    .services-header {
        gap: 32px;
        margin-bottom: 52px;
    }

    .services-proof {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .services-proof li + li {
        margin-top: 0;
    }

    .services-spotlight {
        gap: 34px;
    }

    .services-spotlight-media {
        min-height: 230px;
    }

    .service-card-media,
    .services-spotlight-media {
        border-radius: 8px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 48px;
    }

    .service-card-body {
        padding: 24px 22px 26px;
        gap: 16px;
    }

    .services-process {
        margin-top: 62px;
        padding: 32px 22px 34px;
    }

    .services-process-heading {
        padding-bottom: 30px;
    }

    .services-process-list {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 34px;
    }

    .services-process-list li,
    .services-process-list li:nth-child(odd),
    .services-process-list li:nth-child(even) {
        min-height: auto;
        padding: 0 0 24px;
        border-left: 0;
        border-bottom: 1px solid #e5edf5;
    }

    .services-process-list li {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 6px 14px;
    }

    .process-step-meta {
        width: 54px;
        gap: 8px;
    }

    .process-step-icon {
        width: 32px;
        height: 32px;
    }

    .process-step-number {
        font-size: 0.76rem;
    }

    .services-process-list strong {
        font-size: 1.02rem;
    }

    .services-process-list p {
        font-size: 0.9rem;
        line-height: 1.58;
    }

    .services-process-list li:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .services-cta {
        margin-top: 58px;
        padding: 30px 22px;
        gap: 20px;
    }

    .realisations,
    .reviews {
        padding-top: 84px;
        padding-bottom: 92px;
    }

    .realisations-header,
    .reviews-header {
        margin-bottom: 36px;
    }
}

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

    .partners-marquee:hover .partners-track {
        animation-play-state: running;
    }
}
