/* ============================================================

   BACKGROUND.CSS — Noctule
   Ce fichier contrôle tout l'aspect visuel du site.

   ============================================================ */


/* ============================================================
   🎨 VARIABLES
   ============================================================ */
.saison-ete {
  --bg:         rgb(254, 244, 235);
  --text:       rgb(87, 50, 107);
  --text-muted: rgba(87, 50, 107, 0.55);
  --divider:    rgba(87, 50, 107, 0.18);
  --btn-bg:     rgba(87, 50, 107, 0.1);
  --btn-text:   rgb(87, 50, 107);
  --btn-border: rgba(87, 50, 107, 0.3);
}


/* ============================================================
   🔤 POLICES
   ============================================================ */
:root {
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Jost', sans-serif;
  --font-ouverture: 'Poppins', sans-serif;
}


/* ============================================================
   🔧 RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}


/* ============================================================
   🖼️ IFRAMES — zéro bordure, zéro contour
   ============================================================ */
iframe {
  border: none;
  outline: none;
  background: transparent;
  display: block;
  -webkit-appearance: none;
  pointer-events: none;
}


/* ============================================================
   🔝 NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.1rem 1.8rem;
  background: var(--bg);
  border-bottom: 1px solid var(--divider);
}

.nav-left   { justify-self: start; }
.nav-centre { justify-self: center; }
.nav-right  { justify-self: end; }

/* ── Mascotte (gauche) ── */
.nav-iframe-mascotte {
  width: 56px;
  height: 56px;
}

/* ── Logo + bar (centre) ── */
.nav-logo-iframe {
  width: 270px;
  height: 78px;
}


/* ============================================================
   🦸 HERO — deux colonnes
   ============================================================ */
.hero-centree {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 80px);
  margin-top: 80px;
  padding: 3rem 2rem;
}

/* Grille deux colonnes */
.hero-deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  width: 100%;
}

/* Grille trois colonnes */
.hero-trois-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1200px;
  width: 100%;
}

/* Colonne gauche : centrée */
.hero-col-gauche,
.hero-col-affichette {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Colonne droite : centrée verticalement */
.hero-col-droite,
.hero-col-infos,
.hero-col-bientot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Logo mascotte centré */
.hero-iframe-logo-mascotte {
  width: 320px;
  height: 320px;
}

/* Texte d'ouverture */
.ouverture-date {
  font-family: var(--font-ouverture);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.04em;
  text-align: center;
}


/* ============================================================
   📸 BOUTON INSTAGRAM
   ============================================================ */
.btn-instagram {
  display: inline-block;
  font-family: var(--font-ouverture);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-text);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  padding: 0.75rem 2.5rem;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-instagram:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}


/* ============================================================
   📷 APERÇU INSTAGRAM
   ============================================================ */
.instagram-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 1.6rem 2rem;
  width: 100%;
  max-width: 280px;
  text-align: center;
}

.instagram-preview-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ouverture);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.instagram-preview-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.instagram-preview-link {
  font-family: var(--font-ouverture);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}

.instagram-preview-link:hover {
  opacity: 0.5;
}


/* ============================================================
   ➖ SÉPARATEUR
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 3rem auto;
  max-width: 1200px;
}


/* ============================================================
   🦶 FOOTER
   ============================================================ */
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-logo { display: flex; justify-content: center; }

.footer-logo-iframe {
  height: 70px;
  width: 160px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  text-align: left;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text);
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 0.5; }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}


/* ============================================================
   📱 RESPONSIVE — mobile
   ============================================================ */
