/* ===================== Don Juan — Site vitrine ===================== */
:root {
  --bordeaux: #6d1626;
  --bordeaux-dark: #4a0f1a;
  --bordeaux-light: #8a2236;
  --gold: #c9a227;
  --gold-light: #e6c866;
  --cream: #faf6ee;
  --cream-dark: #f1e9d8;
  --dark: #241713;
  --text: #362924;
  --text-light: #6b5d56;
  --white: #ffffff;
  --radius: 14px;
  --header-h: 74px;
  --shadow: 0 20px 45px -20px rgba(36, 23, 19, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(36, 23, 19, 0.3);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); margin: 0 0 .5em; line-height: 1.15; color: var(--bordeaux-dark); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary { background: var(--bordeaux); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--bordeaux-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--bordeaux); }
.btn-gold { background: var(--gold); color: var(--bordeaux-dark); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled, .site-header.solid {
  background: rgba(250, 246, 238, .96);
  box-shadow: 0 4px 24px rgba(36,23,19,.12);
  padding: 10px 0;
  backdrop-filter: blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: 54px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.35rem; color: var(--white); }
.brand-text span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.site-header.is-scrolled .brand-text strong,
.site-header.solid .brand-text strong { color: var(--bordeaux-dark); }
.site-header.is-scrolled .brand-text span,
.site-header.solid .brand-text span { color: var(--bordeaux); }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: .92rem; font-weight: 500; letter-spacing: .04em; color: var(--white);
  position: relative; padding: 4px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.site-header.is-scrolled .main-nav a, .site-header.solid .main-nav a { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 22px; font-size: .85rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; }
.site-header.is-scrolled .nav-toggle, .site-header.solid .nav-toggle { color: var(--bordeaux); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(20,10,10,.55), rgba(20,10,10,.78)), var(--hero-img, none) center/cover no-repeat;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(20,10,10,.5) 100%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding: 140px 24px 80px; }
.hero-logo { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 26px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--white); margin-bottom: .3em; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p.lead { font-size: 1.15rem; color: #f1e6d8; max-width: 560px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-status {
  display: inline-flex; align-items: center; gap: 10px; font-size: .85rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #6fbf73; box-shadow: 0 0 0 4px rgba(111,191,115,.25); }
.hero-status.closed .dot { background: #d15b5b; box-shadow: 0 0 0 4px rgba(209,91,91,.25); }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--white); opacity: .8; font-size: 1.6rem;
  animation: bounce 2.2s infinite;
}
@keyframes bounce { 0%,100%{transform: translate(-50%,0);} 50%{transform: translate(-50%,8px);} }

/* ===== Sections ===== */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--text-light); font-size: 1.05rem; }
.bg-cream-dark { background: var(--cream-dark); }
.bg-dark { background: var(--dark); color: #eee6dc; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-bordeaux { background: linear-gradient(160deg, var(--bordeaux) 0%, var(--bordeaux-dark) 100%); color: #f4e9dd; }
.bg-bordeaux h2 { color: var(--white); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media::before {
  content: ''; position: absolute; top: -18px; left: -18px; width: 90px; height: 90px;
  border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); border-radius: 12px 0 0 0;
}
.about-text h2 { margin-bottom: .5em; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.about-fact { text-align: center; padding: 18px 8px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.about-fact strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--bordeaux); }
.about-fact span { font-size: .8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; }

/* ===== Featured dishes ===== */
.dish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dish-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dish-img { height: 220px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--cream-dark), var(--gold-light)); }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dish-card:hover .dish-img img { transform: scale(1.08); }
.dish-badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--bordeaux-dark);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.dish-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish-top h3 { font-size: 1.18rem; margin: 0; }
.dish-price { font-family: var(--serif); color: var(--bordeaux); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.dish-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.dish-desc { color: var(--text-light); font-size: .92rem; margin: 0; }

.center-cta { text-align: center; margin-top: 50px; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px;
}
.gallery-grid button {
  border-radius: var(--radius); overflow: hidden; position: relative; display: block;
  border: none; padding: 0; margin: 0; background: none; cursor: pointer; width: 100%; height: 100%;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid button:hover img { transform: scale(1.1); }
.gallery-grid button:nth-child(1) { grid-column: span 2; grid-row: span 2; }

/* ===== Lightbox (galerie en modal) ===== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(18, 10, 8, .92); align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 22px; right: 28px; background: rgba(255,255,255,.12); border: none; color: var(--white);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ===== Testimonials ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testi-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(230,200,102,.25);
  border-radius: var(--radius); padding: 30px 28px;
}
.testi-stars { color: var(--gold-light); font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 14px; }
.testi-text { font-style: italic; color: #ece1d3; margin-bottom: 18px; }
.testi-author { font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .82rem; color: var(--gold-light); }

/* ===== Infos / Contact ===== */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.infos-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px; }
.infos-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.hours-table td { padding: 9px 0; border-bottom: 1px dashed #e4d9c8; font-size: .95rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--bordeaux); }
.hours-table tr:last-child td { border-bottom: none; }
.contact-list { margin-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: .96rem; }
.contact-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--cream-dark);
  color: var(--bordeaux); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: none; width: 100%; height: 100%; min-height: 380px; }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--bordeaux); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: background .2s ease;
}
.social-row a:hover { background: var(--gold); color: var(--bordeaux-dark); }

