/* ============================================
   ATSE BORDES - Site Internet v2
   Couleurs : Jaune #F5CB00 / Noir #1a1a1a
   ============================================ */

:root {
    --jaune: #F5CB00;
    --jaune-fonce: #E8BA00;
    --jaune-glow: rgba(245, 203, 0, 0.25);
    --noir: #1a1a1a;
    --noir-light: #2d2d2d;
    --noir-soft: #111;
    --gris-fonce: #333;
    --gris: #666;
    --gris-moyen: #999;
    --gris-clair: #f7f8fa;
    --gris-border: #e8e8e8;
    --blanc: #ffffff;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 24px rgba(0,0,0,0.07);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.16);
    --shadow-glow: 0 0 30px var(--jaune-glow);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --sombre: #1a1a1a;
    --texte: #333;
    --texte-clair: #666;
}

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

/* Accessibilité : focus clavier visible */
*:focus {
    outline: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--jaune);
    outline-offset: 3px;
    border-radius: 4px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gris-fonce);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--blanc);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TOP BAR (bandeau contact au-dessus du header)
   ============================================ */
.top-bar {
    background: var(--noir);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
}

.top-bar-left a:hover {
    color: var(--jaune);
}

.top-bar-left svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar-right a {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
}

.top-bar-right a:hover {
    color: var(--jaune);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--gris-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.header-logo:hover img {
    transform: scale(1.03);
}

/* Navigation principale */
.nav-main {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-main > li {
    position: relative;
}

.nav-main > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--noir);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
    position: relative;
}

.nav-main > li > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--jaune);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}

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

.nav-main > li > a:hover,
.nav-main > li > a.active {
    color: var(--jaune-fonce);
}

/* Chevron dropdown */
.has-dropdown::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 2px;
    transition: var(--transition);
}

/* Sous-menus */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 250px;
    background: var(--blanc);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--gris-border);
}

.nav-main > li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--gris-fonce);
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-dropdown a:hover {
    background: rgba(245, 203, 0, 0.08);
    color: var(--jaune-fonce);
    padding-left: 20px;
}

.nav-link-service {
    color: #2E7ABF !important;
    font-weight: 600 !important;
    border-top: 1px solid #eee;
}

/* Bouton Contact dans la nav */
.nav-contact-btn {
    background: var(--jaune) !important;
    color: var(--noir) !important;
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px var(--jaune-glow);
}

.nav-contact-btn::after {
    display: none !important;
}

.nav-contact-btn:hover {
    background: var(--jaune-fonce) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--jaune-glow);
}

/* Bouton ATSE Service dans la nav (bleu = pôle maintenance) */
.nav-service-btn {
    background: #2E7ABF !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(46, 122, 191, 0.3);
}

.nav-service-btn::after {
    display: none !important;
}

.nav-service-btn:hover {
    background: #246199 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(46, 122, 191, 0.4);
}

/* Menu hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--noir);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--noir);
    margin-top: 72px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/equipe/equipe-atse-bordes.jpg') center top/cover;
    background-image: image-set(url('../images/equipe/equipe-atse-bordes.webp') type('image/webp'), url('../images/equipe/equipe-atse-bordes.jpg') type('image/jpeg'));
    opacity: 0.7;
    filter: saturate(0.7);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(26,26,26,0.75) 0%,
        rgba(26,26,26,0.45) 50%,
        rgba(26,26,26,0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--blanc);
    padding: 40px 20px;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 203, 0, 0.12);
    border: 1px solid rgba(245, 203, 0, 0.4);
    color: var(--jaune);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--jaune);
    position: relative;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 40px;
    line-height: 1.75;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--jaune);
    color: var(--noir);
    box-shadow: 0 4px 15px var(--jaune-glow);
}

.btn-primary:hover {
    background: var(--jaune-fonce);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--jaune-glow);
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-outline {
    background: rgba(255,255,255,0.08);
    color: var(--blanc);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--blanc);
    color: var(--noir);
    border-color: var(--blanc);
    transform: translateY(-3px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--noir);
    border: 2px solid var(--gris-border);
}

.btn-outline-dark:hover {
    background: var(--noir);
    color: var(--blanc);
    border-color: var(--noir);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.section-header h2 span {
    color: var(--jaune-fonce);
    position: relative;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gris);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--jaune-fonce);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--jaune);
    border-radius: 2px;
}

/* ============================================
   SERVICES PHOTO (accueil)
   ============================================ */
.services-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-photo-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gris-border);
    display: block;
}

.service-photo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 203, 0, 0.3);
}

.service-photo-img {
    height: 180px;
    overflow: hidden;
    background: var(--gris-clair);
}

.service-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-photo-card:hover .service-photo-img img {
    transform: scale(1.08);
}

.service-photo-body {
    padding: 24px 20px 28px;
}

.service-photo-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 8px;
}

.service-photo-body p {
    font-size: 0.88rem;
    color: var(--gris);
    line-height: 1.65;
}

/* ============================================
   SERVICES (cartes icônes - pages intérieures)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--blanc);
    border-radius: var(--radius);
    padding: 40px 24px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gris-border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--jaune);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 203, 0, 0.2);
}

.service-card .icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(245, 203, 0, 0.12), rgba(245, 203, 0, 0.04));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card .icon svg {
    width: 32px;
    height: 32px;
    color: var(--jaune-fonce);
    stroke: var(--jaune-fonce);
}

.service-card:hover .icon {
    background: var(--jaune);
    transform: scale(1.05);
}

.service-card:hover .icon svg {
    color: var(--noir);
    stroke: var(--noir);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--noir);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--gris);
    line-height: 1.65;
}

/* ============================================
   CHIFFRES CLES
   ============================================ */
.chiffres {
    background: linear-gradient(135deg, var(--noir-soft) 0%, var(--noir-light) 100%);
    color: var(--blanc);
    position: relative;
    overflow: hidden;
}

.chiffres::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--jaune-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.chiffre-item {
    padding: 20px;
}

.chiffre-item .number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--jaune);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.chiffre-item .label {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ============================================
   ABOUT / PRESENTATION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.about-text h2 span {
    color: var(--jaune-fonce);
}

.about-text p {
    margin-bottom: 16px;
    color: var(--gris);
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--jaune);
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

/* ============================================
   REALISATIONS
   ============================================ */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.realisation-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 4/3;
    text-decoration: none;
    color: inherit;
}

.realisation-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.realisation-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.realisation-card:hover img {
    transform: scale(1.08);
}

.realisation-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.45) 100%);
    padding: 50px 24px 18px;
    color: #fff;
    transition: var(--transition);
}

.realisation-card:hover .overlay {
    padding-bottom: 28px;
}

.realisation-card .overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.85);
}

.realisation-card .overlay p {
    font-size: 0.85rem;
    color: var(--jaune);
    opacity: 1;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 0 8px rgba(0,0,0,0.85);
}

/* ============================================
   CTA SECTION (appel à l'action)
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--jaune) 0%, var(--jaune-fonce) 100%);
    color: var(--noir);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.cta-section p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    opacity: 0.8;
    line-height: 1.7;
}

.cta-section .btn {
    background: var(--noir);
    color: var(--blanc);
}

.cta-section .btn:hover {
    background: var(--blanc);
    color: var(--noir);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-light {
    background: transparent !important;
    color: var(--noir) !important;
    border: 2px solid rgba(0,0,0,0.3);
}

.btn-outline-light:hover {
    background: var(--noir) !important;
    color: var(--blanc) !important;
    border-color: var(--noir);
}

/* ============================================
   QUALIFICATIONS
   ============================================ */
.qualifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.qualification-item {
    background: var(--blanc);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--jaune);
    transition: var(--transition);
}

.qualification-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.qualification-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 6px;
}

.qualification-item p {
    font-size: 0.85rem;
    color: var(--gris);
}

