/**
 * GALIS - Design d'Espace & Evenementiel
 * Stylesheet principal
 * Version: 2.1.0
 *
 * Table des matieres:
 * 1. Variables & Reset
 * -- Composants reutilisables (.btn-circle, .nav-dot)
 * 2. Header / Navigation
 * 3. Hero
 * 4. Carousel
 * 5. Composant Polaroid
 * 6. Categories
 * 7. Gallery
 * 8. Focus Sur
 * 9. Services
 * 10. FAQ
 * 11. CTA Sticky Bar
 * 12. Testimonials
 * 13. News
 * 14. Clients
 * 15. Footer
 * 16. Responsive
 * 17. Accessibility & Print
 */

/* ============================================
   1. VARIABLES & RESET
   ============================================ */
:root {
    /* Couleurs principales */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-yellow: #FFB800;
    --color-gray-light: #F5F5F5;
    --color-gray: #888888;
    --color-gray-dark: #333333;
    --color-green: #75ff2c;
    --color-orange: #FF6600;

    /* Typographie */
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Curseur personnalise — Triangle isocele avec ombre portee */
    --cursor-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='42' viewBox='-2 -2 34 42'%3E%3Cpolygon points='4,5.5 29.5,27.8 11.3,38.4' fill='%23000' fill-opacity='0.25' stroke='%23000' stroke-opacity='0.08' stroke-width='3' stroke-linejoin='round'/%3E%3Cpolygon points='1.5,1.5 26.5,23.8 8.3,34.4' fill='%23FFFFFF' stroke='%23000' stroke-width='0.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, auto;
    --cursor-yellow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='42' viewBox='-2 -2 34 42'%3E%3Cpolygon points='4,5.5 29.5,27.8 11.3,38.4' fill='%23000' fill-opacity='0.25' stroke='%23000' stroke-opacity='0.08' stroke-width='3' stroke-linejoin='round'/%3E%3Cpolygon points='1.5,1.5 26.5,23.8 8.3,34.4' fill='%23FFB800' stroke='%23000' stroke-width='0.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3, auto;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    /* Espacements */
    --spacing-section: 60px;
    --spacing-content: 60px;

    /* Ombres */
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    cursor: var(--cursor-white);
}

body {
    font-family: var(--font-main);
    background: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button {
    font-family: inherit;
    cursor: var(--cursor-yellow);
}

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

/* ============================================
   COMPOSANTS REUTILISABLES
   ============================================ */

/* Bouton circulaire generique */
.btn-circle {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: var(--cursor-yellow);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

/* Survol limité aux pointeurs qui survolent vraiment : sur tactile, le :hover
   reste collé après un tap (bouton accessibilité « plein blanc », icône invisible). */
@media (hover: hover) {
    .btn-circle:hover {
        background: currentColor;
    }

    .btn-circle:hover svg {
        color: var(--color-white);
    }
}

/* Variante petite */
.btn-circle--small {
    width: 36px;
    height: 36px;
}

/* Dot de navigation generique */
.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: var(--cursor-yellow);
    transition: var(--transition-fast);
}

/* ============================================
   2. HEADER / NAVIGATION
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--color-white);
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
}

#header.scrolled {
    padding: 12px 40px;
}

#header.scrolled .logo img {
    height: 40px;
}

#header.scrolled .nav-main a,
#header.scrolled .nav-main .nav-dropdown-toggle {
    font-size: 0.6875em;
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav-main a,
.nav-main .nav-dropdown-toggle {
    color: var(--color-black);
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
}

/* Parent de menu non-cliquable : intitulé de groupe, pas de curseur lien */
.nav-main span.nav-dropdown-toggle {
    cursor: default;
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transition: var(--transition-smooth);
}

.nav-main a:hover::after {
    width: 100%;
}

.nav-brief-btn {
    background: var(--color-yellow);
    color: var(--color-black);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-brief-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

#header.scrolled .nav-brief-btn {
    padding: 8px 16px;
    font-size: 0.625em;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875em;
    font-weight: 600;
    flex-shrink: 0;
}

/* Header sans menu (landing pages) : plus de nav pour occuper le centre,
   le sélecteur de langue est poussé à droite. */
#header.header--no-nav .lang-switcher {
    margin-left: auto;
}

.lang-option {
    color: var(--color-black);
    text-transform: uppercase;
    transition: var(--transition-fast);
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: var(--cursor-yellow);
}

.lang-option.active {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lang-option:hover {
    color: var(--color-orange);
}

.lang-separator {
    color: var(--color-gray);
}

/* Burger + extras mobiles : n'existent visuellement qu'à ≤ 768 px (cf. RESPONSIVE) */
.nav-burger,
.nav-mobile-extra {
    display: none;
}

/* Dropdown menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 30px;
    background: transparent;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    padding: 12px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 100;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--color-white);
    border-top: 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 24px;
    font-size: 0.6875em;
    font-weight: 500;
    color: var(--color-black);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    background: var(--color-gray-light);
    color: var(--color-orange);
}

.nav-dropdown-menu a::after {
    display: none;
}

/* ============================================
   3. HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: var(--color-black);
}

.hero-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-black);
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: 100%;
}

.hero-subtitle {
    font-size: 0.875em;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ============================================
   4. CAROUSEL
   ============================================ */
.carousel {
    background: var(--color-black);
    text-align: center;
    overflow: hidden;
}

.carousel-header {
    text-align: center;
}

.transition-line-1 {
    background: var(--color-white);
    padding: 8px 40px;
    text-align: center;
    overflow: hidden;
}

.transition-line-1 span {
    display: inline-block;
    font-size: clamp(2.1em, 5.6vw, 4.375em);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--color-black);
}

.transition-line-2 {
    background: var(--color-black);
    padding: 12px 40px 18px;
    text-align: center;
    overflow: hidden;
}

.transition-line-2 span {
    display: inline-block;
    font-size: clamp(2.1em, 5.6vw, 4.375em);
    font-weight: 900;
    line-height: 0.7;
    letter-spacing: -2px;
    color: var(--color-white);
}

.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 30px 40px 60px;
    perspective: 1000px;
}

.carousel-container .polaroid-frame {
    margin-top: 40px;
    margin-bottom: 40px;
}

.carousel .polaroid-blur-bg {
    display: none;
}

.carousel .polaroid-frame {
    padding: 0;
    box-shadow: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-container:active {
    cursor: var(--cursor-yellow);
}

/* ============================================
   5. COMPOSANT POLAROID
   ============================================ */
.polaroid-frame {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    min-width: 240px;
    max-width: 100%;
    scroll-snap-align: center;
    padding: 20px;
    font-size: clamp(0.75em, 2.5vw, 1em);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.6s ease,
                box-shadow 0.6s ease;
    transform-origin: center center;
    box-shadow: var(--shadow-medium);
}

/* Polaroid cliquable */
a.polaroid-frame {
    display: block;
    cursor: var(--cursor-yellow);
}

/* Etats de zoom pour l'animation carrousel 3D */
.polaroid-frame.zoom-active {
    transform: scale(1.25);
    z-index: 10;
    filter: brightness(1);
}

.polaroid-frame.zoom-adjacent {
    transform: scale(1);
    z-index: 5;
    filter: brightness(0.9);
}

.polaroid-frame.zoom-far {
    transform: scale(0.85);
    z-index: 1;
    filter: brightness(0.8);
}

.polaroid-frame.zoomed {
    transform: scale(1.15);
    z-index: 10;
}

/* Image de fond avec blur */
.polaroid-blur-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.polaroid-blur-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px);
    transform: scale(1.15);
}

/* Cadre blanc principal */
.polaroid-card {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    border-radius: 14px;
    padding: 14px;
    padding-bottom: 40px;
}

/* Zone image */
.polaroid-image-area {
    position: relative;
}

/* Bloc titre */
.polaroid-title-block {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-white);
    color: var(--color-black);
    padding: 10px 14px;
    border-radius: 0 0 14px 0;
    z-index: 2;
}

/* Pas de pseudo decoratif sous la tetiere — le border-radius du bloc suffit,
   les precedents radial-gradients laissaient des aberrations visuelles. */

.polaroid-type {
    font-size: 1em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    display: block;
}

/* Image nette */
.polaroid-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-gray-light);
}

/* Fallback Safari pour aspect-ratio */
@supports not (aspect-ratio: 3/4) {
    .polaroid-image {
        position: relative;
        padding-bottom: 133.33%;
        height: 0;
    }
    .polaroid-image img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.polaroid-frame:hover .polaroid-image img {
    transform: scale(1.05);
}

/* Footer Polaroid */
.polaroid-footer {
    position: absolute;
    bottom: 10px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-black);
}

.polaroid-location {
    font-size: 0.72em;
    font-weight: 500;
}

.polaroid-logo {
    flex-shrink: 0;
    height: 1.2em;
    width: auto;
}

.polaroid-logo img {
    height: 100%;
    width: auto;
}

/* ============================================
   6. CATEGORIES
   ============================================ */
.categories {
    background: var(--color-black);
    padding: 0 0 40px;
}

.categories-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 40px;
}

.category-separator {
    color: var(--color-white);
    opacity: 0.3;
}

.category-link {
    color: var(--color-white);
    font-size: 0.6875em;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0.5;
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transition: var(--transition-smooth);
}

.category-link:hover::after,
.category-link.active::after {
    width: 100%;
}

.category-link:hover,
.category-link.active {
    color: var(--color-yellow);
    opacity: 1;
}

/* ============================================
   7. GALLERY
   ============================================ */
.gallery {
    background: var(--color-white);
    padding: var(--spacing-section) 0;
}

.gallery-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--spacing-content);
    margin-bottom: 30px;
    position: relative;
}

/* Titre de section unifie */
.section-title,
.gallery-title,
.news-header h2,
.news-header h1,
.clients-header h2 {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
}

.footer-members-logos img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 0.8125em;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.footer-bottom a {
    transition: var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--color-yellow);
}


/* Variante sombre du slider de réalisations (page Le Groupe : sous chaque
   présentation, collé à elle comme les anciennes sous-sections) */
.gallery.gallery--dark {
    background: var(--color-black);
    padding-top: 0;
}

/* Respiration entre la présentation qui précède et le titre du slider */
.gallery--dark .gallery-header {
    padding-top: clamp(40px, 5vw, 72px);
}

.gallery--dark .gallery-title,
.gallery--dark .gallery-item-label,
.gallery--dark .gallery-item-surface {
    color: var(--color-white);
}

.gallery--dark .gallery-item-sector {
    color: rgba(255, 255, 255, 0.7);
}

.gallery--dark .gallery-prev,
.gallery--dark .gallery-next {
    color: var(--color-white);
    border-color: var(--color-white);
}

.gallery--dark .gallery-prev:hover,
.gallery--dark .gallery-next:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.gallery--dark .gallery-dot {
    background: rgba(255, 255, 255, 0.3);
}

.gallery--dark .gallery-dot.active {
    background: var(--color-white);
}

