/* =============================================
   NEW RAW MATERIALS — style.css (version multi-page)
   Palette : blanc #ffffff / vert sapin #1a3d2b
   Typographie : Inter (titres et corps — sobre, classique B2B)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Variables ---------- */
:root {
    /* Palette de marque */
    --blanc:        #ffffff;
    --creme:        #f7f5f0;          /* fond alternatif chaud pour rythmer les sections */
    --sapin:        #1a3d2b;
    --sapin-clair:  #2d6647;
    --sapin-pale:   #e8f0eb;
    --or:           #b08a3e;          /* accent métaux précieux — usage parcimonieux */

    /* Textes — couleurs FIXES (contraste WCAG AA garanti) */
    --txt-body:     #3b5847;          /* corps de texte sur blanc — 7.6:1 */
    --txt-muted:    #6b8175;          /* labels secondaires sur blanc — 4.8:1 */
    --txt-faint:    #8a9b91;          /* décor seulement — 3.4:1 */

    /* Textes sur fond sapin */
    --on-sapin-strong: rgba(255, 255, 255, 0.92);
    --on-sapin-mid:    rgba(255, 255, 255, 0.78);
    --on-sapin-soft:   rgba(255, 255, 255, 0.60);

    /* Aliases conservés pour la rétro-compatibilité */
    --sapin-mid:    var(--txt-body);
    --sapin-muted:  var(--txt-muted);

    /* Bordures et séparateurs */
    --border:       rgba(26, 61, 43, 0.18);
    --border-soft:  rgba(26, 61, 43, 0.10);
    --border-dark:  rgba(255, 255, 255, 0.16);

    /* Focus visible (a11y) */
    --focus-ring:   0 0 0 3px rgba(26, 61, 43, 0.22);
    --focus-color:  var(--sapin);

    /* Espacement de section canonique */
    --pad-y-lg:     140px;
    --pad-y-md:     110px;
    --pad-y-sm:     88px;
    --pad-x:        80px;

    /* Élévations */
    --shadow-sm: 0 2px 12px rgba(26, 61, 43, 0.05);
    --shadow-md: 0 10px 32px rgba(26, 61, 43, 0.08);
    --shadow-lg: 0 24px 60px rgba(26, 61, 43, 0.12);

    /* Rayon de coin */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 10px;

    /* Familles typographiques — Inter pour tout (sobre, classique B2B) */
    --font-sans:  'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-serif: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

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

body {
    background: var(--blanc);
    color: var(--sapin);
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "cv11";
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* ---------- Focus visible global (a11y WCAG 2.4.7) ---------- */
:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Variante claire pour les fonds sombres */
.entreprise-cta :focus-visible,
#contact :focus-visible,
footer :focus-visible {
    outline-color: var(--blanc);
}

/* ---------- Sélection texte ---------- */
::selection {
    background: var(--sapin);
    color: var(--blanc);
}

/* ---------- Liens utilitaires (skip nav) ---------- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--sapin);
    color: var(--blanc);
    padding: 10px 16px;
    z-index: 200;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }

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

    /* On laisse apparaître immédiatement tous les éléments animés */
    .hero-eyebrow,
    .hero-sub,
    .hero-cta,
    .hero-logo,
    .page-intro,
    .section-label,
    .preview-card,
    .carousel-wrapper,
    .figure-item,
    .value-item,
    .contact-info,
    .contact-extra,
    .contact-map,
    .entreprise-photo,
    .entreprise-highlights,
    .entreprise-right p,
    .big-stat-label,
    .cta-inner,
    .legal-content {
        opacity: 1 !important;
        transform: none !important;
    }
    .page-title .line span,
    .hero h1 .line span,
    .contact-heading .line span,
    .entreprise-right h1 .line span,
    .stat-val {
        transform: translateY(0) !important;
    }
    .hero-line { transform: scaleX(1) !important; }
}

/* ---------- Header ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s, box-shadow 0.4s, padding 0.3s, background 0.3s;
    overflow: visible;
}

header.scrolled {
    border-bottom-color: var(--border-soft);
    box-shadow: var(--shadow-sm);
    padding-top: 16px;
    padding-bottom: 16px;
    background: rgba(255, 255, 255, 0.95);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 700;
    color: var(--sapin);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo-mark {
    height: 95px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

nav ul a {
    color: var(--txt-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

nav ul a:hover,
nav ul a:focus-visible {
    color: var(--sapin);
}

nav ul a.active {
    color: var(--sapin);
    font-weight: 600;
}

nav ul a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sapin);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    transition: border-color 0.3s, background 0.3s;
}

.nav-toggle:hover {
    border-color: var(--sapin);
    background: var(--sapin-pale);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--sapin);
    transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Sections communes ---------- */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 80px 100px;
}

