/* =============================================================
   AU P'TIT POULET — STYLE.CSS
   Warm editorial magazine style — Premium Quebec restaurant
   Mobile-first: 375px → 768px → 1100px
   ============================================================= */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --cream:       #EDE8E0;
  --cream-dark:  #E4DDD3;
  --white:       #FFFFFF;
  --brown:       #2C1810;
  --red:         #9B2C2C;
  --red-light:   #B83232;
  --gold:        #C9A84C;
  --gray-text:   #6B5B4E;
  --border:      #D4CFC8;

  --radius-card: 16px;
  --radius-btn:  8px;
  --radius-pill: 999px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Utilities ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--gray-text);
  background: transparent;
  transition: background 0.2s;
}
.tag:hover { background: var(--cream); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  text-align: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--red {
  background: var(--red);
  color: var(--white);
  border: none;
}
.btn--red:hover { background: #7A2020; }

.btn--outline {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--brown); }

/* ─── Fade-in animation ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================= */
/* NAVBAR                                                        */
/* ============================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 20px;
  max-width: 1240px;
  margin: 0 auto;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
}

.navbar__name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
}

.navbar__since {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Desktop nav (hidden on mobile) */
.navbar__nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text);
  transition: color 0.2s;
}
.navbar__link:hover { color: var(--brown); }

/* Language toggle */
.navbar__lang {
  display: flex;
  gap: 4px;
}

.navbar__lang-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: var(--gray-text);
  transition: background 0.2s, color 0.2s;
}
.navbar__lang-btn--active {
  background: var(--red);
  color: var(--white);
}

.navbar__cta {
  font-size: 14px !important;
  padding: 10px 20px !important;
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.navbar__mobile.open { display: flex; }

.navbar__mobile-link {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.navbar__mobile-link:last-child { border-bottom: none; }
.navbar__mobile-link:hover { background: var(--cream); }

.navbar__mobile-cta {
  color: var(--red);
  font-weight: 600;
}

/* ============================================================= */
/* HERO                                                          */
/* ============================================================= */
.hero {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

/* Image card — desktop order: right column */
.hero__image {
  display: flex;
  justify-content: center;
  order: -1; /* shows above text on mobile */
}

.hero__card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  display: inline-block;
  box-shadow: 0 8px 40px rgba(44, 24, 16, 0.10);
}

.hero__card-logo {
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Text content */
.hero__content {
  display: flex;
  flex-direction: column;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  background: var(--white);
  margin-bottom: 28px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  align-self: flex-start;
}

.hero__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

/* Stats row */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--red);
  line-height: 1;
}

.hero__stat-number--gold { color: var(--gold); }

.hero__stat-label {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-text);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  align-self: center;
  display: none; /* shown on desktop */
}

/* ============================================================= */
/* HISTOIRE                                                      */
/* ============================================================= */
.histoire {
  background: var(--white);
  padding: 60px 20px;
}

.histoire__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.histoire__img-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: visible;
  aspect-ratio: 4 / 3;
}

.histoire__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

.histoire__badge {
  position: absolute;
  bottom: -20px;
  right: -12px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(155, 44, 44, 0.4);
}

.histoire__badge-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.histoire__badge-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  line-height: 1;
}

.histoire__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 24px;
}

.histoire__p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.histoire__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* ============================================================= */
/* MENU                                                          */
/* ============================================================= */
.menu {
  background: var(--cream);
  padding: 60px 20px;
}

.menu__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.menu__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.1;
}

.menu__subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 48px;
}

.menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  text-align: left;
}

/* Menu card */
.menu-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.06);
}

.menu-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 24px;
}

.menu-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--brown);
}

.menu-card__tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.menu-card__body { }

.menu-card__subsection {
  font-style: italic;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 16px;
  margin-bottom: 8px;
}

.menu-card__banner {
  background: #FFF5F5;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: var(--red);
}

/* Menu items */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.menu-item--last,
.menu-item:last-child { border-bottom: none; }

.menu-item__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-item__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
}

.menu-item__desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-text);
}

.menu-item__price {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu__disclaimer {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 32px;
  text-align: center;
}

/* ============================================================= */
/* GALERIE                                                       */
/* ============================================================= */
.galerie {
  background: var(--white);
  padding: 60px 20px;
}

.galerie__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.galerie__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.galerie__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--brown);
}

.galerie__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* Mobile: single column */
.galerie__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.galerie__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
  transition: transform 0.3s ease;
}
.galerie__img:hover { transform: scale(1.02); }

.galerie__item { overflow: hidden; border-radius: var(--radius-card); }

.galerie__item--1 { aspect-ratio: 16 / 9; }
.galerie__item--2 { aspect-ratio: 4 / 3; }
.galerie__item--3 { aspect-ratio: 4 / 3; }
.galerie__item--4 { aspect-ratio: 16 / 9; }

/* ============================================================= */
/* AVIS                                                          */
/* ============================================================= */
.avis {
  background: var(--cream);
  padding: 60px 20px;
}

