/* ============================================
   BnFConsulting — Style Principal
   Premium · Minimal · Structuré
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --card-bg: #FAF9F6;
    --title: #235357;
    --accent: #549ba2;
    --tertiary: #a9d6dd;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-400: #999999;
    --gray-600: #666666;
    --gray-800: #1a1a1a;
    --radius: 4px;
    --radius-lg: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--white);
    background: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--title);
    font-weight: 400;
    line-height: 1.2;
}

/* --- CONTAINER --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--title);
    transform: translateY(-1px);
}

.btn-primary.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-primary.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(84, 155, 162, 0.1);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

/* Accueil encadré seul */
.nav-home a {
    border: 1px solid rgba(84, 155, 162, 0.35);
    border-radius: 20px;
    padding: 6px 16px;
    transition: all var(--transition);
}
.nav-home a:hover {
    border-color: var(--accent);
    color: var(--white);
}

/* Groupe des 3 axes dans un seul cadre */
.nav-axes-group {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(84, 155, 162, 0.35);
    border-radius: 20px;
    padding: 4px 6px;
}

.nav-axes-group a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 16px;
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-axes-group a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.nav-axes-group a:hover {
    background: rgba(84, 155, 162, 0.12);
    color: var(--white);
}

/* Séparateur entre axes */
.nav-axe-sep {
    width: 1px;
    height: 14px;
    background: rgba(84, 155, 162, 0.25);
    flex-shrink: 0;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent) !important;
    color: var(--white) !important;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background: var(--title) !important;
}

/* Language toggle FR/EN */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.lang-link {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    transition: color var(--transition);
    padding: 4px 2px;
}

.lang-link:hover {
    color: var(--white);
}

.lang-link.active {
    color: var(--white);
}

.lang-sep {
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
    font-weight: 300;
    user-select: none;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 24px;
    max-width: 1100px;
}

.hero-title .accent {
    white-space: nowrap;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(0.9rem, 1.8vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 400;
    padding: 0 12px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================
   NAVIGATION RAPIDE
   ============================================ */
.quick-nav {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.quick-nav-item {
    padding: 12px 28px;
    border: 1px solid rgba(84, 155, 162, 0.3);
    border-radius: var(--radius);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    background: rgba(84, 155, 162, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-30px);
    animation: quickNavAppear 0.6s ease forwards;
}

.quick-nav-item:nth-child(1) { animation-delay: 0.3s; }
.quick-nav-item:nth-child(2) { animation-delay: 0.5s; }
.quick-nav-item:nth-child(3) { animation-delay: 0.7s; }
.quick-nav-item:nth-child(4) { animation-delay: 0.9s; }
.quick-nav-item:nth-child(5) { animation-delay: 1.1s; }

.quick-nav-item:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(84, 155, 162, 0.3);
}

@keyframes quickNavAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   PARTENAIRE BANNER
   ============================================ */
.partner-banner {
    width: 100%;
    text-align: center;
}

.partner-banner-label {
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent);
    margin-bottom: 24px;
}

.partner-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 32px;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
}

.partner-banner-link:hover {
    transform: scale(1.03);
}

.partner-banner-link img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Section blanche */
.section-white {
    background: var(--cream);
    padding: 60px 0;
}

.partner-banner-white .partner-banner-label {
    color: var(--title);
}

/* ============================================
   DIAGNOSTIC EXPRESS BUBBLE
   ============================================ */
.diag-bubble {
    margin-top: 40px;
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(250, 249, 246, 0.06);
    border: 1px solid rgba(84, 155, 162, 0.25);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diag-bubble.active {
    background: rgba(250, 249, 246, 0.1);
    border-color: rgba(84, 155, 162, 0.4);
    max-width: 560px;
}

.diag-bubble-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    cursor: pointer;
    transition: background var(--transition);
}

.diag-bubble-header:hover {
    background: rgba(84, 155, 162, 0.08);
}

.diag-bubble-icon {
    font-size: 1.125rem;
}

.diag-bubble-text {
    flex: 1;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
}

.diag-bubble-text strong {
    color: var(--white);
    font-weight: 600;
}

.diag-bubble-arrow {
    font-size: 1rem;
    color: var(--accent);
    transition: transform var(--transition);
}

.diag-bubble.active .diag-bubble-arrow {
    transform: rotate(90deg);
}

/* Bubble body */
.diag-bubble-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.diag-bubble.active .diag-bubble-body {
    max-height: 500px;
}

/* Inside quiz elements */
.diag-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px 12px;
}

.diag-progress-dots {
    display: flex;
    gap: 6px;
}

.diag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all var(--transition);
}

.diag-dot.done {
    background: var(--accent);
}

.diag-dot.current {
    background: var(--tertiary);
    box-shadow: 0 0 6px rgba(169, 214, 221, 0.5);
}

.diag-progress-label {
    font-size: 0.6875rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    margin-left: auto;
}

/* Question inside bubble */
.diag-question {
    padding: 4px 24px 8px;
    animation: diagFadeIn 0.35s ease-out;
}

.diag-question-text {
    font-family: Georgia, serif;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.4;
}