.section-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--txt-muted);
    font-weight: 600;
    margin-bottom: 32px;
    opacity: 0;
}

.section-label span {
    display: inline-block;
    position: relative;
}

.page-title {
    font-family: var(--font-sans);
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 600;
    color: var(--sapin);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}

.page-title .line,
.hero h1 .line,
.contact-heading .line,
.entreprise-right h1 .line {
    display: block;
    overflow: hidden;
}

.page-title .line span,
.hero h1 .line span,
.contact-heading .line span,
.entreprise-right h1 .line span {
    display: block;
    transform: translateY(110%);
}

.page-intro {
    font-size: 17px;
    color: var(--txt-body);
    max-width: 640px;
    line-height: 1.75;
    margin-top: 24px;
    margin-bottom: 56px;
    opacity: 0;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--blanc);
}

/* Image d'ambiance étendue sur toute la largeur du hero */
.hero-bg-left {
    position: absolute;
    inset: 0;
    background-image: url('image/services.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.68;
    pointer-events: none;
    z-index: 0;
    /* Légère désaturation/contraste pour faire passer le sapin de la marque */
    filter: grayscale(0.2) contrast(0.95);
}

/* Voile blanc dégradé pour assurer la lisibilité du texte */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0.80) 0%,
        rgba(255, 255, 255, 0.68) 40%,
        rgba(255, 255, 255, 0.30) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    min-width: 0;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    gap: 28px;
    opacity: 0;
}

.hero-logo .logo-img {
    width: 100%;
    height: auto;
    max-width: 520px;
    max-height: 520px;
    object-fit: contain;
    display: block;
    /* Le PNG du symbole NRM a un fond blanc intégré.
       Avec mix-blend-mode: multiply, ce fond blanc devient transparent
       (blanc × X = X) tandis que les pixels colorés (vert, rouge) restent. */
    mix-blend-mode: multiply;
    /* Une légère ombre portée pour donner du relief */
    filter: drop-shadow(0 20px 40px rgba(26, 61, 43, 0.18));
    opacity: 0.88;
}

.logo-fullname {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 18px;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--sapin);
    font-weight: 500;
    margin: 0;
}

.logo-fullname span {
    position: relative;
}

.logo-fullname span + span::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--sapin-muted);
    transform: translateY(-50%);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sapin);
    font-weight: 600;
    margin-bottom: 32px;
    padding: 8px 16px;
    background: var(--sapin-pale);
    border-radius: 999px;
    opacity: 0;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sapin-clair);
    box-shadow: 0 0 0 4px rgba(45, 102, 71, 0.18);
}

.hero h1 {
    font-family: var(--font-sans);
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.03em;
    max-width: 840px;
    color: var(--sapin);
}

.hero-sub {
    font-size: 18px;
    color: var(--txt-body);
    max-width: 540px;
    line-height: 1.7;
    margin-top: 32px;
    opacity: 0;
}

/* ---------- Boutons (système unifié) ---------- */
.hero-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 44px;
    padding: 16px 36px;
    border: 1.5px solid var(--sapin);
    color: var(--sapin);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.hero-cta::after,
.btn::after {
    content: '→';
    transition: transform 0.3s ease;
    font-size: 16px;
    line-height: 1;
}

.hero-cta:hover,
.btn:hover {
    background: var(--sapin);
    color: var(--blanc);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-cta:hover::after,
.btn:hover::after {
    transform: translateX(4px);
}

/* CTA primaire — solid */
.btn-primary,
.hero-cta.btn-primary {
    background: var(--sapin);
    color: var(--blanc);
    border-color: var(--sapin);
}

.btn-primary:hover,
.hero-cta.btn-primary:hover {
    background: var(--sapin-clair);
    border-color: var(--sapin-clair);
    color: var(--blanc);
}

/* Variante claire (sur fond sapin) */
.hero-cta.inverted,
.btn.inverted {
    border-color: var(--blanc);
    color: var(--blanc);
}

.hero-cta.inverted:hover,
.btn.inverted:hover {
    background: var(--blanc);
    color: var(--sapin);
}

/* CTA primaire sur fond sapin (inverted-primary) */
.btn.inverted.btn-primary,
.hero-cta.inverted.btn-primary {
    background: var(--blanc);
    color: var(--sapin);
    border-color: var(--blanc);
}

.btn.inverted.btn-primary:hover,
.hero-cta.inverted.btn-primary:hover {
    background: transparent;
    color: var(--blanc);
}

/* ---------- Hero — bandeau de confiance (trust bar) ---------- */
.hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
    opacity: 0;
}

.hero-trust-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--txt-muted);
    font-weight: 600;
    margin-right: 6px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--txt-body);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-trust-item::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, var(--sapin) 35%, transparent 36%),
        var(--sapin-pale);
    flex-shrink: 0;
}