/* ============================================
   16. RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --spacing-section: 80px;
        --spacing-content: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 60px;
        --spacing-content: 20px;
    }
}

.gallery-slider {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 0 60px;
    width: fit-content;
}

.gallery-item {
    flex: 0 0 350px;
    width: 350px;
}

.gallery-item-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

/* Fallback Safari pour aspect-ratio */
@supports not (aspect-ratio: 4/3) {
    .gallery-item-image {
        padding-bottom: 75%;
        height: 0;
    }
    .gallery-item-image img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-item-image img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: var(--color-white);
    font-size: 0.875em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item-label {
    margin-top: 12px;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Meta vignette : secteur (gauche) + superficie (droite, gros) */
.gallery-item-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 16px;
    margin-top: 12px;
}

.gallery-item-meta .gallery-item-label {
    margin: 0;
    grid-column: 1;
    grid-row: 1;
}

.gallery-item-sector {
    grid-column: 1;
    grid-row: 2;
    margin-top: 2px;
    font-size: 0.6875em;
    font-weight: 500;
    color: var(--color-gray-dark, #555);
    letter-spacing: 0.5px;
}

.gallery-item-surface {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 1.15em;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Navigation galerie */
.gallery-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-prev,
.gallery-next {
    color: var(--color-black);
    border-color: var(--color-black);
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--color-black);
}

.gallery-dots {
    display: flex;
    gap: 10px;
}

.gallery-dot {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.gallery-dot.active {
    background: var(--color-black);
}

/* ============================================
   8. FOCUS SUR
   ============================================ */
.focus {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Fond flou pleine largeur */
.focus-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.focus-bg img {
    position: absolute;
    width: 120vw;
    height: 120vh;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
    filter: blur(8px);
}

/* Overlay sombre pour contraste */
.focus-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Titre en haut */
.focus-title {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 2;
    color: var(--color-white);
    font-size: clamp(2.1em, 5.6vw, 4.375em);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.7;
    text-align: center;
}

/* Container pour le Polaroid */
.focus-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Polaroid Focus */
.focus .polaroid-focus {
    width: 468px;
    max-width: 90vw;
    font-size: clamp(0.875em, 3vw, 1.25em);
    transition: none !important;
    filter: none !important;
}

/* Desactiver les animations du carousel sur le focus */
.focus .polaroid-focus.zoom-active,
.focus .polaroid-focus.zoom-adjacent,
.focus .polaroid-focus.zoom-far,
.focus .polaroid-focus.zoomed {
    transform: none;
    filter: none !important;
}

.focus .polaroid-focus .polaroid-card {
    box-shadow: var(--shadow-heavy);
}

.focus .polaroid-focus .polaroid-blur-bg {
    display: none;
}

.focus .polaroid-focus .polaroid-title-block::after {
    display: none;
}

.focus .polaroid-focus .polaroid-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.focus .polaroid-focus .polaroid-image img {
    position: absolute;
    width: 120vw;
    height: 120vh;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: none !important;
}

.focus .polaroid-focus:hover .polaroid-image img {
    transform: translate(-50%, -50%);
}

/* ============================================
   9. SERVICES
   ============================================ */
.services {
    background: var(--color-gray-light);
    padding: var(--spacing-section) var(--spacing-content);
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 40px;
    align-items: stretch;
}

/* Une ou deux cartes : la grille se réduit à autant de colonnes et se recentre
   (elle est déjà en `margin: 0 auto`). Les cartes gardent la largeur qu'elles ont
   à trois colonnes — (1400 − 2 × 40) / 3 = 440 px — pour que la mise en page reste
   la même d'une page à l'autre. On plafonne par `max-width` plutôt que par des
   colonnes fixes : entre 769 px et 920 px, la grille se contente de la place
   disponible au lieu de déborder.
   Cantonné au-dessus de 768 px : le bloc mobile met la grille en une colonne, et
   `:has()` prend la spécificité de son argument — ces règles l'emporteraient
   sinon sur la media query, qui n'en ajoute aucune. */
@media (min-width: 769px) {
    .services-grid:has(.service-card:first-child:last-child) {
        grid-template-columns: minmax(0, 1fr);
        max-width: 440px;
    }

    .services-grid:has(.service-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 920px;
    }
}

.service-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

/* Fallback Safari pour aspect-ratio */
@supports not (aspect-ratio: 16/10) {
    .service-image {
        padding-bottom: 62.5%;
        height: 0;
    }
    .service-image img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title {
    font-size: 1.125em;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-desc {
    font-size: 0.875em;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-btn,
.news-btn {
    display: inline-block;
    align-self: flex-end;
    margin-top: auto;
    padding: 10px 20px;
    background: var(--color-yellow);
    color: var(--color-black);
    font-size: 0.6875em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.service-btn:hover,
.news-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Service card entièrement cliquable avec stretched link */
.service-card {
    position: relative;
    cursor: var(--cursor-yellow);
}

.service-card .service-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Highlight du bouton au hover de la carte */
.service-card:hover .service-btn {
    background: var(--color-black);
    color: var(--color-white);
}

/* ============================================
   10. FAQ
   ============================================ */
.faq {
    background: var(--color-white);
    padding: var(--spacing-section) var(--spacing-content);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.faq-title-block {
    background: var(--color-black);
    color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
}

.faq-title-block h2,
.faq-title-block h3 {
    font-size: 3em;
    font-weight: 900;
    line-height: 1;
}

.faq-intro {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 40px;
    line-height: 1.3;
    max-width: 1200px;
    padding-left: 180px;
}

.faq-list {
    list-style: none;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
}

.faq-question span {
    font-size: 1rem;
    font-size: max(1rem, 16px);
    font-weight: 500;
    color: var(--color-black);
    -webkit-text-size-adjust: 100%;
}

.faq-arrow {
    font-size: 1.25em;
    color: var(--color-yellow);
    transition: var(--transition-fast);
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-answer-content {
    padding: 0 0 20px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* ============================================
   11. CTA STICKY BAR
   ============================================ */
#cta {
    position: fixed;
    bottom: 10px;
    left: 50%;
    width: calc(100% - 30px);
    max-width: 900px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.66);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 12px;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-heavy);
    transform: translateX(-50%) translateY(calc(100% + 25px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

#cta.visible {
    transform: translateX(-50%);
    opacity: 1;
    pointer-events: auto;
}

.cta-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 50px;
    min-width: 0;
}

.cta-eco-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-eco {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cta-eco-icon-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cta-eco-icon {
    height: 24px;
    width: auto;
    color: var(--color-green);
}

.cta-eco-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-eco-stats {
    font-size: 9px;
    color: var(--color-white);
    opacity: 1;
    line-height: 1.3;
}

.cta-brief-btn {
    background: var(--color-yellow);
    color: var(--color-black);
    padding: 16px 28px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition-smooth), top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 0;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

.cta-brief-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Libellé court du bouton brief : mobile uniquement */
.cta-brief-label--mobile {
    display: none;
}

.cta-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
}

.cta-scroll-up {
    color: var(--color-white);
    border-color: var(--color-white);
}

@media (hover: hover) {
    .cta-scroll-up:hover {
        background: var(--color-white);
        color: var(--color-black);
    }
}

/* A11y toggle active state (in CTA bar) */
#cta-a11y-btn.active {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
}

#cta-a11y-btn img {
    filter: brightness(0) invert(1);
}

#cta-a11y-btn.active img {
    filter: brightness(0);
}

/* A11yToolkit overrides — embed panel inside CTA bar */
#a11y-tk-container {
    display: none !important;
}

.cta-a11y-row .a11y-tk-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-a11y-row .a11y-tk-panel[aria-hidden="false"] {
    max-height: 130px;
    padding: 8px 0 10px;
    overflow: visible;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Brief button descends when panel is open */
#cta:has(.a11y-tk-panel[aria-hidden="false"]) .cta-brief-btn {
    top: 0;
}

/* ============================================
   12. TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--color-black);
    padding: var(--spacing-section) var(--spacing-content);
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 30px;
}

.testimonials-header h2 {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    max-width: 85vw;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

/* Témoignage vidéo */
.testimonial-video {
    background: var(--color-gray-dark);
}

.testimonial-video-container {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

/* Fallback Safari pour aspect-ratio */
@supports not (aspect-ratio: 16/10) {
    .testimonial-video-container {
        padding-bottom: 62.5%;
        height: 0;
    }
}

.testimonial-video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: var(--cursor-yellow);
}

.testimonial-video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.testimonial-video-placeholder:hover img {
    transform: scale(1.05);
}

.testimonial-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-yellow);
    border: none;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: var(--cursor-yellow);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-medium);
}

.testimonial-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--color-white);
}

.testimonial-play-btn svg {
    margin-left: 4px;
}

/* Témoignage texte */
.testimonial-text {
    background: var(--color-white);
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    padding: 40px 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    color: var(--color-yellow);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.testimonial-blockquote {
    margin: 0;
    flex-grow: 1;
}

.testimonial-blockquote p {
    font-size: 1em;
    color: var(--color-gray-dark);
    line-height: 1.7;
    font-style: italic;
}

/* Info commune */
.testimonial-info {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.05);
}

.testimonial-video .testimonial-info {
    background: rgba(0, 0, 0, 0.3);
}

.testimonial-company {
    font-size: 0.875em;
    font-weight: 800;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.testimonial-video .testimonial-company {
    color: var(--color-white);
}

.testimonial-author {
    font-size: 0.75em;
    color: var(--color-gray);
}

.testimonial-video .testimonial-author {
    color: rgba(255, 255, 255, 0.7);
}

/* Étoiles notation */
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-top: 10px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: var(--color-yellow);
}

.testimonial-video .testimonial-stars svg {
    color: var(--color-yellow);
}

/* Alignement bandeau info vidéo vers le bas */
.testimonial-video {
    display: flex;
    flex-direction: column;
}

.testimonial-video .testimonial-video-container {
    flex-grow: 1;
}

/* Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonials-prev,
.testimonials-next {
    color: var(--color-white);
    border-color: var(--color-white);
}

.testimonials-prev:hover,
.testimonials-next:hover {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
    color: var(--color-black);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-dot.active {
    background: var(--color-yellow);
}

/* Vignette vidéo sans image de fond : fond uni */
.testimonial-video-placeholder {
    background: var(--color-gray-dark);
}

/* Troncature du témoignage texte trop long */
.testimonial-text .testimonial-blockquote p {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card.testimonial-text.is-truncated {
    cursor: pointer;
}

.testimonial-card.testimonial-text.is-truncated .testimonial-content::after {
    content: "Lire la suite";
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-yellow);
}

/* Popup témoignage (vidéo / texte) */
.testimonial-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    padding: 24px;
}

.testimonial-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-modal-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.testimonial-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-black);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.testimonial-modal-close:hover {
    background: var(--color-yellow);
}

.testimonial-modal-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.testimonial-modal-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.testimonial-modal-text {
    max-width: 640px;
    margin: 0 auto;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--color-white);
    border-radius: 12px;
    padding: 40px 32px;
}

.testimonial-modal-text .testimonial-blockquote p {
    display: block;
    -webkit-line-clamp: none;
    overflow: visible;
}

