/* ROUTE MAP WRAPPER */
.route-map-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.route-map-container {
    position: relative;
    display: block;
    width: min(100%, 600px);
    height: auto;
    aspect-ratio: 3 / 2;
}

/* ROUTE VERTICAL SLIDER */
.route-vertical-slider {
    position: absolute;
    right: 10px;
    top: 0;
    width: 36px;
    height: 100%;       /* Suit la hauteur réelle de la carte */
    display: flex;
    align-items: stretch;
    z-index: 100;
    overflow: visible;
    touch-action: none;
}

.slider-track {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background-color: #e0ddd5;
    border-radius: 2px;
    cursor: pointer;
    top: 0;
    bottom: 0;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    max-height: 100%;
    background-color: #9B8E6E;
    border-radius: 2px;
    transition: height 0.1s ease-out;
    overflow: hidden;
}

.slider-thumb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background-color: #9B8E6E;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(155, 142, 110, 0.3);
    transition: box-shadow 0.2s ease;
    z-index: 10;
}

.slider-thumb:hover {
    box-shadow: 0 4px 12px rgba(155, 142, 110, 0.5);
}

.slider-thumb:active {
    cursor: grabbing;
}

/* SVG MAP + TRACE */
.route-map-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    background-color: #F5EFE5;
    pointer-events: none;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3D3B37;
    background-color: #FDF9F0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.3;
    color: #3D3B37;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #9B8E6E;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: #9B8E6E;
    color: white;
}

.btn-primary:hover {
    background-color: #7E6F50;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #9B8E6E;
    color: #9B8E6E;
}

