/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES (THEME LUXE NOIR & OR)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-deep: #050505;
    --color-bg-matte: #0c0c0c;
    --color-bg-card: #121211;
    --color-gold-raw: #d4af37;
    --color-gold-dark: #b8860b;
    --color-gold-light: #f3e5ab;
    --color-gold-gradient: linear-gradient(135deg, #f9f5e8 0%, #d4af37 50%, #aa7c11 100%);
    --color-gold-glow: rgba(212, 175, 55, 0.15);
    
    --color-text-primary: #f5f5f7;
    --color-text-secondary: #d2d2d7;
    --color-text-muted: #8e8e93;
    
    /* Fonts */
    --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    
    /* Spacing & Borders */
    --border-gold-thin: 1px solid rgba(212, 175, 55, 0.18);
    --border-gold-bright: 1px solid rgba(212, 175, 55, 0.6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.8;
}

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

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--color-text-primary);
    letter-spacing: 0.1em;
}

p {
    font-weight: 300;
    letter-spacing: 0.03em;
}

.gold-text {
    background: var(--color-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold-raw);
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.gold-divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold-gradient);
    margin: 0 auto 2.5rem auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.btn-primary {
    color: var(--color-text-primary);
    background: transparent;
    border: var(--border-gold-thin);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-gold-gradient);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    color: #000;
    border-color: transparent;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    color: #000;
    background: var(--color-gold-gradient);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px var(--color-gold-glow);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--color-text-primary);
    border: var(--border-gold-bright);
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Transparent au début pour le style haut de gamme */
    border-bottom: 1px solid rgba(212, 175, 55, 0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(5, 5, 5, 0.88); /* Noir mat translucide */
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem; /* Marges de départ très élégantes */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.scrolled .header-container {
    padding: 0.5rem 2.5rem; /* Extrêmement fin une fois scrollé */
}

.nav-menu {
    display: flex;
    gap: 3.5rem;
    width: 38%;
    transition: var(--transition-smooth);
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-link {
    font-size: 0.68rem; /* Plus petit, style luxe */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em; /* Espacement large très premium */
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold-raw);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

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

.logo-container {
    width: 20%;
    display: flex;
    justify-content: center;
    transition: var(--transition-smooth);
}

.logo-img {
    height: 280px; /* Logo monumental pour un impact visuel maximal au chargement */
    width: auto;
    object-fit: contain;
    opacity: 1;
    transform: scale(1);
    transition: var(--transition-smooth);
    /* Inversion intelligente pour fond noir en gardant l'or original */
    filter: invert(1) hue-rotate(180deg) contrast(1.1) brightness(1.1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    cursor: pointer;
}

/* Interaction au survol (Logo interactif) */
.logo-img:hover {
    transform: scale(1.03);
    filter: invert(1) hue-rotate(180deg) contrast(1.15) brightness(1.2) drop-shadow(0 0 20px rgba(212, 175, 55, 0.45));
    opacity: 1 !important;
}

/* État scrollé : rétrécissement et effacement partiel */
.scrolled .logo-img {
    height: 95px; /* Rétrécit considérablement lors du scroll */
    opacity: 0.55; /* Estompé pour ne pas gêner la navigation */
}

/* Mobile Menu Button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 1.5px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--color-gold-raw);
}

/* Responsive Header */
@media (max-width: 991px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem;
        gap: 0;
    }
    
    .scrolled .header-container {
        padding: 0.6rem 2rem;
        gap: 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .logo-container {
        width: auto;
        justify-content: flex-start;
    }
    
    .logo-img {
        height: 170px; /* Hauteur monumentale adaptée pour mobile */
        opacity: 1;
    }
    
    .scrolled .logo-img {
        height: 75px;
        opacity: 0.65;
    }
}

/* Toggle Animation */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================= */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: zoomOutHero 12s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(5, 5, 5, 0.4) 0%, 
                rgba(5, 5, 5, 0.7) 60%, 
                rgba(5, 5, 5, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 2rem;
    margin-top: 50px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.22em;
    font-family: var(--font-serif);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 0.15em;
    }
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.hero-scroll-indicator .mouse {
    width: 20px;
    height: 32px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    position: relative;
}

.hero-scroll-indicator .wheel {
    width: 2px;
    height: 6px;
    background-color: var(--color-gold-raw);
    border-radius: 1px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

.hero-scroll-indicator .scroll-text {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
}

@keyframes zoomOutHero {
    from { transform: scale(1.1); }
    to { transform: scale(1.0); }
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(-50%, 12px); opacity: 0; }
}


/* ==========================================================================
   SECTION NOTRE HISTOIRE
   ========================================================================== */
.section-histoire {
    padding: 9rem 0;
    background: var(--color-bg-deep);
    position: relative;
}

.lead-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .lead-text {
        font-size: 1.2rem;
    }
}

.body-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    text-align: justify;
    text-justify: inter-word;
}

.story-quote {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-gold-raw);
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-quote::before, .story-quote::after {
    font-family: var(--font-serif);
    font-size: 4rem;
    position: absolute;
    opacity: 0.15;
    line-height: 1;
}

.story-quote::before {
    content: '“';
    top: -1.5rem;
    left: -0.5rem;
}

.story-quote::after {
    content: '”';
    bottom: -3rem;
    right: -0.5rem;
}


/* ==========================================================================
   SECTION LES TROIS PILIERS & SERVICES
   ========================================================================== */
.section-piliers {
    padding: 8rem 0;
    background: var(--color-bg-matte);
}

.piliers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .piliers-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.pilier-card {
    background: var(--color-bg-card);
    border: var(--border-gold-thin);
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.pilier-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.05);
}