.testimonial-modal-info {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ---------- Bloc testimonials_list : grille 3 colonnes ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Reset des contraintes héritées du slider sur les cards en grille */
.testimonials-grid .testimonial-card {
    width: auto;
    max-width: none;
    flex-shrink: initial;
    scroll-snap-align: initial;
}

@media (max-width: 980px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LIGHTBOX RÉALISATIONS
   ============================================ */
.realisation-card-image {
    cursor: pointer;
}

.realisations-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    padding: 64px 24px;
}

.realisations-lightbox.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.realisations-lightbox-figure {
    margin: 0;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.realisations-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

.realisations-lightbox-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-family: var(--font-main);
    color: var(--color-white);
}

.realisations-lightbox-title {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.realisations-lightbox-sector {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.realisations-lightbox-surface {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-yellow);
}

.realisations-lightbox-close,
.realisations-lightbox-nav {
    position: absolute;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-black);
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.realisations-lightbox-close:hover,
.realisations-lightbox-nav:hover {
    background: var(--color-yellow);
}

.realisations-lightbox-close {
    top: 20px;
    right: 24px;
    font-size: 26px;
}

.realisations-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
}

.realisations-lightbox-prev {
    left: 24px;
}

.realisations-lightbox-next {
    right: 24px;
}

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

@media (max-width: 600px) {
    .realisations-lightbox {
        padding: 56px 12px;
    }

    .realisations-lightbox-close,
    .realisations-lightbox-nav {
        width: 38px;
        height: 38px;
    }

    .realisations-lightbox-close {
        top: 12px;
        right: 12px;
        font-size: 22px;
    }

    .realisations-lightbox-nav {
        font-size: 24px;
    }

    .realisations-lightbox-prev {
        left: 10px;
    }

    .realisations-lightbox-next {
        right: 10px;
    }
}

/* ============================================
   13. NEWS
   ============================================ */
.news {
    background: var(--color-gray-light);
    padding: var(--spacing-section) var(--spacing-content) 200px;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.news-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: var(--cursor-yellow);
    transition: var(--transition-fast);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

/* Stretched link pour news card */
.news-card .news-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Highlight du bouton au hover de la carte */
.news-card:hover .news-btn {
    background: var(--color-black);
    color: var(--color-white);
}

.news-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

/* Fallback Safari pour aspect-ratio */
@supports not (aspect-ratio: 16/10) {
    .news-image {
        padding-bottom: 62.5%;
        height: 0;
    }
    .news-image img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-date {
    font-size: 0.75em;
    color: var(--color-gray);
}

.news-tag {
    font-size: 0.625em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    background: #1E3A8A;
    color: var(--color-white);
}

.news-tag.vie { background: #DC2626; }
.news-tag.stand { background: var(--color-black); }

.news-title {
    font-size: 1em;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 12px;
    line-height: 1.3;
    text-transform: uppercase;
}

.news-excerpt {
    font-size: 0.875em;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* ---------- Bloc archive : filtres année / catégorie ---------- */
.news-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

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

.news-filter-group label {
    font-size: 0.6875em;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray);
}

.news-filters select {
    appearance: none;
    -webkit-appearance: none;
    font-family: var(--font-main);
    font-size: 0.875em;
    font-weight: 600;
    color: var(--color-black);
    background-color: var(--color-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 11px 38px 11px 14px;
    min-width: 180px;
    cursor: var(--cursor-yellow);
    transition: var(--transition-fast);
}

.news-filters select:hover,
.news-filters select:focus {
    border-color: var(--color-black);
    outline: none;
}

.news-filters-submit {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    box-shadow: none;
    font-family: var(--font-main);
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    background: var(--color-black);
    border-radius: 6px;
    padding: 13px 26px;
    cursor: var(--cursor-yellow);
    transition: var(--transition-fast);
}

.news-filters-submit:hover {
    background: var(--color-yellow);
    color: var(--color-black);
}

/* ---------- Bloc archive : grille 3 colonnes fixes ---------- */
/* Toujours 3 colonnes : un résultat filtré partiel (1 ou 2 cards) ne
   s'étire pas pour remplir la ligne — il occupe 1 ou 2 emplacements sur 3. */
.news-grid--archive {
    grid-template-columns: repeat(3, 1fr);
    justify-content: start;
}

@media (max-width: 980px) {
    .news-grid--archive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-grid--archive {
        grid-template-columns: 1fr;
    }
}

/* ---------- Bloc archive : pagination ---------- */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.news-pagination-btn {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    background: var(--color-black);
    border-radius: 6px;
    padding: 12px 24px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-pagination-btn:hover {
    background: var(--color-yellow);
    color: var(--color-black);
}

.news-pagination-btn.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.news-pagination-info {
    font-size: 0.8125em;
    font-weight: 600;
    color: var(--color-gray);
}

.news-empty {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-gray);
    padding: 40px 0;
}

@media (max-width: 600px) {
    .news-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .news-filters select {
        width: 100%;
    }
    .news-filters-submit {
        width: 100%;
    }
    .news-pagination {
        gap: 12px;
    }
}

/* ============================================
   13b. ACTUALITÉ — PAGE DE DÉTAIL
   ============================================ */
.actualite-detail {
    background: var(--color-white);
    color: var(--color-black);
    padding: var(--spacing-section) var(--spacing-content) 160px;
}

.actualite-detail .actualite-detail-inner {
    max-width: 820px;
    margin: 0 auto;
}

.actualite-detail .editorial-section-number {
    color: var(--color-black);
}

.actualite-detail-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.actualite-detail-date {
    font-size: 0.8125em;
    font-weight: 600;
    color: var(--color-gray);
}

.actualite-detail-tag {
    font-size: 0.625em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 4px;
    background: #1E3A8A;
    color: var(--color-white);
}

.actualite-detail-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 40px;
}

.actualite-detail-visuel {
    margin: 0 0 48px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.actualite-detail-visuel img {
    display: block;
    width: 100%;
    height: auto;
}

.actualite-detail-content {
    font-size: 1.0625em;
    line-height: 1.7;
    color: var(--color-gray-dark);
}

.actualite-detail-content > *:first-child {
    margin-top: 0;
}

.actualite-detail-content h2,
.actualite-detail-content h3 {
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 40px 0 16px;
}

/* Ancien H1 saisi dans le texte d'un article repris de l'ancien site, rétrogradé
   en H2 (le H1 de la page est le titre de l'article) : on garde son rendu d'origine,
   celui d'un h1 nu : 2em (taille par défaut du navigateur), gras, sans capitales,
   et sans marge (remise à zéro globale `* { margin: 0 }`). */
.actualite-detail-content h2.titre-article {
    font-size: 2em;
    color: inherit;
    text-transform: none;
    letter-spacing: normal;
    margin: 0;
}

.actualite-detail-content p {
    margin: 0 0 20px;
}

.actualite-detail-content a {
    color: var(--color-orange);
}

.actualite-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.actualite-detail-document {
    margin: 48px 0 0;
}

.actualite-detail-footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.actualite-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition-fast);
}

.actualite-detail-back:hover {
    color: var(--color-orange);
}

@media (max-width: 768px) {
    .actualite-detail {
        padding: 48px 24px 100px;
    }
}

/* ============================================
   14. CLIENTS
   ============================================ */
.clients {
    background: var(--color-white);
    padding: var(--spacing-section) 0;
    overflow: hidden;
}

.clients-header {
    text-align: center;
    margin-bottom: 45px;
}

.clients-slider {
    display: flex;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
}

.clients-slider:hover {
    animation-play-state: paused;
}

.clients-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 80px;
    padding: 0 40px;
}

.client-logo {
    flex-shrink: 0;
    width: 150px;
    height: 75px;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-smooth);
}

.client-logo:hover {
    transform: scale(1.25);
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}



/* ============================================
   15. FOOTER
   ============================================ */
#footer {
    background: var(--color-black);
    padding: var(--spacing-content);
    color: var(--color-white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-self: end;
    gap: 20px;
}

.footer-logo {
    height: 50px;
}

.footer-logo img {
    height: 100%;
    width: auto;
}

.footer-address {
    text-align: right;
    font-size: 0.8125em;
    line-height: 1.6;
    opacity: 0.8;
    font-style: normal;
}

.footer-address a {
    color: inherit;
}

.footer-address a:hover {
    color: var(--color-yellow);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-self: start;
}

.footer-links a {
    font-size: 0.8125em;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.footer-members {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-members-title {
    font-size: 0.6875em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.footer-members-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    #header {
        padding: 16px 20px;
    }

    #header.scrolled {
        padding: 10px 20px;
    }

    #header.scrolled .logo img {
        height: 35px;
    }

    /* ---- Menu mobile (burger) ----
       La nav devient un panneau sous le header, ouvert par .nav-burger
       (classe nav-open sur #header, posée par initMobileNav()). Contact et
       langues sont masqués dans la barre et rendus dans .nav-mobile-extra. */
    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 0 24px;
        max-height: calc(100vh - 100%);
        max-height: calc(100dvh - 100%);
        overflow-y: auto;
        background: var(--color-white);
        box-shadow: var(--shadow-light);
        border-top: 1px solid var(--color-gray-light);
    }

    #header.nav-open .nav-main {
        display: flex;
    }

    .nav-main > a,
    .nav-main .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px;
        font-size: 0.875em;
        border-bottom: 1px solid var(--color-gray-light);
    }

    .nav-main a::after {
        display: none;
    }

    /* Parents de menu : accordéon (chevron), enfants indentés */
    .nav-dropdown-toggle::before {
        display: none;
    }

    .nav-dropdown-toggle::after {
        content: '';
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--color-black);
        border-bottom: 2px solid var(--color-black);
        transform: rotate(45deg);
        transition: var(--transition-fast);
        margin-left: 12px;
        flex-shrink: 0;
    }

    .nav-dropdown.is-open .nav-dropdown-toggle::after {
        transform: rotate(-135deg);
    }

    .nav-main span.nav-dropdown-toggle {
        cursor: pointer;
    }

    .nav-dropdown-menu {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        background: var(--color-gray-light);
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        transform: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 12px 24px 12px 40px;
        font-size: 0.8125em;
        white-space: normal;
        border-bottom: 1px solid var(--color-white);
    }

    /* Contact + langues dans le panneau */
    .nav-mobile-extra {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 24px 0;
    }

    .nav-brief-btn {
        display: none;
    }

    .nav-mobile-extra .nav-brief-btn {
        display: inline-block;
    }

    .lang-switcher {
        display: none;
    }

    .nav-mobile-extra .lang-switcher {
        display: flex;
        font-size: 0.875em;
    }

    /* Header sans menu (landing pages) : pas de burger, donc le sélecteur
       de langue reste dans la barre, à droite du logo. */
    #header.header--no-nav .lang-switcher {
        display: flex;
    }

    /* Bouton burger : à droite du logo */
    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 10px;
        appearance: none;
        -webkit-appearance: none;
        border: none;
        outline: none;
        box-shadow: none;
        background: transparent;
        cursor: pointer;
    }

    .nav-burger-bar {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--color-black);
        border-radius: 2px;
        transition: var(--transition-fast);
    }

    #header.nav-open .nav-burger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    #header.nav-open .nav-burger-bar:nth-child(2) {
        opacity: 0;
    }

    #header.nav-open .nav-burger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Pas de scroll de page derrière le panneau ouvert */
    body.nav-locked {
        overflow: hidden;
    }

    /* 11 · Vidéo d'accueil moins haute */
    .hero {
        height: 70vh;
        height: 70svh;
    }

    /* 15 · Titre « À l'affiche en ce moment » : interlignage du retour à la ligne */
    .focus-title {
        line-height: 0.95;
        letter-spacing: -1px;
        padding: 0 20px;
    }

    /* 16 · Cartes Expertises (bloc services_cards, .services-grid) les unes sous les autres */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* 16 · Polaroïds (carousel) les uns sous les autres */
    .carousel-container {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        padding: 20px;
    }

    .carousel-container .polaroid-frame {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .polaroid-card {
        width: 280px;
    }

    /* 13 · Pas de menu de liens sous les cartes activités */
    .categories {
        display: none;
    }

    /* 14 · Galerie réalisations : une carte centrée, flèches seules dessous */
    .gallery-header {
        flex-direction: column;
        gap: 20px;
    }

    .gallery-track {
        padding: 0 20px;
    }

    .gallery-item {
        flex: 0 0 calc(100vw - 80px);
        width: calc(100vw - 80px);
    }

    .gallery-dots {
        display: none;
    }

    /* 18 · Titre « Ils nous font confiance » : marges latérales */
    .clients-header h2 {
        padding: 0 20px;
        line-height: 1.3;
    }

    .faq-container {
        grid-template-columns: 1fr;
    }

    .faq-intro {
        padding-left: 0;
    }

    /* 17 · Témoignages : une card centrée, flèches seules dessous */
    .testimonials-slider {
        padding-left: 20px;
        padding-right: 20px;
        scroll-padding: 0 20px;
    }

    .testimonial-card {
        width: calc(100vw - 80px);
        max-width: none;
    }

    .testimonials-dots {
        display: none;
    }

    .testimonial-content {
        padding: 30px 20px 20px;
    }

    .testimonial-blockquote p {
        font-size: 0.875em;
    }

    .testimonials-nav {
        gap: 12px;
    }

    .testimonials-prev,
    .testimonials-next {
        width: 40px;
        height: 40px;
    }

    /* 19 · Footer tout centré */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-info {
        align-items: center;
        justify-self: center;
    }

    .footer-address {
        text-align: center;
    }

    .footer-links {
        align-items: center;
        justify-self: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* 20 · Logos associations : 2 colonnes, logos centrés dans leur colonne */
    .footer-members-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        align-items: center;
        gap: 28px 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* CTA responsive — UNE seule ligne : [accessibilité] [Briefez-nous] [remonter],
       le bloc « Site éco-conçu » est masqué (demande client 2026-09-22). */
    #cta {
        width: calc(100% - 20px);
        padding: 10px 16px;
    }

    .cta-container {
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: space-between;
    }

    .cta-brief-btn {
        order: 0;
        flex: 0 0 auto;
        padding: 10px 18px;
        font-size: 11px;
        letter-spacing: 1px;
    }

    .cta-eco-group {
        display: none;
    }

    .cta-brief-label--desktop {
        display: none;
    }

    .cta-brief-label--mobile {
        display: inline;
    }

    .cta-left {
        flex: 0 0 auto;
        gap: 12px;
    }

    .cta-right {
        flex: 0 0 auto;
        gap: 12px;
        min-width: 0;
    }

    .cta-a11y-row .a11y-tk-panel[aria-hidden="false"] {
        max-height: 200px;
    }
}

/* ============================================
   17. ACCESSIBILITY & PRINT
   ============================================ */

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .clients-slider {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-gray: #666666;
    }

    .filter-dot.light {
        border: 2px solid var(--color-black);
    }
}

/* Print styles */
@media print {
    #header,
    #cta,
    .hero-video-container,
    .clients-slider {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}

/* ============================================
   BREADCRUMB (fil d'Ariane — pages intérieures)
   ============================================ */
.breadcrumb {
    background: var(--color-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 40px;
    font-size: 0.8125em;
    color: var(--color-black);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-black);
    font-weight: 500;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
    margin-left: 8px;
}

.breadcrumb a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-orange);
}

.breadcrumb [aria-current="page"] {
    color: var(--color-black);
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 24px;
        font-size: 0.75em;
    }
}