.hero-bg-text {
    position: absolute;
    bottom: -40px;
    right: -10px;
    font-size: clamp(120px, 20vw, 240px);
    font-weight: 700;
    color: rgba(26, 61, 43, 0.10);
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: -0.04em;
    user-select: none;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 80px;
    right: 80px;
    height: 1px;
    background: var(--border);
    transform: scaleX(0);
    transform-origin: left;
}

.scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sapin-muted);
}

.scroll-line {
    width: 44px;
    height: 1px;
    background: var(--border);
    overflow: hidden;
    position: relative;
}

.scroll-line-inner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sapin);
}

/* ---------- Aperçu rapide ---------- */
.preview-section {
    background: var(--creme);
    padding: 120px 80px;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.preview-section::before {
    content: '';
    position: absolute;
    top: 40px;
    right: -30px;
    font-family: var(--font-sans);
    font-size: clamp(120px, 18vw, 220px);
    font-weight: 700;
    color: rgba(26, 61, 43, 0.04);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    letter-spacing: -0.05em;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

.preview-card {
    background: var(--blanc);
    padding: 40px 32px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--sapin);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s;
    display: flex;
    flex-direction: column;
    opacity: 0;
    overflow: hidden;
    position: relative;
}

/* Image en haut des preview-cards — bord à bord en haut de la carte */
.preview-card-image {
    margin: -40px -32px 32px;
    height: 220px;
    overflow: hidden;
    background: var(--sapin-pale);
    position: relative;
}

.preview-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(26, 61, 43, 0.18));
    pointer-events: none;
}

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

.crop-entreprise {
    object-position: 20% 60%;
    transform: scale(1.4);
    transform-origin: 20% 60%;
}

.crop-contact {
    object-position: center 5%;
    transform: scale(1.12);
    transform-origin: center 5%;
}

.preview-card:hover .preview-card-image .crop-contact,
.preview-card:focus-visible .preview-card-image .crop-contact {
    transform: scale(1.19);
}

.preview-card:hover .preview-card-image img,
.preview-card:focus-visible .preview-card-image img {
    transform: scale(1.06);
}

.preview-card:hover,
.preview-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--sapin-clair);
}

.preview-card .card-num {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--sapin-clair);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.preview-card .card-num::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 40px;
}

.preview-card h3 {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.preview-card p {
    font-size: 14.5px;
    color: var(--txt-body);
    line-height: 1.75;
    margin-bottom: 28px;
}

.preview-card .card-arrow {
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sapin);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

.preview-card:hover .card-arrow,
.preview-card:focus-visible .card-arrow {
    gap: 14px;
    color: var(--sapin-clair);
}

/* ---------- SECTION SERVICES — CARROUSEL ---------- */
#services {
    background: var(--blanc);
    min-height: auto;
    padding: 140px 80px 100px;
}

.services-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 72px;
}

.services-intro-left .page-intro {
    margin-bottom: 0;
}

/* Zone déco */
.services-deco {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.deco-bar {
    height: 6px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--sapin), var(--sapin-clair), #4a9e6b, var(--sapin-pale));
    background-size: 300% 100%;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.deco-bar:nth-child(1) { width: 100%; animation: deco-appear 0.6s ease forwards 0.1s, deco-sweep 3.5s ease-in-out 0.7s infinite; }
.deco-bar:nth-child(2) { width: 75%;  animation: deco-appear 0.6s ease forwards 0.3s, deco-sweep 3.5s ease-in-out 0.9s infinite; }
.deco-bar:nth-child(3) { width: 55%;  animation: deco-appear 0.6s ease forwards 0.5s, deco-sweep 3.5s ease-in-out 1.1s infinite; }
.deco-bar:nth-child(4) { width: 35%;  animation: deco-appear 0.6s ease forwards 0.7s, deco-sweep 3.5s ease-in-out 1.3s infinite; }

@keyframes deco-appear {
    from { opacity: 0;    transform: scaleX(0); transform-origin: left; }
    to   { opacity: 0.85; transform: scaleX(1); transform-origin: left; }
}

@keyframes deco-sweep {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.deco-label {
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--txt-muted);
}

@media (max-width: 768px) {
    .services-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 48px;
    }
    .services-deco { display: none; }
}

.carousel-wrapper {
    width: 100%;
    opacity: 0;
}

.carousel-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Grille à 1 cellule : toutes les slides s'empilent dans cette cellule
       et la hauteur s'ajuste à la slide la plus haute (plus de débordement) */
    display: grid;
    grid-template-columns: 1fr;
}

.carousel-slide {
    /* Toutes les slides occupent la même cellule de grille */
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.slide-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 3 / 2;
    background: var(--sapin-pale);
    box-shadow: var(--shadow-md);
    box-shadow: var(--shadow-md);
}