.qualif-header {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--blanc);
    padding: 36px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    margin-top: 20px;
}

.qualif-header .qualif-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gris-clair);
    border-radius: var(--radius);
    padding: 24px;
    min-height: 160px;
}

.qualif-header .qualif-logo img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.qualif-header .qualif-text h2 {
    margin-bottom: 14px;
}

.qualif-header .qualif-text p {
    color: var(--gris);
    line-height: 1.7;
    margin: 0;
}

.qualif-header .qualif-text .section-label {
    display: inline-block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .qualif-header {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 24px;
        text-align: center;
    }
    .qualif-header .qualif-logo {
        max-width: 220px;
        margin: 0 auto;
    }
}

/* ============================================
   EQUIPE
   ============================================ */
.equipe-section {
    margin-bottom: 36px;
}

.equipe-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--jaune-fonce);
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--jaune);
    display: inline-block;
}

.equipe-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.equipe-membre {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gris-border);
    border-left: 4px solid var(--jaune);
    transition: var(--transition);
}

.equipe-membre:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.equipe-membre-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.equipe-membre-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--noir);
}

.equipe-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--jaune-fonce);
    background: rgba(245, 203, 0, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.equipe-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--jaune-fonce);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.equipe-membre p {
    font-size: 0.88rem;
    color: var(--gris);
    line-height: 1.6;
}

/* ============================================
   TABLE DE REALISATIONS
   ============================================ */
.table-realisations {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-realisations th {
    background: var(--noir);
    color: var(--blanc);
    padding: 16px 20px;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.table-realisations th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.table-realisations th.sortable:hover {
    background: #2a2a2a;
}
.table-realisations th.sortable .sort-arrow {
    display: inline-block;
    margin-left: 6px;
    color: var(--jaune);
    font-size: 0.75rem;
    min-width: 10px;
}
.table-realisations th.sortable.sorted {
    background: #2a2a2a;
}

.table-realisations td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gris-border);
    font-size: 0.9rem;
}

.table-realisations tbody tr {
    transition: var(--transition);
}

.table-realisations tbody tr:hover {
    background: rgba(245, 203, 0, 0.04);
}

.table-realisations .budget {
    font-weight: 700;
    color: var(--jaune-fonce);
    white-space: nowrap;
}

/* Compteur / barre de recherche / voir plus */
.ref-count-line {
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--jaune-fonce);
    letter-spacing: 0.3px;
}
.ref-search {
    position: relative;
    max-width: 520px;
    margin: 16px 0 24px;
}
.ref-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--gris-texte);
    pointer-events: none;
}
.ref-search input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: 2px solid var(--gris-border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: var(--transition);
}
.ref-search input:focus {
    outline: none;
    border-color: var(--jaune);
    box-shadow: 0 0 0 3px rgba(245, 203, 0, 0.18);
}
.ref-show-more-wrap {
    text-align: center;
    margin-top: 24px;
}

/* Tableau réalisations - cartes sur mobile */
@media (max-width: 768px) {
    .table-realisations {
        box-shadow: none;
        background: transparent;
    }
    .table-realisations thead {
        display: none;
    }
    .table-realisations tbody tr {
        display: block;
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        margin-bottom: 14px;
        padding: 16px 18px;
        border-left: 3px solid var(--jaune);
    }
    .table-realisations td {
        display: block;
        padding: 4px 0;
        border: none;
    }
    .table-realisations td:first-child {
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 6px;
    }
    .table-realisations td:nth-child(2)::before { content: "Travaux : "; color: var(--gris-texte); font-size: 0.8rem; }
    .table-realisations td:nth-child(3)::before { content: "Année : "; color: var(--gris-texte); font-size: 0.8rem; }
    .table-realisations .budget {
        margin-top: 6px;
        font-size: 1.05rem;
    }
}

/* ============================================
   PAGE INTERIEURE - BANNER
   ============================================ */
.page-banner {
    background: linear-gradient(135deg, var(--noir-soft) 0%, var(--noir-light) 100%);
    color: var(--blanc);
    padding: 105px 0 45px;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

/* Liseré jaune en bas */
.page-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--jaune), transparent);
    z-index: 2;
}

.page-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 2.3rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
    text-align: left;
}

.page-banner h1 span {
    color: var(--jaune);
}

.page-banner .breadcrumb {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.85rem;
    opacity: 0.6;
    margin: 0;
}

.page-banner .breadcrumb a:hover {
    color: var(--jaune);
    opacity: 1;
}

/* ============================================
   CONTENU PAGE
   ============================================ */
.page-content {
    padding: 70px 0;
}

.page-content h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.page-content h2 span {
    color: var(--jaune-fonce);
}

.page-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--noir);
    margin: 32px 0 12px;
    padding-left: 14px;
    border-left: 3px solid var(--jaune);
}

.page-content p {
    margin-bottom: 16px;
    color: var(--gris);
    line-height: 1.85;
}

.page-content ul {
    margin: 10px 0 20px 20px;
    list-style: none;
}

.page-content ul li {
    margin-bottom: 10px;
    color: var(--gris);
    line-height: 1.65;
    padding-left: 20px;
    position: relative;
}

.page-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--jaune);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.content-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.content-image:hover img {
    transform: scale(1.03);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-info-item .icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, rgba(245, 203, 0, 0.12), rgba(245, 203, 0, 0.04));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-item .icon-box svg {
    width: 22px;
    height: 22px;
    color: var(--jaune-fonce);
    stroke: var(--jaune-fonce);
}

.contact-info-item h4 {
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--gris);
}

.contact-info-item a {
    color: var(--jaune-fonce);
    font-weight: 600;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--noir);
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid var(--gris-border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--blanc);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--jaune);
    box-shadow: 0 0 0 4px var(--jaune-glow);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

/* ============================================
   OFFRES D'EMPLOI
   ============================================ */
.job-card {
    background: var(--blanc);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--jaune);
    margin-bottom: 24px;
    transition: var(--transition);
}

.job-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(4px);
}

.job-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--noir);
    margin-bottom: 10px;
}

.job-card .job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--gris);
    flex-wrap: wrap;
}

.job-card .job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-card p {
    color: var(--gris);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--noir-soft);
    color: var(--blanc);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--jaune);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
}

.footer-col p {
    font-size: 0.88rem;
    opacity: 0.6;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    opacity: 0.6;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--jaune);
    padding-left: 6px;
}

.footer-logo img {
    height: 28px;
    width: auto;
    margin-bottom: 18px;
}

.footer-phone {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem !important;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-phone:hover {
    color: var(--jaune) !important;
}

.footer-phone svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.35;
}

/* Map container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--jaune);
    color: var(--noir);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
    background: var(--jaune-fonce);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--jaune-glow);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   GROUPE ATSE (split)
   ============================================ */
.groupe-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

.groupe-pole {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gris-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.groupe-pole:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.groupe-pole-header {
    margin-bottom: 20px;
}

.groupe-pole-logo {
    height: 40px;
    width: auto;
}

.groupe-pole-tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--jaune);
    color: var(--sombre);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.groupe-pole-tag-blue {
    background: #2E7ABF;
    color: #fff;
}

.groupe-pole-desc {
    font-size: 0.95rem;
    color: var(--texte-clair);
    line-height: 1.6;
    margin-bottom: 24px;
}

.groupe-pole-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex-grow: 1;
}

.groupe-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--texte);
}

.groupe-feature svg {
    color: var(--jaune-fonce);
    flex-shrink: 0;
}

.groupe-pole-service .groupe-feature svg {
    color: #2E7ABF;
}

.groupe-pole-btn {
    align-self: flex-start;
}

.groupe-pole-btn-blue {
    background: #2E7ABF;
    border-color: #2E7ABF;
}

.groupe-pole-btn-blue:hover {
    background: #245f96;
}

