/* ═══════════════════════════════════════════
   LA PERGOLA — restaurant.css
═══════════════════════════════════════════ */

/* ─── Header transparent sur restaurant.html ── */
.header-solid {
  background: transparent;
}
.nav-link-active {
  color: var(--white) !important;
  border-bottom: 2px solid var(--red);
  padding-bottom: calc(.5rem - 2px);
}

/* ─── Hero restaurant (nouveau) ──────────── */
.rp-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rp-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.rp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
}
.rp-hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.rp-hero-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}
.rp-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--white);
  line-height: 1;
}

/* ─── Hero restaurant (ancien, conservé) ── */
.resto-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.resto-hero-bg { position: absolute; inset: 0; }
.resto-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.resto-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.7) 100%); }
.resto-hero-content { position: relative; z-index: 2; color: var(--white); }
.resto-hero-title { font-family: var(--font-serif); font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 700; line-height: 1.1; color: var(--white); margin-top: .75rem; }
.resto-hero-title em { font-style: italic; color: rgba(255,255,255,.75); }

/* ─── Intro ──────────────────────────────── */
.resto-intro {
  background: var(--white);
}
.resto-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.resto-intro-divider {
  width: 56px;
  height: 4px;
  background: var(--yellow);
  margin: 0 auto 2.5rem;
}
.resto-intro-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}

/* ─── Chef ───────────────────────────────── */
.chef-section {
  background: var(--off-white);
}
.chef-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.chef-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--red);
  line-height: 1.15;
  margin-bottom: 1.75rem;
}
.chef-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.chef-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--black);
}
.chef-philosophy {
  font-style: italic;
  color: var(--gray-700) !important;
  padding-left: 1rem;
  border-left: 3px solid var(--yellow);
  font-size: .95rem !important;
}
.chef-quote-mark {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--yellow);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: .15rem;
}
.chef-photo-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}
.chef-photo-frame img {
  width: 100%;
  height: 100%;
  transition: transform .6s var(--ease-out);
}
.chef-photo-frame:hover img { transform: scale(1.04); }
.chef-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.8);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: .75rem;
}

/* ─── Réservez votre table — photo CTA ───── */
.resa-cta-banner {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.resa-cta-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.resa-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .52);
}
.resa-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.resa-cta-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.resa-cta-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--white);
  line-height: 1.1;
}

@media (max-width: 768px) {
  .resa-cta-banner { min-height: 300px; }
  .resa-cta-title { font-size: 1.6rem; }
}

/* ─── Menus / Accordéon ──────────────────── */
.menus-section {
  background: var(--white);
}
.accordion {
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 2.5rem;
}
.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background .15s;
}
.accordion-trigger:hover .accordion-title { color: var(--red-dark); }
.accordion-trigger[aria-expanded="true"] .accordion-title { color: var(--red); }

.accordion-title {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: .02em;
  transition: color .2s;
}
.accordion-arrow {
  flex-shrink: 0;
  color: var(--red);
  transition: transform .35s var(--ease-out);
  display: flex;
}
.accordion-trigger[aria-expanded="true"] .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.accordion-body[hidden] { display: none; }
.accordion-body.animating { display: block; }

.accordion-content {
  padding: 0 0 2rem;
  background: var(--gray-100);
  padding: 1.75rem 2rem 2rem;
  margin-bottom: 0;
}
.menu-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.75rem;
}
.menu-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.menu-highlight-item {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.menu-highlight-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  min-width: 100px;
  flex-shrink: 0;
}
.menu-highlight-ex {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.6;
}
.btn-menu { margin-top: .5rem; }

/* ─── CTA Réserver ───────────────────────── */
.resto-cta-section {
  background: var(--navy);
}
.resto-cta-section .section-eyebrow { color: rgba(255,255,255,.4); }
.resto-cta-section .section-title { color: var(--white); }
.resto-cta-section .section-title em { color: rgba(255,255,255,.6); }
.resto-cta-section .section-body { color: rgba(255,255,255,.65); }