/* ============================================
   PAGES INTÉRIEURES — STYLE AGENCE DE COM
   Typos XXL, visuels dominants, contrastes francs
   ============================================ */

/* Scope commun pour toutes les pages intérieures */
.inner-page {
    background: var(--color-white);
    color: var(--color-black);
}

.inner-page main {
    display: block;
    background: var(--color-white);
}

/* ---------- HERO ÉDITORIAL ---------- */
.editorial-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
    background: var(--color-black);
    /* isolate crée un stacking context pour que les mix-blend-mode des enfants
       (ex. h1 .h1-outline) fassent leur blend uniquement à l'intérieur du hero,
       sans remonter jusqu'au body ou autres sections derrière. */
    isolation: isolate;
}

/* Variante compacte (sans meta ni tagline) */
.editorial-hero.editorial-hero--compact {
    min-height: 52vh;
}

.editorial-hero--compact .editorial-hero-inner {
    /* Titre ferré tout en bas de l'image : aucun padding bottom */
    padding: 80px 5vw 0;
}

.editorial-hero.editorial-hero--compact .editorial-hero-title {
    /* Taille reduite par rapport a la version initiale (10.25rem → 8rem) */
    font-size: clamp(3rem, 7vw, 8rem) !important;
    margin: 0 !important;
    padding: 0 !important;
    /* "sur mesure." collé pile en bas de l'image (descender touche le bord bas) */
    margin-bottom: -0.15em !important;
    line-height: 0.95;
}

/* Accent jaune dans un H1 de hero (pour mettre en valeur une ligne) */
.editorial-hero .editorial-hero-title .accent {
    color: var(--color-yellow);
}

/* Première ligne du titre en incrustation : l'image remplit l'intérieur des lettres
   (background-clip: text) + un contrast-blend pour accentuer l'effet */
.editorial-hero .editorial-hero-title .h1-outline {
    color: var(--color-white);
    mix-blend-mode: screen;
    /* Force l'élément à créer son propre contexte de rendu pour que screen fonctionne */
    isolation: auto;
    display: inline-block;
}

/* Important : le parent doit ne PAS créer de stacking context isolé
   pour que mix-blend-mode remonte au niveau de l'image */
.editorial-hero-inner {
    isolation: auto;
}

@media (max-width: 768px) {
    .editorial-hero.editorial-hero--compact {
        min-height: 44vh;
    }
}


.editorial-hero-media {
    position: absolute;
    inset: 0;
    /* Pas de z-index : l'ordre DOM le place derrière .editorial-hero-inner qui vient après */
    overflow: hidden;
}

.editorial-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.05);
    transform-origin: center center;
    will-change: transform;
}

.editorial-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.7) 100%);
}

.editorial-hero-inner {
    position: relative;
    /* Pas de z-index : on laisse l'ordre DOM gérer l'empilement (inner vient après media).
       Cela permet à mix-blend-mode: screen sur les enfants de remonter jusqu'à l'image. */
    width: 100%;
    padding: 80px 5vw 6vw;
    color: var(--color-white);
}

.editorial-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    color: var(--color-yellow);
}

.editorial-eyebrow::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--color-yellow);
}

.editorial-hero .editorial-hero-title {
    font-size: clamp(3.5rem, 12vw, 14rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0 0 40px;
    text-transform: uppercase;
    color: var(--color-white);
}

.editorial-hero .editorial-hero-title .line {
    display: block;
    overflow: hidden;
}

.editorial-hero .editorial-hero-title .line > span {
    display: inline-block;
    will-change: transform;
}

/* ---------- BOUTONS XXL ---------- */
.btn-xl {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 24px 40px;
    background: var(--color-yellow);
    color: var(--color-black);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-xl::after {
    content: '\2192'; /* flèche → en échappement Unicode : insensible au charset */
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-xl:hover {
    background: var(--color-white);
    transform: translateY(-2px);
}

.btn-xl:hover::after {
    transform: translateX(6px);
}

.btn-xl.btn-xl-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-xl.btn-xl-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* ---------- SECTIONS ÉDITORIALES ---------- */
.editorial-section {
    padding: clamp(80px, 12vw, 180px) 5vw;
    position: relative;
}

.editorial-section.on-dark {
    background: var(--color-black);
    color: var(--color-white);
}

.editorial-section.on-yellow {
    background: var(--color-yellow);
    color: var(--color-black);
}

/* Variante compacte : sections dont le contenu est court
   (evite l'effet "festival" / trop d'espace vide vertical) */
.editorial-section.editorial-section--compact {
    padding-top: clamp(48px, 6vw, 96px);
    padding-bottom: clamp(48px, 6vw, 96px);
}

.editorial-section-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: block;
    color: inherit;
    opacity: 0.55;
}

.on-yellow .editorial-section-number {
    opacity: 0.7;
}

/* Chapter title — XXL */
.editorial-chapter-title {
    font-size: clamp(2.5rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0 0 64px;
}

.editorial-chapter-title .accent {
    color: var(--color-yellow);
}

.on-yellow .editorial-chapter-title .accent {
    color: var(--color-white);
}

.editorial-chapter-title .accent-white {
    color: var(--color-white);
}

/* ---------- DEUX COLONNES LISIBLES ---------- */
.editorial-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 120px);
    align-items: start;
}

/* Variante titre-gauche / texte-droite */
.editorial-two-col--title .col-left .editorial-section-number {
    margin-bottom: 24px;
}
.editorial-two-col--title .col-left .editorial-chapter-title {
    margin: 0;
}
/* Aligne par DEFAUT le bloc de texte de droite sur le HAUT du titre H2 de gauche.
   Le padding-top compense la hauteur du surtitre (.editorial-section-number)
   pour aligner le texte sur le titre H2 et non sur le surtitre. */
.editorial-two-col--title .col-right {
    align-self: start;
    padding-top: calc(0.75rem + 24px);
}

/* Variante (rare) : alignement sur la baseline BASSE du titre de gauche */
.editorial-two-col--align-bottom .col-right {
    align-self: end;
    padding-top: 0;
}

/* Conserve la classe --align-top pour compatibilite (no-op desormais) */
.editorial-two-col--align-top .col-right {
    align-self: start;
    padding-top: calc(0.75rem + 24px);
}

/* Figure illustrative dans la colonne de gauche (sous le titre) */
.editorial-col-figure {
    margin: clamp(40px, 5vw, 80px) 0 0;
    width: 100%;
}

.editorial-col-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.editorial-two-col .col-left {
    position: sticky;
    top: 100px;
}

.editorial-body {
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    line-height: 1.7;
    color: inherit;
}

.editorial-body p + p {
    margin-top: 1.4em;
}

.editorial-body a {
    text-decoration: underline;
}

/* Pas de lettrine sur les blocs editoriaux — regle de style globale */

/* Bloc d'introduction sous le titre d'une section (avant une liste, une galerie, etc.) */
.editorial-intro {
    max-width: 68ch;
    margin: clamp(24px, 3vw, 48px) 0 clamp(48px, 6vw, 80px);
}

.editorial-intro p {
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    line-height: 1.7;
    opacity: 0.9;
}

.editorial-intro p + p {
    margin-top: 1.2em;
}

.editorial-lead {
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
    line-height: 1.45;
    font-weight: 500;
    margin: 0 0 48px;
}

/* ============================================================
   SECTION INTRO TEAM-PARIS — header + 2 colonnes (full-width)
   ============================================================ */
.intro-header {
    max-width: none;
    margin: 0 0 clamp(48px, 6vw, 96px);
}

.intro-header .editorial-section-number {
    display: block;
    margin-bottom: 24px;
}

.intro-header .editorial-chapter-title {
    margin: 0 0 clamp(32px, 4vw, 56px);
}

.editorial-lead-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.6;
    margin: 0;
    color: rgba(0, 0, 0, 0.78);
}

.intro-twocol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
    max-width: none;
    margin: 0;
}

.intro-col-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0 0 24px;
}

.intro-col-title .accent {
    color: var(--color-yellow);
}

.intro-col p {
    margin: 0 0 18px;
    line-height: 1.65;
}

.intro-col p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .intro-twocol {
        grid-template-columns: 1fr;
    }
}

/* ---------- FIGURE / IMAGE ÉDITORIALE ---------- */
.editorial-figure {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
}

.editorial-figure img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---------- ÉQUIPES / CARTES TEAM (page Groupe, slide 03) ----------
   Montage en arborescence (organigramme) : toutes les photos
   ont la meme taille, les blocs sont centres et relies par des
   traits verticaux + horizontaux qui simulent les ramifications
   d'un organigramme hierarchique.
*/

/* Layout single-column : titre centre au-dessus + grille en dessous,
   l'ensemble centre dans la fenetre avec une large marge interieure. */
.team-single-col {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.team-section-header {
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 96px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.team-section-header .editorial-chapter-title {
    margin: 0;
}

.team-single-col .team-block {
    max-width: none;
    margin: 0;
}

.team-block {
    margin: 0 auto;
    max-width: 1400px;
    position: relative;
    padding-top: clamp(20px, 2.5vw, 36px);
    padding-bottom: clamp(20px, 2.5vw, 36px);
}

/* Trait vertical qui relie les blocs entre eux (entre 2 niveaux de l'organigramme) */
.team-block + .team-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: clamp(20px, 2.5vw, 36px);
    background: currentColor;
    opacity: 0.6;
    transform: translateX(-50%);
}

.team-block:first-of-type {
    padding-top: 0;
}

.team-block:last-of-type {
    padding-bottom: 0;
}

/* Ramification horizontale : trait qui relie les cartes d'un meme niveau
   a la trait vertical descendant du niveau superieur */
.team-block .team-grid {
    position: relative;
}

/* Plus de trait vertical individuel par carte : la barre horizontale
   au-dessus de la grille suffit a indiquer la ramification du niveau.
   (Evite les traits parasites au-dessus des cartes de la 2e rangee quand
   le grid passe en multi-lignes). */
.team-block + .team-block .team-card {
    position: relative;
}

.team-block-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 auto clamp(24px, 3vw, 40px);
    text-align: center;
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-yellow);
    color: var(--color-black);
    border-radius: 999px;
    border: none;
}

.team-block > .team-block-title {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Grille par defaut (Comite de direction) : cartes paysage, grille compacte
   row-gap genereux pour separer visuellement les lignes de photos */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
    justify-content: center;
    column-gap: clamp(6px, 0.7vw, 12px);
    row-gap: clamp(40px, 4vw, 64px);
}

.team-grid--featured {
    grid-template-columns: repeat(2, 360px);
    justify-content: center;
    column-gap: clamp(8px, 1vw, 14px);
    row-gap: clamp(40px, 4vw, 64px);
}

.team-grid--solo {
    grid-template-columns: 360px;
    justify-content: center;
}

/* ============================================================
   COMPOSANT TEAM-CARD
   Source unique du markup : 05_Site/www/_partials/team-card.html
   Pages utilisatrices : groupe.html (slide 03), team-paris.html, etc.
   Comportement : photo NB par defaut, photo couleur revelee au hover via
   effet splash liquide (js/team-splash.js). Caption fade-out au hover.
   ============================================================ */
.team-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.team-card-photo {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.05);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Effet NB -> couleur au hover : splash peinture liquide pilote par JS (team-splash.js) */
.team-card-img {
    transition: transform 0.6s ease;
}

.team-card-img--color {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Par defaut cache : c'est team-splash.js qui applique les clip-path */
    clip-path: inset(100%);
    -webkit-clip-path: inset(100%);
}

/* Clones echos (trainee) crees par team-splash.js */
.team-card-img--trail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    aspect-ratio: auto;
    /* Transition douce de l'opacite (au cas ou JS set l'opacity brusquement) */
    transition: opacity 0.2s ease-out;
}

/* Container SVG qui contient les clipPath (invisible, juste un defs) */
.team-splash-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.team-card:hover .team-card-photo img.team-card-img--nb,
.team-card:focus-within .team-card-photo img.team-card-img--nb {
    transform: scale(1.04);
}


@media (prefers-reduced-motion: reduce) {
    .team-card-img--color {
        transition: none;
    }
}

.team-card-caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Caption masquee au hover : on met toute l'emphase sur la photo couleur revelee */
.team-card:hover .team-card-caption,
.team-card:focus-within .team-card-caption {
    opacity: 0;
    transform: translateY(-6px);
}

.team-card-name {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.team-card-role {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.7;
}

/* Variante PLACEHOLDER (photos non encore fournies par le client) */
.team-card-photo--placeholder {
    background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 100%);
    display: grid;
    place-items: center;
}