/* Slide composants — léger filtre pour harmoniser */
.slide-img-components {
    object-position: center 60%;
    filter: brightness(0.92) saturate(0.9);
}

/* Schéma/diagramme — contain pour voir l'image entière */
.schema-img {
    object-fit: cover !important;
    object-position: center center;
    padding: 0;
}

.slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--sapin-clair);
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

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

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

.slide-num {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    font-variant-numeric: tabular-nums;
}

.slide-content {
    padding: 8px 0 8px 24px;
}

.slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sapin);
    background: var(--sapin-pale);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 32px;
    font-weight: 600;
}

.slide-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sapin-clair);
}

.slide-content h3 {
    font-family: var(--font-sans);
    font-size: clamp(36px, 4.2vw, 54px);
    font-weight: 600;
    color: var(--sapin);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}

.slide-content p {
    font-size: 17px;
    color: var(--txt-body);
    line-height: 1.75;
    max-width: 500px;
}

/* Liste des autres matériaux (slide 4 du carrousel) */
.slide-materials {
    list-style: none;
    margin: 18px 0 0;
    padding: 16px 0 0;
    max-width: 520px;
    border-top: 1px solid var(--border-soft);
}

.slide-materials li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 0 9px 20px;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}

.slide-materials li:last-child {
    border-bottom: none;
}

.slide-materials li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sapin);
}

.slide-materials strong {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sapin);
    line-height: 1.35;
}

.slide-materials span {
    font-size: 12px;
    color: var(--txt-muted);
    line-height: 1.45;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--sapin);
    background: transparent;
    color: var(--sapin);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--sapin);
    color: var(--blanc);
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.dot {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.3s, width 0.3s, border-radius 0.3s;
}

.dot:hover::after {
    background: var(--sapin-clair);
}

.dot.active::after {
    background: var(--sapin);
    width: 24px;
    height: 8px;
    border-radius: 4px;
}

/* ---------- SECTION ENTREPRISE ---------- */
/* Bandeau image en haut de la page Entreprise */
.entreprise-banner {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: var(--blanc);
    position: relative;
}

.entreprise-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 37.5%;
    display: block;
}

.entreprise-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(26, 61, 43, 0.15) 0%,
        rgba(26, 61, 43, 0.05) 40%,
        rgba(255, 255, 255, 0.85) 100%);
    pointer-events: none;
}

#entreprise {
    background: var(--blanc);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 96px;
    align-items: start;
    /* le padding hérité de section reste : 140px 80px 100px */
}

/* Colonne gauche — histoire de l'entreprise */
.entreprise-history {
    min-width: 0;
    padding: 40px 40px 40px 36px;
    border-left: 2px solid var(--sapin);
    background: #f2f7f4;
    border-radius: var(--radius-md);
    position: relative;
}

.entreprise-history::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: 2px;
    height: 60px;
    background: var(--sapin);
}

.entreprise-history h2,
.entreprise-history > p {
    max-width: 620px;
}

.entreprise-history h2 {
    margin-bottom: 40px;
}

.entreprise-history > p,
.entreprise-history > p + p {
    margin-bottom: 22px;
}

.entreprise-history > p:last-of-type {
    margin-bottom: 0;
}

/* Colonne droite — agréments (carte premium, sidebar collante) */
.entreprise-agrements {
    min-width: 0;
    position: sticky;
    top: 110px;
    padding: 36px 32px 30px;
    background: linear-gradient(180deg, var(--sapin-pale) 0%, var(--blanc) 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 24px 48px -24px rgba(26, 61, 43, 0.18),
        0 2px 8px rgba(26, 61, 43, 0.04);
    overflow: hidden;
}

/* Bandeau d'accent en haut de la carte */
.entreprise-agrements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sapin) 0%, var(--sapin-clair) 100%);
}

.entreprise-agrements .section-label {
    color: var(--sapin);
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-soft);
    font-weight: 700;
}

.entreprise-agrements .entreprise-highlights {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    /* l'opacité est gérée par GSAP (animation d'entrée) */
}

.entreprise-agrements .entreprise-highlights li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
    align-items: flex-start;
    gap: 14px;
}

.entreprise-agrements .entreprise-highlights li:hover {
    padding-left: 0; /* on neutralise l'effet de hover global, peu lisible dans une carte */
}

.entreprise-agrements .entreprise-highlights li:first-child {
    padding-top: 4px;
}

.entreprise-agrements .entreprise-highlights li:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

/* Remplacement du dot par une coche "validée" — plus parlant pour des agréments */
.entreprise-agrements .highlight-dot {
    width: 22px;
    height: 22px;
    background: var(--sapin);
    margin-top: 1px;
    box-shadow: 0 0 0 4px rgba(45, 102, 71, 0.10);
}

