/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("image/hero.webp") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: left;
    font-family: 'Inter', sans-serif;
}

/* Assombrit légèrement l’image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to bottom right,
    rgba(15, 10, 5, 0.7),
    rgba(0, 0, 0, 0.3)
);
}

/* Contenu centré */
.hero-content {
    position: relative;
    text-align: left;
    color: white;
    max-width: 800px;
    padding: 80px 12%;
    z-index: 2;
}

/* Titre */
.hero-content h1 {
    margin-bottom: 20px;
     font-size: clamp(3rem, 6vw, 5rem); 
     font-weight: 900; 
     line-height: 0.95; 
     letter-spacing: -2px; 
     text-transform: uppercase; 
}

.hero-content h1 span {
    color: rgba(255, 217, 0, 0.764); /* or luxe */
}

/* Texte */
.hero-content p {
    line-height: 1.6;
    margin-bottom: 30px;
    margin-top: 25px; color: white; max-width: 500px; font-size: 1.1rem; border-left: 2px solid var(--accent); padding-left: 20px;
}

/* Bouton */
.btn-reserver {
    display: inline-block;
    padding: 15px 40px;
    background: #cfa75f;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-reserver:hover {
    background: #b8944f;
    transform: translateY(-2px);
}
/* =========================
   HERO ANIMATIONS (ENTRY)
========================= */
.hero-content h1,
.hero-content p,
.hero-content .btn-reserver {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Quand on active (via JS) */
.hero.is-visible .hero-content h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.hero.is-visible .hero-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.hero.is-visible .hero-content .btn-reserver {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}

/* Zoom doux de l’image (effet luxe) */
.hero {
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit; /* reprend l'image */
  transform: scale(1.08);
  transition: transform 2.5s ease;
  z-index: 0;
  
}

/* overlay au-dessus de l'image */
.hero-overlay { z-index: 1; }
.hero-content { z-index: 2; }

/* Au chargement */
.hero.is-visible::before {
  transform: scale(1);
}








/* ============================================================
   about (Tablettes & Mobiles)
   ============================================================ */

     :root {
            --gold-vibrant: #dfb66e;
            --gold-light: #f3d692;
            --gold-glow: rgba(223, 182, 110, 0.4);
            --dark-deep: #0a0a0a;
            --text-gray: #555555;
            --white: #ffffff;
            --bg-light: #f4f4f42c;
        }

        /* Section Principale */
        .about {
            padding: 80px 20px;
            background-color: var(--bg-light);
            font-family: 'Inter', sans-serif;
        }

        .about__container {
            max-width: 1000px; /* Réduit pour un aspect plus centré et moderne */
            margin: 0 auto;
            text-align: center;
        }

        .about__title {
            font-size: 2.5rem;
            color: var(--dark-deep);
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 3px;
            font-weight: 800;
        }

        .about__title span {
            color: var(--gold-vibrant);
            position: relative;
        }

        .about__container > p {
            font-size: 1.1rem;
            color: var(--text-gray);
            max-width: 700px;
            margin: 0 auto 50px;
            line-height: 1.7;
        }


        /* Boutons de navigation (Vifs, Arrondis, Modernes) */
        .about__boutton {
            margin-top: 50px;
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .about__boutton button {
            padding: 16px 40px;
            border-radius: 50px; /* Forme Pill */
            font-weight: 800;
            cursor: pointer;
            transition: all 0.4s ease;
            border: none;
            font-size: 0.85rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Style spécifique Catalogue */
        .catalogue {
            background: var(--dark-deep);
            color: var(--white);
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        .catalogue:hover {
            background: #1a1a1a;
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
            color: var(--gold-vibrant);
        }

        /* Style spécifique Contact (Vif) */
        .contact {
            background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-vibrant) 100%);
            color: #222;
            box-shadow: 0 10px 20px var(--gold-glow);
        }

        .contact:hover {
            filter: saturate(1.3) brightness(1.1);
            box-shadow: 0 15px 35px rgba(223, 182, 110, 0.5);
            transform: scale(1.05);
        }

        /* Effet de reflet qui passe sur les boutons */
        .about__boutton button::after {
            content: "";
            position: absolute;
            top: -50%;
            left: -100%;
            width: 50%;
            height: 200%;
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(30deg);
            transition: 0.5s;
        }

        .about__boutton button:hover::after {
            left: 150%;
        }
/* État initial : invisible et légèrement décalé vers le bas */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); /* Courbe de vitesse luxueuse */
}

/* État final : visible et à sa place d'origine */
.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* On change le background pour le dégradé beige champagne demandé */
.about {
    padding: 80px 20px;
   background: #fff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}
        /* Responsive */
/* ============================================================
   RESPONSIVE TYPOGRAPHY (Tablettes & Mobiles)
   ============================================================ */
   
/* --- TABLETTES (Largeur max 1024px) --- */
@media (max-width: 1024px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 3rem; /* Réduction du titre massif */
        line-height: 1.1;
    }

    .hero-content p {
        font-size: 0.8rem; /* Environ 17.6px */
        line-height: 1.6;
    }

    /* Section About */
    .about__title {
        font-size: 2.2rem;
    }

    .about__container > p {
        font-size: 1.05rem; /* Environ 16.8px */
    }
    
    .about__boutton button {
        padding: 14px 30px;
        font-size: 0.8rem;
    }
}

