/* ============================================
   Le Montgeoffroy — design tokens
   ============================================ */
:root {
  --navy: #1A2B6D;
  --navy-deep: #131F52;
  --ivory: #FDFAF6;
  --anthracite: #3E3E3E;
  --anthracite-deep: #2A2A2A;
  --gold: #C8A75E;
  --gold-light: #DCC088;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Shadows Into Light', cursive;

  --container: 1180px;
  --radius: 4px;
  --shadow-soft: 0 20px 50px -20px rgba(19, 31, 82, 0.35);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--anthracite);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--navy-deep);
  padding: 10px 16px; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 .8em;
}
.eyebrow-dark { color: var(--navy); }
.eyebrow-white { color: var(--ivory); }
.eyebrow-script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.6rem;
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: 0;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(253, 250, 246, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 24px rgba(19,31,82,.08);
  padding: 12px 0;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-icon { width: 40px; height: 40px; transition: width .35s var(--ease), height .35s var(--ease); }
.site-header.scrolled .brand-icon { width: 32px; height: 32px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: .01em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: .02em;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.site-header.scrolled .primary-nav a { color: var(--navy); }
.primary-nav a:hover { border-bottom-color: var(--gold); }
.primary-nav a.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 8px 16px !important;
}
.primary-nav a.nav-cta:hover { background: var(--gold); color: var(--navy-deep) !important; border-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ivory);
  transition: background .3s;
}
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19,31,82,.55) 0%, rgba(26,43,109,.72) 55%, rgba(19,31,82,.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 780px;
  animation: rise 1s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--gold);
  margin: 0 0 .15em;
  line-height: 1.05;
}
.hero-tagline {
  color: var(--ivory);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto 2em;
  opacity: .92;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(200,167,94,.5); }
.btn-outline {
  border: 1px solid var(--ivory);
  color: var(--ivory);
}
.btn-outline:hover { background: var(--ivory); color: var(--navy-deep); transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  width: 44px; height: 44px;
  border: 1px solid rgba(200,167,94,.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ============================================
   Sections shared
   ============================================ */
section { padding: clamp(64px, 10vw, 120px) 24px; }
.container-inner { max-width: var(--container); margin: 0 auto; }

/* ============================================
   Info / Horaires
   ============================================ */
.info-section { background: var(--ivory); }
.info-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.info-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
}
.info-block { margin-bottom: 2.2em; }
.info-block h3 {
  font-size: 1.1rem;
  color: var(--anthracite);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: .6em;
}
.hours-list {
  list-style: none;
  margin: 0 0 .8em;
  padding: 0;
  max-width: 340px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(62,62,62,.2);
  font-size: 1.02rem;
}
.hours-list li span:first-child { font-weight: 600; }
.hours-list li span:last-child { color: var(--navy); font-weight: 600; }
.hours-note { font-weight: 400; font-size: .74rem; color: var(--anthracite); opacity: .65; display: block; text-transform: none; letter-spacing: 0; }
.reserve-note {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.3rem;
  margin: .4em 0 0;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow:hover { gap: 12px; color: var(--gold); }

.info-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--white);
  outline: 1px solid rgba(200,167,94,.35);
}
.info-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; }

/* ============================================
   Menu / Pizzas — signature section
   ============================================ */
.menu-section {
  background: var(--anthracite);
  color: var(--ivory);
  position: relative;
}
.menu-header {
  max-width: var(--container);
  margin: 0 auto 48px;
  text-align: center;
}
.menu-header h2 {
  color: var(--ivory);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: .1em;
}
.menu-intro {
  color: rgba(253,250,246,.65);
  max-width: 480px;
  margin: 0 auto;
  font-size: .95rem;
}

.menu-list {
  max-width: var(--container);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}
.menu-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(253,250,246,.12);
}
.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.menu-item-head h3 {
  font-size: 1.15rem;
  color: var(--ivory);
  white-space: nowrap;
  margin: 0;
}
.menu-item-head::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted rgba(200,167,94,.45);
  transform: translateY(-4px);
}
.menu-price {
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
}
.menu-desc {
  margin: 6px 0 0;
  font-size: .86rem;
  color: rgba(253,250,246,.6);
  font-style: italic;
}

.menu-note {
  max-width: var(--container);
  margin: 40px auto 0;
  text-align: center;
  border: 1px solid rgba(200,167,94,.4);
  border-radius: var(--radius);
  padding: 16px 24px;
  color: var(--gold-light);
  font-size: .9rem;
}
.menu-note p { margin: 0; }
.menu-note strong { color: var(--gold); }

/* ============================================
   Contact
   ============================================ */
.contact-section { background: var(--navy); color: var(--ivory); }
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}
.contact-section .eyebrow { color: var(--gold-light); }
.contact-section h2 { color: var(--ivory); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.contact-name { font-weight: 700; font-size: 1.1rem; margin-bottom: .2em; }
.contact-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .6em;
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.contact-phone:hover { border-color: var(--gold); }
.contact-address, .contact-hours { color: rgba(253,250,246,.8); font-size: .95rem; }

.contact-map {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(200,167,94,.3);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(253,250,246,.75);
  padding: 56px 24px 28px;
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(253,250,246,.12);
}
.footer-grid h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: .8em;
}
.footer-grid p { margin: 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-copy {
  max-width: var(--container);
  margin: 20px auto 0;
  font-size: .8rem;
  text-align: center;
  color: rgba(253,250,246,.45);
}

/* ============================================
   Reveal on scroll
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .info-grid, .contact-grid { grid-template-columns: 1fr; }
  .info-image { order: -1; }
  .menu-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a { color: var(--ivory) !important; font-size: 1.1rem; }
  .nav-cta { align-self: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; text-align: center; }
}