.entreprise-agrements .highlight-dot::after {
    content: '';
    display: block;
    width: 5px;
    height: 10px;
    border: solid var(--blanc);
    border-width: 0 2px 2px 0;
    background: transparent;
    border-radius: 0;
    transform: rotate(45deg) translate(-1px, -1px);
    margin-top: -2px;
}

.entreprise-agrements .entreprise-highlights strong {
    font-size: 14.5px;
    margin-bottom: 4px;
}

.entreprise-agrements .entreprise-highlights span {
    font-size: 13.5px;
    line-height: 1.6;
}

.agrement-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.agrement-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sapin);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s, opacity 0.2s;
    width: fit-content;
}

.agrement-link:hover,
.agrement-link:focus-visible {
    text-decoration-color: var(--sapin);
    opacity: 0.8;
}

/* Responsive : on repasse en colonne unique en dessous de 1024px */
@media (max-width: 1024px) {
    #entreprise {
        grid-template-columns: 1fr;
        row-gap: 56px;
    }

    .entreprise-history {
        padding: 28px 24px;
        border-left: 2px solid var(--sapin);
    }

    .entreprise-history::before {
        display: none;
    }

    .entreprise-agrements {
        position: static;
        max-width: 720px;
        margin: 0 auto;
    }

    .entreprise-history h2,
    .entreprise-history > p {
        max-width: 820px;
    }
}

.big-stat {
    overflow: hidden;
    margin-bottom: 10px;
}

.stat-val {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(64px, 8.5vw, 120px);
    font-weight: 600;
    color: var(--sapin);
    line-height: 1;
    transform: translateY(110%);
    letter-spacing: -0.045em;
}

.big-stat-label {
    font-size: 11px;
    color: var(--txt-muted);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 52px;
    opacity: 0;
}

.entreprise-right h1 {
    font-family: var(--font-sans);
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 600;
    color: var(--sapin);
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
}

.entreprise-right p {
    font-size: 15.5px;
    color: var(--txt-body);
    line-height: 1.85;
    opacity: 0;
    margin-bottom: 18px;
}

.entreprise-right p + p {
    margin-bottom: 32px;
}

.entreprise-highlights {
    list-style: none;
    margin-top: 36px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    opacity: 0;
}

.entreprise-highlights li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-soft);
    transition: padding-left 0.3s ease;
}

.entreprise-highlights li:hover {
    padding-left: 6px;
}

.entreprise-highlights li:last-child {
    border-bottom: none;
}

.highlight-dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sapin-pale);
    margin-top: 2px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.highlight-dot::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sapin);
}

.entreprise-highlights strong {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--sapin);
    margin-bottom: 6px;
    letter-spacing: 0.005em;
}

.entreprise-highlights span {
    font-size: 14px;
    color: var(--txt-body);
    line-height: 1.7;
}

/* Image éléments périodiques */
.big-stat-img {
    overflow: hidden;
    margin-bottom: 10px;
    margin-top: 24px;
}

.big-stat-img img {
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
    margin-left: 0;
}

/* Photo d'ambiance sur la page entreprise (colonne gauche) */
.entreprise-photo {
    margin: 12px 0 0;
    overflow: hidden;
    border-radius: 2px;
    max-width: 620px;
    opacity: 0;
}

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

/* Section "Matières valorisées" + cours (fusionnés) sur services */
.materials-section {
    background: var(--creme);
    min-height: auto;
    padding: 120px 80px;
}

/* Header de la section : texte à gauche, 3 métaux à droite */
.materials-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 48px;
}

.materials-header-text {
    min-width: 0;
}

/* Dans le header, on rapproche label / titre / intro et on coupe les marges du bas
   héritées de .section-label et .page-title (qui sinon créent un trou) */
.materials-header .section-label { margin-bottom: 18px; }
.materials-header .page-title    { margin-bottom: 22px; }
.materials-header .page-intro    { margin-bottom: 0; }

/* La page-title est un peu plus serrée ici pour tenir confortablement sur 50 % */
.materials-header .page-title {
    font-size: clamp(34px, 4.2vw, 56px);
}

/* Grille des 3 métaux — par défaut 3 colonnes (sert dans le header) */
.metals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: none;
    width: 100%;
    margin: 0;
}

.metal-item {
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 14px 16px;
    background: var(--blanc);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.metal-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--sapin-clair);
}

.metal-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.metal-item:hover img {
    transform: scale(1.04);
}

.metal-item figcaption {
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sapin);
    font-weight: 600;
    text-align: center;
}

/* ===========================================================
   COURS DES MÉTAUX — lien externe
   =========================================================== */
.prices-link-card {
    max-width: 600px;
    margin: 56px auto 0;
    padding: 40px;
    background: var(--sapin-pale);
    border-radius: var(--radius-md);
    border: 1px solid rgba(26, 61, 43, 0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.prices-link-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--sapin);
    margin: 0;
}

