/* =========================================================
   TORITO DU MIDI — feuille de style du site vitrine
   Palette et primitives : css/tokens.css
   ========================================================= */

html { scroll-behavior: smooth; scroll-padding-top: 104px; }
section[id], footer[id] { scroll-margin-top: 104px; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
picture { display: contents; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.txt-piment { color: var(--piment); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--piment);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Boutons ---------- */
.btn {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { background: #ffd728; }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn .arrow { transition: transform .2s ease; display: inline-block; }
.btn-arrow:hover .arrow, .btn-arrow:focus-visible .arrow { transform: translateX(5px); }

.link-arrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow .arrow { transition: transform .2s ease; }
.link-arrow:hover .arrow, .link-arrow:focus-visible .arrow { transform: translateX(5px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 2px solid rgba(17, 17, 17, .12);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 172px; height: auto; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav ul { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.site-nav ul a:hover { border-bottom-color: var(--piment); color: var(--piment); }
.nav-cta { border-bottom: none !important; }
.nav-cta:hover { border-bottom: none; color: var(--ink); }

.cart-link {
  color: var(--ink);
  display: inline-flex;
  padding: 8px;
  border-radius: var(--radius-pill);
  transition: background-color .18s ease, transform .18s ease;
}
.cart-link:hover { background: rgba(17, 17, 17, .08); transform: translateY(-2px); }

.brand img { transition: transform .3s ease; }
.brand:hover img, .brand:focus-visible img { transform: scale(1.05) rotate(-1.5deg); }

.burger-btn {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.burger-btn span {
  display: block;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--cream);
  overflow: hidden;
  padding-block: clamp(32px, 5vw, 64px) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  min-height: clamp(500px, 66vh, 680px);
}

.hero-eyebrow {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.15;
  margin-bottom: 18px;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.hero h1 {
  font-size: clamp(3.4rem, 8.2vw, 7rem);
  line-height: .88;
  margin: 0 0 22px;
  max-width: 12ch;
}
.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.55;
  max-width: 34ch;
  margin-bottom: 30px;
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
  padding-bottom: 8px;
}
/* Visuel large (burger + frites + Torito qui passe la tête) : on raisonne en
   largeur plutôt qu'en hauteur, sinon un ratio ~2:1 déborderait la colonne.
   Le soleil vit DANS ce bloc : il est donc positionné en pourcentage du
   visuel, et reste calé derrière la tête du taureau à toutes les tailles. */
.hero-figure {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: clamp(380px, 60vw, 820px);
  /* déborde vers la gouttière à gauche seulement : à droite on resterait
     collé au bord de l'écran et les frites se feraient rogner. */
  margin-inline: -9% 0;
}
.hero-sun {
  position: absolute;
  top: -24%;
  left: 53%;
  width: 38%;
  height: auto;
  z-index: 0;
  pointer-events: none;
  animation: sun-spin 46s linear infinite;
  transform-origin: 50% 50%;
}
.hero-mascotte {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 26px rgba(17, 17, 17, .16));
}
.hero-mascotte-wide {
  width: 100%;
  height: auto;
}
.sticker-mtp {
  position: absolute;
  right: 2%;
  top: 4%;
  width: clamp(140px, 15vw, 210px);
  height: auto;
  z-index: 3;
}
/* Le bas de la colonne est occupé par le burger : la note manuscrite se
   place en haut à gauche, face au tampon. */
.hero-note {
  position: absolute;
  left: 0;
  top: 7%;
  z-index: 3;
  font-size: clamp(.9rem, 1.15vw, 1.05rem);
  line-height: 1.2;
  transform: rotate(-6deg);
  text-align: center;
}

/* =========================================================
   BANDE DE RÉASSURANCE
   ========================================================= */
.reassurance {
  background: var(--sun);
  border-block: 3px solid var(--ink);
  padding-block: 26px;
}
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 26px;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: transform .22s ease;
}
.reassurance-item:hover { transform: translateY(-3px); }
.reassurance-item + .reassurance-item::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(17, 17, 17, .18);
}
/* Pastille imprimée autour de l'icône : donne de la matière à la bande
   sans ajouter d'image ni de couleur hors charte. */
.reassurance-item svg {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 9px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, .22);
  transition: transform .3s ease, box-shadow .3s ease;
}
.reassurance-item:hover svg,
.reassurance-item:focus-within svg {
  transform: rotate(-6deg) translateY(-2px);
  box-shadow: 4px 5px 0 rgba(17, 17, 17, .3);
}
.reassurance-item h3 {
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 3px;
}
.reassurance-item p {
  font-size: .82rem;
  font-style: italic;
  line-height: 1.25;
  color: rgba(17, 17, 17, .78);
}

/* =========================================================
   HISTOIRE
   ========================================================= */
.story {
  background: var(--cream);
  padding-block: clamp(56px, 7vw, 96px);
}
.story-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.story h2 {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: .9;
  margin: 0 0 22px;
}
.story-copy p {
  font-size: 1.05rem;
  line-height: 1.62;
  max-width: 46ch;
  margin-bottom: 28px;
}
.story-copy strong { font-weight: 800; }

.story-collage {
  position: relative;
  min-height: clamp(300px, 34vw, 400px);
}
/* Photo produit encadrée : la vraie table Torito, plutôt qu'un décor dessiné.
   Le liseré jaune en bas rappelle le trait de la charte. */
.collage-photo {
  position: relative;
  height: clamp(300px, 34vw, 400px);
  border: 3px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  background: var(--terracotta);
}
.collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: transform .5s ease;
}
.story-collage:hover .collage-photo img { transform: scale(1.03); }
.collage-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 7px;
  background: var(--sun);
}

.collage-note {
  position: absolute;
  top: -14px;
  right: 6%;
  z-index: 3;
  font-size: clamp(.95rem, 1.3vw, 1.15rem);
  line-height: 1.25;
  text-align: right;
  transform: rotate(-4deg);
  text-shadow: 0 0 8px var(--cream), 0 0 14px var(--cream);
}
.sticker-soleil {
  position: absolute;
  left: -18px;
  bottom: -26px;
  width: clamp(130px, 15vw, 190px);
  height: auto;
  z-index: 4;
}

/* =========================================================
   NOS SIGNATURES
   ========================================================= */
.signatures {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(56px, 7vw, 92px);
}
/* Petite photo "preuve" façon polaroid : le vrai burger, tel qu'il sort de cuisine.
   Un clin d'œil artisanal posé sur la grille, pas une 5e carte uniforme. */
.signatures-proof {
  position: absolute;
  top: clamp(14px, 2.4vw, 28px);
  right: clamp(18px, 4vw, 64px);
  width: clamp(108px, 10.5vw, 148px);
  margin: 0;
  background: var(--cream);
  padding: 7px 7px 26px;
  border-radius: 5px;
  box-shadow: var(--shadow-paper);
  transform: rotate(6deg);
  z-index: 2;
  transition: transform .3s ease, box-shadow .3s ease;
}
.signatures-proof:hover {
  transform: rotate(2deg) translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
}
.signatures-proof img { width: 100%; height: auto; display: block; border-radius: 2px; }
.signatures-proof figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  text-align: center;
  color: var(--ink);
  font-size: .8rem;
  line-height: 1.1;
}
.signatures-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-right: clamp(150px, 17vw, 240px);
}
.signatures h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: .92;
  margin: 0;
  color: var(--white);
}
.signatures-note {
  font-size: clamp(.9rem, 1.2vw, 1.08rem);
  line-height: 1.3;
  color: var(--cream);
  transform: rotate(-2deg);
}
.signatures-head .link-arrow { margin-left: auto; color: var(--sun); }

