:root {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #a4b0be;
    /* Silver/Platinum */
    --font-display: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

body {
    background: #ffffff;
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
}

p,
a,
li,
span,
summary {
    font-family: var(--font-body);
}

/* WebGL Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Navigation Detached & Glassmorphism */
/* Navigation Detached & Apple-Style Glassmorphism */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    padding: 0.8rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;

    /* Apple Glass Effect */
    background: rgba(10, 10, 10, 0.28);
    /* Dark glass for white header text */
    backdrop-filter: saturate(180%) blur(20px);
    /* The Apple secret */
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.22);
    border-radius: 24px;
    /* Pill shape */
    transition: all 0.3s ease;
}

/* Ensure glass effect stays nice on scroll (optional: add JS to shrink later) */

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    /* Reduced gap to prevent overlap */
    align-items: center;
    width: 40%;
    /* Dedicate width to side blocks */
}

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

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

/* Central Logo Implementation */
.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 45px;
    /* Adjusted to fit header */
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: grayscale(1) contrast(1.15);
}

/* Ghost Echo Animation (Sonar) */
/* Ripple 1 */
.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('logo.png') no-repeat center center;
    background-size: contain;
    z-index: 1;
    opacity: 0.5;
    filter: grayscale(1) contrast(1.15);
    animation: ghostRipple 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Ripple 2 */
.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('logo.png') no-repeat center center;
    background-size: contain;
    z-index: 1;
    opacity: 0.5;
    filter: grayscale(1) contrast(1.15);
    animation: ghostRipple 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
    animation-delay: 0.8s;
    pointer-events: none;
}

@keyframes ghostRipple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Links Styling */
/* Links Styling - GOLD STYLE */
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    position: relative;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #f2f2f2;
}

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

.btn-contact {
    border: 1px solid #ffffff;
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #ffffff !important;
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: clamp(44px, 8vh, 96px);
    z-index: 2;
    pointer-events: none;
    line-height: 0;
    overflow: hidden;
}

.hero-divider svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: translateY(1px);
}

.hero-divider path {
    fill: #ffffff;
    stroke: none;
}

.hero-bg-wrapper {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: calc(100% + 2px);
    z-index: -2;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    object-fit: cover;
    object-position: center 60%;
    transform: scale(1.14);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.36) 0%,
            rgba(0, 0, 0, 0.44) 62%,
            rgba(0, 0, 0, 0.26) 86%,
            rgba(0, 0, 0, 0.12) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 3;
}

.subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.title {
    font-family: var(--font-display);
    font-size: 8vw;
    line-height: 0.9;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.title .highlight {
    color: #ffffff;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 10.8ch;
    transition: opacity 0.25s ease;
}

.title .highlight.is-empty {
    opacity: 0;
}

.title .highlight::after {
    content: '';
    width: 2px;
    height: 0.9em;
    margin-left: 0.08em;
    background: #ffffff;
    animation: heroCaretBlink 0.9s steps(1) infinite;
}

@keyframes heroCaretBlink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: white;
}

/* Section: Pôles (Infinite Scroll) */
.poles-section {
    height: 80vh;
    display: flex;
    align-items: center;
    background: white;
    overflow: hidden;
    position: relative;
}

.infinite-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.infinite-scroll-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.infinite-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.pole-card-item {
    width: 350px;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0;
}

.pole-card-item:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pole-card-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    transition: opacity 0.3s ease;
}

.pole-card-item:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%);
}

.pole-card-item .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    color: white;
}

.pole-card-item h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.pole-card-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.pole-card-item .num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section: Marquee (Galerie) */
.marquee-section {
    padding: 8vh 0;
    background: #111;
    /* Almost black */
    color: white;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-wrapper {
    display: flex;
    width: fit-content;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 5vw;
    margin: 0 2vw;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
    cursor: default;
}

.marquee-content span:hover {
    opacity: 1;
    color: var(--accent-color);
}

.marquee-content .separator {
    color: var(--accent-color);
    font-size: 2rem;
    vertical-align: middle;
    opacity: 0.5;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Content Sections */
.site-main {
    position: relative;
    z-index: 2;
    margin-top: -2px;
    padding: 5vh 5% 12vh;
    text-align: center;
    background: #ffffff;
}

.section {
    max-width: 1200px;
    margin: 0 auto 8vh;
    padding: clamp(1.2rem, 2.6vw, 2.1rem);
    border-radius: 24px;
    border: 1px solid rgba(208, 216, 228, 0.92);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 248, 252, 0.97) 100%);
    box-shadow: 0 20px 40px rgba(20, 35, 55, 0.08);
    backdrop-filter: blur(4px);
}

