:root {
    --bg-color: #0A0A0A;
    --accent-rose-gold: #C9956A;
    --accent-champagne: #F5EFE6;
    --accent-burgundy: #3D0C11;
    --highlight-ivory: #FEFAE0;
    --font-heading: 'Playfair Display', serif;
    --font-subheading: 'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --padding-section: 120px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--accent-champagne);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Custom Cursor --- */
#custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--accent-rose-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}

#cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-rose-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    transform: translate(-50%, -50%);
    left: 0;
    top: 0;
    will-change: transform;
}

.cursor-hover #cursor-follower {
    width: 80px;
    height: 80px;
    background-color: rgba(201, 149, 106, 0.1);
}

/* --- Grain Texture Overlay --- */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.1;
    pointer-events: none;
    z-index: 100;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.small-caps {
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
}

.logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--accent-champagne);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-rose-gold);
}

/* --- Burger Menu --- */
#burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 5001; /* Doit être au-dessus de l'overlay */
    padding: 10px;
    position: fixed;
    top: 30px;
    right: 40px;
}

#burger-menu span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-rose-gold);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: center;
}

body.menu-active #burger-menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-active #burger-menu span:nth-child(2) { opacity: 0; }
body.menu-active #burger-menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* Fond noir absolu */
    z-index: 5000; /* Doit tout couvrir */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.menu-active {
    overflow: hidden; /* Empêche le scroll derrière le menu */
}

body.menu-active .mobile-overlay {
    visibility: visible;
    opacity: 1;
}

body.menu-active .logo {
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-champagne);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

body.menu-active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

body.menu-active .mobile-nav-links a:nth-child(1) { transition-delay: 0.2s; }
body.menu-active .mobile-nav-links a:nth-child(2) { transition-delay: 0.3s; }
body.menu-active .mobile-nav-links a:nth-child(3) { transition-delay: 0.4s; }
body.menu-active .mobile-nav-links a:nth-child(4) { transition-delay: 0.5s; }
body.menu-active .mobile-nav-links a:nth-child(5) { transition-delay: 0.6s; }
body.menu-active .mobile-nav-links a:nth-child(6) { transition-delay: 0.7s; }

/* --- Media Queries for Global Responsiveness --- */
@media (max-width: 1024px) {
    nav { padding: 20px 40px; }
    section { padding: 80px 40px; }
    .grid-editorial { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .identity-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    #burger-menu { display: flex; }
    
    #hero h1 { font-size: 3.5rem; }
    .section-title-wrapper .section-label { font-size: 2.5rem !important; }
    
    .grid-editorial { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .identity-grid { grid-template-columns: 1fr; }
    .grid-col-2, .grid-col-3 { gap: 20px; }
    
    .contact-split { flex-direction: column; min-height: auto; }
    .contact-left, .contact-right { padding: 60px 30px; }
    
    /* Collage Responsive Fix */
    .collage-container { height: auto; display: flex; flex-direction: column; gap: 40px; align-items: center; }
    .collage-img { position: relative; width: 90% !important; height: 350px !important; top: 0 !important; left: 0 !important; transform: none !important; margin-bottom: 0; }
    
    .horizontal-scroll-wrapper { gap: 15px; }
    .city-card { flex: 0 0 300px; height: 450px; }
    
    #custom-cursor, #cursor-follower { display: none; }
    * { cursor: auto !important; }
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%) scale(1.2);
    pointer-events: none;
    filter: brightness(0.4);
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
}

.hero-content p {
    font-family: var(--font-subheading);
    font-size: 1.125rem;
    color: rgba(245, 239, 230, 0.6);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid var(--accent-rose-gold);
    color: var(--accent-rose-gold);
    text-decoration: none;
    font-family: var(--font-subheading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: background 0.4s ease, color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.cta-button:hover {
    background-color: var(--accent-rose-gold);
    color: var(--bg-color);
}

/* --- Scrolling Marquee --- */
.marquee-container {
    position: absolute;
    bottom: 40px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    color: var(--accent-rose-gold);
    padding: 10px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-content span {
    display: inline-block;
    margin-right: 20px;
}

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

/* --- Sections --- */
section {
    padding: var(--padding-section) 60px;
    position: relative;
}

.section-label {
    margin-bottom: 40px;
    display: block;
}

/* --- Notre Travail (Grid) --- */
.grid-editorial {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: brightness(0.8);
}

.grid-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.grid-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-rose-gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.grid-item:hover::after {
    transform: scaleX(1);
}

.grid-col-1 { grid-row: span 2; }
.grid-col-2 { display: flex; flex-direction: column; gap: 40px; }
.grid-col-3 { display: flex; flex-direction: column; gap: 40px; }

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 15px;
    border: 1px solid var(--accent-rose-gold);
    border-radius: 20px;
    color: var(--accent-rose-gold);
    font-size: 0.75rem;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.text-card {
    padding: 40px;
    background: var(--accent-rose-gold);
    color: var(--bg-color);
    position: relative;
}

.text-card p {
    font-size: 1.25rem;
    line-height: 1.5;
    font-family: var(--font-heading);
}

/* --- Notre Identité --- */
#notre-identite {
    background-color: var(--bg-color);
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 149, 106, 0.05) 0%, rgba(10, 10, 10, 0) 70%);
    border-radius: 50%;
    top: 20%;
    left: 30%;
    filter: blur(80px);
    animation: blob-float 20s infinite alternate;
    z-index: 1;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.2); }
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    position: relative;
    z-index: 10;
}

.identity-col {
    position: relative;
    padding-top: 100px;
}