.btn-outline:hover {
    background-color: #9B8E6E;
    color: white;
    transform: translateY(-2px);
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(253, 249, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C2A26;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #9B8E6E;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: #2C2A26;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
    color: #9B8E6E;
    border-bottom-color: #9B8E6E;
}

.nav-contact {
    background-color: #9B8E6E;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 40px;
    border-bottom: none !important;
}

.nav-contact:hover {
    background-color: #7E6F50;
    color: white !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #2C2A26;
    transition: 0.3s;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: white;
    list-style: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    padding: 10px 0;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    display: none;
}

.nav-dropdown:hover::after {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #2C2A26;
    transition: all 0.3s ease;
    border-bottom: none !important;
}

.dropdown-menu a:hover {
    background-color: #FDF9F0;
    color: #9B8E6E;
    padding-left: 25px;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    color: white;
    margin: 30px 0 0;
}

.hero-tagline {
    font-size: 1.3rem;
    color: white;
    opacity: 0.95;
    font-weight: 300;
    margin: 30px 0 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.85;
}

.hero-content .btn {
    margin-top: auto;
}

/* CARDS */
.featured-cards {
    padding: 80px 0;
    background-color: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #9B8E6E;
    opacity: 0.5;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-text {
    margin-bottom: 25px;
    color: #4A4844;
}

/* INTRO TEXT */
.intro-text {
    padding: 80px 0;
    background-color: #FDF9F0;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content p {
    font-size: 1.2rem;
    color: #3D3B37;
}

/* PAGE HEADER */
.page-header {
    padding: 60px 0 40px;
    background-color: #FDF9F0;
    text-align: center;
    border-bottom: 1px solid #E8E6E1;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #9B8E6E;
}

/* TWO COLUMNS LAYOUT */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.two-columns.reverse {
    direction: rtl;
}

.column-text p {
    text-align: justify;
}

.two-columns.reverse .column-text {
    direction: ltr;
    text-justify: auto;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
}

.column-image img:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* VIDEO CONTAINER */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    margin: 40px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* SECTIONS */
.synopsis, .trailer, .details, .map-section, .past-projections,
.travel-philosophy, .stats-map, .gear, .return-europe,
.who-we-are, .vision, .contact-form-section {
    padding: 80px 0;
    scroll-margin-top: 120px;
    background-color: #FDF9F0;
}

.synopsis {
    background-color: #FDF9F0;
}

/* MAP STYLES */
.france-map-container {
    margin: 40px 0;
    text-align: center;
    overflow-x: auto;
}

.france-map {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.map-region {
    transition: fill 0.3s ease;
    cursor: pointer;
}

.map-region:hover {
    fill: #D4C9B0 !important;
}

.map-region.active {
    fill: #9B8E6E !important;
}

.map-and-projections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.map-container {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 20px;
}

.france-map-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

@media (max-width: 1024px) {
    .map-and-projections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.projections-list-container {
    margin-top: 30px;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.projections-grid {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.projection-item {
    padding: 20px;
    background: linear-gradient(135deg, #FDF9F0 0%, #F8F3E8 100%);
    border-radius: 12px;
    border-left: 4px solid #9B8E6E;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.projection-item:last-child {
    margin-bottom: 0;
}

.projection-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #F8F3E8 0%, #F0E8DC 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.projection-location {
    font-weight: 700;
    color: #9B8E6E;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.projection-details {
    color: #4A4844;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.projection-link {
    display: inline-block;
    color: #9B8E6E;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.projection-link:hover {
    color: #7E6F50;
    text-decoration: underline;
}

.select-region-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #FDF9F0 0%, #F8F3E8 100%);
    border-radius: 16px;
    color: #9B8E6E;
    font-style: italic;
}

/* PAST PROJECTIONS */
.past-projections {
    margin-top: 40px;
}

.past-list {
    display: grid;
    gap: 15px;
}

.past-item {
    background: linear-gradient(135deg, #F5F2EA 0%, #EDE8DE 100%);
    padding: 15px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.past-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, #EDE8DE 0%, #E5DFD3 100%);
}

.past-item strong {
    color: #9B8E6E;
}

/* CAROUSEL 3D VERTICAL */
.carousel-3d-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 80px 0;
    position: relative;
    background-color: #FDF9F0;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #9B8E6E;
    background-color: white;
    color: #9B8E6E;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 20;
}

.carousel-arrow:hover {
    background-color: #9B8E6E;
    color: white;
    transform: scale(1.15);
}

.carousel-3d-container {
    perspective: 1200px;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    position: relative;
    overflow: hidden;
}

.carousel-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.carousel-3d-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    transform: scale(0.75) translateX(350px);
}

.carousel-3d-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    transform: scale(1) translateX(0);
}

.carousel-3d-slide.prev {
    opacity: 0.4;
    visibility: visible;
    z-index: 5;
    transform: scale(0.75) translateX(-350px);
}

.carousel-3d-slide.next {
    opacity: 0.4;
    visibility: visible;
    z-index: 5;
    transform: scale(0.75) translateX(350px);
}

.carousel-card {
    width: 100%;
    height: 100%;
    max-width: 380px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFFFFF 0%, #FDF9F0 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    text-align: justify;
}

.carousel-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.carousel-image-top {
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-header-vertical {
    padding: 30px 25px 20px;
    text-align: center;
    flex-shrink: 0;
}

.carousel-number-circle {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: #F5F2EA;
    font-size: 1.8rem;
    font-weight: 700;
    color: #9B8E6E;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-header-vertical h3 {
    font-size: 1.4rem;
    color: #3D3B37;
    margin: 0;
}

.carousel-text {
    padding: 0 25px 30px;
    flex: 1;
    overflow-y: auto;
}

.carousel-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4A4844;
    margin: 0;
}

@media (max-width: 1024px) {
    .carousel-3d-wrapper {
        gap: 20px;
    }
    
    .carousel-3d-container {
        height: 600px;
    }
    
    .carousel-card {
        max-width: 320px;
    }
    
    .carousel-image-top {
        height: 240px;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .carousel-3d-wrapper {
        gap: 15px;
        flex-direction: column;
    }
    
    .carousel-3d-container {
        height: 550px;
    }
    
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .carousel-card {
        max-width: 100%;
        width: calc(100vw - 40px);
    }
    
    .carousel-image-top {
        height: 200px;
    }
    
    .carousel-header-vertical {
        padding: 20px 20px 15px;
    }
    
    .carousel-number-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .carousel-header-vertical h3 {
        font-size: 1.2rem;
    }
    
    .carousel-text {
        padding: 0 20px 20px;
    }
    
    .carousel-text p {
        font-size: 0.85rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    text-align: justify;
}

.philosophy-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.philosophy-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.philosophy-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.philosophy-item p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.philosophy-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #9B8E6E;
    opacity: 0.6;
    font-weight: 300;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.stat-card {
    text-align: center;
    padding: 40px 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: #9B8E6E !important;
    font-family: 'Playfair Display', serif !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.stat-label {
    font-size: 2.1rem;
    color: #4A4844;
    font-weight: 500;
    line-height: 1.4;
}

/* GEAR */
.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gear-item {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gear-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.gear-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gear-item h3 {
    padding: 20px 20px 10px;
}

.gear-item p {
    padding: 0 20px 20px;
    color: #4A4844;
}

/* TRANSPORT LOGOS */
.transport-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.transport-logo {
    background-color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid #DDD9CE;
    color: #9B8E6E;
    font-weight: 500;
    transition: all 0.3s ease;
}

.transport-logo:hover {
    border-color: #9B8E6E;
    background-color: #FDF9F0;
    transform: translateY(-2px);
}

/* FUN BOXES */
.fun-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.fun-box {
    background-color: #F5F2EA;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fun-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.fun-box-header {
    background-color: #9B8E6E;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.fun-box-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.fun-box-header h3 {
    margin: 0;
    color: white;
}

.fun-box-content {
    padding: 20px;
    font-style: italic;
    text-align: justify;
}

/* VISION SECTION */
.vision-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.vision-stat {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.vision-stat:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.vision-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9B8E6E;
    font-family: 'Playfair Display', serif;
}

.vision-stat-text {
    font-size: 0.9rem;
    color: #4A4844;
}

.vision-text {
    background-color: #F5F2EA;
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.vision-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

/* CONTACT FORM */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-info {
    background-color: #9B8E6E;
    color: white;
    padding: 40px;
}

.contact-info h2 {
    color: white;
}

.contact-info h2:after {
    background-color: white;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form-container {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #3D3B37;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D9D5CB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #3D3B37;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9B8E6E;
    box-shadow: 0 0 0 3px rgba(155, 142, 110, 0.1);
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form-message.error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

/* FOOTER */
.footer {
    background-color: #2C2A26;
    color: #FDF9F0;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-btn {
    background-color: #9B8E6E;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.footer-btn:hover {
    background-color: #7E6F50;
}

.footer-social {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-social:hover {
    opacity: 1;
}

.back-to-top {
    background-color: #9B8E6E;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.back-to-top:hover {
    background-color: #7E6F50;
    transform: translateY(-3px);
}

/* PHILOSOPHY SECTION */
.philosophy-section {
    background-color: #FDF9F0;
    padding: 80px 0;
    scroll-margin-top: 120px;
}

.carousel-3d-wrapper {
    background-color: transparent;
}

/* MECHANICAL PROBLEMS SECTION */
.mechanical-problems {
    background-color: #FDF9F0;
    padding: 80px 0;
}

.mechanical-problems h2 {
    text-align: center;
}

.mechanics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mechanic-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: none;
    border-left: 4px solid #9B8E6E;
}

.mechanic-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.mechanic-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.mechanic-avatar-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #9B8E6E;
    box-shadow: 0 2px 8px rgba(155, 142, 110, 0.2);
}

.mechanic-header h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
    color: #3D3B37;
}

.mechanic-list {
    list-style: none;
    margin-bottom: 25px;
}

.mechanic-list li {
    padding: 12px 0;
    border-bottom: 1px solid #E8E4D8;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mechanic-list li:last-child {
    border-bottom: none;
}

.problem-icon {
    font-size: 1.1rem;
    color: #9B8E6E;
    flex-shrink: 0;
}

/* ROUTE ANIMATION */
.route-animation-section {
    padding: 80px 0;
    scroll-margin-top: 120px;
    margin: 0;
    background-color: #FDF9F0;
}

.route-sticky {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: center;
}

.route-header {
    margin-bottom: 3rem;
    text-align: center;
}

.route-header h2 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #3D3B37;
    position: relative;
    display: inline-block;
}

.route-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #9B8E6E;
}

.route-header p {
    font-size: 1rem;
    color: #6B5E4A;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Styles de progression supprimés - images statiques */

.route-animation-section {
    padding: 80px 0;
    scroll-margin-top: 120px;
    margin: 0;
    background-color: #FDF9F0;
}

/* Compteur sur les régions */
.region-badge {
    position: absolute;
    background-color: #9B8E6E;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Interactive Pins */
.pins-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
    z-index: 20;
}

.projection-pin {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.projection-pin:hover {
    z-index: 22;
}

.projection-pin svg {
    transition: all 0.3s ease;
}

.pin-tooltip {
    position: fixed;
    background: linear-gradient(135deg, rgba(44, 42, 38, 0.98) 0%, rgba(30, 28, 24, 0.98) 100%);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 1000;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(155, 142, 110, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #F5F2EA 0%, #EDE8DE 100%);
    border-radius: 20px;
    margin-top: 40px;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 40px;
    color: #d9534f;
    background-color: #f8d7da;
    border-radius: 8px;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #9B8E6E;
}

.loading-spinner:after {
    content: '⏳';
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: rgba(253, 249, 240, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .two-columns.reverse {
        direction: ltr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        bottom: 10%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .route-sticky {
        padding: 1rem;
        top: 10px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
    }
    
    .route-header {
        grid-column: 1;
    }
    
    .route-map-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 1.5rem auto;
        height: auto;
        aspect-ratio: 3 / 2;
    }
    
    .route-vertical-slider {
        right: 6px;
        width: 34px;
    }
    
    .projection-item {
        padding: 15px;
    }

    .map-container {
        max-width: 560px;
        margin: 0 auto;
    }

    .france-map-image {
        width: 100%;
        max-height: 72vh;
        object-fit: contain;
    }
    
    .region-badge {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
}

/* PRODUCTION CREDITS SECTION */
.production-credits {
    background-color: #FDF9F0;
    padding: 60px 20px;
    margin: 40px 0;
}

.production-credits h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.2rem;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.credit-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #9B8E6E;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.credit-role {
    font-size: 0.85rem;
    color: #9B8E6E;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.credit-name {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .production-credits {
        padding: 40px 15px;
    }

    .production-credits h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .credits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .credit-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

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

    .vision-stats {
        grid-template-columns: 1fr;
    }

    .fun-boxes {
        grid-template-columns: 1fr;
    }

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

    .philosophy-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-text {
        display: none;
    }

    .production-credits h2 {
        font-size: 1.5rem;
    }

    .credits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .credit-item {
        padding: 15px;
    }
}

