/* ═══════════════════════════════════════════════════════════════════
   DA PASSANO — Brasserie Étoilée Corse
   Design: Dark luxury meets Mediterranean warmth
   ═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --noir: #0a0a0a;
  --noir-chaud: #141210;
  --pierre: #2a2520;
  --terre: #3d332a;
  --sable: #c4a882;
  --or: #d4a853;
  --or-clair: #e8c980;
  --blanc: #f5f0ea;
  --blanc-pur: #faf8f5;
  --olive: #6b7c4a;
  --mer: #4a7c8c;
  --rouille: #a65d3f;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, sans-serif;
  --ff-accent: 'Cormorant Garamond', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ff-body); background: var(--noir); color: var(--blanc); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── NAV ──────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: all 0.5s;
}
nav.scrolled { background: rgba(10,10,10,0.95); backdrop-filter: blur(20px); padding: 0.8rem 3rem; box-shadow: 0 1px 0 rgba(212,168,83,0.1); }
.nav-logo { height: 45px; opacity: 0.9; transition: opacity 0.3s; }
.nav-logo:hover { opacity: 1; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,234,0.7);
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--or); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--or); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-reserve {
  font-size: 0.7rem !important;
  letter-spacing: 0.2em !important;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--or);
  color: var(--or) !important;
  transition: all 0.3s !important;
}
.nav-reserve:hover { background: var(--or); color: var(--noir) !important; }
.nav-reserve::after { display: none !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--blanc); transition: all 0.3s; }

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-video-wrap iframe,
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: 177.78vh; height: 100vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.1) 60%, rgba(10,10,10,0.7) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--or);
  border: 1px solid rgba(212,168,83,0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(212,168,83,0.05);
}
.hero-badge .star { font-size: 0.6rem; }
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blanc-pur);
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--or); }
.hero-sub {
  font-family: var(--ff-accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(245,240,234,0.7);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  font-style: italic;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(245,240,234,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: pulse 2s ease-in-out infinite;
}
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--or), transparent); }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ─── PAGE HERO (smaller) ──────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero .hero-bg { filter: brightness(0.3) saturate(0.7); }
.page-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.8) 100%);
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--or); color: var(--noir);
  font-family: var(--ff-body);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 1rem 2.5rem; border: none; cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-primary:hover { background: var(--or-clair); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,168,83,0.3); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--blanc);
  font-family: var(--ff-body);
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(245,240,234,0.3); cursor: pointer;
  transition: all 0.4s;
}
.btn-outline:hover { border-color: var(--or); color: var(--or); }

/* ─── SECTIONS ─────────────────────────────────────────────────── */
section { padding: 8rem 2rem; }
.section-dark { background: var(--noir-chaud); }
.section-pierre { background: var(--pierre); }
.section-warm { background: linear-gradient(180deg, var(--noir-chaud), #1a1510); }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-tag {
  font-family: var(--ff-body);
  font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.section-tag::before, .section-tag::after { content: ''; width: 40px; height: 1px; background: rgba(212,168,83,0.3); }
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400;
  line-height: 1.15; color: var(--blanc-pur); margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--or); }
.section-intro {
  font-family: var(--ff-accent);
  font-size: 1.15rem; font-weight: 300;
  color: rgba(245,240,234,0.6);
  max-width: 650px; margin: 0 auto; line-height: 1.8; font-style: italic;
}

/* ─── PHILOSOPHIE ──────────────────────────────────────────────── */
.philo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; max-width: 1100px; margin: 0 auto; }
.philo-card {
  text-align: center; padding: 3rem 2rem;
  border: 1px solid rgba(212,168,83,0.1);
  transition: all 0.5s;
}
.philo-card:hover { border-color: rgba(212,168,83,0.3); transform: translateY(-5px); }
.philo-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.philo-card h3 { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 400; color: var(--blanc-pur); margin-bottom: 1rem; }
.philo-card p { font-family: var(--ff-accent); font-size: 0.95rem; color: rgba(245,240,234,0.55); line-height: 1.7; font-style: italic; }

/* ─── CARTE ────────────────────────────────────────────────────── */
.carte-container { max-width: 1000px; margin: 0 auto; }
.carte-category { margin-bottom: 4rem; }
.carte-cat-header {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 2rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(212,168,83,0.15);
}
.carte-cat-number { font-family: var(--ff-display); font-size: 3rem; font-weight: 400; color: rgba(212,168,83,0.2); line-height: 1; }
.carte-cat-title { font-family: var(--ff-accent); font-size: 1.4rem; font-weight: 400; color: var(--or); font-style: italic; }
.carte-cat-sub { font-size: 0.75rem; color: rgba(245,240,234,0.35); letter-spacing: 0.1em; margin-left: auto; }
.carte-items { display: flex; flex-direction: column; gap: 0.8rem; }
.carte-item {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(245,240,234,0.04);
  transition: all 0.3s;
}
.carte-item:hover { padding-left: 0.5rem; border-bottom-color: rgba(212,168,83,0.1); }
.carte-item-name { font-family: var(--ff-body); font-size: 0.95rem; font-weight: 500; color: var(--blanc-pur); }
.carte-item-desc { font-family: var(--ff-accent); font-size: 0.85rem; color: rgba(245,240,234,0.4); font-style: italic; margin-top: 0.2rem; }
.carte-item-price { font-family: var(--ff-display); font-size: 1.1rem; color: var(--or); white-space: nowrap; align-self: center; }

