/* =============================================
   P'tit Boulevard – Feuille de style principale
   ============================================= */

/* ---- Variables ---- */
:root {
  --fuchsia: #E8005A;
  --fuchsia-dark: #c0004a;
  --gold: #C9A84C;
  --gold-light: #e8c96a;
  --rose-pale: #FADADD;
  --blanc-casse: #FFF8F8;
  --anthracite: #2C2C2C;
  --text-muted: #6b6b6b;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(232, 0, 90, 0.10);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.18);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', 'Inter', sans-serif;
  background-color: var(--rose-pale);
  color: var(--anthracite);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

/* ---- Container ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--fuchsia);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(232, 0, 90, 0.28);
}
.btn-primary:hover {
  background: var(--fuchsia-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 0, 90, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--fuchsia);
  border-color: var(--fuchsia);
}
.btn-outline:hover {
  background: var(--fuchsia);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* ---- Section commons ---- */
.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--anthracite);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.gold-divider {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  margin: 0 auto;
  border-radius: 2px;
}

/* ---- Fade-in animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVIGATION
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 248, 248, 0.97);
  backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition);
}

#header.scrolled {
  box-shadow: 0 2px 20px rgba(232, 0, 90, 0.10);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--fuchsia);
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.logo:hover { color: var(--gold); }

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--anthracite);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--fuchsia); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(232, 0, 90, 0.82) 0%,
      rgba(201, 168, 76, 0.65) 50%,
      rgba(250, 218, 221, 0.90) 100%),
    url('images/crepe3.webp') center/cover no-repeat;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 24px;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: #fff;
  text-shadow: 0 4px 32px rgba(0,0,0,0.22);
  margin-bottom: 20px;
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.hero-buttons .btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  80% { top: 20px; opacity: 0; }
}

/* =============================================
   NOTRE HISTOIRE
   ============================================= */
.histoire {
  background: var(--blanc-casse);
}

.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.histoire-text p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  color: #444;
}

.image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-gold);
  aspect-ratio: 4/5;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.image-frame:hover img { transform: scale(1.04); }

/* Valeurs */
.valeurs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.valeur-item {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.25);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.valeur-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(232, 0, 90, 0.14);
}

.valeur-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--fuchsia), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: #fff;
}

.valeur-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--anthracite);
}
.valeur-item p { font-size: 0.92rem; color: var(--text-muted); }

/* =============================================
   MENU
   ============================================= */
.menu-section {
  background: var(--rose-pale);
}

.menu-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}

.menu-cta-inner {
  background: linear-gradient(135deg, var(--fuchsia) 0%, #b5004a 100%);
  border-radius: 20px;
  padding: 56px 64px;
  text-align: center;
  max-width: 640px;
  box-shadow: 0 16px 48px rgba(232, 0, 90, 0.28);
  border: 2px solid var(--gold);
}

.menu-cta-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.menu-cta-inner h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 14px;
}

.menu-cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.menu-cta-inner .btn-primary {
  background: var(--gold);
  border-color: var(--gold-light);
  color: var(--anthracite);
  font-size: 1.05rem;
}
.menu-cta-inner .btn-primary:hover {
  background: var(--gold-light);
}

/* Menu highlights */
.menu-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.highlight-card {
  background: var(--blanc-casse);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.highlight-card:hover { transform: translateY(-4px); }

.highlight-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.highlight-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--fuchsia);
}
.highlight-card p { font-size: 0.9rem; color: var(--text-muted); }

/* =============================================
   GALERIE
   ============================================= */
.galerie-section {
  background: var(--blanc-casse);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.galerie-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(201, 168, 76, 0.2);
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Placeholders dégradés */
.galerie-placeholder[data-gradient="1"] { background: linear-gradient(135deg, #E8005A 0%, #C9A84C 100%); }
.galerie-placeholder[data-gradient="2"] { background: linear-gradient(135deg, #FADADD 0%, #E8005A 100%); }
.galerie-placeholder[data-gradient="3"] { background: linear-gradient(135deg, #C9A84C 0%, #FADADD 100%); }
.galerie-placeholder[data-gradient="4"] { background: linear-gradient(45deg, #E8005A 0%, #FADADD 50%, #C9A84C 100%); }
.galerie-placeholder[data-gradient="5"] { background: linear-gradient(135deg, #b5004a 0%, #e8c96a 100%); }
.galerie-placeholder[data-gradient="6"] { background: linear-gradient(135deg, #FADADD 0%, #C9A84C 50%, #E8005A 100%); }

.galerie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232, 0, 90, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  opacity: 0;
  transition: all 0.35s ease;
}

.galerie-item:hover img { transform: scale(1.08); }
.galerie-item:hover .galerie-overlay {
  background: rgba(232, 0, 90, 0.45);
  opacity: 1;
}

.galerie-footer {
  text-align: center;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  background: var(--rose-pale);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-block {
  margin-bottom: 36px;
}

.contact-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--fuchsia);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-block p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Horaires */
.horaires-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.horaires-table td {
  padding: 7px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  color: #555;
}
.horaires-table td:first-child {
  font-weight: 700;
  color: var(--anthracite);
  width: 50%;
}
.horaires-table td:last-child {
  color: var(--fuchsia);
  font-weight: 700;
}
.horaires-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
}

/* Social links */
.social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.social-link {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blanc-casse);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35);
}

/* Logos marques (RedNote, Dianping) – contact section */
.social-link-rednote,
.social-link-dianping {
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
}
.social-link-rednote img,
.social-link-dianping img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}
.social-link-rednote:hover,
.social-link-dianping:hover {
  background: none;
  transform: none;
  box-shadow: none;
}
.social-link-rednote:hover img,
.social-link-dianping:hover img {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Logos marques – footer */
.footer-social a.logo-brand {
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
  width: 38px;
  height: 38px;
}
.footer-social a.logo-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.footer-social a.logo-brand:hover {
  background: none;
  color: inherit;
  transform: translateY(-2px);
}

/* Map */
.map-container {
  width: 100%;
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--fuchsia);
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--anthracite);
  transform: translateY(-2px);
}

.footer-nav h4,
.footer-menu-link h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.footer-nav ul li {
  margin-bottom: 10px;
}
.footer-nav ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--gold); }

.footer-address {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-legal a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }
.footer-legal span { color: rgba(255,255,255,0.2); }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  object-fit: contain;
}

.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 14px;
  font-style: italic;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--fuchsia); }

.lightbox-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .histoire-grid { grid-template-columns: 1fr; gap: 40px; }
  .histoire-image { order: -1; }
  .image-frame { aspect-ratio: 16/9; max-height: 380px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-container { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--blanc-casse);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transition: right var(--transition);
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }

  /* Valeurs */
  .valeurs { grid-template-columns: 1fr; gap: 20px; }

  /* Menu highlights */
  .menu-highlights { grid-template-columns: 1fr; }

  /* Menu CTA */
  .menu-cta-inner { padding: 40px 28px; }

  /* Galerie */
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .galerie-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .navbar { padding: 14px 20px; }
  .btn { padding: 12px 24px; font-size: 0.88rem; }
  .btn-large { padding: 14px 32px; font-size: 0.95rem; }
}
