/* =========================================================
   L'Arc en Ciel — CSS Principal (Client)
   Thème : Ciel dégradé · Vert forêt · Jaune soleil
   Palette du logo : bleu ciel #4BAEE8, vert #2E7D5E, jaune #F5C518
   ========================================================= */

:root {
  --sky-light:   #87CEEB;
  --sky:         #4BAEE8;
  --sky-deep:    #1A7BBF;
  --sky-night:   #0D3F6E;
  --green:       #2E7D5E;
  --green-light: #4CAF80;
  --green-dark:  #1A5E44;
  --yellow:      #F5C518;
  --yellow-dark: #D4A800;
  --white:       #ffffff;
  --off-white:   #F0F8FF;
  --text:        #1A3A2A;
  --text-light:  #4A7060;
  --black:       #0D2A1A;
  --shadow:      rgba(0,80,50,0.15);

  /* Aliases pour compatibilité */
  --gold:        var(--yellow);
  --gold-light:  var(--yellow);
  --gold-dark:   var(--yellow-dark);
  --cream:       var(--off-white);
  --cream-light: #EAF6FF;
  --cream-dark:  #C8E8F8;

  --font-display: 'Nunito', 'Segoe UI', sans-serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;
  --font-sans:    'Nunito', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream-light);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sky-light); }
::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 3px; }

/* ========== HEADER ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--sky);
  padding: 0.6rem 2rem;
  box-shadow: 0 2px 16px rgba(75,174,232,0.18);
}
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1.2rem; }
.header-logo { height: 54px; width: 54px; border-radius: 50%; object-fit: cover; }
.header-title { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.03em; color: var(--green); font-weight: 900; flex: 1; }
.header-nav { display: flex; gap: 1.5rem; }
.header-nav a { font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); text-decoration: none; font-weight: 700; transition: color 0.3s; }
.header-nav a:hover { color: var(--sky-deep); }

/* ========== HERO ========== */
.hero-section {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    #87CEEB 0%,
    #4BAEE8 25%,
    #2E9BD4 50%,
    #1A7BBF 68%,
    #1A5E44 82%,
    #2E7D5E 100%
  );
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 130px 55px at 12% 22%, rgba(255,255,255,0.38) 0%, transparent 70%),
    radial-gradient(ellipse 90px 38px at 22% 18%, rgba(255,255,255,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 170px 65px at 72% 26%, rgba(255,255,255,0.32) 0%, transparent 70%),
    radial-gradient(ellipse 110px 45px at 85% 20%, rgba(255,255,255,0.22) 0%, transparent 70%);
}
.hero-bg::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(26,94,68,0.55) 60%, #1A5E44 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 720px;
  animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-ornament { font-size: 2rem; color: var(--yellow); margin-bottom: 0.8rem; }
.hero-subtitle { font-weight: 800; font-size: 1rem; color: var(--yellow); letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 0.3rem; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.hero-name { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: 0.04em; color: var(--white); line-height: 1.1; margin-bottom: 0.3rem; text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.hero-tagline { font-size: clamp(1.1rem, 2.5vw, 1.6rem); font-weight: 900; color: var(--yellow); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.8rem; text-shadow: 0 1px 6px rgba(0,0,0,0.25); }
.hero-divider, .section-divider, .menu-divider { display: flex; align-items: center; gap: 1rem; margin: 1.2rem auto; max-width: 300px; }
.hero-divider span:not(.diamond), .section-divider span:not(.diamond), .menu-divider span:not(.diamond) { flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); }
.diamond { color: var(--yellow); font-size: 0.8rem; }
.hero-presentation { font-size: 1.05rem; color: rgba(255,255,255,0.92); line-height: 1.9; max-width: 560px; margin: 0 auto 2.5rem; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }

/* Horaires */
.horaires-card {
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px; padding: 1.5rem 2rem; margin: 0 auto 2.5rem; max-width: 420px;
  backdrop-filter: blur(8px);
}
.horaires-title { font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; font-weight: 800; }
.horaires-grid { display: flex; flex-direction: column; gap: 0.4rem; }
.horaire-row { display: flex; justify-content: space-between; font-size: 0.95rem; border-bottom: 1px dotted rgba(255,255,255,0.3); padding-bottom: 0.35rem; }
.horaire-jour { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.horaire-heure { font-weight: 700; color: var(--white); }

/* Buttons */
.btn-reserve, .btn-send {
  display: inline-block; background: var(--green); color: var(--white);
  font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 800;
  text-decoration: none; padding: 1rem 2.5rem;
  border: none; cursor: pointer; border-radius: 10px;
  position: relative; overflow: hidden;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(46,125,94,0.45);
}
.btn-reserve::before, .btn-send::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent); }
.btn-reserve:hover, .btn-send:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(46,125,94,0.5); }
.btn-reserve:active, .btn-send:active { transform: translateY(0); }

