/* ==========================================================================
   REGALITO — SECTIONS DE LA PAGE
   ========================================================================== */

/* Rythme vertical commun à toutes les grandes sections */
.pillars,
.featured,
.menu-section,
.occasions,
.story,
.reviews,
.faq,
.contact {
  padding-block: var(--section-y);
  position: relative;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(4rem, 9vw, 8rem);
  background:
    radial-gradient(ellipse 90% 70% at 22% -10%, #3d2a1d 0%, transparent 62%),
    linear-gradient(175deg, var(--ink-800) 0%, var(--ink-900) 100%);
  overflow: hidden;
}

/* Grille légère en filigrane, estompée sur les bords */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 236, 221, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 236, 221, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 25%, #000 20%, transparent 78%);
  pointer-events: none;
}

/* Halo doré derrière la photo */
.hero-glow {
  position: absolute;
  top: 12%;
  right: -8%;
  width: min(680px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 143, 66, 0.2) 0%, transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero-title {
  font-size: var(--fs-5xl);
  line-height: 0.98;
  margin-bottom: var(--space-5);
}

.hero-line {
  display: block;
}

.hero-line--accent {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-400);
}

.hero-lede {
  font-size: var(--fs-lg);
  color: var(--text-on-dark-soft);
  max-width: 48ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-7);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.9rem;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(246, 236, 221, 0.12);
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-on-dark-soft);
}

.hero-proof svg {
  width: 19px;
  height: 19px;
  color: var(--gold-400);
  flex: none;
}

/* --- Visuel --------------------------------------------------------------- */
.hero-visual {
  position: relative;
}

/* Cadre à ratio fixe : la photo peut être remplacée sans casser la grille */
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Voile discret pour garantir le contraste des pastilles, quelle que
   soit la photo utilisée. */
.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(18, 13, 9, 0.4) 100%);
  pointer-events: none;
}

/* Fin liseré doré */
.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid rgba(236, 214, 172, 0.28);
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(253, 250, 245, 0.94);
  color: var(--ink-900);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.hero-chip strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--berry-600);
}

.hero-chip span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 18, 12, 0.6);
  max-width: 13ch;
  line-height: 1.35;
}

.hero-chip--a {
  top: 8%;
  left: -6%;
  animation: float-soft 6s ease-in-out infinite;
}

.hero-chip--b {
  bottom: 9%;
  right: -5%;
  animation: float-soft 6s ease-in-out infinite 3s;
}

/* --- Indicateur de défilement --------------------------------------------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(246, 236, 221, 0.32);
  border-radius: var(--r-pill);
  display: grid;
  place-items: start center;
  padding-top: 7px;
}

.scroll-cue span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold-400);
  animation: scroll-dot 1.9s var(--ease) infinite;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-frame {
    aspect-ratio: 5 / 4;
  }

  .hero-chip--a {
    left: -2%;
  }

  .hero-chip--b {
    right: -2%;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-chip {
    padding: 0.6rem 0.85rem;
  }

  .hero-chip strong {
    font-size: 1.3rem;
  }

  .hero-chip span {
    font-size: 10px;
  }
}

/* ==========================================================================
   BANDEAU DÉFILANT
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding-block: 1.15rem;
  background: var(--gold-500);
  color: var(--ink-900);
  border-block: 1px solid rgba(18, 13, 9, 0.12);
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-right: 1.6rem;
  flex: none;
}

.marquee-group span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.marquee-group i {
  font-style: normal;
  font-size: 0.7rem;
  opacity: 0.5;
}

/* ==========================================================================
   PILIERS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.pillar svg {
  width: 30px;
  height: 30px;
  color: var(--gold-600);
  margin-bottom: var(--space-4);
}

.pillar h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: var(--fs-base);
  color: var(--fg-soft);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ==========================================================================
   SIGNATURE — le pot qui se remplit
   ========================================================================== */
/* --- Le pot --------------------------------------------------------------- */
/* Sur mobile, l'effet « collant » est abandonné : la section redevient
   un bloc normal et le pot se remplit à l'entrée dans l'écran. */
@media (max-width: 900px) {
        }

/* ==========================================================================
   LES INCONTOURNABLES
   ========================================================================== */
.featured {
  padding-bottom: calc(var(--section-y) - 1rem);
}

/* ==========================================================================
   SOUS-NAVIGATION DE LA CARTE
   ========================================================================== */
.menu-nav {
  position: sticky;
  /* Se cale juste sous l'en-tête fixe, qui passe à 64 px au défilement */
  top: var(--header-h-scrolled);
  z-index: 50;
  background: color-mix(in srgb, var(--cream-50) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block: 1px solid var(--cream-300);
  transition: top var(--dur) var(--ease);
}

.menu-nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: var(--menu-nav-h);
  overflow-x: auto;
  scrollbar-width: none;
}

.menu-nav-inner::-webkit-scrollbar {
  display: none;
}

.menu-nav-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-on-light-faint);
  flex: none;
}

.menu-nav-links {
  display: flex;
  gap: 0.45rem;
}

.menu-nav-links a {
  padding: 0.45rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-on-light-soft);
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.menu-nav-links a:hover {
  background: var(--cream-200);
  color: var(--text-on-light);
}