/* Divider central */
.groupe-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.groupe-divider-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, var(--gris-border), transparent);
}

.groupe-divider-badge {
    background: var(--sombre);
    color: var(--jaune);
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.5;
    white-space: nowrap;
}

/* ============================================
   BARRES DE PROGRESSION (CA)
   ============================================ */
.progress-bars {
    margin: 16px 0 20px;
}

/* VALUES GRID (page la-societe) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
.value-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: 32px 32px 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gris-border);
    border-left: 4px solid var(--jaune);
    transition: var(--transition);
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--jaune-fonce);
}
.value-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF6CC 0%, #FFE680 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jaune-fonce);
}
.value-icon svg {
    width: 32px;
    height: 32px;
}
.value-content {
    flex: 1;
}
.value-content h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    color: var(--noir);
}
.value-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .value-card {
        padding: 24px 20px;
        gap: 18px;
    }
    .value-icon {
        width: 52px;
        height: 52px;
    }
    .value-icon svg {
        width: 26px;
        height: 26px;
    }
}

/* MATERIEL GRID (page mise-au-point) */
.materiel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}
.materiel-card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: 20px 20px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gris-border);
    text-align: center;
    transition: var(--transition);
}
.materiel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--jaune);
}
.materiel-photo {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 16px;
}
.materiel-photo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.materiel-card h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--noir);
}
.materiel-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}
@media (max-width: 900px) {
    .materiel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 540px) {
    .materiel-grid {
        grid-template-columns: 1fr;
    }
}

/* LOGICIELS LIST (page etude) */
.logiciels-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.logiciel-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--blanc);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gris-border);
    transition: var(--transition);
}
.logiciel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--jaune);
}
.logiciel-logo {
    flex-shrink: 0;
    width: 110px;
    height: 80px;
    background: var(--gris-clair);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.logiciel-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.logiciel-text {
    flex: 1;
}
.logiciel-text h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    color: var(--noir);
}
.logiciel-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555;
}
@media (max-width: 768px) {
    .logiciel-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    .logiciel-logo {
        width: 140px;
        height: 90px;
    }
}

/* CA BLOCK (page la-societe) */
.ca-block {
    max-width: 880px;
    margin: 0 auto;
    background: var(--blanc);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 50px 60px;
}
.ca-block .ca-header {
    text-align: center;
    margin-bottom: 36px;
}
.ca-block .ca-header h2 {
    margin: 8px 0 12px;
}
.ca-block .ca-header p {
    max-width: 560px;
    margin: 0 auto;
}
.ca-block .progress-bars {
    margin: 0 0 36px;
}
.ca-block .progress-item {
    margin-bottom: 18px;
}
.ca-block .progress-label {
    font-size: 1rem;
    font-weight: 600;
}
.ca-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--gris-clair);
}
.ca-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ca-stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--jaune-fonce);
    line-height: 1;
    margin-bottom: 6px;
}
.ca-stat-label {
    font-size: 0.95rem;
    color: var(--noir);
    font-weight: 500;
}
@media (max-width: 768px) {
    .ca-block {
        padding: 32px 24px;
    }
    .ca-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ca-stat-value {
        font-size: 1.9rem;
    }
}

.progress-item {
    margin-bottom: 14px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gris-fonce);
    margin-bottom: 6px;
}

.progress-highlight {
    color: var(--jaune-fonce);
    font-weight: 800;
}

.progress-track {
    width: 100%;
    height: 10px;
    background: var(--gris-border);
    border-radius: 50px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--jaune), var(--jaune-fonce));
    border-radius: 50px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   UTILITY CLASSES (shared inline styles)
   ============================================ */
.content-narrow {
    max-width: 800px;
}

.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.text-center { text-align: center; }
.text-muted { color: var(--gris); }
.text-lg { font-size: 1.1rem; }
.text-sm { font-size: 0.95rem; }
.text-link-jaune { color: var(--jaune-fonce); font-weight: 600; }

.grid-1col { grid-template-columns: 1fr; }
.grid-auto-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-auto-180 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.service-card-compact {
    padding: 20px 16px;
}

.service-card-compact h3 {
    font-size: 0.95rem;
}

.job-card-spontanee {
    border-left-color: var(--gris);
}

.table-responsive {
    overflow-x: auto;
}

/* Contact icon boxes with SVGs - hover effect */
.contact-info-item:hover .icon-box {
    background: var(--jaune);
}

.contact-info-item:hover .icon-box svg {
    color: var(--noir);
    stroke: var(--noir);
}

/* Background utilities */
.bg-gris-clair { background: var(--gris-clair); }

/* ============================================
   REFERENCES (types de clients)
   ============================================ */
/* Chiffres clés références */
.ref-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.ref-stat {
    text-align: center;
    padding: 28px 16px;
    background: var(--sombre);
    border-radius: var(--radius-lg);
    color: #fff;
}

.ref-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--jaune);
    line-height: 1.2;
    margin-bottom: 6px;
}

.ref-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* Grille clients */
.ref-clients {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.ref-client {
    padding: 24px 28px;
    background: var(--blanc);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gris-border);
    transition: var(--transition);
}

.ref-client:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--jaune);
}

.ref-client-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ref-client-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(245,203,0,0.15), rgba(245,203,0,0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ref-client-icon svg {
    width: 22px;
    height: 22px;
    color: var(--jaune-fonce);
}

.ref-client:hover .ref-client-icon {
    background: var(--jaune);
}

.ref-client:hover .ref-client-icon svg {
    color: var(--sombre);
}

.ref-client-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--sombre);
    line-height: 1.2;
}

.ref-client-count {
    font-size: 0.8rem;
    color: var(--jaune-fonce);
    font-weight: 600;
}

.ref-client-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ref-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gris-clair);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--texte);
    font-weight: 500;
    transition: var(--transition);
}

.ref-client:hover .ref-tag {
    background: rgba(245,203,0,0.1);
    color: var(--sombre);
}

/* ============================================
   SIMULATEUR
   ============================================ */

.sim-container {
    max-width: 720px;
    margin: 0 auto;
}

.sim-step {
    display: none;
}

.sim-step.active {
    display: block;
    animation: simFadeIn 0.4s ease;
}

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

.sim-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.sim-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--jaune);
    color: var(--noir);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sim-step-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--noir);
}

.sim-question {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Options buttons */
.sim-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.sim-options-small {
    grid-template-columns: repeat(3, 1fr);
    max-width: 400px;
}

.sim-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--blanc);
    border: 2px solid var(--gris-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--noir);
}

.sim-option svg {
    width: 28px;
    height: 28px;
    color: #999;
    stroke: #999;
    transition: all 0.25s ease;
}

.sim-option:hover {
    border-color: var(--jaune);
    background: rgba(245, 203, 0, 0.04);
}

.sim-option:hover svg {
    color: var(--jaune-fonce);
    stroke: var(--jaune-fonce);
}

.sim-option.active {
    border-color: var(--jaune);
    background: rgba(245, 203, 0, 0.08);
    box-shadow: 0 0 0 3px rgba(245, 203, 0, 0.15);
}

.sim-option.active svg {
    color: var(--jaune-fonce);
    stroke: var(--jaune-fonce);
}

.sim-options-small .sim-option {
    flex-direction: row;
    padding: 12px 16px;
    gap: 0;
}

/* Range slider */
.sim-slider-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sim-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--jaune) 0%, var(--jaune) var(--pct, 50%), #e0e0e0 var(--pct, 50%), #e0e0e0 100%);
    outline: none;
    cursor: pointer;
}

.sim-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--jaune);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s;
}

.sim-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.sim-range::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--jaune);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
}

.sim-range-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--noir);
    min-width: 90px;
    text-align: center;
    background: rgba(245, 203, 0, 0.08);
    padding: 8px 16px;
    border-radius: 12px;
}