/* ─── GALERIE MOSAIQUE ─────────────────────────────────────────── */
.gallery-mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px; gap: 8px; max-width: 1400px; margin: 0 auto;
}
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s;
  filter: brightness(0.85) saturate(0.9);
}
.gallery-item:hover img { transform: scale(1.08); filter: brightness(1) saturate(1.1); }
.gallery-item-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(10,10,10,0.8), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .gallery-item-caption { opacity: 1; }
.gallery-item-caption span { font-family: var(--ff-accent); font-size: 0.9rem; color: var(--blanc); font-style: italic; }
.g-wide { grid-column: span 7; grid-row: span 2; }
.g-tall { grid-column: span 5; grid-row: span 2; }
.g-square { grid-column: span 4; grid-row: span 1; }
.g-rect { grid-column: span 4; grid-row: span 1; }

/* ─── SPLIT ──────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; overflow: hidden; }
.split-img { position: relative; overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) saturate(0.9); }
.split-content { display: flex; flex-direction: column; justify-content: center; padding: 5rem; }
.split-content .section-tag { justify-content: flex-start; }
.split-content .section-title { text-align: left; }
.split-content p { font-family: var(--ff-accent); font-size: 1.1rem; color: rgba(245,240,234,0.6); line-height: 1.9; font-style: italic; margin-bottom: 2rem; }
.split-detail { display: flex; gap: 3rem; margin-top: 1rem; }
.split-detail-item .num { font-family: var(--ff-display); font-size: 2.5rem; font-weight: 400; color: var(--or); line-height: 1; }
.split-detail-item .label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,240,234,0.4); margin-top: 0.3rem; }

/* ─── FONDATEUR ────────────────────────────────────────────────── */
.fondateur-content { max-width: 800px; margin: 0 auto; text-align: center; }
.fondateur-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; font-style: italic;
  color: var(--blanc-pur); line-height: 1.5; margin-bottom: 2rem;
  position: relative;
}
.fondateur-quote::before {
  content: '\201C'; font-size: 6rem; color: rgba(212,168,83,0.2);
  position: absolute; top: -2rem; left: -1rem; font-family: var(--ff-display); line-height: 1;
}
.fondateur-sig { font-family: var(--ff-accent); font-size: 1rem; color: var(--or); font-style: italic; }
.fondateur-role { font-size: 0.7rem; color: rgba(245,240,234,0.4); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.3rem; }

/* ─── INFOS GRID ───────────────────────────────────────────────── */
.infos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.info-card { text-align: center; padding: 2.5rem 1.5rem; background: rgba(245,240,234,0.02); border: 1px solid rgba(245,240,234,0.06); transition: all 0.4s; }
.info-card:hover { border-color: rgba(212,168,83,0.2); background: rgba(212,168,83,0.03); }
.info-card .ic-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.info-card h4 { font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--or); margin-bottom: 0.8rem; }
.info-card p { font-family: var(--ff-accent); font-size: 1rem; color: rgba(245,240,234,0.7); line-height: 1.7; font-style: italic; }
.info-card a { color: var(--or); border-bottom: 1px solid rgba(212,168,83,0.3); transition: border-color 0.3s; }
.info-card a:hover { border-color: var(--or); }

/* ─── CTA RESERVE ──────────────────────────────────────────────── */
.cta-reserve { text-align: center; padding: 7rem 2rem; background: linear-gradient(180deg, var(--noir-chaud), var(--noir)); position: relative; }
.cta-reserve::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, transparent, var(--or), transparent); opacity: 0.3; }
.cta-reserve .section-title { margin-bottom: 1rem; }
.cta-reserve p { font-family: var(--ff-accent); font-size: 1.1rem; color: rgba(245,240,234,0.5); font-style: italic; margin-bottom: 2.5rem; }

/* ─── FOOTER ───────────────────────────────────────────────────── */
footer { padding: 4rem 3rem 2rem; border-top: 1px solid rgba(245,240,234,0.06); background: var(--noir); }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 1300px; margin: 0 auto 3rem; }
.footer-brand { padding-right: 2rem; }
.footer-brand p { font-family: var(--ff-accent); font-size: 1.05rem; color: rgba(245,240,234,0.5); font-style: italic; line-height: 1.85; }
.footer-col h5 { font-family: var(--ff-body); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--or); margin-bottom: 1.2rem; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(245,240,234,0.5); margin-bottom: 0.6rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--or); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(245,240,234,0.06); max-width: 1200px; margin: 0 auto; }
.footer-bottom p { font-size: 0.7rem; color: rgba(245,240,234,0.25); letter-spacing: 0.05em; }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { font-size: 0.7rem; color: rgba(245,240,234,0.4); letter-spacing: 0.15em; text-transform: uppercase; transition: color 0.3s; }
.footer-social a:hover { color: var(--or); }


/* ─── ANIMATIONS ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .philo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .split { grid-template-columns: 1fr; }
  .split-content { padding: 3rem 2rem; }
  .split-img { height: 400px; }
  .infos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; }
  .g-wide { grid-column: span 6; } .g-tall { grid-column: span 6; }
  .g-square { grid-column: span 3; } .g-rect { grid-column: span 3; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.98); padding: 2rem; gap: 1.5rem;
    backdrop-filter: blur(20px);
  }
  section { padding: 5rem 1.5rem; }
  .page-hero { height: 40vh; min-height: 300px; }
  .split { grid-template-columns: 1fr; }
  .split-img { height: 300px; }
  .split-content { padding: 3rem 1.5rem; }
  .split-detail { flex-direction: column; gap: 1.5rem; }
  .philo-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .philo-card { padding: 2rem 1.5rem; }
  .infos-grid { grid-template-columns: 1fr; }
  .carte-cat-header { flex-wrap: wrap; }
  .carte-cat-sub { margin-left: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { padding-right: 0; }
  .footer-brand p { font-size: 0.95rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-wide, .g-tall, .g-square, .g-rect { grid-column: span 1; grid-row: span 1; }
  .g-wide { grid-column: span 2; }
  .fondateur-quote { font-size: 1.3rem !important; }
}
