/* ==========================================================================
   livraison.html — livraison à Rungis + kiosque onePlace ToGo
   Tone: togo (main.css) on the whole page — --t is the ToGo yellow, --t-on the ink set on it.
   On light surfaces the italics stay ink over a ToGo-yellow highlighter: the tone's dark text
   variant would read as the old gold.
   ========================================================================== */
.lv-hero, .lv-togo { --accent-em: var(--t-on); }
.lv-how, .lv-order { --accent-em: var(--ink); }
.lv-how .h1 em, .lv-order .h1 em { background: linear-gradient(transparent 68%, var(--t) 0); padding-right: .08em; }
.lv-order .contact-list a:hover { color: inherit; }

/* ---------- Hero (yellow, ink header) ---------- */
.lv-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 100px)) 0 clamp(56px, 7vw, 110px); }
.lv-hero .phero__crumbs { color: color-mix(in srgb, var(--t-on) 78%, transparent); }
.lv-hero .phero__crumbs a:hover { color: var(--t-on); }
.lv-hero__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.lv-hero__title { font-size: clamp(3.2rem, 7.6vw, 8.2rem); line-height: .9; }
.lv-hero__title em { background: linear-gradient(transparent 72%, rgba(255, 255, 255, .55) 0); padding-right: .08em; }
.lv-hero .lead { color: color-mix(in srgb, var(--t-on) 78%, transparent); }
.lv-hero .link { color: var(--t-on); }
.lv-hero__media { position: relative; }
.lv-hero__media > img { width: 114%; max-width: none; margin-left: -4%; }
.lv-badge { position: absolute; left: 1%; top: -14%; width: 124px; height: 124px; color: var(--t-on); }
.lv-badge > svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.lv-badge b { position: absolute; inset: 0; display: grid; place-items: center; }
.lv-badge b svg { width: 36px; height: 36px; }

.lv-ticker { background: var(--ink); color: var(--t); }

/* Header « Réserver » : sur le jaune du hero, le bouton au ton de la page (jaune ToGo) se fond — on le passe en encre tant que le header est transparent. */
.lv-page .header:not(.is-solid) .header__actions .btn--gold { --b-bg: var(--ink); --b-fg: var(--paper); --b-hover: var(--paper); --b-hover-fg: var(--ink); }

/* ---------- How it works ---------- */
.lv-how { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.lv-how__visual { position: sticky; top: calc(var(--header-h) + 30px); }
.lv-how__bowl { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; }
.lv-how__bowl img { width: 100%; height: 100%; object-fit: cover; }
.lv-how__sticker {
  position: absolute; right: -5%; top: 5%; width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--t); color: var(--t-on);
  font-family: var(--f-display); font-size: 1.5rem; line-height: 1; transform: rotate(10deg);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35);
}
.lv-steps { margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }
.lv-step { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px 22px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.lv-step__n { grid-row: 1 / span 2; font-family: var(--f-display); font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: .9; color: var(--muted); }
.lv-step__t { grid-column: 2; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.02; }
.lv-step p { grid-column: 2; color: var(--muted); max-width: 30em; }
.lv-step__ico { grid-column: 3; grid-row: 1 / span 2; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--t); color: var(--t-on); transition: transform .6s var(--ease); }
.lv-step:hover .lv-step__ico { transform: rotate(-12deg) scale(1.06); }
.lv-step__ico svg { width: 26px; height: 26px; }

/* ---------- Univers showcase ---------- */
.lv-menu { --accent-em: var(--t); }
.lv-unis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 70px); }
.lv-uni { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--bg); color: var(--fg); }
.lv-uni__img { aspect-ratio: 4 / 4.4; overflow: hidden; }
.lv-uni__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lv-uni:hover .lv-uni__img img { transform: scale(1.07); }
.lv-uni__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 18px 20px; }
.lv-uni__origin { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--origin, color-mix(in srgb, var(--accent) 72%, var(--fg))); }
.lv-uni__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1; }
.lv-uni__short { font-size: 14px; opacity: .82; }
.lv-uni__more { display: inline-flex; align-items: center; gap: .5em; margin-top: auto; padding-top: 10px; font-size: 13.5px; font-weight: 600; }
.lv-uni__more .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.lv-uni:hover .lv-uni__more .arrow { transform: translateX(4px); }

/* ---------- onePlace ToGo ---------- */
.lv-togo {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 80px); border-radius: clamp(24px, 3vw, 40px); background: var(--t); color: var(--t-on);
}
.lv-togo__badge { display: inline-block; padding: clamp(14px, 1.6vw, 20px) clamp(18px, 2vw, 26px); border-radius: 20px; background: #fff; transform: rotate(-3deg); box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .45); }
.lv-togo__logo { width: clamp(160px, 18vw, 240px); height: auto; }
.lv-togo .lead { color: color-mix(in srgb, var(--t-on) 78%, transparent); }
.lv-togo .link { color: var(--t-on); }
.lv-togo .btn { --b-hover: var(--paper); }
.lv-togo__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.lv-togo__list li { padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--t); font-size: 14px; font-weight: 600; }
.lv-togo__side { position: relative; }
.lv-togo__img { aspect-ratio: 1; overflow: hidden; border-radius: 24px; background: #fff; transform: rotate(3deg); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .45); }
.lv-togo__img img { width: 100%; height: 100%; object-fit: cover; }
.lv-togo__min {
  position: absolute; z-index: 2; left: -8%; bottom: 8%; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: 20px; background: var(--ink); color: var(--paper);
}
.lv-togo__min b { font-family: var(--f-display); font-weight: 400; font-size: 4rem; line-height: .8; color: var(--t); }
.lv-togo__min span { max-width: 9em; font-size: 13px; line-height: 1.3; }

/* ---------- Order form ---------- */
.lv-order { background: var(--cream); }
.lv-order__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.lv-order__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.lv-order__intro .link { display: inline-flex; }
.lv-form { gap: 24px 22px; padding: clamp(22px, 3.5vw, 44px); border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.lv-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.lv-fieldset .segmented { position: relative; }
.lv-fieldset .segmented input { width: 1px; height: 1px; }
.lv-fieldset legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lv-form .segmented input:checked + label { background: var(--t); color: var(--t-on); box-shadow: inset 0 0 0 1px var(--t-on); }
.field input::placeholder, .field textarea::placeholder { color: currentColor; opacity: .38; }
.lv-form__submit { display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.form-note .link, .form-ok .link { display: inline; padding: 0; background-size: 100% 1px; }
.form-ok { padding: 14px 18px; border-radius: 12px; background: rgba(55, 194, 107, .14); color: #14532d; font-size: 14px; }
.form-ok[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .lv-unis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .lv-hero__grid, .lv-how, .lv-togo, .lv-order__grid { grid-template-columns: 1fr; }
  .lv-hero__media > img { width: 100%; margin: 0; }
  .lv-badge { display: none; }
  .lv-how__visual { position: relative; top: auto; max-width: 460px; }
  .lv-how__sticker { right: 10px; width: 112px; height: 112px; font-size: 1.15rem; }
  .lv-order__intro { position: static; }
  .lv-togo__min { left: 12px; bottom: 12px; }
  .lv-unis {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .lv-unis::-webkit-scrollbar { display: none; }
  .lv-uni { flex: 0 0 min(72%, 300px); scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .lv-step { grid-template-columns: 52px 1fr; }
  .lv-step__ico { display: none; }
}