.card-image-wrapper {
    height: 380px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

@media (max-width: 600px) {
    .card-image-wrapper {
        height: 280px;
    }
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pilier-card:hover .card-img {
    transform: scale(1.06);
}

.card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 17, 0) 60%, rgba(18, 18, 17, 0.9) 100%);
}

.card-content {
    padding: 2.5rem;
    position: relative;
}

.card-number {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-gold-raw);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.card-description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}


/* ==========================================================================
   PARALLAX CITATION INTERMÉDIAIRE
   ========================================================================== */
.section-parallax-quote {
    position: relative;
    height: 50vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Parallax effect on desktop */
    background-attachment: fixed;
    z-index: 1;
}

@media (max-width: 1024px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.82);
    z-index: 2;
}

.parallax-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.parallax-quote {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.5;
    background: var(--color-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .parallax-quote {
        font-size: 1.5rem;
    }
}


/* ==========================================================================
   SECTION CONTACT & FORMULAIRE LUXE
   ========================================================================== */
.section-contact {
    padding: 8rem 0;
    background: var(--color-bg-deep);
}

.contact-intro {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.contact-form {
    background: var(--color-bg-matte);
    border: var(--border-gold-thin);
    padding: 4.5rem 4rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 3rem 2rem;
    }
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.form-group {
    position: relative;
    margin-bottom: 3rem;
}

/* Inputs styling */
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text-primary);
    outline: none;
    transition: var(--transition-fast);
}

.contact-form textarea {
    resize: none;
}

/* Focus indicator line */
.form-group .input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold-raw);
    transition: var(--transition-fast);
}

.contact-form input:focus ~ .input-line,
.contact-form textarea:focus ~ .input-line {
    width: 100%;
}

/* Floating labels */
.form-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* When input is focused or filled, float the label */
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -1.2rem;
    font-size: 0.65rem;
    color: var(--color-gold-raw);
    letter-spacing: 0.15em;
}

.form-submit {
    margin-top: 1rem;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
}

.loading .btn-text {
    opacity: 0;
}

.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-feedback {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.form-feedback.success {
    color: #4cd964;
    opacity: 1;
}

.form-feedback.error {
    color: #ff3b30;
    opacity: 1;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background: #080808;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
    padding: 6rem 0 3rem 0;
    font-family: var(--font-sans);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-top .text-right {
        text-align: center;
    }
}

.footer-title {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.2rem;
    color: var(--color-gold-raw);
}

.footer-address, .footer-contact-info {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 0.75rem auto;
    filter: invert(1) hue-rotate(180deg) contrast(1.1) brightness(1.1);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.footer-link:hover {
    color: var(--color-gold-raw);
}

.footer-middle {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.5rem 0;
    margin-bottom: 2.5rem;
}

.footer-social-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.social-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--color-gold-raw);
}