/* --- SMARTPHONES (Largeur max 600px) --- */
@media (max-width: 600px) {
    /* Corps de texte global (Minimum 16px pour l'accessibilité) */
    body {
        font-size: 16px; 
    }

    /* HERO SECTION */
  

    .hero-content h1 {
        /* Formule : Corps de texte (16px) * 1.5 pour mobile car Hero */
        font-size: 2.2rem; 
        margin-bottom: 15px;
    }

    .hero-content p {
        /* Respect du minimum 16px pour éviter la fatigue visuelle */
        font-size: 0.8rem; 
        line-height: 1.1;
        margin-bottom: 25px;
        color: #f0f0f0;
    }

    .btn-reserver {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%; /* Bouton plus facile à cliquer sur mobile */
        max-width: 250px;
    }

    /* SECTION ABOUT */
    .about {
        padding: 50px 15px; /* Réduction des marges externes */
    }

    .about__title {
        /* Titre 1.3x à 1.5x plus grand que le corps */
        font-size: 1.8rem; 
        letter-spacing: 1px;
    }

    .about__container > p {
        font-size: 1rem; /* 16px exact */
        line-height: 1.6;
        margin-bottom: 30px;
    }

    /* BOUTONS ABOUT */
    .about__boutton {
        flex-direction: column; /* Empiler les boutons sur petit écran */
        gap: 12px;
        align-items: center;
    }

    .about__boutton button {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 0.9rem; /* Légèrement plus grand pour lisibilité */
    }
}