.team-card-photo--placeholder::before {
    content: "";
    width: 40%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 600px) {
    .team-grid,
    .team-grid--featured {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
    .team-grid--solo {
        grid-template-columns: minmax(140px, 220px);
    }
}

/* ==========================================================================
   CHIFFRES CLÉS (Slide 04) — reproduction fidele du PDF
   Bande photo panoramique + overlay noir.
   Labels (noirs) et chiffres (blancs) sont dans des conteneurs SEPARES :
   - les chiffres sont positionnes par leur CENTRE sur le bord de la bande
     via translateY(+/- 50%)
   - les labels sont positionnes INDEPENDAMMENT au-dessus/en dessous
   ========================================================================== */

.keyfigures-section {
    background: var(--color-white);
    color: var(--color-black);
    /* Padding en bas large pour que les labels du bas (qui debordent sous la bande)
       et leur trait vertical s'affichent integralement sans etre coupes. */
    padding-bottom: clamp(180px, 18vw, 280px);
    overflow-x: hidden;
}

.keyfigures-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.keyfigures-header {
    text-align: center;
    margin-bottom: clamp(60px, 7vw, 110px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.keyfigures-header .editorial-chapter-title {
    margin: 0;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
}

/* Variable globale pour la taille des chiffres. */
.keyfigures-wrapper {
    --kf-figure-size: clamp(2.75rem, 5vw, 5.75rem);
    --kf-half-figure: calc(var(--kf-figure-size) * 0.5);
}

/* ---- LABELS dans le flux normal (au-dessus / en-dessous de la bande) ----
   IMPORTANT : meme largeur que la bande photo (100vw full-bleed) pour que la
   grille 12-cols coincide EXACTEMENT avec celle des chiffres -> alignement parfait. */
.keyfigures-labels {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(8px, 1vw, 20px);
    padding: 0 clamp(16px, 3vw, 48px);
}

/* Labels HAUT : au-dessus de la bande, espace sous pour accueillir la moitie du chiffre */
.keyfigures-labels--top {
    margin-bottom: var(--kf-half-figure);
}

/* Labels BAS : sous la bande, espace au-dessus pour accueillir la moitie du chiffre */
.keyfigures-labels--bottom {
    margin-top: var(--kf-half-figure);
}

/* ---- ZONE BANDE (wrapper desktop qui contient la bande + les chiffres en absolute) ---- */
.keyfigures-band {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    isolation: isolate;
}

/* ---- BANDE PHOTO (image seule) ---- */
.keyfigures-bg {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.keyfigures-bg img {
    display: block;
    width: 100%;
    height: auto;
}

.keyfigures-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* ---- CHIFFRES : a cheval sur les bords de la bande ---- */
.keyfigures-values {
    position: absolute;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(8px, 1vw, 20px);
    padding: 0 clamp(16px, 3vw, 48px);
    z-index: 3;
    pointer-events: none;
}

/* Chiffres HAUT : le HAUT du chiffre touche la ligne haute de la bande.
   translateY(-2px) compense le residuel de line-height pour coller parfaitement au bord. */
.keyfigures-values--top {
    top: 0;
    transform: translate(-3.1vw, -2px);
}

/* Chiffres BAS : le BAS du chiffre touche la ligne basse de la bande.
   -> chiffres entierement DANS la bande, assis sur le bord bas.
   bottom: 0 place le bas du container sur la ligne basse. */
.keyfigures-values--bottom {
    bottom: 0;
    transform: translateX(4.4vw);
}

/* Labels alignes horizontalement avec leurs chiffres respectifs.
   translateX(-50%) est deja applique sur .keyfigures-labels pour le full-bleed 100vw.
   Ici on AJOUTE le decalage global de la bande (-3.1vw pour haut, +4.4vw pour bas). */
.keyfigures-labels--top {
    transform: translateX(calc(-50% - 3.1vw));
}
.keyfigures-labels--bottom {
    transform: translateX(calc(-50% + 4.4vw));
}


/* ---- Placement horizontal sur grille 12 cols (sync labels + values) ----
   Chiffres rapproches les uns des autres (plus compact en grand ecran).
   HAUT : 1973 col 3, 450 col 6, 1050 col 9
   BAS  : 175 col 4, 45M€ col 7, 100% col 10 (decalage PDF d'1 col vers la droite) */
.keyfigures-labels--top > :nth-child(1),
.keyfigures-values--top > :nth-child(1) { grid-column: 3 / span 2; }
.keyfigures-labels--top > :nth-child(2),
.keyfigures-values--top > :nth-child(2) { grid-column: 6 / span 2; }
.keyfigures-labels--top > :nth-child(3),
.keyfigures-values--top > :nth-child(3) { grid-column: 9 / span 2; }
.keyfigures-labels--bottom > :nth-child(1),
.keyfigures-values--bottom > :nth-child(1) { grid-column: 4 / span 2; }
.keyfigures-labels--bottom > :nth-child(2),
.keyfigures-values--bottom > :nth-child(2) { grid-column: 7 / span 2; }
.keyfigures-labels--bottom > :nth-child(3),
.keyfigures-values--bottom > :nth-child(3) { grid-column: 10 / span 2; }


.keyfigure-value {
    font-size: var(--kf-figure-size);
    font-weight: 900;
    line-height: 0.72;
    letter-spacing: -0.02em;
    color: var(--color-white);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    display: block;
    width: 100%;
    white-space: nowrap;
}

.keyfigure-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-black);
    line-height: 1.35;
    text-align: center;
}

.keyfigure-stick {
    display: block;
    width: 2px;
    height: 22px;
    background: currentColor;
}

/* ===== Responsive mobile/tablette ===== */
@media (max-width: 900px) {
    /* Version mobile simplifiee :
       1. Image (bande photo) full-bleed en haut
       2. Liste verticale : chaque ligne = chiffre a gauche + label a droite
       Les 6 chiffres apparaissent les uns au-dessus des autres (HAUT puis BAS).
       Ordre HTML natif : labels-top -> band -> labels-bottom.
       Les values-top/bottom sont dans .band, on les sort via flex+order. */

    .keyfigures-wrapper {
        display: flex;
        flex-direction: column;
    }
    .keyfigures-header { order: 1; }
    .keyfigures-band { order: 2; }
    .keyfigures-labels--top { display: none; }
    .keyfigures-labels--bottom { display: none; }

    /* La band en mobile : l'image seule en pleine largeur, chiffres sortent dessous */
    .keyfigures-band {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        display: flex;
        flex-direction: column;
        isolation: auto;
        margin-bottom: clamp(24px, 5vw, 48px);
    }
    .keyfigures-bg {
        order: 1;
        margin-bottom: clamp(24px, 5vw, 48px);
    }
    .keyfigures-bg-overlay {
        display: none;
    }
    .keyfigures-values--top { order: 2; }
    .keyfigures-values--bottom { order: 3; }

    /* Chaque bloc values : pas grille 12 cols, simple pile de 3 items */
    .keyfigures-values--top,
    .keyfigures-values--bottom {
        position: static;
        transform: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 clamp(16px, 5vw, 32px);
    }

    /* Chaque chiffre devient une LIGNE : chiffre a gauche + label a droite */
    .keyfigure-value {
        position: relative;
        grid-column: auto !important;
        color: var(--color-black);
        text-align: left;
        display: flex;
        align-items: center;
        gap: clamp(16px, 3vw, 24px);
        padding: clamp(16px, 3vw, 22px) 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        font-size: clamp(2.5rem, 9vw, 4rem);
        line-height: 1;
        width: 100%;
    }
    .keyfigure-value:last-child {
        border-bottom: 0;
    }

    /* On injecte le texte du label a droite de chaque chiffre via data-attribute */
    .keyfigure-value::after {
        content: attr(data-label);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        line-height: 1.35;
        color: var(--color-black);
        font-family: 'Montserrat', sans-serif;
        flex: 1;
        text-align: left;
        white-space: normal;
    }

    /* Reduire padding-bottom de la section */
    .keyfigures-section {
        padding-bottom: clamp(48px, 8vw, 80px);
    }
}

@media (max-width: 560px) {
    .keyfigure-value {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }
}

/* ==========================================================================
   SLIDE 05 — 3 UNIVERS (salons, évènementiel, centres commerciaux)
   Titre editorial + liste avec traits verticaux + bande de 3 photos full-bleed
   ========================================================================== */

.univers-section {
    background: var(--color-yellow);
    color: var(--color-black);
    overflow-x: hidden;
}

.univers-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 clamp(24px, 3vw, 48px) clamp(12px, 1.5vw, 24px);
}

.univers-header {
    margin-bottom: clamp(10px, 1.2vw, 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.univers-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 0.6vw, 10px);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.univers-title-line1 {
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.univers-title-line2 {
    font-size: clamp(2.75rem, 6.5vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
}

.univers-title-line2 .accent {
    color: var(--color-black);
}

.univers-title-line3 {
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.univers-title-line3 sup {
    font-size: 0.7em;
}

/* Liste 3 items : horizontaux (cote a cote) en desktop, centres */
.univers-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 2.5vw, 48px);
    max-width: 100%;
}

.univers-item {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 20px);
    font-size: clamp(0.9rem, 1.6vw, 1.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}

.univers-item-stick {
    display: block;
    width: 3px;
    height: clamp(28px, 3.5vw, 50px);
    background: currentColor;
    flex-shrink: 0;
}

.univers-note {
    margin: clamp(10px, 1.2vw, 18px) auto 0;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    font-style: italic;
    color: var(--color-black);
    opacity: 0.75;
}

.univers-note sup {
    font-size: 0.85em;
}

/* Rangee de 3 cartes polaroid avec animation zoom (meme systeme que la home) */
.univers-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(30px, 4vw, 60px) clamp(24px, 4vw, 64px) clamp(16px, 2vw, 32px);
    perspective: 1000px;
}

.univers-polaroid {
    flex-shrink: 0;
    width: 280px;
    max-width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.6s ease,
                box-shadow 0.6s ease;
    transform-origin: center center;
    /* Comme sur la home carousel : pas de fond flouté + pas de box-shadow + padding 0 */
    padding: 0;
    box-shadow: none;
}

.univers-polaroid .polaroid-blur-bg {
    display: none;
}

/* Le cadre blanc contient l'image, qui ne doit pas deborder */
.univers-polaroid .polaroid-card {
    overflow: hidden;
}

/* L'image elle-meme reste dans sa zone (pas de debordement au zoom interne) */
.univers-polaroid .polaroid-image {
    overflow: hidden;
}

.univers-polaroid .polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Etats de zoom : la carte centrale grossit, les voisines restent normales, les eloignees retrecissent */
.univers-polaroid.zoom-active {
    transform: scale(1.15);
    z-index: 10;
    filter: brightness(1);
}

.univers-polaroid.zoom-adjacent {
    transform: scale(1);
    z-index: 5;
    filter: brightness(0.92);
}

.univers-polaroid.zoom-far {
    transform: scale(0.9);
    z-index: 1;
    filter: brightness(0.85);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    /* Items : retour a une colonne empilee */
    .univers-list {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
        width: max-content;
        gap: clamp(20px, 2.5vw, 36px);
    }
    .univers-item {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        white-space: normal;
    }
    .univers-item-stick {
        height: clamp(28px, 4vw, 38px);
    }
    /* Cartes univers empilées : .univers-cards est un FLEX (grid-template-columns
       n'avait aucun effet) → sur petit écran, une carte par ligne, centrée, et
       le zoom du carrousel automatique est neutralisé (il débordait l'écran). */
    .univers-cards {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: clamp(32px, 6vw, 48px);
        perspective: none;
    }
    .univers-cards .polaroid-frame {
        width: 100%;
        max-width: 320px;
    }
    .univers-polaroid.zoom-active,
    .univers-polaroid.zoom-adjacent,
    .univers-polaroid.zoom-far {
        transform: none;
        filter: none;
    }
}

@media (max-width: 560px) {
    .univers-item {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }
    .univers-item-stick {
        height: clamp(24px, 5vw, 32px);
    }
    .univers-cards .polaroid-frame {
        max-width: 280px;
    }
}

/* ==========================================================================
   SLIDE 06 — 4 GRANDES EXPERTISES AGENCE
   Bandeau noir avec titre + corps 2 colonnes (photo / liste)
   ========================================================================== */

.expertises-section {
    background: var(--color-black);
    color: var(--color-white);
    padding: 0;
    overflow-x: hidden;
}

/* Bandeau titre (meme fond que la section) : full-bleed, titre centre */
.expertises-header {
    background: var(--color-black);
    color: var(--color-white);
    padding: clamp(48px, 7vw, 100px) clamp(24px, 5vw, 64px) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(6px, 0.8vw, 14px);
}

.expertises-header .editorial-section-number {
    color: var(--color-white);
    opacity: 0.7;
    margin-bottom: clamp(8px, 1vw, 16px);
}

.expertises-title-line2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5.2vw, 4.25rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.expertises-title-line2 .accent {
    color: var(--color-yellow);
}

/* Corps 2 colonnes */
.expertises-body {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 5vw, 96px);
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 100px) clamp(24px, 5vw, 64px);
    align-items: center;
}