.prices-link-metals {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.prices-metal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1.5px solid var(--sapin);
    border-radius: var(--radius-sm);
    color: var(--sapin);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.prices-metal-link:hover {
    background: var(--sapin);
    color: #fff;
}

/* ===========================================================
   COURS DES MÉTAUX — carte avec onglets + graphique (legacy)
   =========================================================== */
.prices-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 56px 36px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: var(--blanc);
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "tabs    tabs"
        "current chart"
        "update  update";
    column-gap: 40px;
    row-gap: 20px;
    align-items: center;
}

/* ---- Onglets Pt / Pd ---- */
.prices-tabs {
    grid-area: tabs;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--sapin-muted);
    padding-bottom: 0;
}

.price-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 14px 28px;
    font: inherit;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--txt-muted);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
    margin-bottom: -1px;
    font-weight: 600;
}

.price-tab:hover { color: var(--sapin); }

.price-tab.is-active {
    color: var(--sapin);
    border-bottom-color: var(--sapin);
    font-weight: 700;
}

/* ---- Cours actuel ---- */
.prices-current {
    grid-area: current;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.current-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1;
}

.current-val {
    font-family: var(--font-sans);
    font-size: 64px;
    font-weight: 600;
    color: var(--sapin);
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}

.current-unit {
    font-size: 22px;
    color: var(--txt-muted);
    font-weight: 500;
}

.current-sub {
    font-size: 15px;
    color: var(--txt-body);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

/* ---- Graphique ---- */
.prices-chart-wrap {
    grid-area: chart;
    position: relative;
    height: 240px;
    width: 100%;
}

.prices-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ---- Date mise à jour ---- */
.prices-update {
    grid-area: update;
    margin: 4px 0 0;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--txt-muted);
    font-weight: 600;
    text-align: right;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .materials-section { padding: 80px 32px 80px; }
    .materials-header {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 36px;
    }
    .materials-header .metals-grid {
        max-width: 480px;
        gap: 14px;
    }
    .metal-item {
        padding: 12px;
    }
    .metal-item img {
        max-width: 96px;
    }
    .prices-card {
        padding: 32px 28px 28px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "tabs"
            "current"
            "chart"
            "update";
        gap: 28px;
    }
    .prices-chart-wrap { height: 220px; }
    .current-val { font-size: 48px; }
    .current-unit { font-size: 18px; }
    .prices-update { text-align: left; }
}

@media (max-width: 480px) {
    .price-tab { padding: 12px 18px; font-size: 12px; }
    .current-val { font-size: 40px; }
}

/* Section Chiffres clés */
.figures-section {
    background: var(--blanc);
    padding: 140px 80px 120px;
    min-height: auto;
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.figure-item {
    background: var(--creme);
    padding: 40px 32px 32px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    opacity: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.figure-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--sapin);
}

.figure-item:hover {
    transform: translateY(-4px);
    border-color: var(--sapin-clair);
    box-shadow: var(--shadow-md);
}

.figure-num {
    font-family: var(--font-sans);
    font-size: clamp(46px, 4.8vw, 68px);
    font-weight: 600;
    color: var(--sapin);
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
    display: inline-flex;
    align-items: baseline;
}

.figure-unit {
    font-size: 0.5em;
    color: var(--sapin-clair);
    margin-left: 4px;
    font-weight: 500;
}

.figure-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sapin);
    font-weight: 600;
    margin-bottom: 12px;
}

.figure-desc {
    font-size: 13.5px;
    color: var(--txt-body);
    line-height: 1.7;
}