/* --- OPTIMISATION PETITS MOBILES (ex: 360px) --- */
@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .about__title {
        font-size: 1.5rem;
    }
}

  /* --- STYLES GÉNÉRAUX --- */
        .service-section {
            background-color: #0a0a0a;
            color: #ffffff;
            padding: 100px 8%;
            font-family: 'Inter', sans-serif;
            position: relative;
            z-index: 10;
        }

        .service-header {
            text-align: center;
            margin-bottom: 70px;
        }

        .service-subtitle {
            color: #dfb66e;
            text-transform: uppercase;
            letter-spacing: 5px;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            display: block;
        }

        .service-title {
            font-size: clamp(1.8rem, 5vw, 2.8rem);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: -1px;
        }

        /* --- GRID (DESKTOP) --- */
        .service-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur PC */
            gap: 30px;
            max-width: 1300px;
            margin: 0 auto;
        }

        .service-card {
            background-color: #141414;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            border: 1px solid rgba(255,255,255,0.03);
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
        }

        .service-card:hover {
            transform: translateY(-12px);
            border-color: rgba(223, 182, 110, 0.4);
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        }

        .service-img-wrapper {
            width: 100%;
            height: 260px;
            overflow: hidden;
        }

        .service-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.2s ease;
        }

        .service-card:hover .service-img-wrapper img {
            transform: scale(1.1);
        }

        .service-body {
            padding: 40px;
            flex-grow: 1;
        }

        .service-number {
            font-size: 0.75rem;
            color: #dfb66e;
            font-weight: 800;
            margin-bottom: 15px;
            display: block;
            letter-spacing: 2px;
        }

        .service-card h4 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .service-card p {
            font-size: 1rem; /* 16px minimum pour l'accessibilité mobile */
            color: #a0a0a0;
            line-height: 1.7;
            margin-bottom: 25px;
        }
        .service-link-btn::after {
            content: "→";
            transition: transform 0.3s ease;
        }
        .service-link-btn {
            color: #dfb66e;
            font-size: 0.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: auto;
        }

        /* --- MODIFICATIONS MOBILE (FORCE 1 COLONNE) --- */
        @media (max-width: 900px) {
         
            .service-grid {
                grid-template-columns: 1fr; /* Force une seule case par ligne */
                gap: 40px;
            }

            .service-section {
                padding: 80px 20px;
            }

            .service-card {
                max-width: 500px; /* Évite que la carte soit trop large sur tablette */
                margin: 0 auto;  /* Centre la carte */
            }

            .service-img-wrapper {
                height: 230px; /* Hauteur adaptée pour mobile */
            }

            .service-body {
                padding: 30px;
            }
        }
        
        /* Animation d'apparition */
        .reveal-hidden { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
        .reveal-visible { opacity: 1; transform: translateY(0); }

       /* ============================================================
             CARS
   ============================================================ */
      /* --- Animation d'entrée --- */
       :root {
            --primary-color: #d32f2f;
            --text-main: #334e68;
            --transition-speed: 0.5s;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            margin-top: 60px;
            margin-bottom: 60px;
            display: flex;
            gap: 80px;
            align-items: center;
            padding: 20px;
            
           

        }

        /* --- Section Image Unique --- */
        .image-container {
            flex: 1;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        }

        .main-img {
            width: 100%;
            height: 600px; /* Image plus haute et élégante */
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

        .image-container:hover .main-img {
            transform: scale(1.05);
        }

        /* --- Section Texte --- */
        .content {
            flex: 1;
        }

        .content h1 {
            font-size: 52px;
            margin-bottom: 25px;
            font-weight: 800;
            color: #000;
            line-height: 1.1;
            letter-spacing: -1px;
        }

        .content p {
            line-height: 1.8;
            color: var(--text-main);
            margin-bottom: 35px;
            font-size: 17px;
        }

        .cta-btn {
            background-color: #000;
            color: white;
            padding: 20px 50px;
            border: none;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            letter-spacing: 2px;
            margin-bottom: 30px;
            transition: all 0.3s ease;
        }

        .cta-btn:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
        }

        .promo-line {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            color: #777;
            margin-bottom: 45px;
        }

        /* --- Grille des icônes --- */
        .features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            border-top: 1px solid #eee;
            padding-top: 40px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 16px;
            font-weight: 600;
            color: #000;
        }

        .feature-item i {
            width: 28px;
            height: 28px;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .feature-item:hover i {
            transform: scale(1.2) rotate(-5deg);
            color: var(--primary-color);
        }

        /* Responsive */
        @media (max-width: 900px) {
            .container { flex-direction: column; gap: 40px; }
            .image-container {
    width: 100vw;       /* Utilise 100% de la largeur de la fenêtre */
    position: relative;
   
    overflow: hidden;
    /* On retire le border-radius pour le plein écran */
    border-radius: 0;   
}
            .content h1 { font-size: 38px; }
            .main-img { height: 400px;}
        }



        .car-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            perspective: 1500px;
            padding-top: 80px; 
            padding-bottom: 80px;/* Ajustez la valeur selon l'espacement voulu */
    box-sizing: border-box;
        }

        .carousel-wrapper {
            position: relative;
            width: 100%;
            height: 350px;
            display: flex;
            justify-content: center;
            align-items: center;
            transform-style: preserve-3d;
        }

        /* --- BOXES --- */
        .car-box {
            position: absolute;
            width: 280px;
            height: 300px;
            background: #ffffff;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.06);
            /* Transition fluide pour le scroll */
            transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
            backface-visibility: hidden;
            border: 2px solid transparent;
            cursor: pointer;
        }

        .car-box img {
            width: 100%;
            height: 55%;
            object-fit: cover;
        }

        .car-info {
            padding: 15px;
            text-align: center;
        }

        .car-info h3 { margin: 0; font-size: 1.3rem; color: #111; transition: color 0.3s; }
        .car-info p { margin: 8px 0 0; font-size: 0.85rem; color: #777; }

        /* --- ÉTAT ACTIF (DORÉ) --- */
        .car-box.active {
            transform: rotateY(0deg) translateZ(350px);
            opacity: 1;
            z-index: 10;
            box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3);
            border: 2px solid #D4AF37; /* Bordure dorée active */
        }
        
        .car-box.active h3 {
            color: #D4AF37;
        }

        /* --- LOGIQUE DE POSITIONNEMENT --- */
        .car-box.left {
            transform: translateX(-420px) translateZ(0px) rotateY(35deg);
            opacity: 0.4;
            z-index: 5;
            filter: blur(1px);
        }

        .car-box.right {
            transform: translateX(420px) translateZ(0px) rotateY(-35deg);
            opacity: 0.4;
            z-index: 5;
            filter: blur(1px);
        }

        .car-box.hidden {
            transform: translateZ(-300px) scale(0.5);
            opacity: 0;
            pointer-events: none;
        }

        /* --- SECTION BOUTONS --- */
        .controls {
            display: flex;
            gap: 20px;
            z-index: 100;
            margin-top: 80px; 
        }

        .btn {
            border-radius: 12px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.4s ease;
            padding: 15px 40px; 
            font-size: 1.1rem;
            text-transform: uppercase;
        }

        .btn-res { background: #1a1a1a; color: #fff; }
        .btn-res:hover { 
            background: linear-gradient(45deg, #D4AF37, #F5D76E);
            color: #000;
            transform: translateY(-3px); 
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
        }

        .btn-more { background: white; border: 2px solid #1a1a1a; color: #1a1a1a; }
        .btn-more:hover { 
            border-color: #D4AF37; color: #D4AF37; background: #fffef0;
            transform: translateY(-3px); 
        }

        /* --- MOBILE --- */
        @media (max-width: 600px) {
            .car-section{padding-top: 80px; 
            padding-bottom: 80px;/* Ajustez la valeur selon l'espacement voulu */
    box-sizing: border-box;}
            .car-box { width: 240px; height: 300px; }
            .car-box.active { transform: rotateY(0deg) translateZ(150px); }
            .car-box.left { transform: translateX(-130px) translateZ(-50px) rotateY(40deg) scale(0.85); }
            .car-box.right { transform: translateX(130px) translateZ(-50px) rotateY(-40deg) scale(0.85); }
            .controls { margin-top: 40px !important; }
            .btn { padding: 12px 25px !important; font-size: 0.8rem !important; }
        }