/* Navigation */
.sim-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gris-border);
}

.sim-progress {
    display: flex;
    gap: 8px;
}

.sim-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s;
}

.sim-progress-dot.active {
    background: var(--jaune);
    transform: scale(1.2);
}

/* Shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.shake {
    animation: shake 0.5s ease;
}

/* Résultats */
.sim-results {
    animation: simFadeIn 0.5s ease;
}

.sim-results-header {
    text-align: center;
    margin-bottom: 36px;
}

.sim-results-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--noir);
    margin-bottom: 8px;
}

.sim-results-header p {
    color: #666;
    font-size: 0.95rem;
}

.sim-results-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 36px;
}

.sim-result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    flex: 1;
}

.sim-result-before {
    background: #fff5f5;
    border: 1px solid #fecaca;
}

.sim-result-after {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.sim-result-arrow {
    flex: 0;
    padding: 12px;
}

.sim-result-arrow svg {
    width: 28px;
    height: 28px;
    color: #999;
}

.sim-result-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 8px;
}

.sim-result-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--noir);
}

.sim-result-before .sim-result-amount {
    color: #dc2626;
}

.sim-result-after .sim-result-amount {
    color: #16a34a;
}

.sim-result-unit {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}

/* Savings bar */
.sim-savings {
    background: var(--blanc);
    border: 1px solid var(--gris-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.sim-savings-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sim-savings-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

.sim-savings-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #16a34a;
}

.sim-savings-bar {
    height: 12px;
    background: #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.sim-savings-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--jaune), #16a34a);
    border-radius: 6px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-savings-percent {
    font-size: 0.9rem;
    color: #666;
}

/* CO2 */
.sim-co2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(22, 163, 74, 0.06);
    border: 1px solid rgba(22, 163, 74, 0.15);
    border-radius: var(--radius);
    color: #16a34a;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.sim-co2 svg {
    color: #16a34a;
    stroke: #16a34a;
    flex-shrink: 0;
}

/* Disclaimer */
.sim-disclaimer {
    margin-bottom: 28px;
}

.sim-disclaimer p {
    font-size: 0.78rem;
    color: #999;
    text-align: center;
    line-height: 1.6;
}

/* CTA */
.sim-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 600px) {
    .sim-results-grid {
        flex-direction: column;
    }

    .sim-result-arrow {
        transform: rotate(90deg);
    }

    .sim-result-card {
        width: 100%;
    }

    .sim-options {
        grid-template-columns: 1fr 1fr;
    }

    .sim-options-small {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .sim-slider-group {
        flex-direction: column;
        align-items: stretch;
    }

    .sim-range-value {
        text-align: center;
    }
}

/* CARTE REALISATIONS */
.carte-realisations {
    height: 550px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--gris-border);
    margin-bottom: 60px;
    z-index: 1;
    position: relative;
}

.map-marker {
    background: none !important;
    border: none !important;
}

.map-marker-inner {
    width: 14px;
    height: 14px;
    border: 2.5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.map-marker:hover .map-marker-inner {
    transform: scale(1.5);
    box-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.map-marker-siege .map-marker-inner {
    width: 24px;
    height: 24px;
    background: var(--jaune) !important;
    border: 3px solid var(--noir);
    box-shadow: 0 0 0 4px rgba(245,203,0,0.3), 0 2px 12px rgba(245,203,0,0.5);
    animation: pulse-siege 2s ease-in-out infinite;
}

@keyframes pulse-siege {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245,203,0,0.3), 0 2px 12px rgba(245,203,0,0.5); }
    50% { box-shadow: 0 0 0 8px rgba(245,203,0,0.15), 0 2px 16px rgba(245,203,0,0.6); }
}

.leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18) !important;
    padding: 0 !important;
}

.leaflet-popup-content {
    margin: 0 !important;
}

.leaflet-popup-tip {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

.map-popup {
    font-family: 'Inter', sans-serif;
    min-width: 200px;
    padding: 16px 18px;
}

.map-popup-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.map-popup-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--sombre);
    margin-bottom: 4px;
    line-height: 1.3;
}

.map-popup-desc {
    font-size: 12.5px;
    color: #666;
    line-height: 1.4;
}

.map-popup-budget {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--jaune-fonce);
}

/* Légende carte */
.map-legend {
    position: absolute;
    bottom: 30px;
    left: 12px;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    font-family: 'Inter', sans-serif;
    max-width: 180px;
}

.map-legend-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sombre);
    margin-bottom: 8px;
}

.map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    cursor: pointer;
    transition: opacity 0.2s;
    font-size: 12px;
    color: #444;
}

.map-legend-item:hover {
    opacity: 0.7;
}

.map-legend-item.dimmed {
    opacity: 0.3;
}

.map-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.map-legend-count {
    margin-left: auto;
    font-weight: 600;
    color: #999;
    font-size: 11px;
}

@media (max-width: 600px) {
    .carte-realisations {
        height: 400px;
    }

    .map-legend {
        bottom: 10px;
        left: 8px;
        padding: 10px 12px;
        max-width: 150px;
        font-size: 11px;
    }
}

/* VIDEOS */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

/* ============================================
   FRISE CHRONOLOGIQUE 50 ANS
   ============================================ */
.section-frise {
    padding: 90px 0;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.frise {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 60px;
    padding: 30px 0;
}

.frise-line {
    position: absolute;
    top: 100px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, rgba(245, 203, 0, 0.2), var(--jaune) 50%, rgba(245, 203, 0, 0.2));
    border-radius: 2px;
    z-index: 0;
}

.frise-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.frise-dot {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 4px solid var(--jaune);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(245, 203, 0, 0.15), 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 80px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.frise-item:hover .frise-dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(245, 203, 0, 0.2), 0 6px 18px rgba(0,0,0,0.15);
}

.frise-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sombre);
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1;
}

.frise-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #ececec;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
}

.frise-item:hover .frise-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    border-color: rgba(245, 203, 0, 0.3);
}

.frise-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sombre);
    margin-bottom: 8px;
    line-height: 1.3;
}

.frise-card p {
    font-size: 0.8rem;
    color: var(--texte-clair);
    line-height: 1.55;
    margin: 0;
}

/* Highlight 2025 */
.frise-item-highlight .frise-dot {
    background: var(--jaune);
    border-color: var(--jaune);
    box-shadow: 0 0 0 8px rgba(245, 203, 0, 0.25), 0 4px 16px rgba(245, 203, 0, 0.4);
    animation: friseHighlightPulse 2.5s ease-in-out infinite;
}

@keyframes friseHighlightPulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(245, 203, 0, 0.25), 0 4px 16px rgba(245, 203, 0, 0.4); }
    50% { box-shadow: 0 0 0 14px rgba(245, 203, 0, 0.1), 0 4px 20px rgba(245, 203, 0, 0.5); }
}

.frise-item-highlight .frise-year {
    color: var(--jaune);
}

.frise-item-highlight .frise-card {
    background: linear-gradient(180deg, rgba(245, 203, 0, 0.08), #fff 80%);
    border-color: rgba(245, 203, 0, 0.4);
}

/* Responsive frise */
@media (max-width: 968px) {
    .frise {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 30px;
    }

    .frise-line {
        top: 0;
        bottom: 0;
        left: 35px;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, rgba(245, 203, 0, 0.2), var(--jaune) 50%, rgba(245, 203, 0, 0.2));
    }

    .frise-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .frise-dot {
        margin-top: 8px;
        margin-bottom: 0;
        flex-shrink: 0;
        margin-left: -28px;
    }

    .frise-year {
        position: absolute;
        left: 60px;
        top: 0;
        font-size: 1.4rem;
        margin: 0;
    }

    .frise-card {
        margin-top: 40px;
        text-align: left;
    }
}