.entreprise-cta {
    background: var(--sapin);
    padding: 140px 80px 120px;
    min-height: auto;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.entreprise-cta::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 102, 71, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.entreprise-cta .section-label {
    color: var(--on-sapin-soft);
}

.entreprise-cta .page-title {
    color: var(--blanc);
}

.entreprise-cta .page-title .line span {
    color: var(--blanc);
}

.cta-inner {
    max-width: 760px;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 17px;
    color: var(--on-sapin-mid);
    line-height: 1.85;
    margin: 28px 0 40px;
    max-width: 620px;
}

.entreprise-cta .hero-cta {
    border-color: var(--blanc);
    color: var(--blanc);
    opacity: 1;
    background: transparent;
}

.entreprise-cta .hero-cta:hover {
    background: var(--blanc);
    color: var(--sapin);
}

/* CTA primaire sur fond sapin = solid blanc */
.entreprise-cta .hero-cta.btn-primary,
.entreprise-cta .btn.btn-primary {
    background: var(--blanc);
    color: var(--sapin);
    border-color: var(--blanc);
}

.entreprise-cta .hero-cta.btn-primary:hover,
.entreprise-cta .btn.btn-primary:hover {
    background: transparent;
    color: var(--blanc);
}

.values-section {
    background: var(--creme);
    padding: 120px 80px;
    min-height: auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 56px;
}

.value-item {
    border-top: 2px solid var(--sapin);
    padding-top: 28px;
    opacity: 0;
    transition: padding-top 0.3s;
}

.value-num {
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.18em;
    color: var(--sapin-clair);
    font-weight: 700;
    margin-bottom: 16px;
}

.value-item h3 {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    color: var(--sapin);
    margin-bottom: 14px;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.value-item p {
    font-size: 14.5px;
    color: var(--txt-body);
    line-height: 1.8;
}

/* ---------- SECTION CONTACT ---------- */
#contact {
    background: var(--sapin);
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: -250px;
    left: -250px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 102, 71, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

#contact .section-label {
    color: var(--on-sapin-soft);
}

.contact-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.contact-heading {
    font-family: var(--font-sans);
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 600;
    color: var(--blanc);
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-top: 28px;
}

.contact-heading .line span {
    color: var(--blanc);
}

.contact-info {
    opacity: 0;
}

.info-row {
    border-top: 1px solid var(--border-dark);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.info-row:last-child {
    border-bottom: 1px solid var(--border-dark);
}

.info-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--on-sapin-soft);
    font-weight: 600;
    flex-shrink: 0;
    padding-top: 2px;
}

.info-value {
    font-size: 15px;
    color: var(--on-sapin-strong);
    text-align: right;
    line-height: 1.6;
    font-weight: 500;
}

.info-value a {
    color: var(--on-sapin-strong);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.info-value a:hover {
    color: var(--blanc);
    border-bottom-color: var(--blanc);
}

.contact-extra {
    margin-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    opacity: 0;
}

.contact-extra h3 {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--on-sapin-soft);
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-extra p,
.contact-extra li {
    font-size: 14.5px;
    color: var(--on-sapin-strong);
    line-height: 1.85;
}

.contact-extra ul {
    list-style: none;
}

.contact-extra ul li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dark);
}

.contact-extra ul li span:first-child {
    color: var(--on-sapin-mid);
}

.contact-map {
    margin-top: 80px;
    width: 100%;
    opacity: 0;
}

.contact-map h3 {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--on-sapin-soft);
    font-weight: 600;
    margin-bottom: 24px;
}

.map-frame {
    width: 100%;
    height: 440px;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    box-shadow: var(--shadow-md);
}

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

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--on-sapin-strong);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.3s, gap 0.3s;
}

.map-link:hover {
    color: var(--blanc);
    gap: 16px;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--sapin);
    padding: 80px 80px 28px;
    border-top: 1px solid var(--border-dark);
    display: block;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
    align-items: start;
}

.footer-col h4 {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--on-sapin-strong);
    margin-bottom: 22px;
    font-weight: 700;
}

.footer-name {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--blanc);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-tagline {
    font-size: 13.5px;
    color: var(--on-sapin-mid);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 280px;
}

.footer-address {
    font-size: 13px;
    color: var(--on-sapin-mid);
    line-height: 1.8;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: var(--on-sapin-mid);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--blanc);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--on-sapin-soft);
    letter-spacing: 0.06em;
    margin: 0;
}

/* ---------- PAGES LÉGALES ---------- */
.legal-page {
    background: var(--blanc);
    min-height: auto;
    padding: 180px 80px 120px;
}

.legal-page .page-title {
    margin-bottom: 64px;
}

.legal-content {
    max-width: 820px;
    opacity: 0;
}

.legal-content h2 {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 600;
    color: var(--sapin);
    margin: 56px 0 18px;
    letter-spacing: -0.015em;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 15.5px;
    color: var(--txt-body);
    line-height: 1.85;
    margin-bottom: 14px;
}

.legal-content p strong {
    color: var(--sapin);
    font-weight: 600;
}

.legal-content a {
    color: var(--sapin-clair);
    text-decoration: underline;
    text-decoration-color: rgba(45, 102, 71, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s;
}

.legal-content a:hover {
    text-decoration-color: var(--sapin-clair);
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

.legal-content ul li {
    font-size: 15.5px;
    color: var(--txt-body);
    line-height: 1.85;
    padding: 4px 0 4px 20px;
    position: relative;
}

.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--sapin);
    border-radius: 50%;
}

.legal-divider {
    height: 1px;
    background: var(--border);
    margin: 48px 0;
    border: none;
}