/* Photo a gauche */
.expertises-photo {
    margin: 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
}

.expertises-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Liste 4 items a droite, chacun avec trait vertical a gauche */
.expertises-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 3.5vw, 48px);
}

.expertise-item {
    position: relative;
    padding-left: clamp(20px, 2.5vw, 36px);
}

.expertise-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: var(--color-white);
}

.expertise-title {
    margin: 0 0 clamp(8px, 1vw, 14px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.125rem, 2vw, 1.75rem);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 1.15;
    color: var(--color-white);
}

.expertise-desc {
    margin: 0;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.55;
    color: var(--color-white);
    opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .expertises-body {
        grid-template-columns: 1fr;
        gap: clamp(32px, 5vw, 56px);
    }
    .expertises-photo {
        aspect-ratio: 16 / 10;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .expertise-title {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
    }
    .expertise-title br {
        display: none;
    }
}

/* ==========================================================================
   DOTNAV — Navigation floating a dots sur la droite de l'ecran.
   Position fixed, z-index eleve pour passer au-dessus du header/CTA/contenu.
   Style mix-blend-mode pour s'adapter automatiquement aux fonds clairs/sombres.
   ========================================================================== */
.dotnav {
    position: fixed;
    right: clamp(16px, 2vw, 32px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
    pointer-events: none;
    /* mix-blend-mode enleve : sur fond jaune il donnait du bleu. On gere la
       couleur des dots au cas par cas via les classes is-on-light / is-on-dark. */
}

.dotnav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: auto;
}

.dotnav-list > li {
    display: block;
    margin: 0;
    padding: 0;
}

.dotnav-dot {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.45, 1),
                box-shadow 0.3s ease, background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    opacity: 0.7;
}

/* Sur sections a fond sombre (equipes dirigeantes, expertises) : dots en blanc */
.dotnav-dot.is-on-dark {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.dotnav-dot::before {
    /* Zone de clic/hover elargie (invisible) pour confort */
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
}

.dotnav-dot:hover {
    opacity: 1;
    transform: scale(1.3);
}

/* Etat ACTIF : dot plus grand, opaque, jaune avec anneau */
.dotnav-dot.is-active {
    opacity: 1;
    transform: scale(1.6);
    background: var(--color-yellow);
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.25);
}

/* Tooltip : titre de la section, apparait a gauche du dot au hover.
   On desactive le mix-blend-mode localement (il le lit du parent sinon). */
.dotnav-tooltip {
    position: absolute;
    right: calc(100% + 16px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #fff;
    color: #000;
    padding: 7px 13px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.4, 0.45, 1);
}

.dotnav-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #fff;
}

.dotnav-dot:hover .dotnav-tooltip,
.dotnav-dot:focus-visible .dotnav-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Mobile : on cache la dotnav sur petits ecrans */
@media (max-width: 900px) {
    .dotnav {
        display: none;
    }
}

/* ==========================================================================
   SLIDE 07 — NOS PRESTATIONS POUR UN PROJET CLIENT (chaine de valeur)
   Timeline horizontale 8 etapes : pastilles rondes reliees par une ligne,
   labels alternes haut / bas, 5 noires + 3 vertes.
   ========================================================================== */

.prestations-section {
    --prestation-dot-size: clamp(56px, 6vw, 88px);
    /* Les 3 dernieres pastilles (production, logistique, installation) passent en JAUNE. */
    --prestation-green: var(--color-yellow);
    background: var(--color-white);
    color: var(--color-black);
    overflow-x: hidden;
}

.prestations-header {
    text-align: center;
    margin-bottom: clamp(20px, 2.5vw, 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4px, 0.6vw, 10px);
    padding: 0 clamp(16px, 3vw, 40px);
}

.prestations-header .editorial-section-number {
    margin-bottom: clamp(8px, 1vw, 16px);
}

.prestations-title-line1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.8vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.prestations-title-line2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5.2vw, 4.25rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.prestations-title-line2 .accent {
    color: var(--color-black);
}

/* Timeline : 8 colonnes egales, ligne noire horizontale derriere les pastilles */
.prestations-timeline {
    --prestation-padding-top: clamp(16px, 2vw, 32px);
    --prestation-padding-bottom: clamp(90px, 9vw, 150px);
    --prestation-side-padding: clamp(24px, 4vw, 64px);
    /* Position verticale du centre des pastilles (= position du trait et de la fleche) */
    --prestation-line-y: calc(var(--prestation-padding-top) + var(--prestation-dot-size) / 2);

    list-style: none;
    margin: 0 auto;
    padding: var(--prestation-padding-top) var(--prestation-side-padding) var(--prestation-padding-bottom);
    max-width: 1600px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    position: relative;
    isolation: isolate;
}

/* Ligne horizontale qui relie tous les dots.
   Elle part du centre de la 1re pastille et va jusqu'au centre de la derniere + 1/2 extra pour la fleche. */
.prestations-timeline::before {
    content: '';
    position: absolute;
    left: calc(var(--prestation-side-padding) + var(--prestation-dot-size) / 2);
    right: calc(var(--prestation-side-padding) + var(--prestation-dot-size) / 2);
    top: var(--prestation-line-y);
    height: 1.5px;
    background: var(--color-black);
    z-index: -1;
}

/* Fleche a la fin de la ligne (triangle pointant vers la droite).
   Positionnee pile a la fin de la ligne (meme right que le left du :before) */
.prestations-timeline::after {
    content: '';
    position: absolute;
    right: calc(var(--prestation-side-padding) + var(--prestation-dot-size) / 2 - 10px);
    top: var(--prestation-line-y);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid var(--color-black);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    z-index: -1;
}

/* Chaque etape : colonne avec dot au milieu + label au-dessus ou en dessous */
.prestation-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

/* La pastille ronde */
.prestation-dot {
    width: var(--prestation-dot-size);
    height: var(--prestation-dot-size);
    border-radius: 50%;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.45, 1);
}

.prestation-dot img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* force le SVG en blanc */
}

/* Variante outline : cercle blanc avec bordure noire (pour la 1re etape Conseil) */
.prestation-dot--outline {
    background: var(--color-white);
    border: 2px solid var(--color-black);
}

.prestation-dot--outline img {
    filter: none; /* icone reste noire */
}

/* Variante verte pour les 3 dernieres etapes (Production / Logistique / Installation) */
.prestation-step--green .prestation-dot {
    background: var(--prestation-green);
}

/* Label : au-dessus OU en-dessous de la pastille (alternance) */
.prestation-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.72rem, 0.9vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-align: center;
    color: var(--color-black);
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
}

.prestation-step--label-top .prestation-label {
    bottom: calc(100% + clamp(10px, 1.2vw, 18px));
}

.prestation-step--label-bottom .prestation-label {
    top: calc(100% + clamp(10px, 1.2vw, 18px));
}

/* Petit trait pointille vertical entre la pastille et le label */
.prestation-step--label-top .prestation-dot::before,
.prestation-step--label-bottom .prestation-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 1px;
    border-left: 1px dashed rgba(0, 0, 0, 0.4);
}

.prestation-step--label-top .prestation-dot::before {
    bottom: 100%;
    height: clamp(6px, 1vw, 14px);
}

.prestation-step--label-bottom .prestation-dot::before {
    top: 100%;
    height: clamp(6px, 1vw, 14px);
}


/* Hover : legere augmentation de l'echelle de la pastille */
.prestation-step:hover .prestation-dot {
    transform: scale(1.08);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    /* Tablette / mobile : timeline VERTICALE — pastille à gauche, libellé à droite,
       le trait passe DANS l'axe des pastilles (il était à left:50%, donc dans le vide
       à droite des logos) et s'arrête au centre du premier et du dernier dot. */
    .prestations-section {
        --prestation-dot-size: clamp(48px, 13vw, 64px);
    }
    .prestations-timeline {
        --prestation-side-padding: clamp(16px, 4vw, 32px);
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        padding: 0 var(--prestation-side-padding);
        gap: clamp(24px, 5vw, 40px);
    }
    .prestations-timeline::before {
        left: calc(var(--prestation-side-padding) + var(--prestation-dot-size) / 2);
        right: auto;
        top: calc(var(--prestation-dot-size) / 2);
        bottom: calc(var(--prestation-dot-size) / 2);
        width: 1.5px;
        height: auto;
        transform: translateX(-50%);
    }
    /* Flèche de fin : pointe vers le bas, sous la dernière pastille */
    .prestations-timeline::after {
        left: calc(var(--prestation-side-padding) + var(--prestation-dot-size) / 2);
        right: auto;
        top: auto;
        bottom: calc(var(--prestation-dot-size) / 2 - 10px);
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 10px solid var(--color-black);
        border-bottom: 0;
    }
    .prestation-step {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: clamp(14px, 4vw, 24px);
    }
    .prestation-dot {
        flex: 0 0 var(--prestation-dot-size);
    }
    /* Label : plus d'absolute, il vient simplement a droite du dot */
    .prestation-label {
        position: static;
        text-align: left;
        width: auto;
        flex: 1;
        font-size: clamp(0.8rem, 3.6vw, 1rem);
        line-height: 1.25;
    }
    /* Les retours à la ligne du libellé (saisis pour la version horizontale)
       n'ont plus lieu d'être quand le texte est à droite de la pastille. */
    .prestation-label br {
        display: none;
    }
    .prestation-step--label-top .prestation-label,
    .prestation-step--label-bottom .prestation-label {
        bottom: auto;
        top: auto;
    }
    /* Plus de trait pointille en mobile */
    .prestation-step--label-top .prestation-dot::before,
    .prestation-step--label-bottom .prestation-dot::before {
        display: none;
    }
}

/* ==========================================================================
   SLIDE 08 — NOS 7 BUREAUX EN FRANCE
   Carte SVG a gauche + liste a droite, liaison interactive au hover
   ========================================================================== */

.bureaux-section {
    background: var(--color-yellow);
    color: var(--color-white);
    overflow-x: hidden;
    /* Reduction drastique du padding-bottom heritee de .editorial-section--compact */
    padding-bottom: clamp(8px, 1vw, 16px);
}

.bureaux-header {
    text-align: center;
    margin-bottom: clamp(16px, 2vw, 32px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
    padding: 0 clamp(16px, 3vw, 40px);
    color: var(--color-black);
}

.bureaux-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--color-black);
}

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

.bureaux-section .editorial-section-number {
    color: var(--color-black);
}

.bureaux-body {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(20px, 2vw, 36px) clamp(60px, 8vw, 140px) 0;
}

.bureaux-map {
    width: 100%;
    max-width: 680px;
    position: relative;
    overflow: visible;
    /* PAS de padding ici : sinon les coordonnees % des pins sont decalees par
       rapport a l'image SVG. La marge pour les labels est prise sur .bureaux-body. */
    padding: 0;
}

.bureaux-map-img {
    width: 100%;
    height: auto;
    display: block;
}

.bureaux-pins {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Le transform-origin sur les enfants doit etre par rapport a leur point d'ancrage */
}

/* Chaque pin = cercle transparent centre PILE sur le cercle blanc du SVG.
   Nom de la ville au-dessus + logo GALIS en dessous (tous les deux en noir).
   Exception Lyon (.bureaux-pin--above) : les deux labels sont AU-DESSUS du cercle. */
.bureaux-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    /* Taille equivalente aux cercles SVG (r=35.6 dans viewBox 2288.6) */
    width: 3.11%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.25s ease, box-shadow 0.3s cubic-bezier(0.34, 1.4, 0.45, 1);
}

/* STRUCTURE STANDARD (6 villes) : bloc label-group (logo + nom) colle AU-DESSUS du cercle.
   Ordre visuel de HAUT en BAS : LOGO > NOM > CERCLE. */
.bureaux-pin-label-group {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    pointer-events: none;
    /* Pas de largeur imposee : le nom peut etre plus large que le logo */
}