.resto-cta-inner { max-width: 640px; }
.resto-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.resto-cta-section .btn-outline {
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.resto-cta-section .btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}
.resto-cta-hours {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ─── Carte complète dans l'accordéon ────── */
.menu-full {
  background: #f9f8f6;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-cat-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 2rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--red);
}
.menu-cat-title:first-child { margin-top: 0; }

.menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.menu-row:last-of-type { border-bottom: none; }

.menu-row-left {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
}

.menu-dish {
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
}

.menu-desc-inline {
  font-size: .82rem;
  font-style: italic;
  color: var(--gray-400);
  line-height: 1.5;
}

.menu-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-legal {
  margin-top: 2rem;
  font-size: .75rem;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.7;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.08);
}

@media (max-width: 480px) {
  .menu-full { padding: 1.25rem 1rem; }
  .menu-row { flex-direction: column; gap: .25rem; align-items: flex-start; }
  .menu-price { align-self: flex-end; }
}

/* ─── Grille 2×2 "Nos Créations" ─────────── */
.rp-creations-section {
  background: var(--white);
}
.rp-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.rp-grid-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.rp-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.rp-grid-item:hover img { transform: scale(1.05); }

/* ─── Bannière Signature plein écran ─────── */
.rp-signature-banner {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rp-sig-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
}
.rp-sig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.15);
}
.rp-sig-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.rp-sig-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.rp-sig-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: .08em;
}
.rp-sig-sub {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,.75);
}

/* ─── Galerie 2 colonnes ─────────────────── */
.rp-gallery-section {
  background: var(--off-white);
  padding: 3rem 0;
}
.rp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.rp-gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.rp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.rp-gallery-item:hover img { transform: scale(1.05); }

/* ─── Galerie hover overlay ──────────────── */
.plat-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.plat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(230, 57, 70, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.plat-item:hover .plat-overlay,
.plat-item.tapped .plat-overlay { opacity: 1; }
.plat-content {
  color: #fff;
  text-align: center;
  padding: 20px;
}
.plat-content h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.plat-content p { display: none; }

/* ─── CTA Réservation variantes ──────────── */
.resa-cta-tall { min-height: 300px; }
.resa-cta-overlay-light { background: rgba(0,0,0,.20) !important; }
.resa-cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.80);
  line-height: 1.7;
  text-align: center;
}

/* ─── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .chef-layout {
    grid-template-columns: 1fr;
  }
  .chef-photo { order: -1; }
  .chef-photo-frame { aspect-ratio: 4/3; }
  .resto-cta-actions { flex-direction: column; }
  .accordion-content { padding: 1.25rem 1rem 1.5rem; }
  .menu-highlight-item { flex-direction: column; gap: .25rem; }
  .menu-highlight-cat { min-width: auto; }
  .rp-grid-2x2 { grid-template-columns: 1fr; }
  .rp-gallery-grid { grid-template-columns: 1fr 1fr; }
  .rp-signature-banner { height: 250px; }
}

/* ════════════════════════════════════════════
   CORRECTIONS RESPONSIVE MOBILE — restaurant
════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Hero */
  .rp-hero {
    height: 260px;
  }

  /* Intro chef */
  .rp-intro-section {
    padding: 2.5rem 1.25rem;
    text-align: center;
  }
  .rp-chef-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .rp-chef-img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
  }
  .rp-chef-text {
    text-align: center;
  }

  /* Accordéon menus */
  .menus-section {
    padding: 2rem 1.25rem;
  }
  .accordion-trigger {
    padding: 1rem 0;
  }
  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 0;
  }
  .menu-col {
    padding: 0 0 1.5rem;
  }

  /* Plat signature */
  .rp-sig-section {
    padding: 0;
  }
  .rp-sig-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: center 85%;
  }

  /* Galerie plats */
  .rp-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: .75rem;
  }
  .plat-item {
    aspect-ratio: 4/3;
  }

  /* Réservation CTA */
  .resa-cta-banner {
    min-height: 220px;
    padding: 2rem 1.25rem;
    text-align: center;
  }
  .resa-cta-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .rp-hero { height: 200px; }
  .rp-gallery-grid { gap: .5rem; }
  .plat-item { aspect-ratio: 3/2; }
}
