/* ============================================================
   PIROUETTE — Maquette site
   Pantone 187 C (#C8102E) · Fond crème · Mobile First
   Animations : scroll reveal · parallaxe · claim mot/mot · ticker
============================================================ */

/* ============================================================
   ANIMATIONS GLOBALES
============================================================ */

/* -- Claim hero : chaque mot apparaît en glissant vers le haut -- */
.hero__claim {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gris);
  font-style: italic;
  letter-spacing: .03em;
  margin-bottom: .25rem;
  overflow: hidden;
}
.hero__claim .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: wordReveal .6s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* -- Logo hero : fondu + montée -- */
.hero__logo {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1);
}
.hero__logo--animate {
  opacity: 1;
  transform: translateY(0);
}

/* -- Sous-titre + CTA : fade in up décalé -- */
.hero__sub,
.hero__ctas {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}
.hero__sub.fade-in-up,
.hero__ctas.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* -- Scroll reveal : état initial -- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -- Hover cartes pizzas & producteurs -- */
.pizza-card   { transition: background .15s, transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s; }
.pizza-card:hover {
  background: var(--creme);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  z-index: 2; position: relative;
}

.prod-card { transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; }
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  z-index: 2; position: relative;
}

/* ============================================================
   TICKER — bande de patterns défilante
============================================================ */
.ticker {
  overflow: hidden;
  background: var(--rouge);
  padding: .85rem 0;
  white-space: nowrap;
  user-select: none;
}
.ticker__track {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker__track span {
  display: inline-block;
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255,255,255,.2);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
.ticker:hover .ticker__track { animation-play-state: paused; }

:root {
  --rouge:        #B3191B; /* Rouge Logo — R179 V25 B27 */
  --rouge-tomate: #CC1B25; /* Rouge Tomate / Accroche / Logo sur affiche — R204 V27 B37 */
  --creme:        #FFF1E1; /* Beige crème — R255 V241 B225 */
  --noir:   #1A1A1A;
  --gris:   #6B6B6B;
  --beige:  #E8E0D0;
  --font:   'Cormorant Garamond', Georgia, serif;
  --radius: 4px;
  --max-w:  1140px;
  --pad:    clamp(1.5rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font);
  background: var(--creme);
  color: var(--noir);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---- Boutons ---- */
.btn {
  display: inline-block;
  padding: .9rem 2.2rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-align: center;
}
.btn--primary  { background: var(--rouge); color: #fff; border-color: var(--rouge); }
.btn--primary:hover { background: #a50d25; border-color: #a50d25; }
.btn--secondary { background: transparent; color: var(--rouge); border-color: var(--rouge); }
.btn--secondary:hover { background: var(--rouge); color: #fff; }
.btn--nav { background: var(--rouge); color: #fff; padding: .6rem 1.4rem; font-size: .82rem; }
.btn--nav:hover { background: #a50d25; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--rouge); }
.btn--outline { background: transparent; color: var(--noir); border-color: var(--noir); }
.btn--outline:hover { background: var(--noir); color: var(--creme); }
.btn--white { background: #fff; color: var(--rouge); border-color: #fff; font-weight: 700; }
.btn--white:hover { background: var(--creme); }

/* ---- Titres ---- */
.section-title {
  font-family: var(--font);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--rouge);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-title--light { color: #fff; }
.section-sub  { font-size: 1.1rem; color: var(--gris); font-style: italic; margin-bottom: 3rem; }
.section-sub--light { color: rgba(255,255,255,.75); }
.section-header { margin-bottom: 3rem; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: .85rem clamp(1.5rem, 4vw, 3rem);
  background: var(--creme);
  border-bottom: 1px solid var(--beige);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.nav__logo { margin-right: auto; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; list-style: none; gap: 2rem; font-size: .92rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--rouge); }
.nav__burger { display: none; font-size: 1.4rem; background: none; border: none; cursor: pointer; padding: .25rem; }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 75px;
  overflow: hidden;
}

/* Pattern vivant — rangée défilante */
.hero__living-pattern {
  position: absolute; inset: 0;
  overflow: hidden;
  /* Fondu sur les bords gauche et droit — masque les jonctions */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

/* Une seule image, sans répétition → zéro jointure possible.
   background-size: 150% auto = image 1,5× plus large que le conteneur.
   L'animation déplace la position de 0% à 100% (soit 0,5× la largeur
   du conteneur), puis revient en arrière (alternate) sans saut. */
.pattern-track {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: 150% auto;
  background-position: 0% center;
  opacity: .55;
  animation: bgDrift var(--spd, 20s) ease-in-out infinite alternate;
}

@keyframes bgDrift {
  from { background-position: 0% center; }
  to   { background-position: 100% center; }
}

/* Overlay crème pour lisibilité */
.hero__overlay {
  position: absolute; inset: 0;
  background: rgba(247, 242, 232, 0.82);
  z-index: 1;
}

.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 2rem var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}

.hero__logo {
  width: min(640px, 88vw);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(200,16,46,0.12));
}

.hero__sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  letter-spacing: .02em;
}

.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll-hint {
  position: absolute; bottom: 2rem; z-index: 2;
  font-size: 1.5rem; color: var(--rouge);
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ============================================================
   CONCEPT
============================================================ */
.concept {
  padding: clamp(5rem, 12vw, 9rem) 0;
  text-align: center;
}
.concept__text {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 660px; margin: 0 auto 3rem;
  line-height: 1.9; color: var(--noir);
}
.concept__pillars { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.pillar {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: 1.75rem 2.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  min-width: 190px;
}
.pillar__icon  { font-size: 2rem; }
.pillar__label { font-size: .9rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: center; }

/* ============================================================
   AFFICHES N&B — bande pleine largeur
============================================================ */
.affiches { overflow: hidden; }
.affiches__strip {
  display: flex;
  height: clamp(260px, 40vw, 520px);
}
.affiche-item { flex: 1; overflow: hidden; }
.affiche-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.affiche-item:hover img { transform: scale(1.04); }

.affiche-item--text {
  flex: 0 0 clamp(180px, 25vw, 320px);
  background: var(--creme);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.affiche-item__quote {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--rouge);
  text-align: center;
  line-height: 1.3;
  font-style: italic;
}

/* ============================================================
   PRODUCTEURS
============================================================ */
.producteurs {
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: var(--noir);
}
.producteurs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
}
@media (max-width: 1100px) {
  .producteurs__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .producteurs__grid { grid-template-columns: repeat(2, 1fr); }
}
.prod-card { background: var(--noir); display: flex; flex-direction: column; overflow: hidden; }
/* Pattern produit sous la photo */
.prod-card__pattern {
  height: 80px;
  background-size: cover;
  background-position: center;
  opacity: .55;
  transition: opacity .3s;
  flex-shrink: 0;
}
.prod-card:hover .prod-card__pattern { opacity: .75; }
/* Photo grand format */
.prod-card__photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
}
.prod-card__portrait {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.prod-card:hover .prod-card__portrait { transform: scale(1.05); }

.prod-card__body { padding: 1rem 1.5rem 1.5rem; flex: 1; }
.prod-card__tag  { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin-bottom: .5rem; font-weight: 700; }
.prod-card__prenom { font-style: italic; color: rgba(255,255,255,.75); font-size: 1rem; font-weight: 400; display: block; margin-bottom: .1rem; }
.prod-card__name { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .6rem; line-height: 1.3; }
.prod-card__text { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; }
.producteurs__cta { text-align: center; }

/* ============================================================
   CARTE
============================================================ */
.carte { padding: clamp(5rem, 12vw, 9rem) 0; }
.carte__category { margin-bottom: 4.5rem; }
.carte__cat-title {
  font-size: 1.5rem; font-weight: 700;
  color: var(--noir);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--rouge);
  display: inline-block;
  margin-bottom: 1.5rem;
}
.carte__cat-intro { color: var(--gris); font-style: italic; margin-top: -.75rem; margin-bottom: 1.5rem; }

.carte__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--beige);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  overflow: hidden;
}
.pizza-card { background: #fff; padding: 1.25rem 1.5rem; transition: background .15s, transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s; }
.pizza-card:hover { background: var(--creme); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.08); z-index: 2; position: relative; }
.pizza-card--moment { background: var(--creme); }
.pizza-card--signature { background: var(--creme); border-left: 3px solid var(--rouge); }

/* Cartes avec photo */
.pizza-card--photo { padding: 0; display: flex; flex-direction: column; }
.pizza-card--photo .pizza-card__img {
  width: 100%; height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.pizza-card--photo:hover .pizza-card__img { transform: scale(1.04); }
.pizza-card--photo { overflow: hidden; }
.pizza-card__content { padding: 1.1rem 1.5rem 1.25rem; flex: 1; }

.pizza-card__header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .35rem; }
.pizza-card__name  { font-size: 1.1rem; font-weight: 700; color: var(--noir); }
.pizza-card__price { font-weight: 700; color: var(--rouge); white-space: nowrap; }
.pizza-card__ingr  { font-size: .92rem; color: var(--gris); line-height: 1.5; margin-bottom: .4rem; }
.pizza-card__ask   { font-style: italic; font-size: .88rem; color: var(--rouge); }

.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .65rem; border-radius: 20px; margin-top: .3rem; }
.badge--veg   { background: #e8f5e9; color: #2e7d32; }
.badge--vegan { background: #e0f2f1; color: #00695c; }

.formules__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: .5rem;
}
.formule-card { background: #fff; border: 1px solid var(--beige); border-radius: var(--radius); padding: 1.5rem; }
.formule-card__header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.formule-card__name  { font-size: 1.05rem; font-weight: 700; }
.formule-card__price { font-weight: 700; color: var(--rouge); }

.carte__note {
  text-align: center; font-style: italic; color: var(--gris);
  font-size: .95rem; max-width: 580px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid var(--beige); line-height: 1.8;
}

/* ============================================================
   RÉSERVER
============================================================ */
.reserver {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0;
  text-align: center;
  overflow: hidden;
}
.reserver__pattern {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .25;
}
.reserver__overlay { position: absolute; inset: 0; background: var(--rouge); opacity: .92; }
.reserver__inner { position: relative; z-index: 2; }
.reserver__widgets { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.widget-placeholder {
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  min-width: 260px;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.widget-placeholder__icon  { font-size: 2.5rem; }
.widget-placeholder__title { font-size: 1.3rem; font-weight: 700; color: #fff; }
.widget-placeholder__sub   { font-size: .82rem; color: rgba(255,255,255,.55); font-style: italic; }
.reserver__note { color: rgba(255,255,255,.7); font-size: .92rem; font-style: italic; }

/* ============================================================
   ÉVÉNEMENTS
============================================================ */
.evenements { padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; }
.evenements .concept__text { margin-bottom: 2rem; }

/* ============================================================
   INFOS
============================================================ */
.infos { padding: clamp(5rem, 12vw, 9rem) 0; background: var(--beige); }
.infos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 3rem; }
.infos__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rouge); font-weight: 700; margin-bottom: .75rem; }
.infos__value { font-size: 1.05rem; line-height: 1.85; }
.infos__value--link { text-decoration: underline; text-decoration-color: var(--rouge); text-underline-offset: 3px; }
.infos__value--link:hover { color: var(--rouge); }
.horaire { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--noir); color: rgba(255,255,255,.75); padding: 3.5rem 0 2rem; }
.footer__top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.footer__social { display: flex; gap: 1.5rem; }
.footer__social-link { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); transition: color .2s; }
.footer__social-link:hover { color: var(--rouge); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(255,255,255,.35); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a:hover { color: rgba(255,255,255,.75); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .btn--nav { padding: .5rem 1rem; }

  .hero__logo { width: 92vw; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }

  .affiches__strip { height: auto; flex-direction: column; }
  .affiche-item { height: 200px; }
  .affiche-item--text { flex: none; height: auto; padding: 2rem; }

  .concept__pillars { flex-direction: column; align-items: center; }
  .pillar { width: 100%; max-width: 340px; }

  .producteurs__grid { grid-template-columns: 1fr; }

  .carte__grid { grid-template-columns: 1fr; }

  .reserver__widgets { flex-direction: column; align-items: center; }
  .widget-placeholder { width: 100%; padding: 2rem 1.5rem; }

  .infos__grid { grid-template-columns: 1fr 1fr; }

  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .infos__grid { grid-template-columns: 1fr; }
  .footer__bottom { align-items: center; }
}