.menu-nav-links a.is-current {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

@media (max-width: 600px) {
  .menu-nav-label {
    display: none;
  }
}

/* ==========================================================================
   OCCASIONS
   ========================================================================== */
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

.occasion-card {
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  transition: transform var(--dur-slow) var(--ease-out), border-color var(--dur) var(--ease);
}

.occasion-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--gold-500) 50%, transparent);
}

.occasion-card svg {
  width: 32px;
  height: 32px;
  color: var(--gold-400);
  margin-bottom: var(--space-4);
}

.on-light .occasion-card svg,
.on-alt .occasion-card svg {
  color: var(--gold-600);
}

.occasion-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}

.occasion-card p {
  font-size: var(--fs-base);
  color: var(--fg-soft);
  text-wrap: pretty;
}

.occasion-cta {
  text-align: center;
  margin-top: var(--space-8);
}

.occasion-cta-note {
  margin-top: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--fg-faint);
}

@media (max-width: 860px) {
  .occasion-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NOTRE HISTOIRE
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.story-visual {
  position: relative;
}

/* Même principe que le hero : cadre fixe, image interchangeable */
.story-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--ink-900);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
}

.story-badge svg {
  width: 26px;
  height: 26px;
  color: var(--gold-400);
  flex: none;
}

.story-badge span {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}

.story-copy p {
  color: var(--fg-soft);
  max-width: 52ch;
  margin-top: var(--space-4);
  text-wrap: pretty;
}

.story-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.story-stats dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-600);
}

.story-stats dd {
  margin: 0.35rem 0 0;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    max-width: 460px;
    width: 100%;
  }

  .story-badge {
    right: 12px;
  }
}

/* ==========================================================================
   AVIS CLIENTS
   ========================================================================== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.review-stars {
  display: flex;
  gap: 2px;
  color: var(--gold-500);
}

.review-stars svg {
  width: 16px;
  height: 16px;
}

.review-text {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-style: italic;
  line-height: 1.5;
  color: var(--fg);
  text-wrap: pretty;
}

.review-author {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--fg-soft);
}

.review-author span {
  font-weight: 400;
  color: var(--fg-faint);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-intro .btn {
  margin-top: var(--space-5);
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
  }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-form-wrap {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.info-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
}

.info-card h3 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-4);
}

.on-light .info-card h3,
.on-alt .info-card h3 {
  color: var(--gold-600);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-base);
  color: var(--fg-soft);
}

.info-list svg {
  width: 19px;
  height: 19px;
  color: var(--gold-400);
  flex: none;
}

.on-light .info-list svg,
.on-alt .info-list svg {
  color: var(--gold-600);
}

.info-list a {
  transition: color var(--dur) var(--ease);
}

.info-list a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-text {
  font-size: var(--fs-base);
  color: var(--fg-soft);
  margin-bottom: 0.85rem;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-base);
  color: var(--fg-soft);
}

.hours-list li.is-today {
  color: var(--fg);
  font-weight: 700;
}

.hours-list .hours-day {
  text-transform: capitalize;
}

.hours-list .hours-time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hours-list .is-closed {
  color: var(--fg-faint);
  font-style: italic;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.zone-list li {
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-soft);
}

.map-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--gold-500) 12%, transparent);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--fg);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}

.map-link svg {
  width: 19px;
  height: 19px;
  color: var(--gold-400);
  flex: none;
}

.on-light .map-link svg,
.on-alt .map-link svg {
  color: var(--gold-600);
}

.map-link-arrow {
  margin-left: auto;
  transition: transform var(--dur) var(--ease-out);
}

.map-link:hover {
  background: color-mix(in srgb, var(--gold-500) 20%, transparent);
}

.map-link:hover .map-link-arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PAGES SECONDAIRES (mentions légales, confidentialité, 404)
   ========================================================================== */
.page {
  padding-top: calc(var(--header-h) + var(--space-9));
  padding-bottom: var(--section-y);
  min-height: 70vh;
  background: var(--cream-100);
}

.page-inner {
  max-width: 76ch;
  margin-inline: auto;
}

.page h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-6);
}

.page h2 {
  font-size: var(--fs-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.page p,
.page li {
  color: var(--text-on-light-soft);
  margin-bottom: var(--space-3);
  text-wrap: pretty;
}

.page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: var(--space-4);
}

.page a:not(.btn) {
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page dl {
  margin: 0 0 var(--space-5);
}

.page dt {
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-light-faint);
  margin-top: var(--space-4);
}

.page dd {
  margin: 0.2rem 0 0;
  color: var(--text-on-light-soft);
}

.page-todo {
  display: flex;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  margin-bottom: var(--space-6);
  border-radius: var(--r-md);
  border: 1px dashed var(--berry-500);
  background: color-mix(in srgb, var(--berry-500) 8%, transparent);
  font-size: var(--fs-sm);
  color: var(--text-on-light-soft);
}

.page-todo svg {
  width: 20px;
  height: 20px;
  color: var(--berry-600);
  flex: none;
}

/* Page 404 */
.notfound {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 100dvh;
  padding: var(--space-9) var(--container-pad);
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  font-style: italic;
  font-weight: 600;
  line-height: 0.9;
  color: var(--gold-500);
}

.notfound h1 {
  font-size: var(--fs-3xl);
  margin-block: var(--space-5) var(--space-3);
}

.notfound p {
  color: var(--text-on-dark-soft);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