.diag-answers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
}

.diag-answer-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1.5px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.diag-answer-btn:hover {
    border-color: var(--accent);
    transform: translateX(3px);
}

.diag-answer-btn.selected {
    border-color: var(--accent);
    background: rgba(84, 155, 162, 0.12);
}

.diag-answer-btn.selected .diag-answer-idx {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.diag-answer-idx {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    transition: all var(--transition);
}

.diag-answer-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
}

/* Result inside bubble */
.diag-result {
    padding: 8px 24px 24px;
    text-align: center;
    animation: diagFadeIn 0.4s ease-out;
}

.diag-result-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.diag-result-title {
    font-family: Georgia, serif;
    font-size: 1.125rem;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1.3;
}

.diag-result-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 20px;
}

.diag-result-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--accent);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.diag-result-cta:hover {
    background: var(--title);
    transform: translateY(-1px);
}

.diag-restart {
    display: block;
    margin: 12px auto 0;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px 8px;
    transition: color var(--transition);
}

.diag-restart:hover {
    color: var(--accent);
}

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

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 120px 0;
}

.section-dark {
    background: var(--gray-800);
}

.section-black {
    background: var(--black);
}

/* --- Piliers section background image --- */
.section-piliers {
    position: relative;
    overflow: hidden;
}

.piliers-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.piliers-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.piliers-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.container-relative {
    position: relative;
    z-index: 2;
}

.section-services {
    position: relative;
    overflow: hidden;
}

.services-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.services-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--white);
    margin-bottom: 24px;
}

.section-title .accent {
    color: var(--accent);
}

.section-intro {
    color: #ffffff;
    max-width: 700px;
    margin-bottom: 64px;
    font-size: 1rem;
}

/* ============================================
   PROBLÈME — Cards
   ============================================ */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.problem-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
}

.problem-number {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: var(--title);
    margin-bottom: 16px;
    line-height: 1;
}

.problem-card h3 {
    font-size: 1.25rem;
    color: var(--title);
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ============================================
   PILIERS — Accordion Cards
   ============================================ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), overflow 0s 0.4s;
}

.pillar-card.open {
    overflow: visible;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pillar-header {
    padding: 32px;
    position: relative;
}

.pillar-num {
    font-family: Georgia, serif;
    font-size: 2rem;
    color: var(--title);
    line-height: 1;
    display: block;
    margin-bottom: 16px;
}

.pillar-title {
    font-size: 1.375rem;
    color: var(--title);
    margin-bottom: 8px;
}

.pillar-subtitle {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.pillar-toggle {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50%;
    transition: all var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.pillar-card.open .pillar-toggle {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--white);
}

.pillar-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card.open .pillar-body {
    max-height: 600px;
    overflow: visible;
}

.pillar-body ul {
    padding: 0 32px 12px;
}

.pillar-body li {
    padding: 10px 0;
    border-top: 1px solid var(--gray-200);
    color: var(--black);
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    padding-left: 16px;
}

.pillar-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* --- Tooltips on service items --- */
.pillar-body li[data-tip] {
    cursor: default;
    transition: color var(--transition);
}

.pillar-body li[data-tip]:hover {
    color: var(--accent);
}

.pillar-body li[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    width: 280px;
    padding: 14px 18px;
    background: var(--title);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.6;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.pillar-body li[data-tip]:hover::after {
    opacity: 1;
    visibility: visible;
}

.pillar-objectif {
    padding: 12px 32px 24px;
    font-size: 0.875rem;
    color: var(--title);
    font-weight: 600;
}

/* Tous les piliers — tooltip au-dessus */
[data-pillar="1"] .pillar-body li[data-tip]::after,
[data-pillar="2"] .pillar-body li[data-tip]::after,
[data-pillar="3"] .pillar-body li[data-tip]::after {
    bottom: calc(100% + 10px);
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(6px);
}

[data-pillar="1"] .pillar-body li[data-tip]:hover::after,
[data-pillar="2"] .pillar-body li[data-tip]:hover::after,
[data-pillar="3"] .pillar-body li[data-tip]:hover::after {
    transform: translateX(-50%) translateY(0);
}

/* Data bar */
.data-bar {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    padding: 32px;
    background: var(--card-bg);
}

.data-bar-label {
    font-family: Georgia, serif;
    font-size: 1.125rem;
    color: var(--title);
    margin-bottom: 8px;
}

/* Ecosystem card */
.ecosystem-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ecosystem-partner {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--title);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: rgba(84, 155, 162, 0.08);
    transition: background 0.3s ease, transform 0.3s ease;
}

.ecosystem-partner:hover {
    background: rgba(84, 155, 162, 0.18);
    transform: translateX(4px);
}

.ecosystem-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.ecosystem-partner span {
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
}

.data-bar p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ============================================
   CIBLES — Target Cards
   ============================================ */
.targets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.target-card {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(84, 155, 162, 0.25);
    border-radius: 50px;
    padding: 36px 32px;
    text-align: center;
    transition: all 0.4s ease;
    animation: bubbleFloat 4s ease-in-out infinite;
}

.target-card:nth-child(1) { animation-delay: 0s; }
.target-card:nth-child(2) { animation-delay: 1.3s; }
.target-card:nth-child(3) { animation-delay: 2.6s; }

.target-card:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(84, 155, 162, 0.5);
    transform: translateY(-6px);
}

.target-card h3 {
    font-size: 1.375rem;
    color: var(--white);
    margin-bottom: 12px;
    text-align: center;
}

.target-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   PARCOURS CLIENT — Journey
   ============================================ */
.journey {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 64px;
    position: relative;
}

.journey-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.journey-num {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
    line-height: 1;
}

.journey-step h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 8px;
}