/* YOUTUBE FACADE - thumbnail clickable */
.yt-facade {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.yt-facade picture,
.yt-facade img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.yt-facade:hover img {
    transform: scale(1.04);
    filter: brightness(0.85);
}

.yt-facade .yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #F5CB00;
    border: 4px solid rgba(255,255,255,0.95);
    cursor: pointer;
    padding: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(245, 203, 0, 0.5);
    animation: ytPulse 2.4s ease-in-out infinite;
    color: #1a1a1a;
}

.yt-facade .yt-play svg {
    width: 36px;
    height: 36px;
    margin-left: 6px;
    color: inherit;
    fill: currentColor;
}

.yt-facade::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.yt-facade:hover::after {
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
}

.yt-facade:hover .yt-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
    box-shadow: 0 14px 40px rgba(0,0,0,0.5);
    animation: none;
}

@keyframes ytPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 0 rgba(245, 203, 0, 0.5); }
    50% { box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 16px rgba(245, 203, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .yt-facade .yt-play { animation: none; }
}

.yt-facade.yt-loaded picture,
.yt-facade.yt-loaded .yt-play {
    display: none;
}

.yt-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* VIDEOS V2 - cartes avec texte */
.video-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.video-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eaeaea;
    transition: all 0.35s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.video-card .video-wrapper {
    border-radius: 0;
    box-shadow: none;
}

.video-card .video-wrapper iframe {
    border-radius: 0;
}

.video-card-content {
    padding: 28px;
}

.video-card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--jaune);
    background: rgba(245, 203, 0, 0.1);
    border: 1px solid rgba(245, 203, 0, 0.25);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.video-card-label svg {
    flex-shrink: 0;
}

.video-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sombre);
    margin-bottom: 8px;
}

.video-card p {
    font-size: 0.9rem;
    color: var(--texte-clair);
    line-height: 1.6;
    margin: 0;
}

/* Video hero feature (homepage) */
.section-video-hero {
    padding: 90px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.video-hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.video-hero-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.08);
}

.video-hero-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-hero-text .section-label {
    margin-bottom: 16px;
}

.video-hero-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--sombre);
    margin-bottom: 20px;
    line-height: 1.2;
}

.video-hero-text h2 span {
    color: var(--jaune);
}

.video-hero-text > p {
    font-size: 1rem;
    color: var(--texte-clair);
    line-height: 1.75;
    margin-bottom: 24px;
}

.video-hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.video-hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--texte);
}

.video-hero-features li svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 4px;
    background: rgba(245, 203, 0, 0.15);
    color: var(--jaune);
    border-radius: 50%;
}

@media (max-width: 968px) {
    .video-grid-v2 {
        grid-template-columns: 1fr;
    }

    .video-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .video-hero-text h2 {
        font-size: 1.7rem;
    }
}

/* GROUPE ATSE - cards layout */
/* Legacy groupe-cards removed — now using .groupe-split */

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    color: var(--jaune-fonce);
    border: 1.5px solid var(--jaune);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--jaune);
    color: var(--noir);
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .top-bar {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--blanc);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transition: var(--transition);
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-main.open {
        right: 0;
    }

    .nav-main > li > a {
        padding: 12px 16px;
    }

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

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 4px 0 4px 12px;
        display: none;
        background: var(--gris-clair);
        border-radius: var(--radius);
        margin-top: 4px;
        border: none;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-content,
    .two-columns,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .chiffres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-clients {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .groupe-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .groupe-divider {
        flex-direction: row;
        padding: 10px 0;
    }

    .groupe-divider-line {
        width: auto;
        height: 2px;
        flex: 1;
    }

    .groupe-pole {
        padding: 30px 24px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-scroll {
        display: none;
    }
}

@media (max-width: 600px) {
    .chiffres-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .chiffre-item .number {
        font-size: 2.4rem;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .services-photo-grid {
        grid-template-columns: 1fr;
    }

    .service-photo-card {
        display: grid;
        grid-template-columns: 140px 1fr;
    }

    .ref-clients {
        grid-template-columns: 1fr;
    }

    .ref-stats {
        grid-template-columns: 1fr 1fr;
    }

    .ref-stat-number {
        font-size: 1.5rem;
    }

    .service-photo-img {
        height: 100%;
    }

    .service-photo-body {
        padding: 16px;
    }

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

    .page-banner {
        padding: 95px 0 35px;
    }
    .page-banner .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .page-banner h1 {
        font-size: 1.8rem;
    }
    .page-banner .breadcrumb {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .realisations-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .cta-section h2 {
        font-size: 1.7rem;
    }

    .ref-filters {
        flex-wrap: wrap;
    }
}

/* ===== Filtres références ===== */
.ref-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.ref-filter {
    padding: 8px 20px;
    border: 2px solid var(--gris-clair);
    border-radius: 30px;
    background: #fff;
    color: var(--texte);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ref-filter:hover {
    border-color: var(--jaune);
    color: var(--jaune-fonce);
}

.ref-filter.active {
    background: var(--jaune);
    border-color: var(--jaune);
    color: var(--sombre);
    font-weight: 600;
}

.table-realisations tr.ref-hidden {
    display: none;
}

/* ===== Formulaire devis rapide ===== */
.section-devis {
    padding: 80px 0;
    background: var(--gris-clair);
}

.devis-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.devis-info h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.devis-info p {
    color: var(--texte-clair);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.devis-avantages {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.devis-avantages li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--sombre);
}

.devis-avantages svg {
    color: var(--jaune-fonce);
    flex-shrink: 0;
}

.devis-form {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--gris-border);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.devis-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.devis-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.devis-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sombre);
}

.devis-field input,
.devis-field select,
.devis-field textarea {
    padding: 12px 14px;
    border: 1.5px solid var(--gris-border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--texte);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.devis-field input:focus,
.devis-field select:focus,
.devis-field textarea:focus {
    outline: none;
    border-color: var(--jaune);
    box-shadow: 0 0 0 3px rgba(245,203,0,0.15);
}

.devis-field input::placeholder,
.devis-field textarea::placeholder {
    color: #aaa;
}

.devis-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.devis-field textarea {
    resize: vertical;
    min-height: 80px;
}

.devis-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 14px 24px;
    margin-top: 4px;
}

.devis-alt {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gris-border);
}

.devis-alt-label {
    display: block;
    font-size: 0.85rem;
    color: var(--texte-clair);
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .devis-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .devis-form {
        padding: 24px 20px;
    }

    .devis-form-row {
        grid-template-columns: 1fr;
    }

    .devis-info h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   STYLES D'IMPRESSION
   ============================================ */
@media print {
    /* Reset général : noir sur blanc, sans ombre */
    *, *::before, *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
    }
    body {
        font-size: 11pt;
        line-height: 1.45;
        font-family: Georgia, "Times New Roman", serif;
    }

    /* Cacher les éléments inutiles à l'impression */
    .header,
    .footer,
    .hamburger,
    .nav-main,
    .back-to-top,
    .ref-filters,
    .ref-search,
    .ref-show-more-wrap,
    .map-legend,
    #map,
    .carte-realisations,
    .btn,
    .nav-contact-btn,
    video,
    iframe {
        display: none !important;
    }

    /* Bandeau de page : remettre à plat */
    .page-banner {
        background: none !important;
        color: #000 !important;
        padding: 0 0 12pt 0 !important;
        margin: 0 0 12pt 0 !important;
        border-bottom: 2pt solid #000;
    }
    .page-banner h1 {
        color: #000 !important;
        font-size: 22pt;
    }
    .page-banner h1 span,
    h1 span, h2 span, h3 span {
        color: #000 !important;
    }
    .breadcrumb {
        font-size: 9pt;
        color: #555 !important;
    }

    /* En-tête simple : nom de l'entreprise + coordonnées */
    body::before {
        content: "ATSE BORDES — 144 Rue du Péchal, 24590 Saint-Geniès — 05 53 59 09 81 — www.atsebordes.com";
        display: block;
        font-size: 9pt;
        text-align: center;
        border-bottom: 1pt solid #000;
        padding-bottom: 8pt;
        margin-bottom: 16pt;
    }

    /* Pied de page : URL et date */
    @page {
        margin: 1.6cm 1.2cm 1.6cm 1.2cm;
    }

    /* Titres : pas de coupure interne */
    h1, h2, h3, h4 {
        page-break-after: avoid;
        break-after: avoid;
    }
    /* Tableaux : ne pas couper une ligne */
    tr, img, figure {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    /* Liens : afficher l'URL en clair */
    a[href^="http"]::after,
    a[href^="https"]::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #555;
    }
    /* Sauf logos et liens internes */
    .header-logo a::after,
    .footer-logo a::after,
    a[href^="#"]::after,
    a[href^="tel:"]::after,
    a[href^="mailto:"]::after {
        content: "" !important;
    }

    /* Tableau réalisations propre */
    .table-realisations {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 9pt;
    }
    .table-realisations th,
    .table-realisations td {
        border: 1pt solid #888 !important;
        padding: 4pt 6pt !important;
    }
    .table-realisations thead {
        display: table-header-group !important;
    }
    .table-realisations tr.ref-hidden {
        display: table-row !important; /* tout afficher à l'impression */
    }
    .table-realisations .budget {
        font-weight: 700;
    }

    /* Images compactes */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Économise l'encre */
    section, .container, .page-content {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* ============================================
   LIGHTBOX GALERIE CHANTIERS
   ============================================ */
/* ============================================
   TRUST BAR (sous le hero)
   ============================================ */
.trust-bar {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
    position: relative;
    z-index: 2;
}
.trust-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px 32px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
    font-size: 0.92rem;
    white-space: nowrap;
}
.trust-item strong {
    color: #1a1a1a;
    font-weight: 700;
}
.trust-item svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    stroke: #F5CB00;
}
/* ============================================
   PAGE 50 ANS — Anniversaire ATSE BORDES
   ============================================ */
.anniv-hero {
    position: relative;
    height: clamp(360px, 60vh, 640px);
    overflow: hidden;
    color: #fff;
}
.anniv-hero img,
.anniv-hero picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.anniv-hero-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
    padding: 60px 0 50px;
}
.anniv-hero-overlay .container {
    max-width: 720px;
}
.anniv-hero-tag {
    display: inline-block;
    background: #F5CB00;
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.88rem;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.anniv-hero-overlay h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 16px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.anniv-hero-overlay h1 span {
    color: #F5CB00;
    display: block;
    font-size: 0.88em;
}
.anniv-hero-overlay p {
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.95);
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    max-width: 620px;
}

