/* ===== VARIABLES ===== */
:root {
  --or:         #C9943A;
  --or-clair:   #F0C96B;
  --terracotta: #B85C38;
  --ocre:       #8B5E3C;
  --creme:      #FDF6EC;
  --sombre:     #2C1A0E;
  --texte:      #2C1A0E;
  --sombre-card:#3a2210;
  --muted:      #B8A090;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

/* ===== BODY ===== */
body {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--texte);
  background: #fff;
  margin: 0;
}
body.page-plats {
  background-color: var(--sombre);
  color: var(--creme);
  min-height: 100vh;
}

/* ===== NAVBAR ===== */
.sh-navbar { background: var(--sombre); border-bottom: 3px solid var(--or); }
.sh-navbar .navbar-brand { color: var(--or-clair) !important; font-size: 1.4rem; font-weight: bold; letter-spacing: 1px; }
.sh-logo { height: 48px; width: auto; border-radius: 4px; display: block; }
.sh-navbar .nav-link { color: #E8D5B5 !important; font-size: 1.05rem; padding: .6rem 1rem !important; transition: color .2s; }
.sh-navbar .nav-link:hover { color: var(--or-clair) !important; }
.sh-navbar .nav-link.active { color: #ffffff !important; }
.sh-navbar .navbar-toggler { border-color: var(--or); }
.sh-navbar .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23F0C96B' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ===== HERO ===== */
.sh-hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.sh-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.45); }
.sh-hero-content { position: relative; z-index: 2; padding: 80px 0 60px; width: 100%; }
.sh-hero h1 { color: var(--or-clair); font-size: 3rem; font-weight: bold; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.sh-hero p { color: #E8D5B5; font-size: 1.15rem; line-height: 1.8; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.sh-hero .badge-tag { background: rgba(201,148,58,.25); color: var(--or-clair); border: 1px solid var(--or); font-size: .75rem; padding: .35rem .9rem; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase; font-style: normal; white-space: nowrap; display: inline-block; }
@media (max-width: 480px) { .sh-hero .badge-tag { font-size: .68rem; padding: .3rem .6rem; letter-spacing: 0; } }
.hero-marche { display: inline-block; background: rgba(201,148,58,.18); border: 1.5px solid var(--or); border-radius: 10px; padding: .7rem 1.6rem; color: var(--or-clair); font-size: 1.15rem; line-height: 1.7; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.hero-marche strong { color: #fff; font-weight: 700; }
.hero-marche span { font-size: 1rem; color: #E8D5B5; font-style: italic; }
@media (max-width: 576px) { .hero-marche { font-size: 1rem; padding: .6rem 1rem; } }

/* ===== TITRES ===== */
.sh-section-title { font-size: 2rem; font-weight: bold; color: var(--sombre); }
.sh-subtitle { font-size: .85rem; text-transform: uppercase; letter-spacing: 3px; color: #5a3010; font-weight: 700; }
.sh-intro-text { color: #6B4F3A; font-style: italic; font-size: 1.1rem; line-height: 1.9; max-width: 780px; margin: 0 auto; }
.sh-ornement { color: var(--or); font-size: 1.6rem; letter-spacing: 6px; }

/* ===== SÉPARATEUR PILULE ===== */
.sh-sep { display: flex; align-items: center; gap: 14px; margin: 40px 0 30px; }
.sh-sep span { background: var(--or); color: var(--sombre); font-size: .82rem; font-weight: bold; text-transform: uppercase; letter-spacing: 3px; padding: 7px 22px; border-radius: 30px; white-space: nowrap; }
.sh-sep::before, .sh-sep::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--or-clair), transparent); }

/* ===== CARTES PLATS ===== */
.sh-card { border: none; border-top: 4px solid var(--or); box-shadow: 0 3px 14px rgba(139,94,60,.12); border-radius: 10px; height: 100%; transition: transform .2s, box-shadow .2s; overflow: hidden; }
.sh-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(139,94,60,.22); }
.sh-card img { width: 100%; height: 190px; object-fit: cover; }
.sh-card .card-body { padding: 1.2rem; }
.sh-card .card-emoji { font-size: 2rem; text-align: center; margin-bottom: .4rem; }
.sh-card .card-title { color: var(--terracotta); font-size: 1rem; font-weight: bold; text-align: center; }
.sh-card .card-text { color: #6B4F3A; font-size: .95rem; line-height: 1.7; text-align: center; }

/* ===== PHOTO BAND ===== */
.sh-photo-band { position: relative; height: 320px; overflow: hidden; }
.sh-photo-band img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.sh-photo-band-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1rem; }
.sh-photo-band-text h2 { color: var(--or-clair); font-size: 2rem; font-weight: bold; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.sh-photo-band-text p { color: #E8D5B5; font-size: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); max-width: 600px; }

/* ===== GALERIE ===== */
.sh-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-radius: 10px; overflow: hidden; }
.sh-gallery img { width: 100%; height: 200px; object-fit: cover; transition: transform .3s; }
.sh-gallery img:hover { transform: scale(1.04); }
@media (max-width: 576px) { .sh-gallery { grid-template-columns: repeat(2, 1fr); } .sh-gallery img { height: 140px; } }

/* ===== CARTE ÉVÉNEMENT ===== */
.sh-event-card { border: none; border-left: 5px solid var(--or); box-shadow: 0 3px 14px rgba(139,94,60,.1); border-radius: 0 10px 10px 0; height: 100%; overflow: hidden; }
.sh-event-card img { width: 100%; height: 180px; object-fit: cover; }
.sh-event-card .card-title { color: var(--terracotta); font-size: 1.1rem; }
.sh-event-card ul { color: #6B4F3A; font-size: .95rem; line-height: 2; padding-left: 1.2rem; }

/* ===== BANDEAU CTA ===== */
.sh-bandeau { background: linear-gradient(135deg, var(--sombre), #4A2C1A); border: 2px solid var(--or); border-radius: 12px; padding: 3rem 2rem; }
.sh-bandeau h2 { color: var(--or-clair); font-size: 1.6rem; }
.sh-bandeau p { color: #E8D5B5; font-size: 1rem; line-height: 1.8; }
.btn-or { background: var(--or); color: var(--sombre); font-weight: bold; border: none; padding: .8rem 2rem; border-radius: 6px; font-size: 1rem; transition: background .2s; text-decoration: none; display: inline-block; }
.btn-or:hover { background: var(--or-clair); color: var(--sombre); }
.btn-terracotta { background: var(--terracotta); color: #fff; font-weight: bold; border: none; padding: .8rem 2rem; border-radius: 6px; font-size: 1rem; transition: background .2s; }
.btn-terracotta:hover { background: var(--ocre); color: #fff; }

/* ===== AVIS ===== */
.sh-avis { background: var(--creme); border-left: 4px solid var(--or-clair); border-radius: 8px; padding: 1.3rem; height: 100%; }
.sh-avis p { color: #5A3E2B; font-size: .95rem; line-height: 1.8; font-style: italic; margin-bottom: .5rem; }
.sh-avis-auteur { color: var(--or); font-size: .82rem; font-weight: bold; font-style: normal; }
.sh-etoiles { color: var(--or); font-size: 1rem; }

/* ===== ZONE TAGS ===== */
.sh-zone-tag { background: var(--creme); border: 1px solid var(--or); color: var(--sombre); padding: .4rem 1rem; border-radius: 20px; font-size: .95rem; display: inline-block; margin: .25rem; }

/* ===== VALEURS ===== */
.sh-valeur { background: var(--creme); border-top: 3px solid var(--or); border-radius: 10px; padding: 1.5rem 1rem; text-align: center; height: 100%; }
.sh-valeur-emoji { font-size: 2rem; display: block; margin-bottom: .5rem; }
.sh-valeur h5 { color: var(--terracotta); font-size: .95rem; font-weight: bold; }
.sh-valeur p { color: #6B4F3A; font-size: .95rem; line-height: 1.6; margin: 0; }

/* ===== CITATION ===== */
.sh-quote { background: linear-gradient(135deg, var(--sombre), #4A2C1A); border: 1px solid var(--or); border-radius: 10px; padding: 2rem 1.5rem; height: 100%; display: flex; align-items: center; }
.sh-quote p { color: var(--or-clair); font-size: 1rem; font-style: italic; line-height: 1.8; margin: 0; text-align: center; }

/* ===== HORAIRES & COORDONNÉES ===== */
.sh-horaires { background: var(--creme); border: 1px solid #E8D5B5; border-radius: 8px; padding: 1.2rem 1.4rem; }
.sh-horaires h5 { color: var(--sombre); font-size: .95rem; margin-bottom: .8rem; }
.sh-horaires ul { list-style: none; padding: 0; margin: 0; }
.sh-horaires li { font-size: .88rem; color: #6B4F3A; padding: .4rem 0; border-bottom: 1px solid #E8D5B5; }
.sh-horaires li:last-child { border-bottom: none; }
.sh-coords-box { background: var(--creme); border: 1px solid #E8D5B5; border-radius: 10px; padding: 1.4rem; }
.sh-coords-box a { color: var(--terracotta); font-weight: bold; text-decoration: none; }

/* ===== FORMULAIRE ===== */
.sh-form { border: none; border-top: 4px solid var(--or); box-shadow: 0 3px 14px rgba(139,94,60,.1); border-radius: 10px; }
.sh-form .card-title { color: var(--terracotta); }
.form-control:focus, .form-select:focus { border-color: var(--or); box-shadow: 0 0 0 .2rem rgba(201,148,58,.2); }

/* ===== MAP NOTE ===== */
.sh-map-note { background: var(--creme); border-left: 4px solid var(--or); border-radius: 4px; padding: .9rem 1rem; font-size: .88rem; color: #6B4F3A; }

/* ===== PHOTO RONDE ===== */
.sh-photo-round { width: 100%; border-radius: 12px; object-fit: cover; box-shadow: 0 4px 20px rgba(139,94,60,.2); }

/* ===== FOOTER ===== */
.sh-footer { background: var(--sombre); border-top: 3px solid var(--or); padding: 3rem 0 1.5rem; }
.sh-footer h5 { color: var(--or-clair); font-size: 1rem; margin-bottom: 1rem; }
.sh-footer p, .sh-footer li { color: #B8A090; font-size: .95rem; line-height: 1.9; }
.sh-footer a { color: #B8A090; text-decoration: none; transition: color .2s; }
.sh-footer a:hover { color: var(--or-clair); }
.sh-footer .footer-brand { color: var(--or-clair); font-size: 1.3rem; font-weight: bold; }
.sh-footer .footer-sep { border-color: #4A3020; }
.sh-footer .footer-copy { color: #7A6050; font-size: .82rem; }
/* Footer variante plats */
.sh-footer .footer-heading { color: var(--or); font-size: 0.88rem; font-weight: bold; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 0.75rem; border-bottom: 1px solid rgba(201,148,58,.25); padding-bottom: 0.4rem; }
.sh-footer address { font-style: normal; font-size: 0.92rem; line-height: 1.75; }
.sh-footer hr { border-color: rgba(201,148,58,.25); margin: 1.5rem 0 1rem; }
.sh-footer .footer-copy-plats { color: #6B4F3A; font-size: 0.78rem; text-align: center; }
.sh-footer .zones { font-size: 0.8rem; color: var(--muted); margin-top: 0.4rem; }

/* ===== PAGE PLATS — ORNEMENT & PHOTO BAND ===== */
body.page-plats .sh-ornement { font-size: 1.2rem; letter-spacing: 14px; display: block; margin: 0.9rem 0; user-select: none; }
body.page-plats .sh-photo-band { height: 280px; }
body.page-plats .sh-photo-band img { filter: brightness(.55); }
body.page-plats .sh-photo-band-text h2 { font-size: 2.2rem; }
body.page-plats .sh-photo-band-text p { font-style: italic; margin: 0; }

/* ===== PAGE PLATS — SÉPARATEUR ===== */
body.page-plats .sh-sep { gap: 1rem; margin: 2.8rem 0 1.5rem; }
body.page-plats .sh-sep::before,
body.page-plats .sh-sep::after { height: 1px; background: linear-gradient(90deg, transparent, var(--or), transparent); }
body.page-plats .sh-sep span { font-size: 0.76rem; padding: 0.35rem 1.3rem; border-radius: 20px; }

/* ===== MENU CARDS (page plats) ===== */
.menu-card { background-color: var(--sombre-card); border: none !important; border-top: 4px solid var(--or) !important; border-radius: 10px !important; box-shadow: 0 4px 24px rgba(0,0,0,.45); height: 100%; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.55); }
.menu-card .card-header { background-color: rgba(201,148,58,.08) !important; border-bottom: 1px solid rgba(201,148,58,.25) !important; padding: 0.9rem 1.2rem 0.75rem; border-radius: 0 !important; }
.menu-card .card-title { color: var(--or-clair); font-size: 1.05rem; font-weight: bold; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 0; }
.cat-icon { margin-right: 0.4rem; }
.cat-icon-img { width: 28px; height: 28px; object-fit: contain; vertical-align: middle; margin-right: 0.4rem; }
.menu-card .card-body { padding: 1rem 1.25rem 1.25rem; }

/* ===== LIGNES DE PLATS ===== */
.dish-item { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px dotted rgba(201,148,58,.18); }
.dish-item:last-of-type { border-bottom: none; }
.dish-name { color: var(--creme); font-size: 1rem; flex: 1; min-width: 0; }
.dish-desc { color: var(--muted); font-size: 0.85rem; font-style: italic; display: block; margin-top: 0.1rem; }
.dish-price { color: var(--or-clair); font-weight: bold; font-size: 1rem; white-space: nowrap; flex-shrink: 0; }
.dish-note { color: var(--terracotta); font-size: 0.75rem; font-style: italic; margin-left: 0.3rem; }
.menu-intro { color: var(--muted); font-size: 0.88rem; font-style: italic; background: rgba(201,148,58,.06); border-left: 3px solid rgba(201,148,58,.4); padding: 0.5rem 0.8rem; border-radius: 0 6px 6px 0; margin-bottom: 1rem; }
.supplement-note { background-color: rgba(201,148,58,.07); border-left: 3px solid var(--or); padding: 0.45rem 0.9rem; border-radius: 0 6px 6px 0; margin-top: 1rem; color: #E8D5B5; font-size: 0.88rem; }

/* ===== CTA PLATS ===== */
.sh-cta { background: linear-gradient(135deg, #4a2c10 0%, var(--sombre) 100%); border-top: 3px solid var(--or); border-bottom: 3px solid var(--or); padding: 3.5rem 1.5rem; text-align: center; }
.sh-cta h2 { color: var(--or-clair); font-size: clamp(1.5rem, 4vw, 2.2rem); letter-spacing: 2px; margin-bottom: 0.75rem; }
.sh-cta p { color: #E8D5B5; font-size: 1rem; }
body.page-plats .btn-or { font-family: 'EB Garamond', 'Garamond', Georgia, serif; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; }
body.page-plats .btn-or:hover { transform: translateY(-2px); }
.sh-navbar .btn-or { letter-spacing: 0; text-transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
  .sh-hero h1 { font-size: 2rem; }
  .sh-bandeau h2 { font-size: 1.3rem; }
  .btn-or, .btn-terracotta { display: block; width: 100%; text-align: center; }
  .sh-photo-band { height: 220px; }
  .sh-photo-band-text h2 { font-size: 1.4rem; }
  body.page-plats .sh-photo-band { height: 220px; }
  body.page-plats .sh-photo-band-text h2 { font-size: 1.4rem; }
}
@media (max-width: 575.98px) {
  .sh-sep span { letter-spacing: 1px; white-space: normal; text-align: center; padding: 6px 14px; }
  .sh-hero .badge-tag { white-space: normal; letter-spacing: 0; }
  .sh-bandeau { padding: 2rem 1rem; }
  .sh-ornement { letter-spacing: 6px; }
}
@media (min-width: 992px) { html { font-size: 18px; } }

/* ===== REVEAL ANIMATIONS — Intersection Observer natif ===== */
[data-reveal] {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
}
[data-reveal="fade-up"]    { transform: translateY(28px); }
[data-reveal="fade-left"]  { transform: translateX(-28px); }
[data-reveal="fade-right"] { transform: translateX(28px); }
[data-reveal="fade"]       { transform: none; }
[data-reveal].is-visible   { opacity: 1; transform: none; }