/* EXCEPTION Grenoble : bloc label-group EN DESSOUS du cercle.
   Ordre visuel : CERCLE > NOM > LOGO. */
.bureaux-pin--below .bureaux-pin-label-group {
    bottom: auto;
    top: calc(100% + 4px);
}

/* Logo GALIS : taille FIXE UNIFORME (70px) pour TOUS les bureaux.
   Ne grandit ni ne retrecit, meme si le nom en-dessous est plus large. */
.bureaux-pin-logo {
    width: 70px;
    max-width: 70px;
    min-width: 70px;
    height: auto;
    display: block;
    flex-shrink: 0;
    flex-grow: 0;
    filter: brightness(0);
    /* Sert d'ancre : le label-group reste centre sur la largeur du logo, pas du nom */
    align-self: center;
}

/* Nom de la ville : largeur libre, se centre naturellement sous le logo.
   Peut deborder horizontalement si le nom est long (Strasbourg, Grenoble). */
.bureaux-pin-city {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: var(--color-black);
    white-space: nowrap;
    text-transform: uppercase;
    line-height: 1;
    transition: font-weight 0.2s ease;
    align-self: center;
}

/* Variation responsive : logo et nom réduits sous 900 px puis sous 560 px (voir plus bas). */

/* Au hover : cercle noir + halo + nom en gras */
.bureaux-pin:hover,
.bureaux-pin.is-active {
    background: var(--color-black);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15);
}

.bureaux-pin:hover .bureaux-pin-city,
.bureaux-pin.is-active .bureaux-pin-city {
    font-weight: 900;
}

.bureaux-pin-label,
.bureaux-pin-icon { display: none; }

/* Liste villes */
.bureaux-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 16px);
}

.bureaux-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: clamp(1.125rem, 1.8vw, 1.5rem);
    color: var(--color-black);
    cursor: pointer;
    transition: transform 0.25s ease, color 0.2s ease;
    position: relative;
    padding-left: 0;
}

.bureaux-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--color-black);
    transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bureaux-item:hover,
.bureaux-item.is-active {
    transform: translateX(24px);
    font-weight: 800;
}

.bureaux-item:hover::before,
.bureaux-item.is-active::before {
    width: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .bureaux-body {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 48px);
    }
    .bureaux-map {
        max-width: 400px;
    }
    .bureaux-list {
        max-width: 300px;
        margin: 0 auto;
    }
    .bureaux-item {
        text-align: center;
    }
    .bureaux-item::before {
        display: none;
    }
    .bureaux-item:hover,
    .bureaux-item.is-active {
        transform: none;
    }
    /* Carte réduite : le logo « GALIS » de chaque pin prenait autant de place
       que la ville (70 px fixes prévus pour le desktop) → on le rétrécit et on
       resserre le nom pour que les pins restent lisibles. */
    .bureaux-pin-logo {
        width: 38px;
        max-width: 38px;
        min-width: 38px;
    }
    .bureaux-pin-city {
        font-size: 0.625rem;
        letter-spacing: 0.01em;
    }
    .bureaux-pin-label-group {
        gap: 1px;
    }
}

@media (max-width: 560px) {
    .bureaux-pin-logo {
        width: 30px;
        max-width: 30px;
        min-width: 30px;
    }
    .bureaux-pin-city {
        font-size: 0.5625rem;
    }
}

/* ==========================================================================
   SLIDE "PRESENTATION D'ACTIVITE" (template reutilise pour Stand sur-mesure, EVOLU, EVENT, RETAIL)
   Layout desktop : Photo | Texte editorial | Bande verte chiffres cles
   ========================================================================== */

.presentation-section {
    --presentation-accent: var(--color-yellow);     /* jaune GALIS au lieu du vert */
    --presentation-stats-bg: var(--color-yellow);
    background: var(--color-white);
    color: var(--color-black);
    padding: 0;
    overflow-x: hidden;
}

.presentation-layout {
    display: grid;
    grid-template-columns: minmax(240px, 1.1fr) minmax(320px, 1.6fr) minmax(240px, 1fr);
    min-height: clamp(500px, 70vh, 760px);
    align-items: stretch;
}

/* COLONNE 1 : photo full-bleed (deborde a gauche de l'ecran) */
.presentation-photo {
    margin: 0;
    position: relative;
    overflow: hidden;
    /* Deborde a gauche via position left: 50vw -> on remonte au bord de la fenetre */
}

.presentation-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* COLONNE 2 : contenu editorial (texte) */
.presentation-content {
    padding: clamp(40px, 6vw, 100px) clamp(24px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
}

.presentation-content .editorial-section-number {
    text-align: left;
    margin-bottom: clamp(10px, 1.2vw, 18px);
}

.presentation-title {
    margin: 0 0 clamp(18px, 2.5vw, 36px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4.8vw, 4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

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

.presentation-title-main {
    color: var(--color-black);
    font-size: 0.55em;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 0.25em;
}

.presentation-lead {
    margin: 0 0 clamp(14px, 1.8vw, 24px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    line-height: 1.45;
    color: var(--color-black);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: clamp(14px, 2vw, 24px);
}

.presentation-body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(0.85rem, 1vw, 1rem);
    line-height: 1.7;
    color: var(--color-black);
    opacity: 0.85;
}

.presentation-body p {
    margin: 0 0 1em;
}

.presentation-body p:last-child {
    margin-bottom: 0;
}

/* Boutons « En savoir plus » sous le texte d'une presentation-section
   (Le Groupe → pages dédiées). Empilés, alignés à gauche, même style que
   les boutons des cards (.service-btn). */
.presentation-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: clamp(20px, 2.5vw, 32px);
}

.presentation-btn {
    display: inline-block;
    padding: 12px 22px;
    background: var(--color-yellow);
    color: var(--color-black);
    font-size: 0.6875em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.presentation-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* Logo "filiale/marque" sous le texte d'une presentation-section
   (ex. "ALD by GALIS" sous le pavé Galis Event) */
.presentation-sublogo {
    margin: clamp(20px, 2.5vw, 32px) 0 0;
    max-width: 140px;
}

.presentation-sublogo img {
    display: block;
    width: 100%;
    height: auto;
}

/* COLONNE 3 : bande chiffres cles fond jaune, textes en NOIR */
.presentation-stats {
    background: var(--presentation-stats-bg);
    color: var(--color-black);
    padding: clamp(40px, 6vw, 100px) clamp(24px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(32px, 4vw, 56px);
}

.presentation-stat {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.presentation-stat-value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 4.8vw, 4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

.presentation-stat-value sup {
    font-size: 0.6em;
    font-weight: 900;
    vertical-align: super;
}

.presentation-stat-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.7rem, 0.85vw, 0.85rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--color-black);
}

.presentation-stat-stick {
    display: block;
    width: 2px;
    height: 18px;
    background: currentColor;
}

/* Responsive */
@media (max-width: 1100px) {
    .presentation-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .presentation-photo {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 360px;
    }
    .presentation-content {
        grid-row: 2;
        max-width: 100%;
    }
    .presentation-stats {
        grid-row: 2;
        gap: clamp(24px, 3vw, 40px);
    }
}

@media (max-width: 720px) {
    .presentation-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .presentation-content,
    .presentation-stats {
        grid-row: auto;
    }
}

/* (Note : la slide 12 reutilise les classes `.realisations-section` / `.realisations-grid` /
   `.realisation-card` deja definies pour stand-sur-mesure.html — pas besoin de css en plus.) */

/* ==========================================================================
   SOUS-SECTION REALISATIONS (slide 12 = sous-slide du slide 11 "Stand sur-mesure")
   Le titre est un BANDEAU NOIR pleine largeur, colle au slide precedent.
   ========================================================================== */

/* Reset du padding-top + lateral pour permettre le bandeau full-bleed colle au slide precedent.
   Le padding lateral est reapplique sur .realisations-grid pour que les cartes ne collent pas aux bords. */
.realisations-section.realisations-subsection {
    padding-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: clamp(60px, 8vw, 120px) !important;
    background: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
}

/* Cartes sur fond noir : on inverse les couleurs du texte */
.realisations-subsection .realisation-card-title,
.realisations-subsection .realisation-card-surface {
    color: var(--color-white);
}

.realisations-subsection .realisation-card-sector {
    color: rgba(255, 255, 255, 0.6);
}

/* Sur les sous-sections de realisations : grille auto-fit + centree.
   Les cartes restent a une taille fixe et le grid se centre quel que soit leur nombre. */
.realisations-subsection .realisations-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(20px, 2.4vw, 36px);
    justify-content: center;
    padding-left: clamp(40px, 5vw, 80px);
    padding-right: clamp(40px, 5vw, 80px);
    max-width: 100%;
    margin: 0 auto;
}

/* Le header est un bandeau noir FULL-BLEED (pleine largeur de la fenetre)
   Hauteur tres genereuse pour faire respirer la transition entre les 2 slides. */
.realisations-header.realisations-header--sub {
    margin: clamp(30px, 4vw, 60px) 0 clamp(30px, 4vw, 60px);
    padding: 1em clamp(24px, 4vw, 48px);
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.realisations-subtitle {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.4vw, 1.3rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
    color: var(--color-white);
}

.realisations-subtitle .accent {
    color: var(--color-white);
    font-weight: 900;
}

/* ---------- CITATION EN EXERGUE (pullquote) ---------- */
.editorial-pullquote-section {
    padding: clamp(80px, 10vw, 140px) 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editorial-pullquote {
    margin: 0;
    max-width: 1400px;
    text-align: center;
}

.editorial-pullquote p {
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin: 0;
}

/* ---------- SIGNATURE (bloc co-presidents) ---------- */
.editorial-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin: clamp(64px, 8vw, 120px) auto 0;
    max-width: 720px;
    text-align: center;
}

/* Variante inline : sous un titre de colonne (alignee a gauche, compacte) */
.editorial-signature--inline {
    align-items: flex-start;
    text-align: left;
    margin: 40px 0 0;
    max-width: 100%;
    gap: 20px;
}

.editorial-signature--inline .editorial-signature-portraits {
    justify-content: flex-start;
    gap: 16px;
}

.editorial-signature--inline .editorial-signature-portraits img {
    width: clamp(220px, 26vw, 320px);
}

.editorial-signature-portraits {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-end;
}

.editorial-signature-portraits img {
    width: clamp(140px, 18vw, 220px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 6px;
    filter: grayscale(0);
}

.editorial-signature-caption {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.editorial-signature-names {
    font-size: clamp(1.125rem, 1.6vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.editorial-signature-role {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.7;
    text-transform: uppercase;
}

/* Mobile / tablette : signature passe en pleine largeur sous le texte, portraits reduits */
@media (max-width: 900px) {
    .editorial-signature--inline {
        margin-top: 32px;
    }
    .editorial-signature--inline .editorial-signature-portraits img {
        width: clamp(120px, 38vw, 200px);
    }
}

@media (max-width: 600px) {
    .editorial-signature-portraits {
        gap: 16px;
    }
    .editorial-signature--inline .editorial-signature-portraits img {
        width: clamp(110px, 40vw, 160px);
    }
}

/* ============================================================
   SECTION 04 — EQUIPE (agence.html)
   Layout : titre + texte a gauche / grande image a droite
   ============================================================ */
.equipe-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.equipe-content {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 56px);
}

.equipe-content .editorial-chapter-title {
    margin: 0;
}

.equipe-text {
    max-width: 52ch;
}

.equipe-figure {
    margin: 0;
    width: 100%;
}

.equipe-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .equipe-layout {
        grid-template-columns: 1fr;
    }
    .equipe-figure img {
        aspect-ratio: 4 / 3;
    }
}

/* ---------- BIG NUMBER (dans un titre) ---------- */
.editorial-bignum {
    display: inline-block;
    font-size: clamp(5rem, 14vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: var(--color-black);
    vertical-align: middle;
}

.on-yellow .editorial-bignum {
    color: var(--color-black);
}

.on-dark .editorial-bignum {
    color: var(--color-yellow);
}

/* ---------- AVANTAGES LISTE XL ---------- */
.editorial-advantages {
    display: flex;
    flex-direction: column;
    border-top: 1px solid currentColor;
}

.editorial-advantage-row {
    display: grid;
    grid-template-columns: clamp(70px, 6vw, 110px) minmax(180px, 0.9fr) minmax(0, 2.2fr);
    column-gap: clamp(16px, 2vw, 32px);
    padding: clamp(36px, 5vw, 64px) 0;
    border-bottom: 1px solid currentColor;
    align-items: start;
}

/* Variante lien cliquable (ligne entiere est un <a>) */
a.editorial-advantage-row {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.editorial-advantage-number {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    opacity: 0.5;
    transform-origin: left center;
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
}

.editorial-advantage-row:hover .editorial-advantage-number {
    opacity: 1;
    color: var(--color-yellow);
    transform: scale(2.5);
    text-shadow:
        0 0 12px rgba(255, 184, 0, 0.55),
        0 0 32px rgba(255, 184, 0, 0.35),
        0 0 64px rgba(255, 184, 0, 0.18);
}

.editorial-advantage-title {
    font-size: clamp(1.125rem, 1.8vw, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0.66;
    transition: opacity 0.4s ease, color 0.4s ease, text-shadow 0.5s ease, transform 0.4s ease;
}

/* Effet de lumière sur le titre au survol de la bande */
.editorial-advantage-row:hover .editorial-advantage-title {
    opacity: 1;
    color: var(--color-yellow);
    text-shadow:
        0 0 12px rgba(255, 184, 0, 0.55),
        0 0 32px rgba(255, 184, 0, 0.35),
        0 0 64px rgba(255, 184, 0, 0.18);
}

.editorial-advantage-text {
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
}

.editorial-advantage-text p {
    margin: 0;
}

.editorial-advantage-text p + p,
.editorial-advantage-text p + ul,
.editorial-advantage-text ul + p {
    margin-top: 1em;
}

/* Liste a puces (point 02 : cas d'usage) */
.editorial-bullets {
    list-style: none;
    padding: 0;
    margin: 1em 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}

.editorial-bullets li {
    position: relative;
    padding-left: 1.6em;
    line-height: 1.6;
}

.editorial-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 0.6em;
    height: 2px;
    background: var(--color-yellow);
}

/* Variante : espacement vertical accru apres le dernier bullet
   (separe visuellement la liste du paragraphe suivant) */
.editorial-bullets--spaced {
    margin-bottom: 2.5em;
}

/* Paragraphe en GRAS pour ouvrir / conclure une section editoriale */
.editorial-intro-bold {
    font-weight: 700;
}

/* ============================================
   TIMELINE PROCESS (1 SVG dessiné continu)
   Layout desktop : numéros (floating, au-dessus) · SVG ligne · titres+textes (floating, en dessous)
   Layout mobile (< 768px) : vertical, à faire plus tard (SVG mobile à fournir)
   ============================================ */

/* Section Process : hauteur 100vh pour le pin (évite que le spacer ajoute
   plus de place que nécessaire). Contenu centré verticalement. */
.process-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(60px, 8vw, 120px);
    padding-bottom: clamp(60px, 8vw, 120px);
}

.timeline-process {
    position: relative;
    width: 100%;
    margin-top: 60px;
    padding: 0;
}

/* ---------- Numéros au-dessus (floating) ---------- */
.timeline-process-nums {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    /* Hauteur = numéro + espace pour le dot */
    height: calc(clamp(3rem, 6vw, 5.5rem) + 20px);
}

.timeline-process-num {
    position: absolute;
    left: var(--pos);
    bottom: 0;
    transform: translateX(-50%);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
}

/* Wrapper interne des numéros — c'est lui qu'on anime (y + opacity)
   pour ne pas écraser le translateX(-50%) de centrage du parent. */
.timeline-process-num .tpn-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-black);
    white-space: nowrap;
}

.timeline-process-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-black);
    display: block;
    font-style: normal;
}

/* ---------- SVG de la timeline (horizontal desktop) ---------- */
.timeline-process-art {
    display: block;
    width: 100%;
    /* Hauteur proportionnelle au ratio viewBox 800 × 30 → ~3.75% */
    height: auto;
    aspect-ratio: 800 / 30;
    overflow: visible;
}

.timeline-process-art--mobile {
    display: none;
}

/* Segments de la timeline (6 traits droits + 5 groupes <g> contenant les pictos).
   Le style s'applique à la fois au .timeline-seg direct (traits) et aux paths
   inlinés dans les groupes de pictos. */
.timeline-process-segments .timeline-seg,
.timeline-process-segments .timeline-seg path {
    fill: none;
    stroke: var(--color-black);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    vector-effect: non-scaling-stroke;
}

/* ---------- Titres + textes en dessous (floating) ---------- */
.timeline-process-steps {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    /* Hauteur minimale pour accueillir les plus longs textes */
    min-height: 170px;
}

.timeline-process-step {
    position: absolute;
    left: var(--pos);
    top: 0;
    transform: translateX(-50%);
    width: clamp(160px, 20vw, 220px);
    text-align: center;
}

/* Wrapper interne du step — c'est lui qu'on anime (y + opacity)
   pour ne pas écraser le translateX(-50%) de centrage du parent. */
.timeline-process-step .tps-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.timeline-process-title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--color-black);
    text-align: center;
    margin: 0;
}