/* ========== MENU ========== */
.menu-section { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 6rem 2rem; overflow: hidden; }
.menu-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; transform: scale(1.05); transition: transform 0.5s; }
.menu-bg-default { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--sky-deep) 100%); }
.menu-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,42,26,0.45) 0%, rgba(13,42,26,0.72) 100%); }
.menu-overlay { position: absolute; inset: 0; background: rgba(13,42,26,0.5); backdrop-filter: blur(1px); }
.menu-content {
  position: relative; z-index: 1; text-align: center; max-width: 700px;
  padding: 3rem 2.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px; backdrop-filter: blur(4px);
  animation: fadeUp 1s ease both;
}
.menu-pretitle { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.5rem; font-weight: 800; }
.menu-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white); letter-spacing: 0.04em; margin-bottom: 1rem; }
.menu-intro { font-size: 1rem; color: rgba(255,255,255,0.82); line-height: 1.8; margin-bottom: 2rem; font-style: italic; }

/* ========== RESERVATION SECTION ========== */
.reservation-section { padding: 6rem 1.5rem; background: linear-gradient(180deg, var(--cream-light) 0%, #DFF0FA 100%); }
.reservation-content { max-width: 700px; margin: 0 auto; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; color: var(--green); letter-spacing: 0.04em; margin-bottom: 0.5rem; text-align: center; }
.section-sub { font-style: italic; font-size: 1.1rem; color: var(--text-light); text-align: center; }

/* Forms */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--green); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 2px solid rgba(75,174,232,0.3); background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 1rem; border-radius: 8px; transition: border-color 0.25s, box-shadow 0.25s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(75,174,232,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234BAEE8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-submit { text-align: center; margin-top: 1rem; }
.resa-success { text-align: center; padding: 3rem 2rem; animation: fadeUp 0.6s ease both; }
.resa-success.hidden { display: none; }
.success-icon { font-size: 3rem; color: var(--yellow); margin-bottom: 1rem; }
.resa-success h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--green); margin-bottom: 0.5rem; }
.resa-success p { color: var(--text-light); font-size: 1.1rem; margin-bottom: 1.5rem; }
.ornament { color: var(--yellow); letter-spacing: 0.5rem; font-size: 0.8rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(180deg, var(--green-dark) 0%, var(--black) 100%);
  text-align: center; padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.footer-logo { height: 80px; width: 80px; border-radius: 50%; object-fit: cover; box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.footer-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; letter-spacing: 0.08em; color: var(--yellow); }
.footer-address { font-size: 0.82rem; color: rgba(255,255,255,0.6); font-family: var(--font-sans); margin: 0.1rem 0; }
.footer-phone a { font-size: 0.9rem; color: var(--sky-light); font-family: var(--font-sans); text-decoration: none; font-weight: 700; }
.footer-phone a:hover { text-decoration: underline; color: var(--yellow); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); font-family: var(--font-sans); }

