/* RESET & VARIABLES (Charte ADAD) */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Palette charte + doc maître */
    --noir-profond: #1A1A2E;
    --anthracite: #2D2D2D;
    --gris-texte: #4A4A4A;
    --gris-secondaire: #7A7A7A;
    --fond-chaud: #F5F0EB;
    --separateur: #E8E8E8;
    --or: #C4A265;
    --or-champagne: #C9A96E;
    --orange-adad: #E8722A;
    --vert-sauge: #5B7C5A;
    --blanc-casse: #F5F0EB;

    /* Fonts */
    --font-header: 'Inter', -apple-system, sans-serif;
    --font-body: 'Libre Caslon Text', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--noir-profond);
    color: var(--blanc-casse);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection {
    background: var(--or);
    color: var(--noir-profond);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ═══════════════════════════════════════
    NAVIGATION
    ═══════════════════════════════════════ */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: all 0.5s ease;
}

nav.scrolled {
    background: rgba(26, 26, 46, 0.96);
    backdrop-filter: blur(24px);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(196, 162, 101, 0.08);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-header);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blanc-casse);
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-img:hover { opacity: 0.8; }

.logo-mark {
    color: var(--orange-adad);
}

/* Project card images */
.projet-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.projet-card.featured .projet-cover {
    height: 220px;
}

.projet-cover-logo {
    object-fit: contain;
    background: var(--noir-profond);
    padding: 2rem;
    height: 200px;
}

/* Portrait in À propos */
.apropos-portrait {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 2rem;
    filter: grayscale(10%);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-header);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gris-secondaire);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blanc-casse);
}

.nav-cta {
    padding: 0.65rem 1.8rem !important;
    border: 1px solid var(--or) !important;
    color: var(--or) !important;
    transition: all 0.3s ease !important;
    font-size: 0.7rem !important;
}

.nav-cta:hover {
    background: var(--or) !important;
    color: var(--noir-profond) !important;
}

/* Mobile menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 1px;
    background: var(--blanc-casse);
    transition: all 0.3s ease;
}

/* ═══════════════════════════════════════
    HERO — Homepage
    ═══════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Placeholder for future showreel video */
.hero-video-bg {
    position: absolute;
    inset: 0;
    background: var(--noir-profond);
    z-index: 0;
}

.hero-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 46, 0.4) 0%,
        rgba(26, 26, 46, 0.85) 60%,
        rgba(26, 26, 46, 1) 100%
    );
}

/* Subtle ambient glow */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 114, 42, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-logo {
    flex-shrink: 0;
    width: 500px;
    margin-bottom: 3.5rem;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;  
}

.hero-content h1 {
    font-family: var(--font-header);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease 0.4s forwards;
}

.hero-content h1 strong {
    font-weight: 600;
}

.hero-accent {
    color: var(--or);
}

.hero-text-block {
    flex-grow: 1;
}

.hero-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(245, 240, 235, 0.7);
    line-height: 1.9;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.9s ease 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    align-items: center;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.9s ease 0.8s forwards;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--or);
    color: var(--noir-profond);
    font-family: var(--font-header);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--or-champagne);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(196, 162, 101, 0.15);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-header);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 235, 0.5);
    transition: color 0.3s ease;
}

.btn-ghost:hover { color: var(--or); }

.btn-ghost svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-ghost:hover svg { transform: translateX(4px); }

/* ═══════════════════════════════════════
    LOGO BAR (partenaires)
    ═══════════════════════════════════════ */
.logo-bar {
    padding: 4rem 0;
    border-top: 1px solid rgba(196, 162, 101, 0.06);
    border-bottom: 1px solid rgba(196, 162, 101, 0.06);
    position: relative;
    z-index: 2;
}

.logo-bar-label {
    font-family: var(--font-header);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gris-secondaire);
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-bar-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.logo-bar-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: scroll-logos 50s linear infinite;
    flex-shrink: 0;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-bar-grid:hover .logo-bar-track {
    animation-play-state: paused;
}