.section-head {
    margin-bottom: 2.5rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 0.68rem;
    color: #6c7d92;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3.35rem);
    font-weight: 600;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto;
    color: #0f1f33;
}

.intro-grid,
.project-grid,
.formula-grid,
.quote-grid {
    display: grid;
    gap: 1.2rem;
}

.intro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-intro {
    background: #ffffff;
    border: none;
    box-shadow: none;
}



.section-intro .section-kicker {
    color: #5f6f83;
}

.section-intro .section-head h2 {
    color: #11253c;
}

.intro-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.intro-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: #f5f7fa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    transition: all 0.3s ease;
}

.intro-card:hover .intro-icon {
    background: #111;
    color: #fff;
    transform: scale(1.1);
}

.intro-icon svg {
    width: 28px;
    height: 28px;
}

.intro-card h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
    color: #12243a;
}

.intro-card p {
    color: #4e5f74;
    line-height: 1.6;
}

.section-intro .intro-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.22);
}

.section-intro .intro-card h3 {
    color: #0f2237;
}

.section-intro .intro-card p {
    color: #4f6177;
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Spectacles Section - Light Clean */
.section-spectacles {
    background: #ffffff;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.section-spectacles .section-kicker {
    color: #a4b0be;
}

.section-spectacles h2 {
    color: #111;
}

.spectacles-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.spectacle-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

/* Zig-Zag Layout */
.spectacle-card:nth-child(even) {
    flex-direction: row-reverse;
}

.spectacle-image-wrapper {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
    position: relative;
}

.spectacle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.spectacle-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.0);
    transition: background 0.3s ease;
}

.spectacle-content {
    flex: 0.8;
    padding: 0;
    text-align: left;
    color: #111;
}

.spectacle-content h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #111;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.spectacle-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-spectacle {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid #111;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
}

.btn-spectacle:hover {
    background: transparent;
    color: #111;
    border-color: #111;
    transform: translateX(5px);
}


/* Reels Section */
.section-realisations {
    background: #fdfdfd;
    padding-bottom: 4rem;
}

.reels-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    /* Fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reels-track {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: scroll 30s linear infinite;
}

.reels-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reel-card {
    flex: 0 0 auto;
    width: 260px;
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: scale(0.98);
    transition: all 0.4s ease;
    border: 4px solid #fff;
    background: #000;
}

.reel-card:hover {
    transform: scale(1.05) rotate(1deg);
    z-index: 2;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.reel-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Experience Section - Editorial Style */
.section-experience {
    background: #f8f9fa;
    padding: 6rem 1rem;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    align-items: center;
}

.experience-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.experience-block strong {
    color: #1a202c;
    font-weight: 700;
}

.experience-highlight {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #111;
}

.experience-highlight .quote {
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.4;
    color: #111;
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.reels-carousel::before,
.reels-carousel::after {
    content: '';
    position: absolute;
    top: -18px;
    bottom: -18px;
    width: 220px;
    pointer-events: none;
    z-index: 3;
    filter: blur(16px);
}

.reels-carousel::before {
    left: -130px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0.45) 66%, rgba(255, 255, 255, 0) 100%);
}

.reels-carousel::after {
    right: -130px;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0.45) 66%, rgba(255, 255, 255, 0) 100%);
}

.reels-track {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: reels-scroll 45s linear infinite;
    will-change: transform;
}

.reels-track:hover {
    animation-play-state: paused;
}

.reel-card {
    width: min(82vw, 540px);
    background: rgba(10, 10, 10, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.16);
    padding: 0;
    flex-shrink: 0;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    overflow: hidden;
}

.reel-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    position: relative;
    cursor: zoom-in;
}

.reel-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
    object-position: center center;
    transform: translateZ(0) scale(1.24);
    pointer-events: none;
}

@keyframes reels-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

/* Experience Section */
.experience-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.experience-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    text-align: left;
    align-items: center;
}

.experience-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4e5f74;
    margin-bottom: 1.5rem;
}

.experience-block strong {
    color: #1a1a1a;
    font-weight: 600;
}