.legal-update {
    font-size: 12px;
    color: var(--txt-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    section {
        padding: 120px 48px 80px;
    }

    #services,
    .preview-section,
    .values-section,
    .figures-section,
    .entreprise-cta {
        padding: 120px 48px 80px;
    }

    header {
        padding: 22px 44px;
    }

    .entreprise-banner {
        height: 300px;
    }

    .preview-card-image {
        height: 180px;
    }

    /* Sur tablette/mobile, opacité légèrement réduite */
    .hero-bg-left {
        opacity: 0.28;
    }

    #entreprise {
        flex-direction: column;
        gap: 60px;
    }

    .figures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .entreprise-left,
    .entreprise-right {
        width: 100%;
    }

    .hero-line {
        left: 48px;
        right: 48px;
    }

    .scroll-indicator {
        left: 48px;
    }

    .hero-bg-text {
        font-size: clamp(80px, 16vw, 160px);
    }

    .carousel-slide {
        gap: 40px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-logo {
        width: 340px;
        order: -1;
        gap: 22px;
    }

    .hero-logo .logo-img {
        max-width: 320px;
        max-height: 320px;
    }

    .hero-trust {
        gap: 12px 20px;
    }

    .logo-fullname {
        font-size: 15px;
        letter-spacing: 0.34em;
        gap: 22px;
    }

    .logo-fullname span + span::before {
        left: -14px;
        width: 5px;
    }

    .preview-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-extra {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    footer {
        padding: 56px 48px 24px;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        margin-bottom: 40px;
    }
    .legal-page {
        padding: 140px 48px 80px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 100px 24px 64px;
    }

    #services,
    .preview-section,
    .values-section,
    .figures-section,
    .entreprise-cta {
        padding: 100px 24px 64px;
    }

    .entreprise-banner {
        height: 220px;
    }

    .preview-card-image {
        height: 160px;
        margin: -32px -28px 24px;
    }

    .preview-card {
        padding: 32px 28px;
    }

    footer {
        padding: 48px 24px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

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

    .legal-page {
        padding: 120px 24px 64px;
    }

    .legal-content h2 {
        font-size: 18px;
        margin-top: 40px;
    }

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

    header {
        padding: 18px 24px;
    }

    .logo-mark {
        height: 32px;
    }

    .logo {
        gap: 10px;
        font-size: 15px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border);
    }

    nav ul.open {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 18px 24px;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }

    nav ul a.active::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .carousel-slide {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .slide-content {
        padding: 8px 0;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    footer {
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-line {
        left: 24px;
        right: 24px;
    }
}

/* =============================================
   MAP CONSENT OVERLAY (RGPD)
   ============================================= */
.map-consent {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--sapin) 6%, white);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.map-consent.hidden {
    opacity: 0;
    pointer-events: none;
}

.map-consent-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 32px;
    text-align: center;
    max-width: 360px;
}

.map-consent-icon {
    color: var(--sapin);
    opacity: 0.6;
}

.map-consent-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--txt-muted);
    margin: 0;
}

.map-consent-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--sapin);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.map-consent-btn:hover,
.map-consent-btn:focus-visible {
    background: var(--sapin-clair);
    outline: 2px solid var(--sapin);
    outline-offset: 3px;
}

.map-consent-link {
    font-size: 12px;
    color: var(--txt-muted);
    text-underline-offset: 3px;
}

.map-consent-link:hover {
    color: var(--sapin);
}

/* ----------------------------------------------------------------
   FALLBACK — GSAP/JS indisponible (classe .no-anim ajoutée par un
   script inline si GSAP n'a pas chargé). Révèle le contenu qui
   dépend sinon de GSAP, pour éviter une page blanche si le CDN est
   bloqué. N'a AUCUN effet quand GSAP se charge (classe non ajoutée).
   ---------------------------------------------------------------- */
.no-anim .section-label,
.no-anim .page-intro,
.no-anim .hero-logo,
.no-anim .hero-eyebrow,
.no-anim .hero-sub,
.no-anim .hero-cta,
.no-anim .btn,
.no-anim .hero-trust,
.no-anim .scroll-indicator,
.no-anim .preview-card,
.no-anim .carousel-wrapper,
.no-anim .big-stat-label,
.no-anim .entreprise-right p,
.no-anim .entreprise-highlights,
.no-anim .entreprise-photo,
.no-anim .metal-item,
.no-anim .figure-item,
.no-anim .cta-inner,
.no-anim .value-item,
.no-anim .contact-info,
.no-anim .contact-extra,
.no-anim .contact-map,
.no-anim .legal-content {
    opacity: 1 !important;
    transform: none !important;
}
.no-anim .page-title .line span,
.no-anim .hero h1 .line span,
.no-anim .contact-heading .line span,
.no-anim .entreprise-right h1 .line span,
.no-anim .stat-val {
    transform: translateY(0) !important;
}
.no-anim .hero-line { transform: scaleX(1) !important; }
/* Carrousel sans JS : on déroule les slides verticalement au lieu de les empiler */
.no-anim .carousel-track { display: block; }
.no-anim .carousel-slide { grid-row: auto; margin-bottom: 48px; }
.no-anim .carousel-controls { display: none; }