@media (max-width: 768px) {

  .hero-centree {
    min-height: auto;
    margin-top: 70px;
    padding: 4rem 1.5rem;
  }

  /* Passe en une colonne sur mobile */
  .hero-deux-colonnes {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-trois-colonnes {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-iframe-logo-mascotte {
    width: 220px;
    height: 220px;
  }

  .navbar { padding: 0.6rem 1rem; }
  .nav-logo-iframe { width: 160px; height: 56px; }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer { padding: 2rem 1.5rem 4rem; }
}

@media (max-width: 440px) {
  .footer-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* ============================================================
   🖼️ AFFICHETTE HERO
   ============================================================ */
.hero-affichette {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(87, 50, 107, 0.15);
  display: block;
}


/* ============================================================
   ℹ️ INFOS PRATIQUES
   ============================================================ */
.infos-pratiques {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  border: 1px solid var(--divider);
  border-radius: 6px;
  overflow: hidden;
}

.info-bloc {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-divider {
  border-top: 1px solid var(--divider);
}

.info-titre {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-texte {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.7;
}

.info-texte strong {
  font-weight: 500;
}

/* Boutons réseaux sociaux */
.info-reseaux {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.info-reseau-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ouverture);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-text);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.info-reseau-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.info-reseau-btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Tag groupe */
.info-groupe-tag {
  display: inline-block;
  font-family: var(--font-ouverture);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  background: rgba(87, 50, 107, 0.1);
  color: var(--text);
  border: 1px solid var(--btn-border);
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  vertical-align: middle;
}

/* Bouton réservation */
.info-reservation-btn {
  display: inline-block;
  font-family: var(--font-ouverture);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--bg);
  background: var(--text);
  border: 1px solid var(--text);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  margin-top: 0.3rem;
  transition: opacity 0.25s ease;
  align-self: flex-start;
}

.info-reservation-btn:hover {
  opacity: 0.75;
}


/* ============================================================
   📱 RESPONSIVE — infos pratiques
   ============================================================ */
@media (max-width: 768px) {
  .hero-affichette {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(87, 50, 107, 0.15);
  display: block;
}

  .infos-pratiques {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  border: 1px solid var(--divider);
  border-radius: 6px;
  overflow: hidden;
}
}


/* ============================================================
   📅 SECTION À VENIR
   ============================================================ */
.a-venir {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  text-align: center;
}

.a-venir-titre {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.a-venir-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.a-venir-card {
  border: 1px solid var(--divider);
  border-radius: 6px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  position: relative;
}

.a-venir-card-highlight {
  background: rgba(87, 50, 107, 0.04);
  border-color: rgba(87, 50, 107, 0.3);
}

.a-venir-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.a-venir-card-icon svg {
  width: 28px;
  height: 28px;
}

.a-venir-badge {
  font-family: var(--font-ouverture);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--text);
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
}

.a-venir-card-titre {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

.a-venir-card-texte {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .a-venir-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}


/* Colonne bientôt */
.hero-col-bientot {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bientot-icon {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.bientot-icon svg {
  width: 22px;
  height: 22px;
}


/* ============================================================
   🔘 NAV BUTTONS (droite navbar)
   ============================================================ */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-btn {
  font-family: var(--font-ouverture);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--btn-text);
  background: transparent;
  border: 1px solid transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--btn-bg);
  border-color: var(--btn-border);
}

.nav-btn--active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.nav-btn--active:hover {
  opacity: 0.85;
}

/* ============================================================
   🦇 MASCOTTE — bouton retour accueil
   ============================================================ */
.nav-mascotte-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
  border-radius: 50%;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-mascotte-btn:hover {
  opacity: 0.75;
  transform: scale(1.05);
}

/* ============================================================
   📱 RESPONSIVE — nav buttons
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { gap: 0.2rem; }
  .nav-btn {
    font-size: 0.62rem;
    padding: 0.35rem 0.6rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  .nav-btn {
    font-size: 0.58rem;
    padding: 0.28rem 0.45rem;
    letter-spacing: 0.04em;
  }
}


/* ============================================================
   📄 SOUS-PAGES — footer collé après le contenu
   ============================================================ */
.page-section--sub {
  min-height: auto;
  padding-top: 4rem;
  padding-bottom: 4rem;
  align-items: flex-start;
}


/* ============================================================
   🖼️ GALERIE — grille 3 colonnes
   ============================================================ */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.galerie-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(87, 50, 107, 0.12);
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.galerie-img:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 40px rgba(87, 50, 107, 0.22);
}

@media (max-width: 768px) {
  .galerie-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}


/* ============================================================
   ✨ BIENTÔT — fond jaune doré
   ============================================================ */
.bientot-highlight {
  background-color: #FFCC33;
  border-color: rgba(87, 50, 107, 0.15);
}

.bientot-highlight .info-titre {
  color: rgba(87, 50, 107, 0.7);
}

.bientot-highlight .info-texte {
  color: rgb(87, 50, 107);
}

.bientot-highlight .info-divider {
  border-color: rgba(87, 50, 107, 0.15);
}

.bientot-highlight .a-venir-badge {
  background: rgb(87, 50, 107);
  color: #FFCC33;
}


/* ============================================================
   🍽️ MENUS — pages empilées verticalement
   ============================================================ */
.menus-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 700px;
}

.menus-page-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 36px rgba(87, 50, 107, 0.14);
  display: block;
}


/* ============================================================
   🍽️ MENUS — 3 colonnes, même taille que l'affichette
   ============================================================ */
.menus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
}

.menus-grid .menus-page-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(87, 50, 107, 0.15);
  display: block;
}

@media (max-width: 768px) {
  .menus-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}


/* ============================================================
   📢 MENUS — annonce carte
   ============================================================ */
.menus-annonce {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 1.8rem;
  opacity: 0.8;
}


/* ============================================================
   🖼️ GALERIE — placeholder si image absente
   ============================================================ */
.galerie-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--divider);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.06em;
  background: rgba(87, 50, 107, 0.03);
}
