/* ================================================
   LES SAVEURS DE TATAOUINE — STYLES PARTAGÉS
   ================================================ */

:root {
  --terracotta: #C1440E;
  --terracotta-dark: #9A360B;
  --terracotta-light: rgba(193,68,14,0.1);
  --sand: #E8C07D;
  --sand-light: #FAF6F0;
  --night: #1A1108;
  --cream: #FAF6F0;
  --gold: #D4A44C;
  --gold-light: #E8C47A;
  --blue: #2C5F7E;
  --olive: #6B7F3A;
  --text-muted: #7A6A50;
  --border: rgba(212,164,76,0.18);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
  --r: 3px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--cream); color: var(--night); overflow-x: hidden; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ---- NAVIGATION ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,17,8,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,164,76,0.12);
  transition: background .3s;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 68px; display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 38px; width: 38px; object-fit: contain; border-radius: 50%; background: rgba(212,164,76,.1); }
.nav-logo-text { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--gold); line-height: 1.2; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; margin-left: auto; }
.nav-links a {
  display: block; padding: .35rem .8rem;
  color: rgba(245,237,216,.7); text-decoration: none;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  transition: color .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: .55rem; margin-left: 1rem; flex-shrink: 0; }
.btn-reserver {
  display: inline-flex; align-items: center; gap: .35rem;
  color: rgba(232,192,125,.9) !important; border: 1px solid rgba(232,192,125,.3);
  padding: .4rem .9rem; border-radius: var(--r);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; font-weight: 500; white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-reserver:hover { border-color: var(--gold); color: var(--gold) !important; background: rgba(212,164,76,.06); }
.btn-uber-nav {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--terracotta); color: #fff !important;
  padding: .4rem .9rem; border-radius: var(--r);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; font-weight: 500; white-space: nowrap;
  transition: background .2s;
}
.btn-uber-nav:hover { background: var(--terracotta-dark); }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto; cursor: pointer;
  background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(245,237,216,.8); transition: transform .3s, opacity .3s; border-radius: 2px; }
.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); }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(26,17,8,.98); border-bottom: 1px solid rgba(212,164,76,.12);
  z-index: 999; padding: 1.5rem 2rem 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul li { border-bottom: 1px solid rgba(212,164,76,.08); }
.mobile-menu ul li a { display: block; padding: .85rem 0; color: rgba(245,237,216,.75); text-decoration: none; font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; }
.mobile-cta { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.2rem; }
.mobile-cta .btn-reserver, .mobile-cta .btn-uber-nav { justify-content: center; padding: .75rem 1rem; }

/* ---- PAGE HERO (sous-pages) ---- */
.page-hero {
  height: 340px; display: flex; align-items: flex-end; padding-bottom: 2.5rem;
  position: relative; overflow: hidden; margin-top: 68px;
}
.page-hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; filter: brightness(.38); }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,17,8,.88) 0%, rgba(26,17,8,.15) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; width: 100%; padding: 0 2rem; }
.page-hero-eyebrow { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.page-hero-title { font-family: var(--font-serif); font-size: clamp(2rem,5vw,3.2rem); color: var(--sand-light); font-weight: 600; line-height: 1.1; }
.page-hero-title em { font-style: italic; color: var(--gold-light); }

/* ---- SECTIONS COMMUNES ---- */
section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .6rem; font-weight: 500; display: block; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.8rem,3.5vw,2.7rem); font-weight: 600; line-height: 1.15; margin-bottom: .8rem; }
.section-lead { font-size: .97rem; line-height: 1.8; color: var(--text-muted); max-width: 560px; }
.divider { width: 44px; height: 2px; background: var(--gold); margin: 1.2rem 0; }

/* ---- BOUTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--r);
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; font-weight: 500; border: none; font-family: var(--font-sans);
  transition: background .2s, transform .15s, border-color .2s; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-dark { background: var(--night); color: var(--sand-light); }
.btn-dark:hover { background: #2d1e0a; }
.btn-outline-dark { background: transparent; color: var(--sand-light); border: 1px solid rgba(245,237,216,.3); }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ---- RÉVÉLATION AU SCROLL ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-22px); transition: opacity .7s ease, transform .7s ease; }
.reveal-l.visible { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal-r.visible { opacity: 1; transform: none; }

/* ---- FOOTER ---- */
.footer { background: var(--night); color: rgba(245,237,216,.45); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(212,164,76,.09); margin-bottom: 1.8rem; }
.footer-brand-logo { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); margin-bottom: .3rem; }
.footer-brand-tagline { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,237,216,.28); margin-bottom: 1rem; }
.footer-brand-desc { font-size: .82rem; line-height: 1.7; color: rgba(245,237,216,.32); max-width: 270px; }
.footer-col-title { font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; font-weight: 500; }
.footer-links-list { display: flex; flex-direction: column; gap: .45rem; }
.footer-links-list a { color: rgba(245,237,216,.38); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links-list a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: .5rem; font-size: .8rem; color: rgba(245,237,216,.38); margin-bottom: .45rem; line-height: 1.5; }
.footer-contact-item a { color: rgba(245,237,216,.38); text-decoration: none; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .68rem; color: rgba(245,237,216,.18); }
.footer-social { display: flex; gap: .7rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid rgba(212,164,76,.15); border-radius: 50%; color: rgba(245,237,216,.38); text-decoration: none; transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  section { padding: 3.5rem 1.25rem; }
  .page-hero { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .header-inner { padding: 0 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