.burger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}
.burger-card { display: flex; flex-direction: column; transition: transform .25s ease; }
.burger-card:hover { transform: translateY(-4px); }
.burger-photo {
  height: clamp(150px, 15vw, 210px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 16px;
}
.burger-photo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .25s ease;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .45));
}
.burger-card:hover .burger-photo img { transform: translateY(-6px); }

.burger-card h3 {
  font-size: 1.6rem;
  line-height: 1;
  margin: 0 0 8px;
  color: var(--white);
}
.burger-desc {
  font-size: .88rem;
  line-height: 1.45;
  color: rgba(249, 244, 231, .74);
  margin-bottom: 12px;
  flex: 1 1 auto;
}
.burger-price {
  font-size: 1.45rem;
  color: var(--sun);
  line-height: 1;
  transition: color .2s ease;
}
.burger-card:hover .burger-price { color: #ffe14d; }

/* =========================================================
   BANDE LIFESTYLE
   ========================================================= */
.lifestyle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-block: 3px solid var(--ink);
}
.lifestyle-red {
  background: var(--piment);
  color: var(--cream);
  padding: clamp(38px, 5vw, 64px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
}
.lifestyle-title {
  font-size: clamp(1.9rem, 3.9vw, 3.3rem);
  line-height: 1.08;
  margin: 0;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.lifestyle-cta { background: var(--cream); }

.lifestyle-cream {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  border-left: 3px solid var(--ink);
}
.lifestyle-photo {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(150px, 16vw, 210px);
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-paper);
  transform: rotate(-2deg);
  transition: transform .3s ease;
}
.lifestyle-photo:hover { transform: rotate(1deg) translateY(-5px); }
.lifestyle-photo img { width: 100%; height: auto; display: block; }
.lifestyle-words {
  font-size: clamp(1.1rem, 1.9vw, 1.7rem);
  line-height: 1.3;
  transform: rotate(-2deg);
}

/* =========================================================
   NOS RESTAURANTS
   ========================================================= */
.places {
  position: relative;
  background: var(--cream);
  padding-block: clamp(56px, 7vw, 92px);
  overflow: hidden;
}
/* Filigrane : le vrai motif du papier burger, très atténué, pour donner
   de la matière à la section sans gêner la lecture des cartes. */
.places::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/graphismes/motif-papier.webp');
  background-size: 420px auto;
  background-repeat: repeat;
  opacity: .07;
  pointer-events: none;
}
.places > .container { position: relative; z-index: 1; }
.places-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(26px, 3.5vw, 42px);
}
.places h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  line-height: .95;
  margin: 0 0 12px;
}
.places-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 52ch;
}
.places-mascotte {
  flex: 0 0 auto;
  width: clamp(130px, 15vw, 190px);
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(17, 17, 17, .18));
}
.places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
/* Cartes restaurants façon fiche imprimée : bandeau soleil en tête,
   picto encre devant chaque information, pointillé de « ticket » avant
   les horaires. */