.partner-logo {
    /* Dimensions demandées */
    width: 200px;
    height: 200px;
    
    /* object-fit: contain empêche les logos de se déformer s'ils ne sont pas carrés */
    object-fit: contain; 
    
    /* Empêche le logo de se compresser si l'écran est petit */
    flex-shrink: 0; 
    
    /* Design sombre par défaut pour coller à la charte A Day A Dream */
        filter: grayscale(100%) sepia(100%) saturate(200%) brightness(100%) opacity(80%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* Effet d'éclairage sympa quand on passe la souris */
.partner-logo:hover {
    filter: grayscale(0%) sepia(0%) saturate(100%) brightness(100%) opacity(100%);
    transform: scale(1.05); /* Petit effet de zoom */
}


/* ═══════════════════════════════════════
    SECTION COMMONS
    ═══════════════════════════════════════ */
section { 
    padding: 9rem 0;
    scroll-margin-top: 80px;
}

.section-label {
    font-family: var(--font-header);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-header);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 300;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.section-title strong {
    font-weight: 600;
}

.section-intro {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(245, 240, 235, 0.6);
    max-width: 560px;
    line-height: 1.9;
}

.filet {
    width: 50px;
    height: 1px;
    background: var(--or);
    margin: 2.5rem 0;
    opacity: 0.6;
}

/* ═══════════════════════════════════════
    PILIERS D'EXPERTISE (Homepage)
    ═══════════════════════════════════════ */
.pillars {
    background: var(--noir-profond);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 5rem;
}

.pillar {
    padding: 3.5rem 3rem;
    border-right: 1px solid rgba(196, 162, 101, 0.06);
    transition: background 0.4s ease;
}

.pillar:last-child { border-right: none; }

.pillar:hover {
    background: rgba(196, 162, 101, 0.02);
}

.pillar-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--or);
    margin-bottom: 2rem;
    opacity: 0.6;
}

.pillar h3 {
    font-family: var(--font-header);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pillar p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.55);
    line-height: 1.9;
}

/* ═══════════════════════════════════════
    PROJETS / PORTFOLIO (Page 2)
    ═══════════════════════════════════════ */
#projets {
    background: rgba(26, 26, 46, 0.97);
    border-top: 1px solid rgba(196, 162, 101, 0.06);
}

.projets-header {
    margin-bottom: 5rem;
}

.projets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.projet-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.projet-card.featured .projet-left,
.projet-card.featured .projet-right {
    display: block;
}

@media (max-width: 768px) {
    .projet-card.featured {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.projet-card {
    background: rgba(45, 45, 45, 0.3);
    border: 1px solid rgba(196, 162, 101, 0.04);
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.projet-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--or), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projet-card:hover {
    border-color: rgba(196, 162, 101, 0.1);
    transform: translateY(-3px);
}

.projet-card:hover::before { opacity: 1; }

.projet-role {
    font-family: var(--font-header);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.projet-card h3 {
    font-family: var(--font-header);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.projet-context {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(245, 240, 235, 0.55);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.projet-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(196, 162, 101, 0.06);
}

.projet-result-value {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--or);
}

.projet-result-label {
    font-family: var(--font-header);
    font-size: 0.75rem;
    color: var(--gris-secondaire);
    letter-spacing: 0.03em;
}

.projet-partners {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.projet-partner-tag {
    font-family: var(--font-header);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(196, 162, 101, 0.12);
    color: rgba(245, 240, 235, 0.4);
}

/* Placeholder state for projects awaiting content */
.projet-card.placeholder {
    border-style: dashed;
    border-color: rgba(196, 162, 101, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.projet-card.placeholder p {
    font-family: var(--font-header);
    font-size: 0.8rem;
    color: var(--gris-secondaire);
    text-align: center;
}

/* ═══════════════════════════════════════
    À PROPOS (Page 3)
    ═══════════════════════════════════════ */
#apropos {
    background: var(--noir-profond);
    border-top: 1px solid rgba(196, 162, 101, 0.06);
}

.apropos-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: start;
}

.apropos-bio p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(245, 240, 235, 0.65);
    line-height: 1.95;
    margin-bottom: 1.8rem;
}

.apropos-bio p:first-of-type {
    font-size: 1.1rem;
    color: var(--blanc-casse);
}

.apropos-signals {
    margin-top: 4rem;
}

.signal {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(196, 162, 101, 0.06);
}

.signal:first-child {
    border-top: 1px solid rgba(196, 162, 101, 0.06);
}

.signal-marker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--or);
    opacity: 0.5;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

.signal-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(245, 240, 235, 0.6);
    line-height: 1.7;
}

.signal-text strong {
    color: var(--blanc-casse);
    font-weight: 700;
}

/* Right column: quote + positioning */
.apropos-aside {
    position: sticky;
    top: 120px;
}

.apropos-quote {
    background: rgba(45, 45, 45, 0.2);
    border-left: 2px solid var(--or);
    padding: 3rem 3rem 3rem 2.5rem;
    margin-bottom: 3rem;
}

.apropos-quote blockquote {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--blanc-casse);
}