.social-link:hover .social-icon {
    filter: drop-shadow(0 0 4px var(--color-gold-raw));
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-sublink {
    color: rgba(255,255,255,0.25);
}

.footer-sublink:hover {
    color: var(--color-text-muted);
}

.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.15);
}


/* ==========================================================================
   SCROLL REVEAL & FADE-IN ANIMATIONS
   ========================================================================== */
/* Initial states */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Timing delays */
.delay-1 {
    transition-delay: 0.25s;
}

.delay-2 {
    transition-delay: 0.5s;
}

.delay-3 {
    transition-delay: 0.75s;
}

/* ==========================================================================
   SECTION L'ÉQUIPE (STYLE START-UP DE LUXE)
   ========================================================================== */
.section-equipe {
    padding: 8rem 0;
    background: var(--color-bg-deep);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.group-photo-container {
    width: 100%;
    max-width: 1100px;
    height: 480px;
    margin: 0 auto 5rem auto;
    overflow: hidden;
    position: relative;
    border: var(--border-gold-thin);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: var(--transition-smooth);
}

.group-photo-container:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.05);
}

.group-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.group-photo-container:hover .group-photo {
    transform: scale(1.03);
}

.group-photo-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0) 50%, rgba(5, 5, 5, 0.8) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .group-photo-container {
        height: 280px;
        margin-bottom: 3.5rem;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

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

.team-card {
    background: var(--color-bg-card);
    border: var(--border-gold-thin);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.03);
}

.team-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-name {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--color-text-primary);
    margin-bottom: 0.2rem;
}

.team-role {
    font-size: 0.72rem;
    font-family: var(--font-sans);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gold-raw);
    margin-bottom: 1.5rem;
    display: block;
}

.team-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1.2rem;
}

.details-section strong {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.2rem;
}

/* Fine Gold Particles Background Canvas */
#gold-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999; /* Overlay atmosphérique par-dessus le fond et le texte */
    pointer-events: none; /* Laisse passer tous les clics et le défilement */
    mix-blend-mode: screen; /* Fusion parfaite sur fond noir */
    opacity: 0.85; /* Intensité globale élégante et subtile */
}

/* ==========================================================================
   QUI SOMMES-NOUS PAGE SPECIFIC STYLES
   ========================================================================== */

/* Hero team variation */
.hero-team {
    height: 75vh;
}

.hero-team .hero-bg {
    background-position: center 15%;
}

.hero-team .hero-title {
    font-size: 2.8rem;
    letter-spacing: 0.15em;
    max-width: 1000px;
}

@media (max-width: 768px) {
    .hero-team {
        height: 65vh;
    }
    .hero-team .hero-title {
        font-size: 1.8rem;
    }
}

/* Philosophie section */
.philosophie-quote-wrapper {
    position: relative;
    padding: 3rem 0;
    margin-top: 1rem;
}

.philosophie-lead {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    color: var(--color-text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.philosophie-body {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    max-width: 780px;
    margin: 0 auto;
}

/* Gardiens & Racines section */
.section-gardiens {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--color-bg-deep), var(--color-bg-matte));
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.gardiens-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.gardiens-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gardiens-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.gardiens-conclusion {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text-primary);
    border-left: 2px solid var(--color-gold-raw);
    padding-left: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
    line-height: 1.7;
}

.gardiens-image-container {
    position: relative;
    border: var(--border-gold-thin);
    padding: 1.2rem;
    background: var(--color-bg-card);
    transition: var(--transition-smooth);
}

.gardiens-image-container::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border: 1px solid rgba(212, 175, 55, 0.05);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.gardiens-image-container:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.03);
}

.gardiens-image-container:hover::before {
    border-color: rgba(212, 175, 55, 0.15);
}