.place-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 30px 22px 24px;
  box-shadow: 6px 6px 0 rgba(17, 17, 17, .1);
  transition: transform .22s ease, box-shadow .22s ease;
}
.place-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background: var(--sun);
  border-bottom: 2px solid var(--ink);
}
.place-card:hover {
  transform: translateY(-5px);
  box-shadow: 9px 9px 0 rgba(17, 17, 17, .16);
}
.place-card h3 {
  font-size: 1.5rem;
  line-height: 1;
  margin: 0 0 12px;
  color: var(--piment);
}
.place-card p { font-size: .92rem; line-height: 1.5; }
.place-line { display: flex; align-items: flex-start; gap: 10px; }
.place-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--terracotta);
  transition: transform .25s ease;
}
.place-card:hover .place-ico { transform: rotate(-8deg) scale(1.08); }
.place-hours {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 2px dashed rgba(17, 17, 17, .24);
  color: rgba(17, 17, 17, .68);
  font-size: .86rem !important;
}
.places-note {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  /* encre plutôt que terracotta : à cette taille, le contraste du
     terracotta sur crème ne passe pas le seuil AA (3,5:1). */
  color: var(--ink);
  transform: rotate(-1.5deg);
  display: inline-block;
}

/* =========================================================
   COMMANDER — formulaire
   ========================================================= */