/* ===== Menu page ===== */
.menu-hero {
  background: linear-gradient(160deg, var(--bordeaux) 0%, var(--bordeaux-dark) 100%);
  color: var(--white); padding: 160px 0 70px; text-align: center;
}
.menu-hero h1 { color: var(--white); }
.menu-nav-wrap { position: sticky; top: var(--header-h); z-index: 60; background: var(--cream); border-bottom: 1px solid var(--cream-dark); box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.menu-nav { display: flex; gap: 6px; overflow-x: auto; padding: 16px 24px; max-width: 1180px; margin: 0 auto; scrollbar-width: thin; }
.menu-nav a {
  flex-shrink: 0; padding: 9px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  color: var(--text); background: var(--cream-dark); white-space: nowrap; transition: all .2s ease;
}
.menu-nav a:hover, .menu-nav a.active { background: var(--bordeaux); color: var(--white); }

.menu-section { padding: 64px 0 20px; scroll-margin-top: calc(var(--header-h) + 70px); }
.menu-section h2 { font-size: 2rem; text-align: center; }
.menu-section .sub { text-align: center; color: var(--text-light); margin-bottom: 40px; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 50px; }
.menu-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dotted #ddd0ba; }
.menu-item-photo { width: 74px; height: 74px; border-radius: 10px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.menu-item-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.menu-item-top h4 { font-size: 1.05rem; margin: 0; color: var(--text); font-family: var(--sans); font-weight: 600; }
.menu-item-price { font-family: var(--serif); color: var(--bordeaux); font-weight: 700; white-space: nowrap; }
.menu-item-desc { color: var(--text-light); font-size: .88rem; margin: 3px 0 0; }
.menu-item .dish-badge { position: static; display: inline-block; margin-bottom: 4px; }
.menu-empty { text-align: center; color: var(--text-light); padding: 60px 0; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #cbb; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 54px; height: 54px; border-radius: 50%; }
.footer-brand strong { font-family: var(--serif); font-size: 1.3rem; color: var(--white); }
.site-footer h4 { color: var(--gold-light); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.site-footer p, .site-footer li { color: #b7a99f; font-size: .92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #8a7d75; }
.footer-bottom a { color: #a99; }

/* ===== Contact form (contact.php) ===== */
.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd0ba; border-radius: 10px; font-family: var(--sans); font-size: .95rem; background: var(--cream);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--bordeaux); }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: #e4f3e6; color: #276b34; }
.alert-error { background: #fbe4e4; color: #9a2a2a; }
.honeypot { position: absolute; left: -9999px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav, .header-actions .btn-outline-nav { display: none; }
  .nav-toggle { display: block; }
  .about-grid, .infos-grid { grid-template-columns: 1fr; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .menu-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dish-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; background: var(--bordeaux-dark); z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform: translateY(-100%); transition: transform .35s ease;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a { color: var(--white); font-size: 1.3rem; font-family: var(--serif); }
.mobile-nav-close { position: absolute; top: 24px; right: 28px; font-size: 2rem; background: none; border: none; color: var(--white); cursor: pointer; }


@media (max-width: 768px){
  .telouuu{
    position: fixed;
    top: 92vh;
    right: 15px;
  }
}