.apropos-quote .attribution {
    margin-top: 1.5rem;
    font-family: var(--font-header);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--or);
}

.apropos-positioning {
    padding: 2.5rem 0;
}

.apropos-positioning h4 {
    font-family: var(--font-header);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gris-secondaire);
    margin-bottom: 1.5rem;
}

.apropos-positioning p {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(245, 240, 235, 0.5);
    line-height: 1.8;
}

.apropos-credits {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(196, 162, 101, 0.08);
}

.apropos-credits h4 {
    font-family: var(--font-header);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gris-secondaire);
    margin-bottom: 1.5rem;
}

.credit-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credit-entry {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: baseline;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(196, 162, 101, 0.05);
}

.credit-artist {
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--or);
}

.credit-titles {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(245, 240, 235, 0.7);
    font-style: italic;
}

.credit-role {
    font-family: var(--font-data);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gris-secondaire);
    white-space: nowrap;
}

.credit-spotify-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-header);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--or);
    text-decoration: none;
    transition: color 0.3s ease;
}

.credit-spotify-link:hover {
    color: var(--fond-chaud);
}

/* ═══════════════════════════════════════
    CONTACT (Page 4)
    ═══════════════════════════════════════ */
#contact {
    background: var(--noir-profond);
    border-top: 1px solid rgba(196, 162, 101, 0.06);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}

.contact-left h3 {
    font-family: var(--font-header);
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.contact-left h3 strong {
    font-weight: 600;
}

.contact-left > p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(245, 240, 235, 0.55);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(196, 162, 101, 0.04);
}

.contact-line:first-of-type {
    border-top: 1px solid rgba(196, 162, 101, 0.04);
}

.contact-line-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-line-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--or);
    opacity: 0.6;
}

.contact-line-label {
    font-family: var(--font-header);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gris-secondaire);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-line-value {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--blanc-casse);
}

.contact-line-value a {
    transition: color 0.3s ease;
}

.contact-line-value a:hover {
    color: var(--or);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--font-header);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gris-secondaire);
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(45, 45, 45, 0.25);
    border: 1px solid rgba(196, 162, 101, 0.06);
    border-radius: 0;
    padding: 1rem 1.2rem;
    color: var(--blanc-casse);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    appearance:none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--or);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gris-secondaire);
    opacity: 0.5;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%237A7A7A' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--anthracite);
    color: var(--blanc-casse);
}

.form-legal {
    font-family: var(--font-header);
    font-size: 0.7rem;
    color: var(--gris-secondaire);
    line-height: 1.6;
}

.form-legal a {
    color: var(--or);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ═══════════════════════════════════════
    FOOTER (LCEN compliant)
    ═══════════════════════════════════════ */
footer {
    border-top: 1px solid rgba(196, 162, 101, 0.06);
    padding: 3rem 0;
    background: var(--noir-profond);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-family: var(--font-header);
    font-size: 0.7rem;
    color: var(--gris-secondaire);
    letter-spacing: 0.03em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-header);
    font-size: 0.7rem;
    color: var(--gris-secondaire);
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--or); }

/* ═══════════════════════════════════════
    EXPERTISE (3 colonnes détaillées)
    ═══════════════════════════════════════ */
#expertise-detail {
    background: var(--noir-profond);
    border-top: 1px solid rgba(196, 162, 101, 0.06);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.expertise-col {
    padding: 0;
    vertical-align: middle;}

.expertise-col-header {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    height: 360px;
    border-bottom: 1px solid rgba(196, 162, 101, 0.1);
}

.expertise-col-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--or);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.expertise-col-header h3 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.expertise-col-header p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(245, 240, 235, 0.5);
    line-height: 1.7;
}

.expertise-items {
    list-style: none;
    height: 620px;
}

.expertise-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(196, 162, 101, 0.04);
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.expertise-item::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--or);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
    opacity: 0.5;
}