.order {
  background: var(--paper);
  border-top: 3px solid var(--ink);
  padding-block: clamp(52px, 6.5vw, 92px);
}
.order-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.order-copy { position: relative; }
.order-eyebrow {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.15;
  margin-bottom: 14px;
  /* idem : sur le fond papier, le terracotta ne passe pas AA à cette taille */
  color: var(--ink);
  transform: rotate(-3deg);
  transform-origin: left center;
}
.order h2 {
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: .9;
  margin: 0 0 18px;
}
.order-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 42ch;
  margin-bottom: 26px;
}

.order-direct {
  display: grid;
  gap: 12px;
  border-top: 2px solid rgba(17, 17, 17, .18);
  padding-top: 18px;
  max-width: 40ch;
}
.order-direct li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-size: .95rem;
  line-height: 1.45;
}
.order-direct-lbl {
  flex: 0 0 96px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .62);
}
.order-direct a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.order-direct a:hover { color: var(--piment); }

.order-mascotte {
  width: clamp(120px, 13vw, 168px);
  height: auto;
  margin-top: 26px;
  filter: drop-shadow(0 14px 20px rgba(17, 17, 17, .18));
}

/* ---------- Carte formulaire ---------- */
.order-form {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 8px 8px 0 rgba(17, 17, 17, .12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px clamp(16px, 2vw, 24px);
}
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }

.field label {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.field .req { color: var(--piment); }
.field .opt {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: rgba(17, 17, 17, .6);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid rgba(17, 17, 17, .55);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color .18s ease, background-color .18s ease;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(17, 17, 17, .64); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink); }
.field input:focus,
.field select:focus,
.field textarea:focus { background: var(--white); border-color: var(--ink); }

.field-error {
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
  color: #B8241A;
  min-height: 0;
}
.field-error:empty { display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #B8241A; background: #FDF0EE; }

.btn-submit {
  grid-column: 1 / -1;
  justify-self: start;
  justify-content: center;
  border: 2px solid var(--ink);
  margin-top: 4px;
}

.form-status {
  grid-column: 1 / -1;
  font-size: .95rem;
  line-height: 1.5;
  font-weight: 600;
}
.form-status:empty { display: none; }
.form-status.is-ok {
  color: #1B5A1F;
  background: rgba(46, 112, 50, .1);
  border-left: 4px solid var(--cactus);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
}
.form-status.is-error {
  color: #B8241A;
  background: rgba(230, 57, 45, .09);
  border-left: 4px solid var(--piment);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
}

.form-note {
  grid-column: 1 / -1;
  font-size: .84rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, .68);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(48px, 6vw, 72px) 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.25fr 1.25fr;
  gap: clamp(26px, 3.5vw, 48px);
  align-items: start;
}
.footer-logo { width: 190px; height: auto; margin-bottom: 16px; }
.footer-tagline {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(249, 244, 231, .7);
  margin-bottom: 14px;
}
.footer-hand { font-size: 1.05rem; color: var(--sun); transform: rotate(-2deg); display: inline-block; }

.footer-signoff {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-signoff .footer-hand { max-width: 12ch; line-height: 1.25; }
.footer-mascotte {
  flex: 0 0 auto;
  order: -1;
  width: clamp(96px, 8vw, 116px);
  height: auto;
  /* halo crème : le PNG est détouré et sa silhouette est noire,
     il a besoin d'un léger contraste sur le fond encre du footer. */
  filter:
    drop-shadow(0 0 2px rgba(249, 244, 231, .85))
    drop-shadow(0 0 10px rgba(249, 244, 231, .35));
}

.footer-col h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
  color: var(--sun);
}
.footer-col li { margin-bottom: 9px; font-size: .9rem; line-height: 1.45; }
.footer-col a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease, color .18s ease;
}
.footer-col a:hover { color: var(--sun); border-bottom-color: var(--sun); }
.footer-plain li { color: rgba(249, 244, 231, .78); }

