/* IMPORT DES POLICES ELEGANTE ET MODERNE */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Playfair+Display:ital,wght@0,500;0,600;1,400&display=swap');

:root {
  --fond-sombre: #131211;     /* Le marron/noir ultra chic  */
  --fond-carte: #1c1a18;      /* Un ton légèrement plus clair pour détacher les blocs */
  --texte-clair: #E6E3DD;     /* Blanc cassé très doux pour les yeux */
  --or-moutarde: #D4AF37;    /* La couleur dorée premium */
  --text-gris: #9C9893;       /* Gris pour les descriptions de plats */
  
  --font-titre: 'Playfair Display', serif;
  --font-corps: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--fond-sombre);
  color: var(--texte-clair);
  font-family: var(--font-corps);
  font-size: 16px;
  line-height: 1.6;
}
/* LOGO */
.logo-image {
    max-height: 80px; /* Adapte la hauteur pour qu'il soit élégant */
    width: auto;
    display: block;
}

/* NAVIGATION */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 50px;
  background-color: #231E1D; /* La couleur exacte du fond du logo */
  border-bottom: none; /* On enlève la bordure pour que la fusion soit parfaite */
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-titre);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.sub-logo {
  display: block;
  font-family: var(--font-corps);
  font-size: 0.6rem;
  color: var(--or-moutarde);
  letter-spacing: 3px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 35px;
}

.nav-links a {
  color: var(--texte-clair);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--or-moutarde);
}