/* ========== FERMETURE ========== */
.closed-overlay {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #87CEEB 0%, #4BAEE8 40%, #2E7D5E 80%, #1A5E44 100%);
  padding: 2rem;
}
.closed-box { text-align: center; max-width: 500px; animation: fadeUp 1s ease both; }
.closed-logo { height: 140px; width: 140px; border-radius: 50%; margin-bottom: 2rem; object-fit: cover; box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.closed-title { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.closed-icon { font-size: 2.5rem; margin: 1rem 0; }
.closed-text { font-size: 1.1rem; color: rgba(255,255,255,0.92); line-height: 1.9; font-style: italic; margin-bottom: 2rem; }

/* NAV RESERVE BUTTON */
.header-nav a.nav-reserve { background: var(--green); color: var(--white) !important; padding: 0.5rem 1.2rem; border-radius: 8px; letter-spacing: 0.1em; font-weight: 800; transition: background 0.25s, transform 0.2s; }
.header-nav a.nav-reserve:hover { background: var(--green-dark); transform: translateY(-1px); }
.header-nav a.nav-reserve.active { background: var(--green-dark); }

/* PAGE HERO */
.page-hero { position: relative; height: 38vh; min-height: 220px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3rem; overflow: hidden; margin-top: 74px; }
.page-hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-light) 0%, var(--sky) 60%, var(--green) 100%); }
.page-hero-bg::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, var(--cream-light)); }
.page-hero-content { position: relative; z-index: 1; text-align: center; animation: fadeUp 0.9s ease both; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: var(--white); margin: 0.25rem 0 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.page-hero-sub { font-style: italic; color: rgba(255,255,255,0.88); font-size: 1.1rem; }

/* RESERVATION PAGE */
.reservation-page { padding-top: 0; background: var(--cream-light); }
.resa-info-bar { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; background: var(--white); border: 2px solid rgba(75,174,232,0.25); border-radius: 10px; padding: 1.25rem 2rem; margin-bottom: 2.5rem; box-shadow: 0 2px 20px var(--shadow); }
.resa-info-item { display: flex; align-items: center; gap: 0.75rem; }
.resa-info-icon { font-size: 1.4rem; }
.resa-info-item strong { display: block; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); font-weight: 800; }
.resa-info-item span { font-size: 0.9rem; color: var(--text-light); }
.resa-info-sep { color: var(--sky); font-size: 0.6rem; opacity: 0.5; }
.resa-form-section { background: var(--white); border: 2px solid rgba(75,174,232,0.15); border-radius: 10px; padding: 1.75rem 2rem; margin-bottom: 1.25rem; box-shadow: 0 2px 16px var(--shadow); }
.resa-form-title { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 1.25rem; font-weight: 800; padding-bottom: 0.75rem; border-bottom: 2px solid rgba(75,174,232,0.2); }
.form-notice { font-size: 0.82rem; color: var(--text-light); font-style: italic; margin-bottom: 1rem; line-height: 1.6; }
.btn-send { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.btn-icon { font-size: 1.1rem; transition: transform 0.2s; }
.btn-send:hover .btn-icon { transform: translateX(4px); }
.resa-closed-notice { text-align: center; padding: 4rem 2rem; max-width: 500px; margin: 0 auto; }
.closed-notice-icon { font-size: 3rem; margin-bottom: 1rem; }
.resa-closed-notice h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--green); margin-bottom: 1rem; }
.resa-closed-notice p { color: var(--text-light); font-style: italic; line-height: 1.8; }

/* RESPONSIVE */
@media (max-width: 768px) { .header-nav { display: none; } .header-title { font-size: 0.9rem; } .form-row { grid-template-columns: 1fr; } .menu-content { padding: 2rem 1.5rem; } .hero-section { padding: 7rem 1.5rem 3rem; } }
@media (max-width: 480px) { .horaires-card { padding: 1rem 1.2rem; } .reservation-section { padding: 4rem 1rem; } }