.identity-number {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-heading);
    font-size: 200px;
    color: var(--accent-rose-gold);
    opacity: 0.05;
    line-height: 1;
}

.identity-col h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-rose-gold);
}

.separator-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-rose-gold), transparent);
    opacity: 0.4;
    margin-top: 80px;
}

/* --- Confiance --- */
#confiance {
    text-align: center;
}

.pull-quote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 60px;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 40px 0;
}

.logo-track {
    display: inline-block;
    animation: logo-scroll 40s linear infinite;
}

.logo-track img {
    height: 30px;
    margin: 0 60px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.logo-track img:hover { opacity: 1; }

@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Monde (Horizontal Scroll) --- */
.world-heading {
    margin-bottom: 60px;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 40px 0;
    gap: 30px;
    scrollbar-width: none;
}

.horizontal-scroll-wrapper::-webkit-scrollbar { display: none; }

.city-card {
    flex: 0 0 450px;
    height: 600px;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 0.8s ease;
}

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

.city-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.city-info h4 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
}

.city-info::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent-rose-gold);
}

/* --- Contact --- */
#contact {
    padding: 0;
}

.contact-split {
    display: flex;
    min-height: 100vh;
}

.contact-left {
    flex: 1;
    padding: 120px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 40px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: rgba(245, 239, 230, 0.8);
    letter-spacing: 1px;
}

.contact-right {
    flex: 1;
    padding: 120px 60px;
    background: #0F0F0F;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-group {
    position: relative;
    margin-bottom: 40px;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--accent-rose-gold);
    color: var(--accent-champagne);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 0;
    transition: all 0.3s ease;
    color: rgba(245, 239, 230, 0.4);
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--accent-rose-gold);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: var(--accent-rose-gold);
    color: var(--bg-color);
    border: none;
    font-family: var(--font-subheading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: filter 0.3s ease;
}

.submit-btn:hover { filter: brightness(1.2); }

/* --- Standardized Section Titles (High-End Reveal) --- */
.section-title-wrapper {
    overflow: hidden;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
}

.section-title-wrapper .section-label {
    display: block;
    font-size: clamp(2rem, 5vw, 4rem) !important; /* Monumental size */
    font-family: var(--font-heading);
    letter-spacing: 5px;
    background: linear-gradient(90deg, #F5EFE6, #C9956A, #F5EFE6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shine 4s linear infinite;
    transform: translateY(100%);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.section-title-wrapper.is-inview .section-label {
    transform: translateY(0);
}

.section-title-wrapper .title-line {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-rose-gold);
    transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.section-title-wrapper.is-inview .title-line {
    width: 100%;
}

@keyframes gold-shine {
    to { background-position: 200% center; }
}

/* --- Trust & Expertise Section --- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    background: rgba(201, 149, 106, 0.05);
    border: 1px solid rgba(201, 149, 106, 0.1);
    padding: 40px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-rose-gold);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--accent-rose-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245, 239, 230, 0.6);
}

.reviews-marquee {
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
    position: relative;
    white-space: nowrap;
}

.reviews-track {
    display: inline-block;
    animation: reviews-scroll 60s linear infinite;
    will-change: transform;
}

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

.review-card {
    display: inline-block;
    vertical-align: top;
    width: 450px;
    margin-right: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    white-space: normal;
    backdrop-filter: blur(5px);
}

@keyframes reviews-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-rose-gold);
    opacity: 0.2;
    line-height: 1;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.review-author {
    display: block;
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-rose-gold);
}

/* --- Drawing Collage --- */
.collage-section {
    padding: 150px 60px;
    background: #0A0A0A;
    overflow: hidden;
}

.collage-container {
    height: 800px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.collage-img {
    position: absolute;
    width: 400px;
    height: 500px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), z-index 0s;
    filter: brightness(0.8);
}

.collage-img:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 100 !important;
    filter: brightness(1);
}

.img-1 { top: 0; left: 0; transform: rotate(-5deg); z-index: 1; }
.img-2 { top: 100px; left: 350px; transform: rotate(3deg); z-index: 2; width: 450px; height: 600px; }
.img-3 { top: 300px; left: 0; transform: rotate(-2deg); z-index: 3; width: 350px; height: 450px; }
.img-4 { top: 200px; left: 750px; transform: rotate(5deg); z-index: 1; width: 400px; height: 550px; }

/* --- FAQ Section --- */
.faq-section {
    padding: 150px 60px;
    background: #050505;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(201, 149, 106, 0.2);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 30px 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--accent-champagne);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-rose-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
    padding: 0;
}

.faq-answer p {
    color: rgba(245, 239, 230, 0.6);
    line-height: 1.8;
    padding-bottom: 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.4s ease;
    color: var(--accent-rose-gold);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- Footer --- */
footer {
    background: #050505;
    padding: 60px;
    border-top: 1px solid rgba(201, 149, 106, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(245, 239, 230, 0.5);
}

.footer-logo-img {
    height: 30px;
    filter: brightness(1) invert(1) opacity(0.5);
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-rose-gold);
}

/* --- Animations & Effects --- */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-scroll].is-inview {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .grid-editorial { grid-template-columns: 1fr 1fr; }
    .contact-split { flex-direction: column; }
}

@media (max-width: 768px) {
    nav { padding: 20px; }
    .nav-links { display: none; }
    .grid-editorial { grid-template-columns: 1fr; }
    section { padding: 80px 20px; }
    .identity-grid { grid-template-columns: 1fr; }
    .contact-left, .contact-right { padding: 60px 20px; }
}