/* BOUTONS */
.btn-or {
  background-color: var(--or-moutarde);
  color: var(--fond-sombre) !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  /* La transition douce est ICI */
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

.btn-or:hover {
  transform: translateY(-2px); /* Lève le bouton de 2px */
  opacity: 0.9; /* Le rend légèrement opaque */
}

.btn-outline {
  border: 1px solid var(--texte-clair);
  color: var(--texte-clair);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  /* -- MODIFICATION 1 -- Je rajoute la MÊME TRANSITION pour qu'il s'anime doucement */
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

.btn-outline:hover {
  /* -- MODIFICATION 2 -- Je rajoute le MÊME EFFET DE LEVÉE et d'opacité */
  transform: translateY(-2px);
  opacity: 0.9;
  
  /* Je garde l'effet de fond, il ne gêne pas */
  background-color: rgba(255, 255, 255, 0.1);
}

/* ACCUEIL HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(19, 18, 17, 0.7), rgba(19, 18, 17, 0.9)), url('images/veranda01.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero-content {
  max-width: 650px;
}

.tagline {
  color: var(--or-moutarde);
  font-size: 0.8rem;
  letter-spacing: 4px;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--font-titre);
  font-size: 4rem;
  line-height: 1.1;
  margin: 20px 0;
}

.hero h1 em {
  color: var(--or-moutarde);
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-gris);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* SECTION PRÉSENTATION */
.presentation {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- LE CONTENEUR GLOBAL (Texte + Image) --- */
.pres-container {
  display: flex;
  align-items: center; 
  gap: 50px; 
}

/* --- STYLE GLOBAL POUR LES MOTS CLÉS DES TITRES (h2) --- */
h2 em {
    color: var(--or-moutarde);
    font-style: italic;
    font-weight: 700; 
}

/* --- LA BOÎTE DU TEXTE --- */
.pres-text {
  flex: 1; 
}

.presentation p {
  color: var(--text-gris);
  margin-bottom: 20px;
}

/* --- LA BOÎTE DE L'IMAGE --- */
.pres-image {
  flex: 1; 
  width: 100%; 
}

/* --- L'IMAGE ELLE-MÊME --- */
.pres-image img {
  width: 100%; 
  height: 100%;
  max-height: 600px; 
  object-fit: cover; 
  border-radius: 8px; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

/* --- POUR LES SMARTPHONES --- */
@media (max-width: 900px) {
  .pres-container {
    flex-direction: column; 
  }
}

.section-number {
  color: var(--or-moutarde);
  font-size: 0.8rem;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 15px;
}

.presentation h2 {
  font-family: var(--font-titre);
  line-height: 1.2;
  margin-bottom: 30px;
}

.presentation p {
  color: var(--text-gris);
  margin-bottom: 20px;
}

.citation {
  border-left: 2px solid var(--or-moutarde);
  padding-left: 20px;
  margin-top: 40px;
}

.citation cite {
  display: block;
  font-size: 0.75rem;
  color: var(--or-moutarde);
  letter-spacing: 2px;
  margin-top: 10px;
  font-style: normal;
}

.pres-image img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 30px;
}

.stats-bento {
  display: flex;
  justify-content: space-between;
  text-align: center;
  background-color: var(--fond-carte);
  padding: 20px;
  border-radius: 4px;
}

.stats-bento strong {
  font-family: var(--font-titre);
  color: var(--or-moutarde);
  font-size: 1.4rem;
  display: block;
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-gris);
  letter-spacing: 1px;
}

/* SECTION CARTE (MENU) */
.menu-section {
  background-color: var(--fond-carte);
  padding: 100px 5%;
}

.menu-container {
  max-width: 1100px;
  margin: 0 auto;
}

.menu-main-title {
  font-family: var(--font-titre);
  font-size: 3rem;
  line-height: 1.1;
}

.menu-main-title em {
  color: var(--or-moutarde);
  font-style: italic;
}

.menu-subtitle {
  color: var(--text-gris);
  margin: 15px 0 60px 0;
}

.menu-grid {
  display: flex;
  gap: 100px;
}

.menu-column {
  flex: 1;
}

.menu-column h3 {
  font-family: var(--font-titre);
  color: var(--or-moutarde);
  font-style: italic;
  font-size: 1.8rem;
  border-bottom: 1px solid #2e2a26;
  padding-bottom: 15px;
  margin-bottom: 35px;
}

.plat {
  margin-bottom: 35px;
}

.plat-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.plat-header h4 {
  font-size: 1.1rem;
  font-weight: 500;
}

.plat-header span {
  color: var(--or-moutarde);
  font-family: var(--font-titre);
  font-size: 1.1rem;
}

.plat p {
  color: var(--text-gris);
  font-size: 0.9rem;
}

/* --- BANDEAU DÉFILANT --- */
.bandeau-defilant {
  background-color: var(--fond-carte);
  border-top: 1px solid #2a2825;
  border-bottom: 1px solid #2a2825;
  padding: 15px 0;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.texte-defilant {
  display: flex;
  animation: defilement 25s linear infinite;
}

.texte-defilant span {
  color: var(--or-moutarde);
  font-family: var(--font-titre);
  font-style: italic;
  font-size: 1.2rem;
  padding: 0 40px;
}

@keyframes defilement {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* --- GRILLE DES 4 CARRÉS (MENU) --- */
.categories-menu {
  background-color: var(--fond-carte);
  padding: 100px 5%;
}

.grille-4-carres {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Divise l'espace en 2 colonnes égales */
  gap: 30px; /* Espace entre les carrés */
  margin-top: 50px;
}

.carre-categorie {
  position: relative;
  height: 280px; /* Hauteur des carrés */
  border-radius: 8px;
  overflow: hidden; /* Empêche l'image de dépasser quand elle zoome */
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2825;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* L'image de fond assombrie */
.carre-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35); /* Assombrit l'image pour que le texte soit lisible */
  transition: transform 0.6s ease, filter 0.3s ease;
  z-index: 1;
}

/* Le texte au centre du carré */
.carre-contenu {
  position: relative;
  z-index: 2; /* Place le texte par-dessus l'image */
  text-align: center;
  padding: 20px;
}

.carre-contenu h3 {
  font-family: var(--font-titre);
  color: var(--or-moutarde);
  font-size: 2.2rem;
  margin-bottom: 5px;
  font-style: italic;
}

.carre-contenu p {
  color: var(--texte-clair);
  font-size: 1rem;
  letter-spacing: 1px;
}

/* Les animations au survol (La touche Pro) */
.carre-categorie:hover {
  transform: translateY(-5px); /* Lève le carré */
  border-color: var(--or-moutarde); /* Bordure dorée */
}

.carre-categorie:hover .carre-bg {
  transform: scale(1.08); /* Fait un zoom super classe sur la photo */
  filter: brightness(0.5); /* Éclaircit un peu l'image */
}

/* --- BANDEAU ÉVÉNEMENTIEL (Version Premium Attirante) --- */
.bandeau-evenement {
  /* Dégradé doré façon "Or brossé" */
  background: linear-gradient(135deg, #D4AF37 0%, #AA8222 100%);
  color: var(--fond-sombre);
  padding: 12px 20px;
  text-align: center;
  position: absolute; 
  top: 110px;         
  margin-top: 0;      
  width: 100%; 
  z-index: 99;
  /* Ombre portée subtilement dorée pour faire ressortir le bandeau */
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.15); 
  border-bottom: 1px solid #8B6508;
}

.bandeau-contenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; 
}

.bandeau-contenu p {
  margin: 0;
  font-size: 1.05rem;
  text-shadow: 0px 1px 2px rgba(255,255,255,0.2); /* Fait légèrement ressortir le texte */
}

/* Le bouton avec l'animation */
.btn-bandeau {
  background-color: var(--fond-sombre);
  color: var(--texte-clair);
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  /* L'animation est appelée ici, elle dure 2 secondes et tourne en boucle */
  animation: pulse-doré 2s infinite; 
  transition: transform 0.3s;
}

.btn-bandeau:hover {
  transform: scale(1.05); /* Grossit quand je passe la souris */
  animation: none; /* Stoppe la pulsation au survol pour ne pas gêner le clic */
}

/* LA MAGIE DE L'ANIMATION PULSE */
@keyframes pulse-doré {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 22, 20, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(24, 22, 20, 0); /* Crée une onde qui s'évapore */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 22, 20, 0);
  }
}