.experience-highlight {
    background: #111;
    color: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.experience-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-color);
}

.experience-highlight .quote {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: #fff;
    opacity: 0.95;
}

.experience-highlight p:not(.quote) {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.experience-highlight p:last-child {
    margin-bottom: 0;
}

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

.reel-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 14, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}

.reel-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.reel-modal-content {
    width: min(92vw, 1200px);
    border-radius: 18px;
    padding: 0.8rem;
    background: rgba(10, 10, 10, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: relative;
}

.reel-modal-close {
    position: absolute;
    top: -16px;
    right: -8px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

#reel-modal-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    display: block;
    background: #000;
}

body.modal-open {
    overflow: hidden;
}


.project-card {
    border: 1px solid #e4e8ef;
    border-radius: 16px;
    padding: 1.6rem;
    background: linear-gradient(160deg, #ffffff 0%, #f4f6f9 100%);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #111;
    color: #fff;
    border-radius: 100px;
    padding: 0.35rem 0.65rem;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}

.project-card p {
    color: #56606f;
    line-height: 1.55;
}

.section-services {
    padding: 2.4rem;
    border: 1px solid #dde5ef;
    border-radius: 18px;
    background: radial-gradient(circle at 12% 12%, #ffffff 0%, #f6f8fc 56%, #eef2f8 100%);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.service-list span {
    padding: 0.58rem 1rem;
    border-radius: 100px;
    border: 1px solid #ced7e3;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
    color: #2f4055;
    font-weight: 500;
}

.formula-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.formula-card {
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    padding: 1.5rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 20px rgba(17, 29, 43, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.formula-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 29, 43, 0.12);
}

.formula-card h3 {
    font-family: var(--font-display);
    font-size: 2.15rem;
    margin-bottom: 0.6rem;
    color: #12253b;
}

.formula-card p {
    color: #5a6473;
    min-height: 52px;
    margin-bottom: 1.2rem;
}

.formula-card a {
    display: inline-block;
    text-decoration: none;
    color: #111;
    border-bottom: 1px solid #111;
    font-weight: 500;
}

.formula-card.featured {
    background: #111;
    color: #fff;
}

.formula-card.featured p {
    color: rgba(255, 255, 255, 0.78);
}

.formula-card.featured a {
    color: #fff;
    border-bottom-color: #fff;
}

/* Services - Solar System Layout */
.section-services {
    background: #fff;
    padding: 8rem 1rem;
    overflow: hidden;
}

.solar-system-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solar-center {
    width: 180px;
    height: 180px;
    background: #111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    position: relative;
}

.solar-center::after {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px dashed #ddd;
    border-radius: 50%;
    animation: spin 60s linear infinite;
}

.solar-logo {
    color: #fff;
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 2px;
}

.solar-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: spin 50s linear infinite;
    will-change: transform;
}

.solar-orbit:hover {
    animation-play-state: paused;
}

.solar-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Position on circle */
    transform: rotate(var(--angle)) translate(240px) rotate(calc(-1 * var(--angle)));
    will-change: transform;
}

.planet-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: counter-spin 50s linear infinite;
}

.solar-orbit:hover .planet-inner {
    animation-play-state: paused;
}

.planet-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 0.8rem;
}

.planet-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    background: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0.8;
}

.solar-planet:hover .planet-icon {
    background: #111;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes counter-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@media (max-width: 900px) {
    .solar-system-container {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 2rem;
    }

    .solar-center {
        width: 120px;
        height: 120px;
    }

    .solar-center::after {
        display: none;
    }

    .solar-orbit {
        position: static;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        animation: none;
    }

    .solar-planet {
        position: static;
        transform: none;
        width: auto;
        height: auto;
        margin: 0;
    }

    .planet-inner {
        animation: none;
    }
}