.gardiens-img-wrapper {
    overflow: hidden;
    position: relative;
}

.gardiens-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 1024px) {
    .gardiens-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .gardiens-image-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   TERROIR SECTION STYLES
   ========================================================================== */
.section-terroir {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--color-bg-matte), var(--color-bg-deep));
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.terroir-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
}

@media (max-width: 1024px) {
    .terroir-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.terroir-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2.5rem;
    background: var(--color-bg-card);
    border: var(--border-gold-thin);
    transition: var(--transition-smooth);
    position: relative;
}

.terroir-col:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.03);
    transform: translateY(-5px);
}

.terroir-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-gold-raw);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.terroir-col-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.terroir-col-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Card Link inside Piliers */
.card-link {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-raw);
    margin-top: 1.5rem;
    display: inline-block;
    font-weight: 500;
    transition: var(--transition-fast);
}

.pilier-card:hover .card-link {
    color: var(--color-text-primary);
    transform: translateX(5px);
}

/* ==========================================================================
   CREATIONS / ATELIER CULINAIRE SECTION STYLES
   ========================================================================== */
.section-creations {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--color-bg-deep), var(--color-bg-matte));
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.creations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .creations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .creations-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.creation-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: var(--border-gold-thin);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.creation-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.03);
    transform: translateY(-5px);
}

.creation-card.highlighted {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.05);
}

.creation-card.highlighted:hover {
    border-color: var(--color-gold-raw);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.1);
}

.creation-image-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.creation-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 17, 0) 65%, rgba(18, 18, 17, 0.8) 100%);
}

.creation-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.creation-card:hover .creation-img {
    transform: scale(1.05);
}

.creation-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.creation-icon {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1;
}

.creation-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.creation-subtitle-text {
    font-size: 0.72rem;
    font-family: var(--font-sans);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gold-raw);
    margin-bottom: 1.5rem;
    display: block;
}

.creation-card-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    flex-grow: 1;
}

.tips-list {
    list-style-type: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tips-list li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.82rem;
    line-height: 1.6;
}

.tips-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold-raw);
    font-size: 1.1rem;
    line-height: 1;
    top: -2px;
}

/* ==========================================================================
   SERVICES PRIVÉS SECTION STYLES
   ========================================================================== */
.section-services {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--color-bg-matte), var(--color-bg-deep));
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   VARIETES / TRUFFES FRAICHES SECTION STYLES
   ========================================================================== */
.section-varietes {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(to bottom, var(--color-bg-deep), var(--color-bg-matte));
    border-top: 1px solid rgba(212, 175, 55, 0.05);
}

.varietes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
}

@media (max-width: 900px) {
    .varietes-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.variete-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: var(--border-gold-thin);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.variete-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.03);
    transform: translateY(-5px);
}

.variete-img-wrapper {
    height: 380px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

@media (max-width: 600px) {
    .variete-img-wrapper {
        height: 280px;
    }
}

.variete-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.variete-card:hover .variete-img {
    transform: scale(1.06);
}

.variete-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(18, 18, 17, 0) 50%, rgba(18, 18, 17, 0.85) 100%);
}

.variete-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.variete-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.variete-card-subtitle {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-gold-raw);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    display: block;
}

.variete-card-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    text-align: justify;
    text-justify: inter-word;
    margin: 0;
}

/* ==========================================================================
   3D TRUFFLE SCANNER STYLES
   ========================================================================== */
.truffle-3d-wrapper {
    margin: 0 auto 5rem auto;
    max-width: 800px;
    height: 480px;
    background-image: 
        radial-gradient(circle at center, rgba(24, 24, 22, 0.7) 0%, rgba(12, 12, 11, 0.95) 100%),
        linear-gradient(to right, rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    background-position: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    overflow: hidden;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.9), 0 15px 40px rgba(0,0,0,0.6);
    user-select: none;
    border-radius: 4px;
    cursor: grab;
}

.truffle-3d-wrapper:active {
    cursor: grabbing;
}