.anniv-intro {
    max-width: 880px;
    margin: 0 auto 50px;
    text-align: center;
}
.anniv-intro .lead-text {
    font-size: 1.18rem;
    line-height: 1.6;
    color: #333;
    margin: 18px 0 22px;
}

.anniv-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}
.anniv-stat {
    text-align: center;
    padding: 32px 16px;
    background: linear-gradient(135deg, #fff8d6 0%, #fffce0 100%);
    border-radius: 14px;
    border: 1px solid #f0e090;
}
.anniv-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.05;
    margin-bottom: 6px;
}
.anniv-stat-lbl {
    font-size: 0.88rem;
    color: #666;
}
@media (max-width: 720px) {
    .anniv-stats { grid-template-columns: repeat(2, 1fr); }
}

.anniv-video-wrapper {
    max-width: 980px;
    margin: 40px auto 0;
}
.anniv-video-wrapper .yt-facade {
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

/* Fresque ATSE - section dédiée à l'œuvre des 50 ans */
.fresque-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}
.fresque-image {
    position: relative;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    background: #faf7ed;
    box-shadow: 0 18px 44px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #ebe5cf;
}
.fresque-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.18);
}
.fresque-image img {
    display: block;
    width: 100%;
    height: auto;
}
.fresque-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(26,26,26,0.85);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    opacity: 0.92;
    transition: opacity 0.2s, transform 0.2s;
}
.fresque-image:hover .fresque-zoom {
    opacity: 1;
    transform: translateY(-2px);
    background: #F5CB00;
    color: #1a1a1a;
}
.fresque-zoom svg { width: 16px; height: 16px; }

.fresque-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.fresque-pillar {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
}
.fresque-pillar-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #F5CB00;
    line-height: 1;
}
.fresque-pillar h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.fresque-pillar p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 960px) {
    .fresque-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .fresque-image {
        max-width: 520px;
        margin: 0 auto;
    }
}

.anniv-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
    margin-top: 40px;
}
.anniv-photo {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background: #f5f5f5;
    transition: transform 0.25s, box-shadow 0.25s;
}
.anniv-photo img,
.anniv-photo picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.anniv-photo:hover img,
.anniv-photo:focus-visible img {
    transform: scale(1.06);
}
.anniv-photo:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.anniv-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18));
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.anniv-photo:hover::after { opacity: 1; }
.anniv-photo-wide { grid-column: span 2; grid-row: span 2; }
.anniv-photo-tall { grid-row: span 2; }

@media (max-width: 960px) {
    .anniv-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .anniv-photo-wide { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 640px) {
    .anniv-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .anniv-photo-wide { grid-column: span 2; grid-row: span 1; }
    .anniv-photo-tall { grid-row: span 1; }
}

.anniv-cta {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

/* ============================================
   PAGE RSE (Démarche RSE / engagement durable)
   ============================================ */
.rse-intro {
    max-width: 880px;
    margin: 0 auto 50px;
    text-align: center;
}
.rse-intro .lead-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin: 18px 0 22px;
}

.rse-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}
.rse-kpi {
    background: #fff;
    border: 2px solid #e8f5e9;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.rse-kpi::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
}
.rse-kpi:hover {
    transform: translateY(-4px);
    border-color: #4caf50;
    box-shadow: 0 12px 24px rgba(76, 175, 80, 0.15);
}
.rse-kpi-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: #2e7d32;
    line-height: 1.1;
    margin-bottom: 8px;
}
.rse-kpi-lbl {
    font-size: 0.86rem;
    color: #555;
    line-height: 1.4;
}
@media (max-width: 860px) {
    .rse-kpis { grid-template-columns: repeat(2, 1fr); }
}