/* Testimonials Section */
.section-temoignages {
    background: #ffffff;
    padding: 6rem 1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #ffda79;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2d3436;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: #000;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* FAQ Accordion Style (Reverted) */
.faq-list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-list details {
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.faq-list details[open] {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #ddd;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: #111;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #999;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-list details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
    color: #111;
}

.faq-list p {
    margin-top: 1rem;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #f9f9f9;
    padding-top: 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-panel {
    border-radius: 22px;
    padding: 2rem;
    background: linear-gradient(135deg, #101a27 0%, #263346 100%);
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 40px rgba(10, 18, 28, 0.35);
}

.contact-panel h2 {
    margin-bottom: 0.7rem;
}

.contact-text {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.4rem;
}

.contact-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-actions a {
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.65rem 1rem;
    transition: all 0.25s ease;
    font-weight: 600;
}

.contact-actions a:hover {
    background: #fff;
    color: #111;
}

@media (max-width: 1024px) {

    .intro-grid,
    .project-grid,
    .formula-grid,
    .quote-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reel-card {
        width: min(88vw, 480px);
    }
}

@media (max-width: 900px) {
    .navbar {
        width: 96%;
        padding: 0.62rem 0.9rem;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 0.4rem;
        border-radius: 18px;
    }

    .nav-links {
        width: auto;
        gap: 0.55rem;
    }

    .nav-links a {
        font-size: 0.62rem;
        letter-spacing: 0.9px;
    }

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

    .logo {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        justify-self: center;
    }

    .logo::before,
    .logo::after {
        display: none;
    }

    .logo img {
        height: 28px;
    }

    .btn-contact {
        border: 0;
        padding: 0;
        background: transparent !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .btn-contact:hover {
        border: 0;
        background: transparent !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    .hero-bg-video {
        object-position: center 64%;
        transform: scale(1.2);
    }

    .section-intro {
        border-top-color: transparent;
    }
}

@media (max-width: 680px) {
    .title {
        font-size: 16vw;
    }

    .subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .section-services {
        padding: 1.2rem;
    }

    .intro-grid,
    .project-grid,
    .formula-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

    .reels-track {
        gap: 0.7rem;
        animation-duration: 35s;
    }

    .reel-card {
        width: min(92vw, 380px);
    }

    .reel-modal-content {
        width: 96vw;
        padding: 0.55rem;
        border-radius: 14px;
    }

    .nav-links a {
        font-size: 0.54rem;
    }

    .logo img {
        height: 22px;
    }

    .btn-contact {
        padding: 0;
    }

    .btn-contact {
        padding: 0;
    }
}

/* =========================================
   LANDING PAGE (CINEMATIC)
   ========================================= */
/* =========================================
   LANDING PAGE (CINEMATIC & TICKET)
   ========================================= */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    /* Transparent background to see the stage-bg */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}

#intro-overlay.hidden-overlay {
    opacity: 0;
    pointer-events: none;
}

/* TICKET BUTTON STYLE */
.btn-enter {
    all: unset;
    /* Reset properties */
    position: relative;
    margin-top: 6rem;
    background-color: #f0f0f0;
    color: #000;
    padding: 1.5rem 4rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    text-align: center;

    /* Ticket notches using mask */
    mask: radial-gradient(circle at 0.5rem 50%, transparent 0.5rem, black 0.55rem) top left,
        radial-gradient(circle at calc(100% - 0.5rem) 50%, transparent 0.5rem, black 0.55rem) top right;
    mask-size: 51% 100%;
    mask-repeat: no-repeat;
    mask-composite: add;
    /* Fallback */
    -webkit-mask-composite: source-over;

    /* Perforation visual */
    border-left: 2px dashed #999;
    border-right: 2px dashed #999;

    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: rotate(-3deg) scale(0.9);
    transition: all 0.3s ease;
    opacity: 0;
    /* JS reveals */
}

.btn-enter:hover {
    transform: rotate(0deg) scale(1);
    background-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.btn-enter.visible {
    opacity: 1;
    animation: ticketFloat 3s ease-in-out infinite;
}

@keyframes ticketFloat {

    0%,
    100% {
        transform: rotate(-3deg) translateY(0);
    }

    50% {
        transform: rotate(-3deg) translateY(-10px);
    }
}

.btn-enter.hidden {
    display: none;
}

/* =========================================


/* =========================================
   CONTACT FORM REDESIGN (PREMIUM)
   ========================================= */
/* Light Clean Contact Form */
.section-contact {
    padding: 0 !important;
    background: #fdfdfd;
    border-top: 1px solid #f0f0f0;
}

.contact-panel {
    background: #fff;
    border-radius: 0;
    padding: 6rem 1rem;
    max-width: 100%;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    color: #111;
}

.contact-panel h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    background: none;
    -webkit-text-fill-color: initial;
    color: #111;
    margin-bottom: 1rem;
}

.contact-text {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    gap: 2rem;
}

.contact-panel::before {
    display: none;
}

/* Modal CSS */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: scale(1.1);
}

.form-group label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s;
}

/* Pro Simple Form Style */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 1rem 1.2rem;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group:focus-within label {
    color: #fff;
}

.btn-submit {
    margin-top: 2rem;
    width: 100%;
    background: #fff;
    color: #000;
    padding: 1.2rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.contact-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5rem;
    padding-top: 3rem;
}

/* Page Transition Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* =========================================
   CONTACT FORM - LIGHT THEME OVERRIDE
   ========================================= */
.section-contact {
    background: #fdfdfd !important;
}

.contact-panel {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    border: none !important;
}

.contact-panel h2 {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #111 !important;
}

.contact-text {
    color: #666 !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #111 !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #fff !important;
    border-color: #111 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.form-group label {
    color: #444 !important;
}

.btn-submit {
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.btn-submit:hover {
    background: #333 !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
}

.contact-footer {
    border-top-color: #eee !important;
}

.contact-footer a {
    color: #111 !important;
}

/* =========================================
   REELS - HORIZONTAL FIX
   ========================================= */
.reel-card {
    width: min(88vw, 500px) !important;
    aspect-ratio: 16/9 !important;
}

.reel-frame video {
    aspect-ratio: 16/9 !important;
    object-fit: cover !important;
}

/* =========================================
   SPECTACLES - MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 900px) {
    .spectacles-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1.2rem;
        display: grid;
    }

    .spectacle-card {
        margin-bottom: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .planet-inner {
        animation: none !important;
    }

    /* Force Stack Layout for Spectacle Cards on Mobile */
    .spectacle-card {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 450px !important;
        margin: 0 auto 2rem !important;
        text-align: center !important;
    }

    .spectacle-image-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        margin-bottom: 1.5rem !important;
    }

    .spectacle-image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .spectacle-content {
        width: 100% !important;
        padding: 0 0.5rem !important;
    }

    .spectacle-content h3 {
        margin-top: 0 !important;
    }
}

/* =========================================
   VIDEO MODAL (Missing/Restored)
   ========================================= */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-wrapper {
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10001;
    /* Ensure on top */
}

.modal-close:hover {
    transform: scale(1.1);
}

/* New Styles for Gmix Production Updates */

/* Dossier Section */
.section-dossier {
    text-align: center;
}

.dossier-text {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    color: #35455a;
}

.btn-dossier-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #111111;
    color: #111111;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
}

