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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    padding-bottom: 0;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    padding: 0.75rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-selector-desktop {
    margin-left: auto;
}

.language-selector-mobile {
    display: none;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    list-style: none;
}

.language-selector-mobile .language-selector {
    justify-content: center;
    width: 100%;
    padding: 0.5rem 0;
}

.lang-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-link:hover {
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
}

.lang-link.active {
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.2);
    font-weight: 600;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

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

/* Effet de balayage doré pour le lien de réservation */
.nav-link-booking {
    position: relative;
    color: var(--white);
}

.nav-link-booking span {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        90deg,
        var(--white) 0%,
        var(--white) 30%,
        #d4af37 45%,
        #ffd700 50%,
        #d4af37 55%,
        var(--white) 70%,
        var(--white) 100%
    );
    background-size: 300% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--white);
    animation: golden-sweep-text 6s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes golden-sweep-text {
    0% {
        background-position: -300% 0;
    }
    25% {
        background-position: 300% 0;
    }
    100% {
        background-position: 300% 0;
    }
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    padding-top: 70px;
    margin-top: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    scroll-margin-top: 70px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-blur-left,
.hero-bg-blur-right {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    background-image: url('../images/voiture_port.png');
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    z-index: 0;
    display: none;
    transform: scale(1.1);
    opacity: 0.8;
    overflow: hidden;
}

.hero-bg-blur-left {
    left: 0;
    background-position: left center;
}

.hero-bg-blur-right {
    right: 0;
    background-position: right center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 2rem;
    align-items: start;
}

/* Boîte de texte flottante - Positionnée en haut à gauche par rapport aux bords */
.hero-text-box {
    position: absolute;
    left: 3%;
    top: 25%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 293px;
    max-width: 28%;
    z-index: 3;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-text-box.animated {
    animation: fadeInUp 1s ease-out 0.3s forwards, floatAfterFade 3s ease-in-out infinite;
    opacity: 0.8;
    transform: translateY(0);
}

.hero-text {
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 22px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.hero-title {
    font-size: 22px;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    text-shadow: none;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}

.hero-description {
    font-size: 22px;
    margin-bottom: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}

.hero-tagline {
    font-size: 22px;
    color: var(--text-color);
    font-style: normal;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    margin-top: 0.5rem;
    line-height: 1.3;
}

/* Contenu principal centré - Positionné au centre par rapport aux bords */
.hero-main-content {
    position: absolute;
    top: 78%;
    left: 53%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 90%;
    max-width: 1000px;
    z-index: 3;
}

/* Logo - Positionné en haut au centre par rapport aux bords */
.hero-logo {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 3;
    opacity: 0;
    animation: fadeInScale 1s ease-out 0.5s forwards;
}

.hero-logo.animated {
    transform: translateX(-50%) scale(1);
}

.logo-image {
    width: 175px;
    height: 159px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Titre principal - Positionné sous le logo */
.hero-main-title {
    font-size: 68px;
    font-weight: normal;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    line-height: 1em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

/* Sous-titre - Positionné sous le titre */
.hero-main-subtitle {
    font-size: 19px;
    color: var(--white);
    letter-spacing: 3.61px;
    margin-bottom: 2.5rem;
    font-weight: normal;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

/* Réseaux sociaux - Positionnés en bas de la section hero, centrés */
.hero-social {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: auto;
    z-index: 3;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-social .social-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    transition: var(--transition);
}

.hero-social .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-social .social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.hero-bg-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: center center;
    animation: zoomIn 1.5s ease-out;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

/* Par défaut: si l'écran est large (ratio > 1.5), afficher image entièrement avec bords floutés */
/* Cas 1: Ratio écran > ratio image - Afficher image entièrement en hauteur avec bords floutés */
@media (min-aspect-ratio: 3/2) {
    .hero-bg-image {
        height: 100%;
        width: auto;
        object-fit: contain;
    }
    
    .hero-bg-blur-left,
    .hero-bg-blur-right {
        display: block;
    }
}

/* Cas 2: Ratio écran < ratio image - Ajuster à la hauteur, pas de bords */
@media (max-aspect-ratio: 3/2) {
    .hero-bg-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .hero-bg-blur-left,
    .hero-bg-blur-right {
        display: none;
    }
}

/* Ajustements pour éviter la pixelisation sur différents écrans */
@media (max-width: 768px) {
    .hero-image {
        height: calc(100vh - 70px);
        min-height: calc(100vh - 70px);
    }
    
    .hero-bg-image {
        object-fit: contain;
        object-position: center bottom;
        width: 100%;
        height: 100%;
        max-height: 100%;
    }
    
    .hero-bg-blur-left,
    .hero-bg-blur-right {
        display: none;
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-10px) translateX(0px);
    }
}

@keyframes fadeInUpFloat {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    33% {
        opacity: 1;
        transform: translateY(0px);
    }
    66%, 100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes floatAfterFade {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-10px) translateX(0px);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 5rem 0;
    background: transparent;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    scroll-margin-top: 70px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
    margin-top: 1rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: #000;
    color: var(--white);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 0;
}

.services .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.services .section-title {
    color: var(--white);
}

.services .section-title::after {
    background: var(--secondary-color);
}

.services .section-subtitle {
    color: var(--white);
}

.services .section-header {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.services-carousel-wrapper {
    position: relative;
    margin: 2rem 0 3rem;
    overflow: visible;
}

.services-grid.services-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.services-grid.services-carousel::-webkit-scrollbar {
    display: none;
}

.services-grid.services-carousel .service-card {
    flex: 0 0 350px;
    scroll-snap-align: center;
}

@media (max-width: 768px) {
    .services-grid.services-carousel {
        padding-left: calc(50% - 150px);
        padding-right: calc(50% - 150px);
    }
    
    .services-grid.services-carousel .service-card {
        flex: 0 0 300px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: 5px;
    }
    
    .carousel-btn-next {
        right: 5px;
    }
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
}

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.service-tagline {
    font-style: italic;
    color: var(--secondary-color);
    font-weight: 500;
}

.service-areas {
    text-align: center;
    padding: 2.5rem 2rem;
    margin: 1.5rem 0 2rem;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--secondary-color);
}

.service-areas p {
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.areas-text {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-areas p:not(.areas-text) {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.contact .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* ============================================
   PRESTATIONS
   ============================================ */
.prestations {
    background: #000;
    color: var(--white);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.prestations .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.prestations-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.prestations .section-title {
    color: var(--white);
}

.prestations .section-title::after {
    background: var(--secondary-color);
}

.prestations-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.prestations-header .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1rem;
}

.section-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.85;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    width: 42px;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.prestation-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    transition: var(--transition);
}

.prestation-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.prestation-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.prestation-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.prestation-icon img {
    max-width: 44px;
    max-height: 44px;
    filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(212, 175, 55, 0.5));
}

.prestation-icon svg {
    width: 38px;
    height: 38px;
    fill: var(--white);
}

.prestation-content h3 {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.prestation-item:hover .prestation-content h3 {
    color: var(--secondary-color);
}

.prestation-content p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .section-eyebrow::before,
    .section-eyebrow::after {
        display: none;
    }

    .prestation-item {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .prestations-grid {
        gap: 1.5rem;
    }
}

/* ============================================
   HISTOIRE
   ============================================ */
.histoire {
    background: #000;
    color: var(--white);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.histoire-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.histoire-bg-video,
.histoire-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.histoire-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.histoire .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 5rem 2rem;
}

.histoire-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 10rem);
    gap: 2rem;
}

.histoire-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    margin-top: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    align-self: flex-start;
    width: 100%;
}

.histoire-text {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    align-self: flex-end;
    width: 100%;
}

.histoire-text.histoire-text-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.histoire-text:not(.histoire-text-hidden) {
    opacity: 1;
    transform: translateY(0);
}

.histoire-text p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.histoire-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   VÉHICULE
   ============================================ */
.vehicule {
    background: #000;
    color: var(--white);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.vehicule .section-title {
    color: var(--white);
}

.vehicule .section-title::after {
    background: var(--secondary-color);
}

.vehicule .section-subtitle {
    color: var(--white);
}

.vehicule-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vehicule-image {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.vehicule-image {
    cursor: pointer;
}

.vehicule-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

/* Lightbox pour les images de véhicules */
.vehicule-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicule-lightbox.active {
    display: flex;
    opacity: 1;
}

.vehicule-lightbox-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.3);
}

.vehicule-lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.vehicule-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10001;
}

.vehicule-lightbox-close:hover {
    background: var(--secondary-color);
    color: #000;
    transform: scale(1.1);
}

.vehicule-lightbox-close::before {
    content: '×';
    line-height: 1;
}

.vehicule-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10001;
    padding: 0;
}

.vehicule-lightbox-nav:hover {
    background: var(--secondary-color);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.vehicule-lightbox-prev {
    left: 20px;
}

.vehicule-lightbox-next {
    right: 20px;
}

.vehicule-lightbox-nav svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   PRÉOCCUPATION
   ============================================ */
.preoccupation {
    background: #000;
    color: var(--white);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.preoccupation .section-title {
    color: var(--white);
}

.preoccupation .section-title::after {
    background: var(--secondary-color);
}

.main-title {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-top: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--white);
    line-height: 1.8;
}

/* ============================================
   GALERIE
   ============================================ */
.galerie {
    background: #000;
    color: var(--white);
}

.galerie .section-title {
    color: var(--white);
}

.galerie .section-title::after {
    background: var(--secondary-color);
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.galerie-item {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.galerie-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: #000;
    position: relative;
    padding: 0;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
}

.contact-car-image {
    width: 100%;
    height: auto;
    overflow: visible;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    z-index: 1;
}

.contact-car {
    width: 100%;
    max-width: min(70%, 300px);
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

.contact-box {
    max-width: 80%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    padding: 0;
}

.contact-content {
    width: 100%;
    margin: 0 auto;
    padding: 3rem;
    background: #000;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20 30 L50 10 L80 30 L80 70 L50 90 L20 70 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    border-radius: 15px;
}

.contact-info-section {
    padding: 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-info p strong {
    font-weight: 600;
    color: var(--white);
}

.contact-coordonnees {
    margin-bottom: 2rem;
}

.contact-coordonnees h2 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.contact-coordonnees p {
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-coordonnees a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-coordonnees a:hover {
    text-decoration: underline;
}

.whatsapp-link {
    color: #25D366 !important;
    font-weight: 600;
}

.whatsapp-link:hover {
    color: #128C7E !important;
}

.contact-quote-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.contact-quote-section h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.contact-quote-section p {
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.9;
}

.contact-quote-section .btn {
    display: inline-block;
    margin-top: 0.5rem;
}

.whatsapp-button-container {
    margin-top: 1.5rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--primary-color);
    padding: 0.875rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--white);
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-whatsapp:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.btn-whatsapp svg {
    flex-shrink: 0;
    color: #25D366;
    transition: var(--transition);
}

.btn-whatsapp:hover svg {
    color: var(--white);
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    color: var(--white);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

.contact-legal {
    margin-top: 2rem;
}

.contact-legal h2 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.contact-form-section {
    padding: 0;
}

.contact-form-title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: var(--white);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    color: var(--white);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem 0 100px 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    z-index: 1;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    html {
        scroll-snap-type: y proximity;
    }
    
    section {
        min-height: auto;
        scroll-snap-align: start;
    }
    
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        padding: 2rem;
        transition: var(--transition);
        gap: 1rem;
    }

    .language-selector-desktop {
        display: none;
    }

    .language-selector-mobile {
        display: block;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo-image {
        width: 140px;
        height: 127px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
        padding: 2rem 20px;
        padding-top: 120px;
    }

    .hero-logo {
        position: relative;
        left: 50%;
        top: auto;
        transform: translateX(-50%) scale(0.8);
        margin: 0 auto 2rem;
        animation: fadeInScale 1s ease-out 0.5s forwards;
    }

    .hero-text-box {
        position: relative;
        left: auto;
        top: auto;
        padding: 1.5rem 2rem;
        width: 100%;
        max-width: 293px;
        margin: 0 auto 2rem;
        margin-top: 3rem;
        animation: fadeInUp 1s ease-out 0.3s forwards;
    }
    
    .hero-text-box.animated {
        animation: floatAfterFade 3s ease-in-out infinite;
    }

    .hero-main-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto;
        margin-top: 2rem;
    }

    .hero-main-title {
        font-size: 40px;
        margin-bottom: 1.5rem;
    }

    .hero-main-subtitle {
        font-size: 16px;
        margin-bottom: 2rem;
        letter-spacing: 2px;
    }

    .hero-social {
        position: absolute;
        bottom: 3%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
        width: auto;
    }

    .hero-subtitle,
    .hero-title,
    .hero-description,
    .hero-tagline {
        font-size: 18px;
    }

    .hero-main-title {
        font-size: 40px;
    }

    .hero-main-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .histoire {
        min-height: 80vh;
    }

    .histoire .container {
        min-height: 80vh;
        padding: 3rem 1.5rem;
        justify-content: space-between;
    }

    .histoire-content {
        min-height: calc(80vh - 6rem);
        gap: 1.5rem;
    }

    .histoire-title {
        font-size: 2.5rem;
        margin-top: 1rem;
        align-self: flex-start;
    }

    .histoire-text {
        margin-bottom: 1rem;
        align-self: flex-end;
    }

    .histoire-text p {
        font-size: 1.1rem;
    }

    /* Dézoomer la vidéo sur mobile */
    .histoire-bg-video {
        object-fit: contain;
        width: 120%;
        height: 120%;
        min-width: 120%;
        min-height: 120%;
        transform: translate(-50%, -50%) scale(0.85);
    }

    .contact-car-image {
        height: auto;
        margin-bottom: 0;
    }
    
    .contact-car {
        max-width: 100%;
    }
    
    .contact-box {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 0;
    }
    
    .contact-quote-section {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-quote-section h3 {
        font-size: 1.1rem;
    }
    
    .contact-quote-section p {
        font-size: 0.9rem;
    }
    
    .contact-quote-section .btn {
        width: 100%;
        text-align: center;
    }

    .footer {
        padding: 2rem 0 90px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .main-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

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

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