.rse-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-top: 40px;
}
.rse-pillar {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #eee;
    border-left: 5px solid #ccc;
    transition: transform 0.2s, box-shadow 0.2s;
}
.rse-pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.06);
}
.rse-pillar-env { border-left-color: #4caf50; }
.rse-pillar-enr { border-left-color: #ff9800; }
.rse-pillar-humain { border-left-color: #2196f3; }
.rse-pillar-bio { border-left-color: #ffc107; }
.rse-pillar-soc { border-left-color: #9c27b0; }

.rse-pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.rse-pillar-env .rse-pillar-icon { background: #e8f5e9; }
.rse-pillar-env .rse-pillar-icon svg { stroke: #2e7d32; }
.rse-pillar-enr .rse-pillar-icon { background: #fff3e0; }
.rse-pillar-enr .rse-pillar-icon svg { stroke: #e65100; }
.rse-pillar-humain .rse-pillar-icon { background: #e3f2fd; }
.rse-pillar-humain .rse-pillar-icon svg { stroke: #1565c0; }
.rse-pillar-bio .rse-pillar-icon { background: #fff8e1; }
.rse-pillar-bio .rse-pillar-icon svg { stroke: #f57f17; }
.rse-pillar-soc .rse-pillar-icon { background: #f3e5f5; }
.rse-pillar-soc .rse-pillar-icon svg { stroke: #6a1b9a; }
.rse-pillar-icon svg { width: 28px; height: 28px; }

.rse-pillar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
}
.rse-pillar > p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin: 0 0 12px;
}
.rse-pillar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.rse-pillar-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 0.94rem;
    color: #444;
    line-height: 1.55;
    border-bottom: 1px solid #f5f5f5;
}
.rse-pillar-list li:last-child { border: 0; }
.rse-pillar-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #F5CB00;
}
.rse-pillar-env .rse-pillar-list li::before { background: #4caf50; }
.rse-pillar-enr .rse-pillar-list li::before { background: #ff9800; }
.rse-pillar-humain .rse-pillar-list li::before { background: #2196f3; }
.rse-pillar-soc .rse-pillar-list li::before { background: #9c27b0; }
.rse-pillar-list strong { color: #1a1a1a; font-weight: 700; }
.rse-pillar-list a { color: #1a1a1a; text-decoration: underline; }

@media (max-width: 860px) {
    .rse-pillars { grid-template-columns: 1fr; gap: 18px; }
    .rse-pillar { padding: 24px 22px; }
}

.rse-policies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.rse-policy {
    background: #fff;
    padding: 24px 26px;
    border-radius: 10px;
    border: 1px solid #eee;
    border-top: 3px solid #1a1a1a;
}
.rse-policy h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a1a;
}
.rse-policy p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 720px) {
    .rse-policies { grid-template-columns: 1fr; }
}

.rse-goals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.rse-goal {
    background: #fff;
    padding: 28px 22px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
}
.rse-goal-num {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #4caf50;
    background: #e8f5e9;
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 50%;
    margin-bottom: 14px;
}
.rse-goal h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.rse-goal p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 960px) {
    .rse-goals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .rse-goals { grid-template-columns: 1fr; }
}

.rse-download-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    border-radius: 14px;
    padding: 36px 40px;
    margin: 40px 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.rse-download-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    background: rgba(245, 203, 0, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rse-download-icon svg {
    width: 32px;
    height: 32px;
    stroke: #F5CB00;
}
.rse-download-text {
    flex: 1;
}
.rse-download-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}
.rse-download-text p {
    font-size: 0.92rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}
.rse-download-card .btn { flex-shrink: 0; }
@media (max-width: 720px) {
    .rse-download-card { flex-direction: column; text-align: center; padding: 28px 22px; gap: 18px; }
}

.rse-conclusion {
    text-align: center;
    max-width: 820px;
    margin: 40px auto 0;
    padding: 30px 24px;
    border-top: 1px solid #eee;
}
.rse-conclusion p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #444;
    margin: 0;
}
.rse-conclusion strong { color: #1a1a1a; }

/* ============================================
   PAGE PARTENAIRES (BE / Architectes / MOA)
   ============================================ */
.partners-intro {
    max-width: 880px;
    margin: 0 auto 50px;
    text-align: center;
}
.partners-intro .lead-text {
    font-size: 1.18rem;
    line-height: 1.6;
    color: #333;
    margin: 20px 0 24px;
}

.partners-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 40px;
}
.partners-stat {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 22px 14px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.partners-stat:hover {
    transform: translateY(-3px);
    border-color: #F5CB00;
}
.partners-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
    line-height: 1.1;
}
.partners-stat-lbl {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.3;
}
@media (max-width: 960px) {
    .partners-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
    .partners-stats { grid-template-columns: repeat(2, 1fr); }
}

.partners-reasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 40px;
}
.partners-reason {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}
.partners-reason:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.06);
}
.partners-reason-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff9d6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.partners-reason-icon svg {
    width: 26px;
    height: 26px;
    stroke: #8a6e00;
}
.partners-reason h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a1a1a;
}
.partners-reason p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 960px) {
    .partners-reasons { grid-template-columns: 1fr; gap: 16px; }
}

.partners-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
}
.partners-step {
    background: #fff;
    border-radius: 12px;
    padding: 26px 22px;
    border: 1px solid #eee;
    position: relative;
}
.partners-step-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #F5CB00;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.partners-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.partners-step p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 960px) {
    .partners-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .partners-process { grid-template-columns: 1fr; }
}

.partners-sectors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-top: 40px;
}
.partners-sector {
    background: #fff;
    border-radius: 12px;
    padding: 28px 26px;
    border-left: 4px solid #F5CB00;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.partners-sector-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 4px;
    color: #fff;
    margin-bottom: 14px;
}
.partners-sector-tag-sante { background: #dc3545; }
.partners-sector-tag-industrie { background: #343a40; }
.partners-sector-tag-collectivite { background: #007b84; }
.partners-sector-tag-hotel { background: #824b1e; }
.partners-sector h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.partners-sector p {
    font-size: 0.94rem;
    color: #444;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 860px) {
    .partners-sectors { grid-template-columns: 1fr; }
}

.partners-quals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 40px;
}
.partners-qual-block {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 26px 22px;
}
.partners-qual-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: #1a1a1a;
}
.partners-qual-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}
.partners-qual-list li {
    padding: 8px 0;
    font-size: 0.92rem;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
}
.partners-qual-list li:last-child { border-bottom: 0; }
.partners-qual-list strong { color: #1a1a1a; font-weight: 700; }
.qual-rge {
    background: #F5CB00;
    color: #1a1a1a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: 2px;
}
.partners-qual-cert {
    font-size: 0.82rem;
    color: #666;
    margin: 0;
    padding-top: 8px;
    border-top: 1px dashed #eee;
}
.partners-qual-cert a { color: #1a1a1a; text-decoration: underline; }
@media (max-width: 960px) {
    .partners-quals { grid-template-columns: 1fr; }
}

.partners-contact-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.partners-contact-text h2 {
    margin: 10px 0 18px;
}
.partners-contact-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}
.partners-contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95rem;
    color: #444;
}
.partners-contact-list li:last-child { border: 0; }
.partners-contact-list strong {
    display: inline-block;
    min-width: 140px;
    color: #1a1a1a;
}
.partners-contact-image {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.partners-contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 900px) {
    .partners-contact-card { grid-template-columns: 1fr; padding: 30px 24px; gap: 30px; }
    .partners-contact-image { aspect-ratio: 16/9; order: -1; }
}

/* GESEC Presidence card (mention du rôle de Jérôme dans le GESEC) */
.gesec-presidence-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fffce0;
    border: 1px solid #F5CB00;
    border-left: 4px solid #F5CB00;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 22px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #333;
}
.gesec-presidence-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    background: #F5CB00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gesec-presidence-icon svg {
    width: 20px;
    height: 20px;
    stroke: #1a1a1a;
}

/* RSE Teaser sur partenaires.html */
.partners-rse-teaser {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #f1f8e9 0%, #fff 100%);
    border: 1px solid #c8e6c9;
    border-radius: 16px;
    padding: 40px 44px;
}
.partners-rse-content h2 { margin: 8px 0 14px; }
.partners-rse-content p { color: #444; line-height: 1.6; font-size: 0.96rem; }
.partners-rse-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.partners-rse-badge {
    background: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
}
.partners-rse-badge strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 4px;
}
.partners-rse-badge span {
    font-size: 0.78rem;
    color: #666;
}
@media (max-width: 860px) {
    .partners-rse-teaser { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
}

/* Nav highlight pour "Partenaires BE" */
.nav-link-highlight {
    font-weight: 700 !important;
    color: #8a6e00 !important;
    position: relative;
}
.nav-link-highlight::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #F5CB00;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(245, 203, 0, 0.3);
}

/* ============================================
   MOBILE CALL FAB — bouton appel flottant mobile
   ============================================ */
.mobile-call-fab {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
    background: #F5CB00;
    color: #1a1a1a;
    border-radius: 999px;
    padding: 14px 20px 14px 16px;
    box-shadow: 0 10px 28px rgba(245, 203, 0, 0.45), 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fabPulse 2.4s ease-in-out infinite;
}
.mobile-call-fab:hover,
.mobile-call-fab:focus-visible {
    transform: scale(1.06);
    box-shadow: 0 14px 34px rgba(245, 203, 0, 0.55), 0 6px 14px rgba(0,0,0,0.2);
}
.mobile-call-fab svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}
.mobile-call-fab-label {
    letter-spacing: 0.02em;
}
@keyframes fabPulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(245, 203, 0, 0.45), 0 4px 12px rgba(0,0,0,0.15), 0 0 0 0 rgba(245, 203, 0, 0.5); }
    50% { box-shadow: 0 10px 28px rgba(245, 203, 0, 0.45), 0 4px 12px rgba(0,0,0,0.15), 0 0 0 12px rgba(245, 203, 0, 0); }
}
@media (max-width: 860px) {
    .mobile-call-fab { display: inline-flex; }
}
/* Ne pas superposer le bouton "back to top" existant */
.mobile-call-fab ~ .back-to-top,
.back-to-top:has(~ .mobile-call-fab) {
    bottom: 84px;
}
@media print {
    .mobile-call-fab { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-call-fab { animation: none; }
}

/* ============================================
   DEVIS MULTI-STEP
   ============================================ */
.devis-steps-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}
.devis-step-dot {
    flex: 1;
    height: 4px;
    background: #e8e8e8;
    border-radius: 999px;
    transition: background 0.25s ease;
}
.devis-step-dot.active,
.devis-step-dot.done {
    background: #F5CB00;
}
.devis-step-info {
    font-size: 0.82rem;
    color: #666;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.devis-step-info strong { color: #1a1a1a; }

.devis-step {
    display: none;
    animation: devisStepIn 0.3s ease both;
}
.devis-step.active { display: block; }

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

.devis-step-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    align-items: center;
}
.devis-step-actions .devis-back {
    background: transparent;
    border: 1px solid #ddd;
    color: #555;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.92rem;
    transition: background 0.2s, border-color 0.2s;
}
.devis-step-actions .devis-back:hover {
    background: #fafafa;
    border-color: #aaa;
}
.devis-step-actions .devis-next,
.devis-step-actions .devis-submit {
    flex: 1;
}
.devis-recap {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    display: none;
}
.devis-recap.active { display: block; }
.devis-recap dt {
    font-weight: 600;
    color: #666;
    display: inline-block;
    width: 110px;
}
.devis-recap dd {
    display: inline;
    color: #1a1a1a;
    font-weight: 500;
    margin: 0;
}
.devis-recap dl { margin: 0; }
.devis-recap dl + dl { margin-top: 6px; }

/* Cartes cliquables pour étape 1 */
.devis-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}
.devis-choice {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.devis-choice:hover {
    border-color: #F5CB00;
    background: #fffce0;
}
.devis-choice.active {
    border-color: #F5CB00;
    background: #fff7bf;
    transform: translateY(-2px);
}
.devis-choice svg {
    width: 22px;
    height: 22px;
    stroke: #1a1a1a;
}

/* ============================================
   CASE STUDIES (cas clients emblématiques)
   ============================================ */
.case-studies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.case-study {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
}
.case-study:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #F5CB00;
}
.case-study-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f5f5f5;
}
.case-study-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-study:hover .case-study-img img {
    transform: scale(1.05);
}
.case-study-sector {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(26, 26, 26, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}
.case-study-sector-sante { background: rgba(220, 53, 69, 0.92); }
.case-study-sector-industrie { background: rgba(52, 58, 64, 0.92); }
.case-study-sector-collectivite { background: rgba(0, 123, 132, 0.92); }
.case-study-sector-hotel { background: rgba(130, 75, 30, 0.92); }
.case-study-sector-loisirs { background: rgba(25, 135, 84, 0.92); }

.case-study-content {
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.case-study-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.25;
}
.case-study-content p {
    font-size: 0.94rem;
    color: #555;
    line-height: 1.55;
    margin: 0 0 20px;
    flex: 1;
}
.case-study-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    align-items: center;
}
.case-study-meta span {
    font-size: 0.78rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.02em;
}
.case-study-meta .case-study-year {
    color: #1a1a1a;
    font-weight: 700;
}
.case-study-meta .case-study-budget {
    background: #fff9d6;
    color: #8a6e00;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
}
.case-study-meta .case-study-type {
    color: #888;
    margin-left: auto;
    font-weight: 500;
}