.expertise-item span {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(245, 240, 235, 0.55);
    line-height: 1.6;
}

.expertise-format {
    height: 160px;
}

.expertise-cta {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.7rem 1.2rem;
    border: 1px solid currentColor;
    border-radius: 2px;
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.expertise-cta:hover {
    border-color: var(--or);
    color: var(--or);
}

/* Carte featured — pré-diagnostic PI */
.expertise-col-featured {
    position: relative;
}
.expertise-col-featured .expertise-col-number {
    color: #C9A96E;
}

/* Footer — mention partenariat */
.footer-partnership {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ═══════════════════════════════════════
    ANIMATIONS
    ═══════════════════════════════════════ */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for grids */
.reveal-stagger .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger .reveal:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger .reveal:nth-child(4) { transition-delay: 0.45s; }

/* ═══════════════════════════════════════
    RESPONSIVE
    ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .container { padding: 0 2rem; }
    .pillars-grid { grid-template-columns: 1fr; gap: 0; }
    .pillar { border-right: none; border-bottom: 1px solid rgba(196,162,101,0.06); }
    .pillar:last-child { border-bottom: none; }
    .expertise-grid { grid-template-columns: 1fr; gap: 3rem; }
    .projets-grid { grid-template-columns: 1fr; }
    .projet-card.featured { grid-template-columns: 1fr; gap: 1.5rem; }
    .apropos-layout { grid-template-columns: 1fr; gap: 4rem; }
    .apropos-aside { position: static; }
    .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
    .logo-bar-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        bottom:auto;
        right: auto;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
    }

    .nav-links.open { display: flex; }

    .nav-links a { font-size: 1rem; }

    .menu-toggle { display: flex; z-index: 1001; }

    section { padding: 5rem 0; }
    .container { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-text { font-size: 0.95rem; }
    .hero-logo {width: 140 px; margin-bottom: 2.5rem;}

    .section-title { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
    .logo-bar-grid { gap: 2rem; }
    .partner-logo { font-size: 0.65rem; }
    .logo-bar { padding: 3rem 0; }
    .pillar { padding: 2.5rem 2rem; }
    .projet-card { padding: 2rem; }
    .projet-card h3 { font-size: 1.1rem; }
    .apropos-quote blockquote { font-size: 1rem; }
    .apropos-quote { padding: 2rem; }
    .credit-entry { grid-template-columns: 1fr; gap: 0.3rem; padding: 0.6rem 0; }
    .credit-role { justify-self: start; }
    .contact-left h3 { font-size: 1.3rem; }
    .expertise-col-header h3 { font-size: 1rem; }
    .expertise-grid { margin-top: 3rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    section { padding: 4rem 0; }
    .hero-content h1 { font-size: 1.5rem; }
    .hero-logo {width: 250px; margin-top: 2.5rem; margin-bottom: 2.5rem;}
    .btn-primary { padding: 0.9rem 2rem; font-size: 0.68rem; }
    .projet-result-value { font-size: 1.1rem; }
    .signal { flex-direction: column; gap: 0.5rem; }
}

/* ═══════════════════════════════════════
   ACCESSIBILITÉ — Mouvements réduits
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    .reveal {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* --- LA CORRECTION EST ICI --- */
    .logo-bar-grid {
        /* On remplace le débordement caché par un ascenseur horizontal */
        overflow-x: auto !important; 
        
        /* On enlève l'effet de fondu noir sur les bords pour bien voir les logos */
        mask-image: none !important; 
        -webkit-mask-image: none !important;
    }

    .logo-bar-track {
        animation: none !important;
    }
    /* ----------------------------- */

    .btn-primary:hover,
    .partner-logo:hover,
    .projet-card:hover {
        transform: none !important;
    }
}

/* ═══════════════════════════════════════
   PAGES LÉGALES (Mentions & RGPD)
   ═══════════════════════════════════════ */
.legal-content {
    padding-top: 10rem;
    padding-bottom: 9rem;
}

.legal-block {
    margin-bottom: 5rem;
}

.legal-block h3 {
    font-family: var(--font-header);
    color: var(--blanc-casse);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal-block p, 
.legal-block ul {
    font-family: var(--font-body);
    color: rgba(245, 240, 235, 0.65);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.legal-block strong {
    color: var(--or);
}

.legal-block ul {
    padding-left: 1.5rem;
}