@media (max-width: 768px) {
    .truffle-3d-wrapper {
        height: 420px;
        padding: 1.5rem;
        margin-bottom: 3.5rem;
    }
}

.scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 0.8rem;
    z-index: 10;
}

.scanner-title {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-gold-raw);
}

.scanner-status {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: #4cd137;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.scanner-dot {
    width: 6px;
    height: 6px;
    background-color: #4cd137;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #4cd137;
    animation: pulseScanDot 1.5s infinite;
}

@keyframes pulseScanDot {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.truffle-3d-container {
    flex-grow: 1;
    position: relative;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    pointer-events: none;
    transform-style: preserve-3d;
    transform-origin: center center;
}

.ring-outer {
    width: 380px;
    height: 380px;
    border-style: solid;
    animation: rotateRing 25s linear infinite;
}

.ring-middle {
    width: 300px;
    height: 300px;
    border-style: dashed;
    border-color: rgba(212, 175, 55, 0.12);
    animation: rotateRingBack 18s linear infinite;
}

.ring-inner {
    width: 220px;
    height: 220px;
    border-style: double;
    border-width: 2px;
    border-color: rgba(212, 175, 55, 0.05);
    animation: rotateRing 12s linear infinite;
}

@keyframes rotateRing {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
}

@keyframes rotateRingBack {
    0% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
    100% { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg); }
}

.truffle-3d-model {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
    transform-style: preserve-3d;
    will-change: transform;
    pointer-events: none;
}

@media (max-width: 768px) {
    .truffle-3d-model {
        width: 130px;
        height: 130px;
    }
    .ring-outer { width: 280px; height: 280px; }
    .ring-middle { width: 220px; height: 220px; }
    .ring-inner { width: 160px; height: 160px; }
}

.truffle-3d-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.95));
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.truffle-3d-shading {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, transparent 35%, rgba(0, 0, 0, 0.85) 85%);
    pointer-events: none;
}

/* HUD Information Labels */
.hud-label {
    position: absolute;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 5;
    opacity: 0.85;
}

.hud-title {
    font-size: 0.55rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    margin-bottom: 2px;
}

.hud-value {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--color-gold-raw);
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Positioning labels and pointers */
.hud-top-left {
    top: 15%;
    left: 8%;
    align-items: flex-start;
}

.hud-bottom-left {
    bottom: 15%;
    left: 8%;
    align-items: flex-start;
}

.hud-top-right {
    top: 15%;
    right: 8%;
    align-items: flex-end;
}

.hud-bottom-right {
    bottom: 15%;
    right: 8%;
    align-items: flex-end;
}

.hud-pointer {
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    position: relative;
    margin-top: 5px;
}

.hud-pointer::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-gold-raw);
    border-radius: 50%;
    top: -1.5px;
}

/* Direct lines pointing to center */
.pointer-tl {
    width: 60px;
    transform: rotate(15deg);
    transform-origin: left center;
}
.pointer-tl::after { right: 0; }

.pointer-bl {
    width: 60px;
    transform: rotate(-15deg);
    transform-origin: left center;
}
.pointer-bl::after { right: 0; }

.pointer-tr {
    width: 60px;
    transform: rotate(-15deg);
    transform-origin: right center;
}
.pointer-tr::after { left: 0; }

.pointer-br {
    width: 60px;
    transform: rotate(15deg);
    transform-origin: right center;
}
.pointer-br::after { left: 0; }

@media (max-width: 768px) {
    .hud-label {
        display: none; /* Hide HUD lines on mobile to avoid layout crowding */
    }
}

.scanner-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 0.8rem;
    text-align: center;
    z-index: 10;
}

.scanner-instructions {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.scanner-tabs {
    display: flex;
    gap: 0.8rem;
    z-index: 15;
}

.scanner-tab {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 2px;
}

.scanner-tab:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--color-text-primary);
}

.scanner-tab.active {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--color-gold-raw);
    color: var(--color-gold-raw);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.08);
}

@media (max-width: 600px) {
    .scanner-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    .scanner-tabs {
        width: 100%;
        justify-content: center;
    }
}