/* --- STYLE DE L'ICÔNE SVG --- */
.icone-fete-svg {
  width: 24px;   /* Taille idéale */
  height: 24px;
  
  /* Je lui donne une couleur très sombre (presque noire) */
  /* qui contraste parfaitement avec le fond doré */
  color: #1a1a1a; 
  
  /* Un léger effet de lueur dorée derrière l'icône pour l'attirance */
  filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.6));
  
  display: inline-block; /* Pour l'aligner parfaitement */
  vertical-align: middle;
}

/* --- GALERIE AMBIANCE MODERNE (Inclinaison & Parallaxe) --- */
.ambiance-moderne {
  padding: 80px 0; /* Pas de padding sur les côtés pour que la galerie prenne toute la largeur */
  background-color: var(--fond-sombre);
  overflow: hidden; /* Obligatoire pour cacher ce qui dépasse à cause de l'inclinaison */
}

.ambiance-titre {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 5%; /* Je remet le padding juste pour le titre */
}

/* Le conteneur qui gère le scroll horizontal */
.galerie-skew-container {
  width: 100%;
  overflow-x: auto; /* Active le défilement horizontal */
  padding: 50px 0; /* Espace pour pas que les photos soient coupées en haut/bas */
  cursor: grab; /* Change le curseur pour inviter à "attraper" la galerie */
}

/* Je cache la barre de scroll moche */
.galerie-skew-container::-webkit-scrollbar {
  display: none;
}

/* La piste qui contient toutes les photos alignées */
.galerie-skew-track {
  display: flex;
  gap: 40px; /* Grand espace entre les photos */
  padding-left: 10%; /* Décale la première photo */
  width: max-content; /* Force la piste à s'adapter au nombre de photos */
}

/* Le conteneur de CHAQUE photo (c'est lui qu'on incline) */
.galerie-item {
  position: relative;
  width: 320px; /* Largeur de chaque photo */
  height: 400px; /* Hauteur */
  overflow: hidden; /* Pour que l'image interne dépasse pas */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  
  /* 📍 LA MAGIE : L'inclinaison de -6 degrés */
  transform: skewX(-6deg);
  
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, filter 0.5s ease;
}

/* L'image à proprement parler (je doit l'incliner en sens inverse pour qu'elle reste droite !) */
.galerie-item img {
  width: 130%; /* Plus large pour l'effet de parallaxe */
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: -15%; /* Centre l'image après l'avoir agrandie */
  
  /* 📍 JE REMET L'IMAGE DROITE : +6 degrés */
  transform: skewX(6deg) scale(1.1); /* Je l'agrandit un peu pour le hover */
  
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- EFFETS AU SURVOL (HOVER) --- */

/* 1. Quand on survole la GALERIE ENTIÈRE, toutes les photos deviennent floues */
.galerie-skew-track:hover .galerie-item {
  filter: blur(2px) grayscale(50%);
  transform: skewX(-6deg) scale(0.95); /* Elles rétrécissent un peu */
  opacity: 0.7;
}

/* 2. Mais la photo qu'on SURVOLE PRÉCISÉMENT devient nette et grosse */
.galerie-skew-track .galerie-item:hover {
  filter: blur(0) grayscale(0%);
  opacity: 1;
  /* Elle perd son inclinaison et grossit */
  transform: skewX(0deg) scale(1.1) translateY(-15px);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.3); /* Ombre dorée */
  z-index: 10; /* Passe au-dessus des autres */
}