.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials li { margin: 0; }
/* Marque fictive : aucun compte réseau n'existe, les icônes sont des
   repères visuels inertes (pas des liens morts). */
.social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px dashed rgba(249, 244, 231, .3);
  border-radius: var(--radius-pill);
  color: rgba(249, 244, 231, .55);
}
.socials-note {
  margin-top: 10px;
  font-size: .78rem;
  line-height: 1.45;
  color: rgba(249, 244, 231, .66);
  max-width: 34ch;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.footer-legal {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid rgba(249, 244, 231, .2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(249, 244, 231, .66);
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(249, 244, 231, .3); }
.footer-legal a:hover { color: var(--sun); border-bottom-color: var(--sun); }

/* =========================================================
   ANIMATIONS (légères)
   ========================================================= */
.float { animation: float 4.5s ease-in-out infinite; }
/* décalages pour que les mascottes ne flottent pas toutes en même temps */
.places-mascotte { animation-delay: -1.8s; }
.footer-mascotte { animation-delay: -2.7s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

/* soleil du hero : rotation très lente, à peine perceptible */
@keyframes sun-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.tilt   { transform: rotate(-3deg); transition: transform .3s ease; }
.tilt:hover   { transform: rotate(0deg); }
.tilt-r { transform: rotate(3deg); transition: transform .3s ease; }
.tilt-r:hover { transform: rotate(0deg); }

/* ---------- Mise en scène du hero à l'arrivée sur la page ----------
   Le texte monte en cascade, puis la mascotte arrive, puis le tampon
   et la note manuscrite. Tout est en `backwards` pour que les éléments
   retrouvent ensuite leur transform CSS (rotation du tampon, du mot
   manuscrit) et que les effets de survol continuent de fonctionner. */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-rise-tilt {
  from { opacity: 0; transform: translateY(16px) rotate(-3deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-3deg); }
}
.hero-eyebrow  { animation: hero-rise-tilt .7s cubic-bezier(.22, .9, .3, 1) .05s backwards; }
.hero h1       { animation: hero-rise .7s cubic-bezier(.22, .9, .3, 1) .14s backwards; }
.hero-sub      { animation: hero-rise .7s cubic-bezier(.22, .9, .3, 1) .23s backwards; }
.hero-actions  { animation: hero-rise .7s cubic-bezier(.22, .9, .3, 1) .32s backwards; }

/* La mascotte entre en scène, puis enchaîne sur son flottement.
   Sélecteur volontairement plus spécifique que `.float`, déclaré plus haut. */
@keyframes mascotte-in {
  from { opacity: 0; transform: translateY(34px) scale(.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes float-tilt {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1.2deg); }
}
.hero-mascotte-wide {
  animation:
    mascotte-in .95s cubic-bezier(.22, .9, .3, 1.15) .2s backwards,
    float-tilt 5s ease-in-out 1.15s infinite;
}

@keyframes sticker-in {
  from { opacity: 0; transform: rotate(-18deg) scale(.72); }
  to   { opacity: 1; transform: rotate(-3deg) scale(1); }
}
.hero-visual .sticker-mtp {
  animation: sticker-in .75s cubic-bezier(.3, 1.2, .5, 1.1) .8s backwards;
}

@keyframes note-in {
  from { opacity: 0; transform: rotate(-14deg) scale(.85); }
  to   { opacity: 1; transform: rotate(-6deg) scale(1); }
}
.hero-visual .hero-note {
  animation: note-in .6s cubic-bezier(.3, 1.2, .5, 1.1) 1s backwards;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    /* sans cela, les entrées du hero en `backwards` resteraient invisibles
       pendant toute la durée de leur délai */
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float { animation: none; }
}

/* =========================================================
   RESPONSIVE — TABLETTE
   ========================================================= */
@media (max-width: 1080px) {
  .site-nav ul { gap: 20px; }
  .site-nav { gap: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  /* le header passe à 78px : on aligne les ancres dessus */
  html { scroll-padding-top: 88px; }
  section[id], footer[id] { scroll-margin-top: 88px; }

  .header-inner { min-height: 78px; gap: 16px; }
  .brand img { width: 148px; }
  .burger-btn { display: flex; }
  .cart-link { order: 3; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    display: none;
    box-shadow: var(--shadow-paper);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul li { border-bottom: 1px solid rgba(17, 17, 17, .12); }
  .site-nav ul a { display: block; padding: 14px 0; font-size: .84rem; }
  .nav-cta { margin-top: 16px; justify-content: center; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
    min-height: 0;
    gap: 8px;
  }
  .hero h1 { max-width: 14ch; }
  .hero-sub { max-width: 48ch; }
  /* La mascotte passe sous le H1 : elle se recentre (plus de débordement
     vers la gouttière gauche) et le tampon bascule à gauche pour ne pas
     recouvrir la tête du taureau, qui est à droite du visuel. */
  .hero-visual { min-height: 0; padding-top: 12px; padding-bottom: 18px; }
  .hero-figure { margin-inline: 0; width: clamp(300px, 64vw, 520px); }
  .hero-sun { top: -18%; left: 53%; width: 38%; }
  .sticker-mtp { left: 0; right: auto; top: 0; width: clamp(130px, 18vw, 170px); }
  .hero-note { display: none; }

  .reassurance-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 26px; }
  .reassurance-item:nth-child(odd) + .reassurance-item::before { left: -13px; }
  .reassurance-item:nth-child(3)::before { display: none; }

  .story-inner { grid-template-columns: 1fr; gap: 46px; }
  .story-collage { margin-top: 10px; }

  .burger-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .signatures-head .link-arrow { margin-left: 0; }

  .lifestyle { grid-template-columns: 1fr; }
  .lifestyle-cream { border-left: none; border-top: 3px solid var(--ink); }

  .places-grid { grid-template-columns: 1fr 1fr; }
  .places-mascotte { width: clamp(120px, 17vw, 160px); }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 640px) {
  .container { padding-inline: 18px; }

  .hero { padding-top: 24px; }
  .hero h1 { font-size: clamp(2.9rem, 13.5vw, 4.2rem); max-width: 11ch; }
  .hero-eyebrow { font-size: 1rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 24px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  /* Charte : sur mobile on réduit les éléments décoratifs. Le tampon
     Montpellier disparaît du hero (il reste présent plus bas dans la page)
     pour laisser la mascotte et le soleil respirer. */
  .hero-visual { padding-top: 18px; }
  .hero-figure { width: min(340px, 92vw); }
  .hero-sun { top: -12%; left: 53%; width: 38%; }
  .sticker-mtp { display: none; }
  .hero-note { display: none; }

  .reassurance-grid { grid-template-columns: 1fr; gap: 16px; }
  .reassurance-item + .reassurance-item::before { display: none; }
  .reassurance-item + .reassurance-item {
    border-top: 2px solid rgba(17, 17, 17, .18);
    padding-top: 16px;
  }

  .story-copy p { font-size: 1rem; }
  .collage-photo { height: 250px; }
  .collage-note { top: -26px; right: 2px; font-size: .88rem; transform: rotate(-3deg); }
  .sticker-soleil { left: -6px; bottom: -18px; width: 112px; }

  .signatures-proof { display: none; }
  .signatures-head { padding-right: 0; }
  .burger-grid { grid-template-columns: 1fr; gap: 34px; }
  .burger-photo { height: 190px; }
  .burger-card h3 { font-size: 1.75rem; }
  .burger-desc { font-size: .95rem; }

  .lifestyle-cream { flex-direction: column; text-align: center; }
  .lifestyle-words { text-align: center; }

  .places-grid { grid-template-columns: 1fr; }
  .places-head { align-items: center; gap: 14px; }
  .places-mascotte { width: 104px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-signoff { gap: 14px; }
  .footer-mascotte { width: 104px; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   PAGES LÉGALES (mentions, confidentialité, allergènes)
   ========================================================= */
.legal {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 92px);
}
/* Même filigrane que la section « Nos restaurants » : les pages légales
   restent dans la direction artistique de la home, pas du texte brut. */
.legal::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/graphismes/motif-papier.webp');
  background-size: 420px auto;
  background-repeat: repeat;
  opacity: .04;
  pointer-events: none;
}
.legal-inner { position: relative; z-index: 1; max-width: 78ch; }
.legal-body { max-width: 74ch; }

.legal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 44px);
}
.legal-head-copy { min-width: 0; }
.legal-mascotte {
  flex: 0 0 auto;
  width: clamp(92px, 11vw, 138px);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(17, 17, 17, .16));
}
/* Filet imprimé sous le titre, rappel du liseré soleil de la home. */
.legal h1::after {
  content: '';
  display: block;
  width: 92px;
  height: 9px;
  margin-top: 14px;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
}

.breadcrumb {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .7);
  margin-bottom: 18px;
}
.breadcrumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--piment); }
.breadcrumb span { margin: 0 8px; }

.legal h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: .92;
  margin: 0 0 10px;
}
.legal-sub {
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 26px;
  color: rgba(17, 17, 17, .78);
}