.journey-step p {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.7;
}

.journey-connector {
    width: 60px;
    min-width: 60px;
    height: 2px;
    background: var(--accent);
    margin-top: 28px;
}

.partner-phrase {
    text-align: center;
    color: var(--gray-400);
    font-size: 0.875rem;
    max-width: 600px;
    margin: 32px auto 0;
    line-height: 1.7;
}

.journey-centered {
    justify-content: center;
    text-align: center;
}

.journey-centered .journey-step {
    text-align: center;
}

/* ============================================
   PARTENAIRES — Grille centrée + flottement
   ============================================ */
.partners-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 48px;
    margin-top: 56px;
    flex-wrap: wrap;
    padding: 0 24px;
}

/* --- Carte partenaire --- */
.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    /* Caché par défaut, révélé par JS au scroll */
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: calc(var(--delay) * 0.15s);
}

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

/* --- Cadre intérieur --- */
.partner-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Logo --- */
.partner-card-inner img {
    max-width: 400px;
    max-height: 200px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.partner-card:hover .partner-card-inner img {
    opacity: 1;
    transform: scale(1.08);
}

/* --- Nom partenaire --- */
.partner-name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    transition: color 0.4s ease;
}

.partner-card:hover .partner-name {
    color: var(--accent);
}

/* --- Placeholder --- */
.partner-placeholder {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.05em;
}