/* 3. L'image INTERNE bouge légèrement (Effet Parallaxe) */
.galerie-skew-track .galerie-item:hover img {
  transform: skewX(0deg) scale(1.05); /* L'image se remet droite aussi */
}

/* --- LES FLÈCHES DE NAVIGATION --- */
.galerie-wrapper {
  position: relative;
  max-width: 100%;
}

.btn-scroll {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Centre parfaitement la flèche en hauteur */
  background: var(--fond-sombre); /* Fond noir */
  color: var(--or-moutarde); /* Flèche dorée */
  border: 1px solid var(--or-moutarde);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20; /* S'assure que les flèches restent au-dessus des photos */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.btn-scroll:hover {
  background: var(--or-moutarde); /* S'inverse au survol : fond doré */
  color: var(--fond-sombre); /* flèche noire */
  transform: translateY(-50%) scale(1.1); /* Grossit légèrement */
}

/* Positionnement des flèches sur les bords */
.btn-gauche {
  left: 20px;
}

.btn-droite {
  right: 20px;
}

/* Cache les flèches sur les tout petits écrans (les gens ont l'habitude de slider avec le doigt sur smartphone) */
@media (max-width: 768px) {
  .btn-scroll {
    display: none;
  }
}


/* --- STYLE GLOBAL POUR TOUS LES GRANDS TITRES (h2) --- */
h2 {
    font-family: var(--font-titre); 
    font-size: 3rem; 
    line-height: 1.2; 
    margin-bottom: 15px;
}


/* --- FOOTER  --- */
.footer-moderne {
    background-color: var(--fond-carte); 
    padding: 80px 5% 30px;
    margin-top: 100px;
    border-top: 1px solid rgba(212, 175, 55, 0.2); 
    position: relative;
    overflow: hidden; /* Empêche le texte géant de déborder */
}

/* --- LA TYPOGRAPHIE GÉANTE --- */
.footer-big-text {
    text-align: center;
    margin-bottom: 50px;
}

.footer-big-text h2 {
    font-family: var(--font-titre);
    /* Il faut s'adapter à l'écran : minimum 3rem, idéalement 12vw, max 10rem */
    font-size: clamp(3rem, 12vw, 10rem); 
    color: rgba(212, 175, 55, 0.04); /* Doré ultra-transparent pour faire un filigrane */
    white-space: nowrap;
    margin: 0;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
}

/* --- LA GRILLE ÉPURÉE --- */
.footer-grid-moderne {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.footer-block h4 {
    font-family: var(--font-titre);
    color: var(--or-moutarde);
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-block p {
    color: var(--texte-clair);
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Ligne des horaires structurée */
.horaires-block ul {
    list-style: none;
}

.horaires-block ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Séparateur très discret */
    padding-bottom: 5px;
    color: var(--texte-clair);
    font-size: 0.95rem;
}

.horaires-block ul li span {
    color: var(--text-gris); /* Les jours en gris */
}

.ferme {
    color: #b08d57; /* Un doré assombri pour "Fermé" */
    font-style: italic;
}

/* --- LIENS ANIMÉS (Tendance 2026) --- */
.footer-link-anime {
    color: var(--or-moutarde);
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
}

/* La ligne en dessous qui apparaît au survol */
.footer-link-anime::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--or-moutarde);
    transition: width 0.3s ease;
}

.footer-link-anime:hover::after {
    width: 100%; 
}

/* --- LE BAS DU FOOTER (Copyright & Bouton Remonter) --- */
.footer-bottom-moderne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--text-gris);
}

.back-to-top {
    color: var(--texte-clair);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: var(--or-moutarde);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid-moderne {
        grid-template-columns: 1fr; /* Sur mobile, 1 seule colonne */
        text-align: center;
    }
    .horaires-block ul li {
        justify-content: space-around;
    }
}

/* Cacher le bouton burger sur PC */
.burger-menu {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: #d4af37; 
    cursor: pointer;
}

/* ── ADAPTATION MOBILE : NAVBAR BURGER ── */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .burger-menu {
        display: block; 
    }

    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute; 
        top: 100%; 
        left: 0;
        background-color: #1a1a1a; 
        padding: 20px 0;
        gap: 15px;
        z-index: 999;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }
}