/* Bandeau d'honnêteté : site de démonstration, données fictives. */
.demo-notice {
  border: 3px solid var(--ink);
  border-left-width: 10px;
  border-radius: 12px;
  background: var(--sun);
  color: var(--ink);
  padding: 18px 20px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
  box-shadow: 6px 6px 0 rgba(17, 17, 17, .12);
}
.demo-notice h2 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.demo-notice p { font-size: .95rem; line-height: 1.55; }
.demo-notice p + p { margin-top: 8px; }

.legal-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  margin: clamp(30px, 3.6vw, 44px) 0 12px;
  color: var(--piment);
}
.legal-body h3 {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: none;
  margin: 22px 0 8px;
}
.legal-body p,
.legal-body li { font-size: 1rem; line-height: 1.65; }
.legal-body p + p { margin-top: 12px; }
.legal-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--piment); }
.legal-body ul.bullets { margin: 12px 0 0; display: grid; gap: 8px; }
.legal-body ul.bullets li { position: relative; padding-left: 22px; }
.legal-body ul.bullets li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  border: 2px solid var(--ink);
}
.legal-body dl { margin: 12px 0 0; }
.legal-body dt { font-weight: 800; margin-top: 14px; }
.legal-body dd { margin: 4px 0 0; line-height: 1.6; }

.legal-table-wrap { overflow-x: auto; margin-top: 16px; }
.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  font-size: .95rem;
}
.legal-table caption {
  text-align: left;
  font-size: .86rem;
  color: rgba(17, 17, 17, .7);
  padding-bottom: 10px;
}
.legal-table th,
.legal-table td { text-align: left; padding: 12px 14px; border-bottom: 2px solid rgba(17, 17, 17, .12); vertical-align: top; }
.legal-table thead th {
  background: var(--ink);
  color: var(--cream);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody th { font-weight: 800; }

.legal-back { margin-top: clamp(32px, 4vw, 48px); }

/* =========================================================
   RESPONSIVE — SECTIONS AJOUTÉES
   ========================================================= */
@media (max-width: 960px) {
  .order-inner { grid-template-columns: 1fr; gap: 34px; }
  .order-lead { max-width: 56ch; }
  .order-mascotte { display: none; }
}

@media (max-width: 640px) {
  .order-form { grid-template-columns: 1fr; }
  .btn-submit { justify-self: stretch; }
  .order-direct li { flex-direction: column; gap: 2px; }
  .order-direct-lbl { flex: none; }

  .legal-mascotte { display: none; }
  .legal-back .btn { width: 100%; justify-content: center; }
}