/* PWA BANNER */
#pwa-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--white); border-top: 3px solid var(--sky); box-shadow: 0 -4px 30px rgba(75,174,232,0.2); animation: slideUp 0.4s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.pwa-banner-inner { max-width: 700px; margin: 0 auto; display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.25rem; }
.pwa-banner-logo { height: 44px; width: 44px; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
.pwa-banner-text { flex: 1; min-width: 0; }
.pwa-banner-text strong { display: block; font-size: 0.85rem; font-weight: 800; color: var(--green); margin-bottom: 0.1rem; }
.pwa-banner-text span { font-size: 0.78rem; color: var(--text-light); line-height: 1.4; }
.pwa-banner-btn { background: var(--green); color: var(--white); border: none; padding: 0.55rem 1.1rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; cursor: pointer; border-radius: 8px; white-space: nowrap; flex-shrink: 0; transition: background 0.2s; }
.pwa-banner-btn:hover { background: var(--green-dark); }
.pwa-banner-close { background: none; border: none; color: var(--text-light); font-size: 1.1rem; cursor: pointer; padding: 0.3rem; flex-shrink: 0; transition: color 0.2s; }
.pwa-banner-close:hover { color: var(--black); }
@media (max-width: 480px) { .pwa-banner-inner { gap: 0.6rem; padding: 0.75rem 1rem; } .pwa-banner-logo { height: 36px; width: 36px; } .pwa-banner-btn { padding: 0.45rem 0.8rem; font-size: 0.72rem; } }

/* FOOTER LINKS */
.footer-private-link { display: inline-block; margin-top: 0.75rem; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.12); text-decoration: none; transition: color 0.3s; }
.footer-private-link:hover { color: var(--yellow); }
.footer-technika { font-size: 0.6rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.12); margin-top: 0.3rem; text-transform: uppercase; transition: color 0.3s; }
.footer-technika:hover { color: rgba(255,255,255,0.3); }

/* DISABLED STATES */
.btn-reserve-disabled { display: inline-block; background: #90A4AE; color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 1rem 2.5rem; border-radius: 10px; cursor: not-allowed; box-shadow: none; opacity: 0.7; }
.resa-disabled-msg { margin-top: 0.6rem; font-style: italic; font-size: 0.88rem; color: var(--text-light); opacity: 0.8; }
.nav-reserve-disabled { background: #90A4AE !important; color: rgba(255,255,255,0.5) !important; padding: 0.45rem 1.1rem; border-radius: 8px; letter-spacing: 0.1em; font-size: 0.8rem; text-transform: uppercase; cursor: not-allowed; opacity: 0.7; }

/* MENU GALLERY */
.menu-gallery { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; width: 100%; max-width: 680px; margin: 0 auto; }
.menu-photo { width: 100%; max-width: 640px; border-radius: 8px; box-shadow: 0 4px 24px rgba(0,0,0,0.4); cursor: zoom-in; transition: transform 0.2s, box-shadow 0.2s; display: block; }
.menu-photo:hover { transform: scale(1.01); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.menu-pdf-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(75,174,232,0.12); border: 2px solid rgba(75,174,232,0.4); color: var(--sky-deep); padding: 0.9rem 2rem; border-radius: 8px; text-decoration: none; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; transition: background 0.2s, color 0.2s; }
.menu-pdf-btn:hover { background: var(--sky); color: #fff; }

/* GALERIE */
.galerie-section { padding: 5rem 1.5rem; background: var(--cream-light); }
.galerie-content { max-width: 1100px; margin: 0 auto; text-align: center; }
.galerie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; text-align: left; }
.galerie-item { position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; box-shadow: 0 3px 16px var(--shadow); transition: transform 0.25s, box-shadow 0.25s; aspect-ratio: 4/3; }
.galerie-item:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,80,50,0.25); }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.galerie-item:hover img { transform: scale(1.04); }
.galerie-titre { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(13,42,26,0.85)); color: #fff; font-size: 0.9rem; font-weight: 700; padding: 1.5rem 1rem 0.7rem; font-style: italic; }
@media (max-width: 600px) { .galerie-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } .galerie-section { padding: 3rem 1rem; } }

/* SOCIAL */
.footer-social { display: flex; gap: 0.75rem; justify-content: center; margin: 0.75rem 0 0.25rem; }
.social-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); text-decoration: none; transition: all 0.25s; }
.social-btn:hover { transform: translateY(-2px); border-color: var(--yellow); color: var(--yellow); }