@media (max-width: 960px) {
    .case-studies {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .case-study-content h3 { font-size: 1.15rem; }
    .case-study-content p { font-size: 0.9rem; }
}

/* Google rating - premier item, distinct et cliquable */
.trust-item-google a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.trust-item-google a:hover {
    background: #fff;
    border-color: #F5CB00;
    transform: translateY(-1px);
}
.trust-item-google .google-g {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    stroke: none;
}
.trust-item-google .rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}
.trust-item-google .rating-stars svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    stroke: none;
}
.trust-item-google strong {
    font-weight: 700;
    color: #1a1a1a;
}
.trust-item-google .rating-meta {
    color: #666;
    font-size: 0.82rem;
}

@media (max-width: 860px) {
    .trust-items {
        justify-content: center;
        gap: 14px 22px;
    }
    .trust-item {
        font-size: 0.85rem;
        gap: 7px;
    }
    .trust-item svg {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
    .trust-item-google { flex-basis: 100%; justify-content: center; }
    .trust-item-google .rating-meta { font-size: 0.78rem; }
}
@media print {
    .trust-bar { padding: 8px 0; border: 0; }
    .trust-item-google a { border: 0; background: transparent; padding: 0; }
}

.realisation-card { cursor: pointer; position: relative; }
.realisation-card .ph-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
}
.realisation-card .ph-count svg {
    width: 13px;
    height: 13px;
    stroke: #F5CB00;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.96);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(4px);
}
.lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    position: relative;
    min-height: 0;
}
.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: opacity 0.2s ease;
}
.lightbox-img.loading { opacity: 0.3; }

.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
    z-index: 2;
}
.lightbox-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}
.lightbox-title small {
    display: block;
    color: #bdbdbd;
    font-weight: 400;
    font-size: 0.82rem;
    margin-top: 3px;
}
.lightbox-counter {
    color: #F5CB00;
    font-weight: 600;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}
.lightbox-close {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    margin-left: 18px;
}
.lightbox-close:hover {
    background: rgba(245, 203, 0, 0.85);
    color: #1a1a1a;
    transform: scale(1.05);
}
.lightbox-close svg { width: 22px; height: 22px; }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}
.lightbox-nav:hover {
    background: #F5CB00;
    color: #1a1a1a;
    transform: translateY(-50%) scale(1.05);
}
.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.lightbox-nav svg { width: 26px; height: 26px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.lightbox-thumbs {
    display: flex;
    gap: 8px;
    padding: 14px 26px 20px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #F5CB00 transparent;
    justify-content: center;
    flex-wrap: nowrap;
}
.lightbox-thumbs::-webkit-scrollbar { height: 6px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: #F5CB00; border-radius: 999px; }
.lightbox-thumb {
    flex: 0 0 auto;
    width: 78px;
    height: 58px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
    background: #222;
}
.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.active {
    opacity: 1;
    border-color: #F5CB00;
    transform: translateY(-2px);
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 768px) {
    .lightbox-stage { padding: 70px 12px 12px; }
    .lightbox-nav { width: 42px; height: 42px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-header { padding: 14px 16px; }
    .lightbox-title { font-size: 0.92rem; }
    .lightbox-thumbs { padding: 10px 12px 14px; justify-content: flex-start; }
    .lightbox-thumb { width: 62px; height: 46px; }
}

@media print {
    .lightbox, .realisation-card .ph-count { display: none !important; }
}