.timeline-process-text {
    font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
    line-height: 1.55;
    margin: 0;
    color: var(--color-black);
    opacity: 0.85;
    max-width: 28ch;
    text-align: center;
}

/* ===== Tablette (< 960px) : resserrer un peu ===== */
@media (max-width: 960px) {
    .timeline-process-step {
        width: clamp(130px, 18vw, 180px);
    }
}

/* ===== Mobile (< 768px) : placeholder vertical (à finaliser quand le SVG mobile sera livré) ===== */
@media (max-width: 767px) {
    .timeline-process {
        margin-top: 40px;
        padding: 0 16px;
        display: block;
    }

    /* Numéros + SVG desktop cachés en mobile. Le SVG vertical « mobile » (un
       trait sans style, invisible) occupait une colonne de 60 px à gauche des
       textes : masqué aussi, les étapes prennent toute la largeur, centrées. */
    .timeline-process-nums { display: none; }
    .timeline-process-art--desktop { display: none; }
    .timeline-process-art--mobile { display: none; }

    /* Steps passent en liste verticale */
    .timeline-process-steps {
        position: relative;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: clamp(32px, 8vw, 64px);
        min-height: 0; /* la hauteur mini servait au trait SVG, désormais masqué */
    }

    .timeline-process-step {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        text-align: center;
        align-items: center;
    }

    /* `text-align: left` était posé ici, mais `.tps-inner` reste un flex
       `align-items: center` : un titre court (« Brief ») forme une boîte étroite
       centrée et paraissait centré, tandis qu'un titre long (« Transport &
       logistique ») occupait toute la largeur et s'alignait à gauche —
       d'où des titres centrés sur certaines pages et pas sur d'autres.
       On centre partout, ce qui correspond au rendu attendu. */
    .timeline-process-title,
    .timeline-process-text {
        text-align: center;
        max-width: 100%;
    }
}

/* ============================================================
   SECTION POURQUOI GALIS — 3 cartes avec numero XXL outline + picto
   Utilise sur team-paris.html, repris sur les futures pages team-*
   ============================================================ */
.pourquoi-section {
    padding-left: 5vw;
    padding-right: 5vw;
}

.pourquoi-header {
    max-width: 1400px;
    margin: 0 auto clamp(40px, 5vw, 80px);
    text-align: center;
}

.pourquoi-header .editorial-section-number {
    display: block;
    margin-bottom: 16px;
}

.pourquoi-header .editorial-chapter-title {
    margin: 0;
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.4vw, 40px);
    max-width: 1400px;
    margin: 0 auto;
}

.pourquoi-card {
    position: relative;
    padding: clamp(32px, 3.5vw, 56px) clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px);
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.45, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.pourquoi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.18);
    border-color: var(--color-yellow);
}

/* Numero XXL plein jaune (sans outline pour eviter les artefacts de rendu sur les empattements) */
.pourquoi-card-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(4rem, 7vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--color-yellow);
    margin: 0 0 clamp(20px, 2vw, 32px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0.18;
}

.pourquoi-card:hover .pourquoi-card-number {
    opacity: 1;
    transform: translateY(-4px);
}

.pourquoi-card-icon {
    width: clamp(48px, 4.5vw, 72px);
    height: clamp(48px, 4.5vw, 72px);
    color: var(--color-black);
    margin-bottom: clamp(20px, 2.4vw, 32px);
    transition: color 0.35s ease, transform 0.35s ease;
}

.pourquoi-card-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pourquoi-card:hover .pourquoi-card-icon {
    color: var(--color-yellow);
    transform: rotate(-4deg) scale(1.05);
}

.pourquoi-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.25rem, 1.6vw, 1.6rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    color: var(--color-black);
}

.pourquoi-card-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.875rem, 1vw, 0.95rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.72);
    margin: 0;
}

/* Responsive : 3 cols -> 1 col en dessous de 900px */
@media (max-width: 900px) {
    .pourquoi-grid {
        grid-template-columns: 1fr;
    }
}

/* Phrase de conclusion sous les 3 cartes — typo XXL extra-bold editoriale */
.pourquoi-conclusion {
    max-width: 1400px;
    margin: clamp(64px, 8vw, 120px) auto 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--color-black);
}

/* ---------- CTA FINAL XXL ---------- */
.editorial-cta {
    padding: clamp(60px, 9vw, 120px) 5vw;
    background: var(--color-yellow);
    color: var(--color-black);
    text-align: center;
}

.editorial-cta h2 {
    font-size: clamp(2.25rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin: 0 0 56px;
}

/* Variante CTA dont le titre tient sur une seule ligne (ex. "Vous avez un projet ?") */
.editorial-cta--single-line h2 {
    font-size: clamp(1.75rem, 4.5vw, 4.5rem);
    white-space: nowrap;
}

.editorial-cta .btn-xl {
    background: var(--color-black);
    color: var(--color-white);
}

.editorial-cta .btn-xl:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .editorial-two-col {
        grid-template-columns: 1fr;
    }
    .editorial-two-col .col-left {
        position: static;
    }
    .editorial-advantage-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .editorial-hero-inner {
        padding: 100px 24px 32px;
    }
    .editorial-section {
        padding: 80px 24px;
    }
    .editorial-cta {
        padding: 50px 24px;
    }
}

/* ============================================
   SECTION RÉALISATIONS (fullwidth filtrable)
   ============================================ */
.realisations-section {
    padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px);
    background: var(--color-white);
    color: var(--color-black);
}

.realisations-header {
    padding: 0 5vw;
    margin-bottom: 48px;
}

.realisations-header .editorial-chapter-title {
    margin-bottom: 0;
}

/* Filtres — barre sticky scrollable */
.realisations-filters {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--color-white);
    padding: 20px 5vw 16px;
    margin-bottom: 48px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    background: rgba(255, 255, 255, 0.92);
}

.realisations-filter-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: center;
}

.realisations-filter-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-black);
    opacity: 0.5;
}

.realisations-filter-list {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 16px;
    border-left: 1px solid rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.realisations-filter-list::-webkit-scrollbar {
    display: none;
}

.realisations-chip {
    flex: 0 0 auto;
    padding: 8px 16px;
    background: transparent;
    color: var(--color-black);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
    white-space: nowrap;
}

.realisations-chip:hover {
    border-color: var(--color-black);
}

.realisations-chip.is-active {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

@media (max-width: 700px) {
    .realisations-filter-group {
        grid-template-columns: 72px 1fr;
        gap: 12px;
    }
    .realisations-filters {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Grille fullwidth — cartes avec coins arrondis (pattern home) */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0 5vw;
    width: 100%;
}

.realisation-card {
    position: relative;
    display: block;
    color: var(--color-black);
    text-decoration: none;
    background: transparent;
}

.realisation-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.realisation-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.realisation-card:hover .realisation-card-image img {
    transform: scale(1.08);
}

.realisation-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.realisation-card:hover .realisation-card-overlay {
    opacity: 1;
}

.realisation-card-client {
    color: var(--color-white);
    font-size: 0.875em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.realisation-card-meta {
    margin-top: 12px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    background: transparent;
}

.realisation-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.realisation-card-title {
    margin: 0;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.realisation-card-sector {
    margin: 0;
    font-size: 0.6875em;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.realisation-card-surface {
    margin: 0;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-black);
    white-space: nowrap;
}

.realisations-empty {
    text-align: center;
    padding: 60px 24px;
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.55);
    font-style: italic;
}

@media (max-width: 1200px) {
    .realisations-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 600px) {
    .realisations-header,
    .realisations-filters {
        padding-left: 24px;
        padding-right: 24px;
    }
    /* Une carte par ligne sur téléphone (2 colonnes = vignettes illisibles) */
    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 24px;
    }
    .realisation-card-meta {
        padding: 12px 16px 16px;
    }
}