/* --- Keyframes --- */
@keyframes partnerFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes partnerBorderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* --- Responsive partenaires --- */
@media (max-width: 768px) {
    .partners-grid {
        gap: 32px;
    }

    .partner-card-inner img {
        max-width: 300px;
        max-height: 150px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .partner-card-inner img {
        max-width: 250px;
        max-height: 130px;
    }
}

/* ============================================
   ARTICLES / INSIGHTS
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 64px;
}

.article-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* Image */
.article-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-img img {
    transform: scale(1.1);
}

/* Content */
.article-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.article-tag {
    display: inline-block;
    width: fit-content;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(84, 155, 162, 0.1);
    padding: 4px 12px;
    border-radius: 3px;
}

.article-title {
    font-family: Georgia, serif;
    font-size: 1.25rem;
    color: var(--title);
    line-height: 1.35;
}

.article-excerpt {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
}

.article-card:hover .article-excerpt {
    max-height: 120px;
    opacity: 1;
}

.article-read {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.article-card:hover .article-read {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SERVICES COMPLÉMENTAIRES
   ============================================ */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
}

.service-item {
    padding: 14px 24px;
    background: rgba(84, 155, 162, 0.08);
    border: 1px solid rgba(84, 155, 162, 0.2);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
}

.service-item:hover {
    background: rgba(84, 155, 162, 0.15);
    border-color: var(--accent);
}

/* ============================================
   CTA FINAL
   ============================================ */
.section-cta {
    background: var(--black);
    text-align: center;
    padding: 140px 24px;
    border-top: 1px solid rgba(84, 155, 162, 0.15);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-title .accent {
    color: var(--accent);
}

.cta-text {
    color: var(--gray-400);
    font-size: 1.0625rem;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTION INTERVENTION (photo fond)
   ============================================ */
.intervention-photo-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 8rem) 24px;
}

.intervention-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.intervention-photo-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.intervention-photo-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.intervention-photo-section .container-relative {
    position: relative;
    z-index: 2;
}

.intervention-photo-section .axe-option {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(84, 155, 162, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.intervention-photo-section .axe-option:hover {
    background: rgba(0, 0, 0, 0.55);
    border-color: rgba(84, 155, 162, 0.5);
}

/* ============================================
   CTA BULLE
   ============================================ */
.cta-bubble {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(84, 155, 162, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   DIVIDER
   ============================================ */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(84, 155, 162, 0.25), transparent);
    margin: 0;
}

/* ============================================
   SPÉCIALES BNF
   ============================================ */
.speciales-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.speciale-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 32px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    border: 1px solid rgba(84, 155, 162, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.speciale-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(84, 155, 162, 0.12);
}

.speciale-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(84, 155, 162, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius);
    white-space: nowrap;
}

.speciale-title {
    flex: 1;
    font-family: Georgia, serif;
    font-size: 1.125rem;
    color: var(--title);
    margin: 0;
}

.speciale-arrow {
    font-size: 1.25rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.speciale-card:hover .speciale-arrow {
    transform: translateX(6px);
}

@media (max-width: 480px) {
    .speciale-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .speciale-arrow {
        display: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.footer-links a {
    font-size: 0.8125rem;
    color: var(--gray-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy p {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* ============================================
   ANIMATIONS — Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   DOSSIER — STACK VIEWER (cartes paginées)
   ============================================ */
.stack-viewer {
    margin-top: 48px;
    position: relative;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation header */
.stack-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.stack-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1.5px solid rgba(84, 155, 162, 0.3);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.125rem;
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.stack-arrow:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.stack-arrow:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.stack-counter {
    font-family: Georgia, serif;
    font-size: 0.875rem;
    color: var(--gray-400);
    letter-spacing: 0.08em;
    min-width: 60px;
    text-align: center;
}

/* Track & cards */
.stack-track {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
}

.stack-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.stack-card.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.stack-card.exit-left {
    opacity: 0;
    transform: translateX(-60px);
}

.stack-card.exit-right {
    opacity: 0;
    transform: translateX(60px);
}

/* Card inner elements */
.stack-rubrique {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.stack-title {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: var(--title);
    line-height: 1.3;
    margin-bottom: 20px;
}

.stack-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.stack-retain {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    font-style: italic;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    margin-top: 8px;
}

.stack-retain::before {
    content: '→ ';
}

.stack-cta {
    display: inline-block;
    margin-top: 24px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
}

.stack-cta:hover {
    background: var(--title);
    transform: translateY(-2px);
}

/* Image dans les slides */
.stack-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-top: 24px;
    opacity: 0.9;
}

/* Hero dossier rapproché du stack */
.hero-dossier {
    padding-top: 160px;
    padding-bottom: 60px;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
}

.hero-dossier + .section {
    padding-top: clamp(3rem, 5vw, 5rem);
}

/* Hint */
.stack-hint {
    text-align: center;
    margin-top: 24px;
    font-size: 0.75rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.stack-hint.hidden {
    opacity: 0;
}

/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--title);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ============================================
   FAB MENU — Burger bas gauche
   ============================================ */
.fab-menu {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 1000;
}

.fab-trigger {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--title);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.fab-trigger:hover {
    background: var(--accent);
    transform: scale(1.08);
}

.fab-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Open state — X animation */
.fab-menu.open .fab-trigger {
    background: var(--accent);
}

.fab-menu.open .fab-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.fab-menu.open .fab-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.fab-menu.open .fab-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Panel */
.fab-panel {
    position: absolute;
    bottom: 68px;
    left: 0;
    width: 240px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(84, 155, 162, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transform-origin: bottom left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fab-menu.open .fab-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Sections inside panel */
.fab-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fab-label {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}

.fab-link {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 5px 0;
    transition: color var(--transition), padding-left var(--transition);
}

.fab-link:hover {
    color: var(--white);
    padding-left: 6px;
}

/* Burger: Accueil encadré seul */
.fab-home {
    display: inline-block;
    border: 1px solid rgba(84, 155, 162, 0.35);
    border-radius: 12px;
    padding: 8px 16px !important;
    margin-bottom: 4px;
    transition: all var(--transition);
}
.fab-home:hover {
    border-color: var(--accent);
    padding-left: 16px !important;
}

/* Burger: Groupe des 3 axes */
.fab-axes-group {
    border: 1px solid rgba(84, 155, 162, 0.35);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4px;
}

.fab-axes-group .fab-link {
    display: flex;
    align-items: center;
    padding: 6px 6px;
    border-radius: 8px;
    transition: all var(--transition);
}

.fab-axes-group .fab-link::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 8px;
    flex-shrink: 0;
}

.fab-axes-group .fab-link:hover {
    background: rgba(84, 155, 162, 0.12);
    padding-left: 10px;
}

/* Séparateur entre axes dans burger */
.fab-axe-sep {
    height: 1px;
    background: rgba(84, 155, 162, 0.12);
    margin: 0 6px;
}

.fab-divider {
    height: 1px;
    background: rgba(84, 155, 162, 0.12);
    margin: 12px 0;
}

.fab-socials {
    display: flex;
    gap: 12px;
}

.fab-social {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(84, 155, 162, 0.25);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.fab-social:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* ============================================
   PAGE PRESTATIONS
   ============================================ */
.presta-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.presta-nav-item {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.presta-nav-item:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.presta-cat-title {
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--white);
    margin-bottom: 8px;
}

.presta-cat-num {
    color: var(--accent);
    margin-right: 16px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.presta-cat-subtitle {
    color: var(--gray-400);
    font-size: 1rem;
    margin-bottom: 40px;
}

.presta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.presta-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.presta-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.08);
}

.presta-item h3 {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 10px;
}

.presta-item p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    line-height: 1.7;
}

.presta-final {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.presta-final .section-title,
.presta-final .section-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.presta-final-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Roue catégories pleine hauteur */
.presta-wheel {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 200px;
    display: flex;
    align-items: center;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    background: rgba(10, 10, 10, 0.92);
    border-right: 1px solid rgba(84, 155, 162, 0.15);
}

.presta-wheel.visible {
    opacity: 1;
    pointer-events: auto;
}

.presta-wheel-window {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.presta-wheel-window::before,
.presta-wheel-window::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 15%;
    z-index: 2;
    pointer-events: none;
}

.presta-wheel-window::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.92), transparent);
}

.presta-wheel-window::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.92), transparent);
}

.presta-wheel-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    padding: 0 28px;
}

.presta-wheel-item {
    height: 56px;
    line-height: 56px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.4s;
    border-left: 3px solid transparent;
    padding-left: 18px;
}

.presta-wheel-item:hover {
    color: rgba(255, 255, 255, 0.75);
}

.presta-wheel-item.active {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-left-color: var(--accent);
}

/* Décaler le contenu pour la roue sur grands écrans */
.presta-category .container {
    margin-left: 220px;
}

.presta-final .container {
    margin-left: 220px;
    margin-right: 0;
    max-width: calc(100% - 220px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1024px) {
    .presta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .presta-wheel {
        width: 160px;
    }
    .presta-wheel-item {
        font-size: 0.72rem;
        height: 48px;
        line-height: 48px;
    }
    .presta-wheel-item.active {
        font-size: 0.82rem;
    }
    .presta-category .container {
        margin-left: 180px;
    }
    .presta-final .container {
        margin-left: 180px;
        max-width: calc(100% - 180px);
    }
}

@media (max-width: 600px) {
    .presta-grid {
        grid-template-columns: 1fr;
    }
    .presta-wheel {
        display: none;
    }
    .presta-category .container,
    .presta-final .container {
        margin-left: auto;
        max-width: none;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .problem-grid,
    .pillars-grid,
    .targets-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey {
        flex-direction: column;
        align-items: stretch;
    }

    .journey-step {
        text-align: left;
        padding: 24px 0;
    }

    .journey-connector {
        width: 1px;
        min-width: 1px;
        height: 40px;
        margin: 0 0 0 28px;
        background: linear-gradient(to bottom, var(--accent), var(--tertiary));
    }
}

@media (max-width: 1024px) {
    /* Sur tablette/mobile, tous les tooltips au-dessus */
    [data-pillar="1"] .pillar-body li[data-tip]::after,
    [data-pillar="3"] .pillar-body li[data-tip]::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: calc(100% + 10px);
        transform: translateX(-50%) translateY(6px);
    }

    [data-pillar="1"] .pillar-body li[data-tip]:hover::after,
    [data-pillar="3"] .pillar-body li[data-tip]:hover::after {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-cta {
        padding: 100px 24px;
    }

    .stack-card {
        padding: 32px 24px;
    }

    .stack-title {
        font-size: 1.25rem;
    }

    /* Masquer toute la navbar sur mobile — navigation via burger bas gauche */
    .nav {
        display: none !important;
    }

    /* Le groupe axes dans le burger s'adapte bien au mobile */
    .fab-panel {
        width: 260px;
    }

    /* Logo centré en tête de hero sur mobile */
    .drone-hero-mobile-logo {
        display: block !important;
    }

    /* Centrer les étapes du constat et du parcours */
    .journey-step {
        text-align: center !important;
    }

    .journey-connector {
        margin: 0 auto !important;
    }

    .problem-grid,
    .pillars-grid,
    .targets-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Sur mobile, l'extrait est toujours visible */
    .article-excerpt {
        max-height: 120px;
        opacity: 1;
    }

    .article-read {
        opacity: 1;
        transform: translateY(0);
    }

    .hero {
        min-height: 80vh;
        padding: 80px 24px 50px;
        justify-content: flex-start;
        padding-top: 20vh;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5.5vw, 2.25rem);
        padding: 0 8px;
    }

    .hero-title .accent {
        white-space: normal;
    }

    .hero-sub {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
        max-width: 90vw;
        margin-bottom: 32px;
    }

    /* Tooltips adapt on mobile */
    .pillar-body li[data-tip]::after {
        width: 240px;
        font-size: 0.75rem;
        padding: 12px 14px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .produit-coeur-link {
        justify-content: center;
        text-align: center;
    }

    /* Modèle section — header sticky + pillar cards stacking */
    .modele-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #000;
        padding-bottom: 1rem;
    }

    .modele-cards {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .modele-card {
        position: sticky !important;
        top: calc(160px + var(--modele-index) * 16px) !important;
        max-width: 100% !important;
        z-index: calc(var(--modele-index) + 1);
        margin-bottom: 20px;
        background: rgba(20, 20, 20, 0.98) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

}

@media (max-width: 480px) {
    .hero-ctas,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .quick-nav {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 28px;
        border: none;
        border-radius: 0;
        padding: 0 20px;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .quick-nav-desktop-only {
        display: none !important;
    }
    .quick-nav-axe {
        border: 1px solid rgba(84, 155, 162, 0.3) !important;
        padding: 14px 20px !important;
        font-size: 0.8rem !important;
        border-radius: 14px !important;
        animation: none !important;
        opacity: 1 !important;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        background: rgba(84, 155, 162, 0.06);
    }
    .quick-nav-axe + .quick-nav-axe::before {
        display: none;
    }

    /* Mini navbar axes visible sur mobile */
    .mobile-axes-nav {
        display: flex;
    }

    /* Axes wrapper sur mobile */
    .axes-wrapper {
        padding: 10px;
        border-radius: 18px;
    }

    /* Architecture BnF grids → 2x2 carré sur mobile */
    .archi-grid,
    .drone-archi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .archi-grid a,
    .drone-archi-grid a {
        padding: 20px 14px !important;
    }

    .archi-grid h4,
    .drone-archi-grid h4 {
        font-size: 0.9rem !important;
    }

    /* Cas d'usage cards en colonne sur mobile */
    .glass-card {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 100%;
    }

    /* CTA buttons stack sur mobile */
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .cta-buttons a {
        margin-left: 0 !important;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 0.9375rem;
    }
}

/* ============================================
   FORMULAIRE RAPPEL
   ============================================ */
.recall-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ============================================
   CHATBOT
   ============================================ */
.chatbot {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 1001;
}

.phone-fab {
    position: fixed;
    top: 140px;
    right: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(84, 155, 162, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.phone-fab:hover {
    background: var(--title);
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(84, 155, 162, 0.5);
}

/* Language toggle button (fixed, below phone-fab) — hidden on desktop */
.lang-fab {
    display: none;
    position: fixed;
    top: 192px;
    right: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(84,155,162,0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 48px;
}

.lang-fab:hover {
    background: rgba(84,155,162,0.2);
    border-color: rgba(84,155,162,0.6);
    color: #fff;
}

.phone-fab svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.phone-tooltip {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    white-space: nowrap;
    background: var(--accent);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.phone-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--accent);
    border-right: none;
}

.phone-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.chatbot-trigger {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(84, 155, 162, 0.35);
    transition: all 0.3s ease;
}

.chatbot-trigger:hover {
    background: var(--title);
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(84, 155, 162, 0.5);
}

.chatbot-trigger svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.chatbot-tooltip {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    white-space: nowrap;
    background: var(--accent);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--accent);
    border-right: none;
}

.chatbot-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.chatbot-panel {
    position: absolute;
    top: 58px;
    right: 0;
    width: 360px;
    height: 520px;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(84, 155, 162, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(-8px);
    transform-origin: top right;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.chatbot-panel.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.chatbot-header span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.chatbot-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.chatbot-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.cb-bubble {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px 12px 12px 4px;
    padding: 12px 16px;
    max-width: 90%;
    animation: cbFadeIn 0.3s ease;
}

.cb-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    animation: cbFadeIn 0.3s ease;
}

.cb-btn {
    background: rgba(84, 155, 162, 0.12);
    border: 1px solid rgba(84, 155, 162, 0.3);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.cb-btn:hover {
    background: rgba(84, 155, 162, 0.25);
    border-color: var(--accent);
}

.cb-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 4px;
    transition: background 0.2s;
    box-sizing: border-box;
}

.cb-cta:hover {
    background: var(--title);
}

.cb-back {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 6px 0;
    text-align: center;
    width: 100%;
    margin-top: 4px;
    transition: color 0.2s;
}

.cb-back:hover {
    color: var(--accent);
}

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

.cb-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: cbFadeIn 0.3s ease;
}

.cb-form input,
.cb-form textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 12px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    outline: none;
    transition: border-color 0.2s;
}

.cb-form input::placeholder,
.cb-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.cb-form input:focus,
.cb-form textarea:focus {
    border-color: var(--accent);
}

.cb-form textarea {
    resize: none;
    min-height: 50px;
}

/* ============================================
   DOSSIERS SPÉCIALES BNF
   ============================================ */
.dossier-wrapper {
    width: 100%;
}

.dossier-toggle {
    border: none;
    text-align: left;
    font-family: inherit;
    transition: all 0.3s ease;
}

.dossier-arrow {
    transition: transform 0.4s ease;
    font-size: 0.75rem;
}

.dossier-toggle.open .dossier-arrow {
    transform: rotate(180deg);
}

.dossier-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.dossier-expand.open {
    margin-top: 24px;
}

/* Onglets style roue prestations */
.dossier-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(84, 155, 162, 0.15);
}

.dossier-tab {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.4s;
    white-space: nowrap;
}

.dossier-tab:hover {
    color: rgba(255, 255, 255, 0.75);
}

.dossier-tab.active {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom-color: var(--accent);
}

/* Flip card */
.dossier-flip-container {
    perspective: 1200px;
    width: 100%;
}

.dossier-flip-card {
    position: relative;
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.dossier-flip-card.flipped {
    transform: rotateY(180deg);
}

.dossier-flip-front,
.dossier-flip-back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.dossier-flip-front {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(84, 155, 162, 0.2);
}

.dossier-credit {
    position: absolute;
    bottom: 12px;
    right: 16px;
    color: #549BA2;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: inherit;
}

@media (max-width: 768px) {
    .dossier-credit {
        font-size: 0.5rem !important;
        bottom: 6px !important;
        right: 8px !important;
        letter-spacing: 0.03em !important;
        opacity: 0.7;
    }
}

/* ---- MANIFESTE "QUAND LA STRUCTURE DISPARAÎT" ---- */
.manifeste-bloc {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
}

.manifeste-bloc.visible {
    opacity: 1;
    transform: translateY(0);
}

.manifeste-mot {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.manifeste-texte {
    color: rgba(255, 255, 255, 0.55);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto;
}

/* ---- STACKING CARDS (Problème du marché) ---- */
.stacking-section {
    background: #000;
    padding: 0 0 clamp(3rem, 6vw, 6rem);
}

.stacking-header {
    text-align: center;
    padding: 15vh clamp(1rem, 3vw, 2rem) 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #000;
}

.stacking-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    color: #fff;
    font-weight: 400;
    line-height: 1.35;
}

.stacking-cards-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    position: relative;
}

.stacking-card {
    position: sticky;
    top: calc(40vh + var(--card-index) * 20px);
    margin-bottom: 30px;
    z-index: calc(var(--card-index) + 1);
}

.stacking-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(84, 155, 162, 0.2);
    border-radius: 20px;
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.stacking-card-inner:hover {
    transform: translateY(-4px);
    border-color: rgba(84, 155, 162, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(84, 155, 162, 0.08);
}

.stacking-card-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stacking-card-mot {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.stacking-card-texte {
    color: rgba(255, 255, 255, 0.55);
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

.stacking-footer {
    text-align: center;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem) 0;
}

.stacking-closing {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .stacking-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #000;
        padding-bottom: clamp(1.5rem, 3vw, 2rem);
    }
    .stacking-card {
        top: calc(28vh + var(--card-index) * 14px);
        margin-bottom: 18px;
    }
    .stacking-card-inner {
        background: rgba(20, 20, 20, 0.98);
        padding: clamp(1.2rem, 3vw, 2rem);
    }
    .stacking-footer {
        position: sticky;
        top: calc(22vh + 5 * 14px);
        z-index: 6;
        background: #000;
        padding-top: clamp(2rem, 4vw, 3rem);
    }
    .stacking-subtitle-desktop {
        display: none;
    }
}

/* ---- SCROLL REVEAL TEXT ---- */
.sr-group {
    opacity: 0.08;
    transition: opacity 0.5s ease;
    display: inline;
}
.sr-group.sr-visible {
    opacity: 1;
}

/* ---- SCROLL INDICATOR (Prestations) ---- */
.scroll-indicator {
    position: fixed;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    height: 40vh;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    display: none;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-indicator-line {
    width: 2px;
    height: 100%;
    background: rgba(84, 155, 162, 0.35);
    border-radius: 2px;
    position: relative;
}

.scroll-indicator-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(84, 155, 162, 0.5), 0 0 24px rgba(84, 155, 162, 0.2);
    transition: top 0.15s ease-out;
}

@media (min-width: 1025px) {
    .scroll-indicator {
        display: block;
    }
}

/* ---- GLASS CARDS (Cas d'usage) ---- */
.glass-card {
    flex: 1 1 240px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(84, 155, 162, 0.25);
    border-radius: 16px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(84, 155, 162, 0.4), transparent);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(84, 155, 162, 0.6);
    box-shadow: 0 0 30px rgba(84, 155, 162, 0.15), 0 0 60px rgba(84, 155, 162, 0.05);
}

.glass-card-number {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.glass-card-icon {
    width: clamp(36px, 5vw, 48px);
    height: clamp(36px, 5vw, 48px);
    margin: 0 auto 1rem;
    color: var(--accent);
    opacity: 0.8;
}

.glass-card-icon svg {
    width: 100%;
    height: 100%;
}

.glass-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.glass-card-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    line-height: 1.65;
}

/* ---- LES 4 AXES ---- */
/* Grande bulle englobant les 4 axes */
.axes-wrapper {
    border: 1px solid rgba(84, 155, 162, 0.25);
    border-radius: 24px;
    padding: clamp(12px, 2vw, 20px);
    margin-top: 3rem;
    background: rgba(84, 155, 162, 0.03);
}

.axes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

/* Mini navbar mobile dans le hero */
.mobile-axes-nav {
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(84, 155, 162, 0.35);
    border-radius: 20px;
    padding: 8px 12px;
    margin: 0 auto 16px;
    gap: 0;
    width: fit-content;
}

.mobile-axe-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 14px;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobile-axe-link::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.mobile-axe-link:hover,
.mobile-axe-link:active {
    background: rgba(84, 155, 162, 0.15);
    color: var(--white);
}

.mobile-axe-sep {
    width: 1px;
    height: 14px;
    background: rgba(84, 155, 162, 0.25);
    flex-shrink: 0;
}

/* ============================
   TOP AXES BAR (mobile only)
   ============================ */
.top-axes-bar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10001;
    background: rgba(15, 26, 27, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(84, 155, 162, 0.2);
    padding: 9px 12px;
    justify-content: center;
    align-items: center;
    gap: 0;
}
.top-axes-bar .mobile-axe-link {
    font-size: 0.68rem;
    padding: 5px 9px;
}
.top-axes-bar .mobile-axe-sep {
    height: 12px;
}
@media (max-width: 768px) {
    .top-axes-bar {
        display: flex;
    }
    .has-top-bar #nav,
    .has-top-bar .nav {
        top: 40px !important;
    }
    .has-top-bar {
        padding-top: 40px;
    }
}

.axe-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(84, 155, 162, 0.2);
    border-radius: 16px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

/* Carte avec photo pleine qualité */
.axe-card-img {
    padding: 0 !important;
    background: transparent !important;
}

.axe-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    z-index: 0;
}

.axe-card-inner-bubble {
    position: relative;
    z-index: 1;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    margin: clamp(1rem, 2vw, 1.5rem);
}

.axe-card:hover {
    transform: translateY(-6px);
    border-color: rgba(84, 155, 162, 0.6);
    box-shadow: 0 0 30px rgba(84, 155, 162, 0.15), 0 0 60px rgba(84, 155, 162, 0.05);
}

.axe-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.axe-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.axe-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.axe-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

/* Desktop: hover reveal (temporaire) */
.axe-card:hover .axe-content {
    max-height: 400px;
    opacity: 1;
}

/* Click toggle (desktop + mobile) */
.axe-card.axe-open .axe-content {
    max-height: 400px;
    opacity: 1;
}

.axe-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(0.8rem, 1.3vw, 0.92rem);
    line-height: 1.65;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.axe-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.axe-list li {
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    padding: 4px 0;
    padding-left: 1.2em;
    position: relative;
}

.axe-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    opacity: 0.7;
}

/* SECTION 5 : Intervention */
.axe-intervention {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    padding: clamp(2rem, 4vw, 3rem);
    border: 1px solid rgba(84, 155, 162, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
}

.axe-intervention-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: #fff;
    margin-bottom: 1rem;
}

.axe-intervention-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.axe-intervention-options {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    flex-wrap: wrap;
}

.axe-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    font-weight: 500;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
    background: rgba(84, 155, 162, 0.04);
    border: 1px solid rgba(84, 155, 162, 0.12);
    border-radius: 12px;
    transition: border-color 0.3s ease, background 0.3s ease;
    flex: 1 1 0;
    min-width: 160px;
}

.axe-option:hover {
    border-color: rgba(84, 155, 162, 0.35);
    background: rgba(84, 155, 162, 0.08);
}

.axe-option-icon {
    color: var(--accent);
    font-size: 1.4rem;
    letter-spacing: -0.1em;
    line-height: 1;
}

.axe-option-label {
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Responsive axes */
@media (max-width: 768px) {
    .axes-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .axe-card {
        padding: clamp(1.2rem, 4vw, 1.8rem);
    }

    .axe-intervention-options {
        flex-direction: row;
        justify-content: stretch;
        gap: 0.6rem;
    }

    .axe-option {
        flex: 1 1 0;
        min-width: 0;
        padding: 1rem 0.5rem;
        gap: 0.4rem;
        text-align: center;
        font-size: 0.72rem;
    }

    .axe-option-icon {
        font-size: 1.1rem;
    }

    /* Réduire le gap entre axes et produit cœur sur mobile */
    #axes {
        padding-bottom: 10px !important;
    }
}

.dossier-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    background: rgba(10, 10, 10, 0.97);
    border: 1px solid rgba(84, 155, 162, 0.2);
}

.dossier-infographie {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.dossier-article-content {
    padding: clamp(2rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    line-height: 1.8;
}

.dossier-article-content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 1rem;
}

.dossier-article-content h3 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--accent);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.dossier-article-content p {
    margin-bottom: 1rem;
}

.dossier-article-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.dossier-article-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.dossier-article-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.dossier-article-content ul li strong {
    color: #fff;
}

@media (max-width: 768px) {
    .dossier-tab {
        font-size: 0.72rem;
        padding: 12px 18px;
    }
    .dossier-tab.active {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .dossier-tab {
        padding: 10px 14px;
        font-size: 0.68rem;
    }
    .dossier-tab.active {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .levier-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        max-width: 320px !important;
    }
    .levier-grid > div {
        aspect-ratio: 16/9 !important;
    }
}

@media (max-width: 480px) {
    .chatbot {
        top: auto;
        bottom: 200px;
        right: 16px;
    }

    .chatbot-trigger {
        width: 42px;
        height: 42px;
    }

    .chatbot-trigger svg {
        width: 20px;
        height: 20px;
    }

    .chatbot-panel {
        width: calc(100vw - 32px);
        right: 0;
        bottom: 52px;
        top: auto;
        height: 420px;
    }

    .chatbot-tooltip {
        display: none;
    }

    .phone-fab {
        top: auto;
        bottom: 148px;
        right: 16px;
        width: 42px;
        height: 42px;
    }

    .phone-fab svg {
        width: 20px;
        height: 20px;
    }

    .phone-tooltip {
        display: none;
    }

    .lang-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        top: auto;
        bottom: 96px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 0.65rem;
    }

    .back-to-top {
        bottom: 32px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}