.btn-dossier-download:hover {
    background: #111111;
    color: #ffffff;
}

/* Spectacle Metrics */
.spectacle-metrics {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0 1.5rem;
    padding: 0.25rem 0;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    display: inline-block;
}

/* Footer Styles */
footer p {
    margin: 0.5rem 0;
}

/* =========================================
   LEAD MODAL — Dossier Download
   ========================================= */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lead-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.lead-modal-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: #0e0e0e;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
    transform: translateY(0);
    animation: leadPanelIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.lead-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.07);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lead-modal-close:hover {
    background: rgba(255,255,255,0.14);
}

.lead-modal-header {
    margin-bottom: 1.8rem;
}

.lead-modal-kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: #5f6f83;
    margin-bottom: 0.5rem;
}

.lead-modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.lead-modal-subtitle {
    font-size: 0.88rem;
    color: #6c7d92;
    margin: 0;
    line-height: 1.5;
}

.lead-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.lead-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.lead-form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #8a9bb0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lead-form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.lead-form-group input::placeholder {
    color: rgba(255,255,255,0.25);
}

.lead-form-group input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.lead-form-msg {
    font-size: 0.85rem;
    min-height: 1.2em;
    border-radius: 6px;
    padding: 0;
    transition: all 0.2s ease;
}

.lead-form-msg--error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 0.6rem 0.8rem;
}

.lead-form-msg--success {
    color: #6ee7b7;
    background: rgba(110, 231, 183, 0.08);
    border: 1px solid rgba(110, 231, 183, 0.2);
    padding: 0.6rem 0.8rem;
}

.lead-modal-submit {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0.25rem;
}

.lead-modal-submit:hover:not(:disabled) {
    background: #e8e8e8;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.lead-modal-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

@media (max-width: 480px) {
    .lead-form-row {
        grid-template-columns: 1fr;
    }
    .lead-modal-panel {
        padding: 2rem 1.25rem 1.5rem;
    }
}