.avis__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.avis__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  color: var(--brown);
  margin-bottom: 40px;
  line-height: 1.1;
}

.avis__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

/* Review card */
.review-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(44, 24, 16, 0.06);
}

.review-card__stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
}

.review-card__star-empty {
  color: var(--border);
}

.review-card__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
}

.review-card__role {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-text);
}

/* ============================================================= */
/* CONTACT                                                       */
/* ============================================================= */
.contact {
  background: var(--white);
  padding: 60px 20px;
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--brown);
  margin-bottom: 40px;
  line-height: 1.2;
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact__block-text { }

.contact__block-text--full { flex: 1; }

.contact__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact__value {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.5;
}

.contact__phone {
  color: var(--red);
  font-weight: 600;
}
.contact__phone:hover { text-decoration: underline; }

/* Hours table */
.hours-table {
  margin-top: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--brown);
}
.hours-row:last-child { border-bottom: none; }

.hours-closed { color: var(--red); }

.hours-row.today {
  font-weight: 700;
  color: var(--red);
}
.hours-row.today span { color: var(--red); }

/* Open/closed badge */
.hours-badge {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  margin-top: 16px;
}

.hours-badge.is-open {
  background: #F0FDF4;
  color: #166534;
}

.hours-badge.is-closed {
  background: #FFF5F5;
  color: var(--red);
}

.contact__map iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius-card);
}

/* ============================================================= */
/* CTA BANNER                                                    */
/* ============================================================= */
.cta-banner {
  background: var(--red);
  padding: 48px 20px;
}

.cta-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-banner__desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-banner__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
}

.cta-banner__card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 36px;
  text-align: center;
}

.cta-banner__card-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.cta-banner__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--red);
  text-decoration: none;
}
.cta-banner__number:hover { text-decoration: underline; }

/* ============================================================= */
/* FOOTER                                                        */
/* ============================================================= */
.footer {
  background: var(--cream);
  padding: 40px 20px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--brown);
}

.footer__address {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-text);
}

.footer__right {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-text);
}

/* ============================================================= */
/* RESPONSIVE — TABLET 768px+                                    */
/* ============================================================= */
@media (min-width: 768px) {

  /* Navbar */
  .navbar__inner { padding: 0 40px; }
  .navbar__hamburger { display: none; }
  .navbar__mobile { display: none !important; }
  .navbar__nav { display: flex; }

  /* Hero */
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 80px;
    padding: 80px 40px;
  }

  .hero__content { flex: 1; order: 1; }
  .hero__image   { flex: 1; order: 2; justify-content: center; }
  .hero__card    { padding: 40px; }
  .hero__card-logo { width: 240px; }

  .hero__title { font-size: 56px; }

  .hero__stat-divider { display: block; }

  /* Histoire */
  .histoire { padding: 100px 40px; }
  .histoire__inner {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
  .histoire__image-col { flex: 1; }
  .histoire__text-col  { flex: 1; }
  .histoire__title { font-size: 42px; }
  .histoire__badge { width: 100px; height: 100px; }
  .histoire__badge-year { font-size: 28px; }

  /* Menu */
  .menu { padding: 100px 40px; }
  .menu__title { font-size: 52px; }
  .menu__grid { grid-template-columns: 1fr 1fr; }

  /* Galerie */
  .galerie { padding: 100px 40px; }
  .galerie__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .galerie__title { font-size: 42px; }
  .galerie__desc  { max-width: 280px; text-align: right; }

  /* Desktop masonry grid */
  .galerie__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
  }

  .galerie__item--1 {
    grid-column: 1 / 8;
    grid-row: 1;
    aspect-ratio: 16 / 9;
  }
  .galerie__item--2 {
    grid-column: 8 / 13;
    grid-row: 1;
    aspect-ratio: 1 / 1;
  }
  .galerie__item--3 {
    grid-column: 1 / 6;
    grid-row: 2;
    aspect-ratio: 1 / 1;
  }
  .galerie__item--4 {
    grid-column: 6 / 13;
    grid-row: 2;
    aspect-ratio: 16 / 9;
  }

  /* Avis */
  .avis { padding: 100px 40px; }
  .avis__title { font-size: 52px; }
  .avis__grid { flex-direction: row; }
  .review-card { flex: 1; }

  /* Contact */
  .contact { padding: 100px 40px; }
  .contact__title { font-size: 42px; }
  .contact__grid {
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
  }
  .contact__info { flex: 1; }
  .contact__map  { flex: 1; }
  .contact__map iframe { min-height: 380px; }

  /* CTA Banner */
  .cta-banner { padding: 80px 40px; }
  .cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cta-banner__left { flex: 1; }
  .cta-banner__title { font-size: 42px; }

  /* Footer */
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer__left {
    flex-direction: row;
    align-items: center;
  }
}

/* ============================================================= */
/* RESPONSIVE — DESKTOP 1100px+                                  */
/* ============================================================= */
@media (min-width: 1100px) {
  .hero__title { font-size: 64px; }
}
