/* ==========================================================================
   entreprises.html — offres entreprises, événements, traiteur
   Tones (main.css): page = entreprises ; chaque chapitre porte le sien via data-tone
   (Menu Découverte brand, table du chef temporalite, L'Équerre equerre, team-building entreprises,
   traiteur traiteur, AfterWork afterwork, contact entreprises).
   ========================================================================== */

/* ---------- Hero ---------- */
.ent-hero { overflow: hidden; padding-bottom: clamp(40px, 6vw, 80px); }
.ent-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 90px); align-items: end; }
.ent-hero__title { font-size: clamp(3.1rem, 7.4vw, 8rem); line-height: .9; }
.ent-hero .lead { max-width: 33em; }
.ent-hero .phero__crumbs a:hover { color: var(--paper); } /* main.css hover = ink, invisible on the dark hero */
.ent-hero__media { position: relative; }
.ent-hero__media .img-reveal { aspect-ratio: 4 / 5; max-height: 76vh; width: 100%; }
.ent-hero__card {
  position: absolute; left: -14%; bottom: 7%; z-index: 2; display: grid; gap: 0;
  background: var(--paper); color: var(--ink); border-radius: 18px; padding: 8px 22px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6);
}
@media (min-width: 901px) and (max-width: 1180px) { .ent-hero__card { left: -4%; } }
.ent-hero__card .eyebrow { color: var(--t-ink); font-size: 11px; padding-top: 6px; }
.ent-hero__card a { display: inline-block; justify-self: start; padding-block: 10px; font-family: var(--f-display); font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.1; transition: color .3s; }
.ent-hero__card a:hover { color: var(--t-ink); }

.ent-trust { display: flex; align-items: center; gap: clamp(20px, 4vw, 60px); flex-wrap: wrap; margin-top: clamp(36px, 4vw, 56px); color: var(--muted-inv); }
.ent-trust__logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 70px); }
.ent-trust__logos img { width: auto; filter: brightness(0) invert(1); opacity: .72; transition: opacity .3s; }
.ent-trust__logos img:first-child { height: 52px; }
.ent-trust__logos img:last-child { height: 30px; }
.ent-trust__logos img:hover { opacity: 1; }

.ent-index { margin-top: clamp(36px, 4vw, 56px); }
.ent-index ol { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line-inv); }
.ent-index a {
  display: flex; flex-direction: column; gap: 10px; padding: 18px 14px 4px 0;
  font-family: var(--f-display); font-size: clamp(1.15rem, 1.5vw, 1.5rem); line-height: 1.05; transition: color .3s, transform .5s var(--ease);
}
.ent-index a:hover { color: var(--t-2); transform: translateY(-3px); } /* each item carries its chapter's tone */
.ent-index .num { font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--t); }

/* ---------- 01 Menu Découverte ---------- */
.dcv-intro { display: grid; gap: 22px; }
.dcv-price { display: flex; align-items: flex-end; gap: 18px; }
.dcv-price b { font-family: var(--f-display); font-weight: 400; font-size: clamp(4.2rem, 8vw, 8rem); line-height: .82; letter-spacing: -.03em; }
.dcv-price span { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: 6px; }

.dcv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 70px); }
.dcv-card {
  --bg: var(--ink); --fg: var(--paper); --accent: var(--t); --on-accent: var(--t-on);
  --focus: var(--fg); --focus-halo: var(--bg); /* ring in the card's own text colour: contrasts on every univers surface */
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 12px;
  background: var(--bg); color: var(--fg); border-radius: var(--radius);
}
.dcv-card__media { position: relative; }
.dcv-card__img { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.dcv-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dcv-card:hover .dcv-card__img img { transform: scale(1.05); }
.dcv-card__thumb {
  position: absolute; right: 16px; bottom: -34px; width: 32%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 5px solid var(--bg); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .55); transform: rotate(-6deg);
  transition: transform .8s var(--ease);
}
.dcv-card:hover .dcv-card__thumb { transform: rotate(4deg) scale(1.04); }
.dcv-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.dcv-card__n {
  position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-family: var(--f-display); font-size: 1.15rem; line-height: 1;
}
.dcv-card__body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 6px 10px 12px; }
.dcv-card__head { display: grid; gap: 8px; justify-items: start; min-height: 88px; padding-right: 34%; align-content: start; }
.dcv-card__logo { height: 54px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.dcv-card .lily-logo { font-size: 2.2rem; }
.dcv-card__origin { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--origin, color-mix(in srgb, var(--accent) 72%, var(--fg))); }
.dcv-card__list { border-top: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.dcv-card__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  font-family: var(--f-display); font-size: clamp(1.25rem, 1.55vw, 1.5rem); line-height: 1.1;
}
.halal {
  flex-shrink: 0; font-style: normal; font-family: var(--f-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
}
.dcv-card__more { margin-top: auto; font-size: 14px; width: fit-content; }

.dcv-card--end { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 36px); justify-content: space-between; gap: 32px; min-height: 420px; }
.dcv-card--end { --focus: var(--t-2); --focus-halo: var(--ink); }
.dcv-card--end .dcv-card__n { position: static; display: block; padding: 0; background: none; color: var(--t); font-size: clamp(4.4rem, 7vw, 6.6rem); line-height: .85; }
.dcv-end__top { display: grid; gap: 16px; }
.dcv-end__top p { color: var(--muted-inv); max-width: 26em; }
.dcv-end__foot { display: grid; gap: 18px; justify-items: start; }
.dcv-end__price { font-size: 14px; color: var(--muted-inv); }
.dcv-end__price b { font-family: var(--f-display); font-weight: 400; font-size: 2.6rem; color: var(--paper); margin-right: 4px; }

/* Allergens */
.alg { margin-top: 18px; border-radius: var(--radius); background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.alg summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; font-weight: 600; }
.alg summary::-webkit-details-marker { display: none; }
.alg summary i { position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.alg summary i::before, .alg summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.alg summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.alg[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.alg summary:hover i { background: var(--ink); color: var(--paper); }
.alg__body { padding: 0 26px 24px; }
.alg__row { display: grid; grid-template-columns: 170px 1fr 1.5fr; gap: 4px 24px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.alg__row--head { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.alg__u { font-weight: 600; }
.alg__dish small { margin-left: 6px; padding: 2px 7px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }
.alg__list { color: var(--muted); }
.alg__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- 02 Table du chef ---------- */
.tdc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 90px); align-items: start; margin-top: clamp(40px, 6vw, 90px); }
.tdc-media { display: grid; gap: 30px; }
.tdc-pics { position: relative; margin-bottom: clamp(36px, 5vw, 70px); }
.tdc-media__main { aspect-ratio: 3 / 2; }
.tdc-media__inset { position: absolute !important; right: -4%; bottom: -16%; width: 36%; aspect-ratio: 1; border: 6px solid var(--ink); border-radius: 22px; }
.tdc-uses { border-top: 1px solid var(--line-inv); max-width: 62%; }
.tdc-uses li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-inv); font-family: var(--f-display); font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1; }
.tdc-uses li::before { content: "✦"; font-size: .5em; color: var(--t); }

.tdc-menu {
  position: relative; text-align: center; background: var(--paper); color: var(--ink); border-radius: 6px;
  padding: clamp(34px, 4vw, 60px) clamp(22px, 4vw, 56px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7);
}
.tdc-menu::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); pointer-events: none; }
.tdc-menu__logo { height: 76px; width: auto; margin: 0 auto; }
.tdc-menu__kicker { margin-top: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.tdc-menu__note { margin-top: 6px; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.tdc-menu__course { margin-top: 28px; display: grid; gap: 4px; }
.tdc-menu__course h3 { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 8px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--t-ink); }
.tdc-menu__course h3::before, .tdc-menu__course h3::after { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .55; }
.tdc-menu__course p { max-width: 22em; margin-inline: auto; font-family: var(--f-display); font-size: clamp(1.2rem, 1.55vw, 1.45rem); line-height: 1.2; }
.tdc-menu__course p.tdc-menu__or { font-style: italic; font-size: 1rem; color: var(--muted); }
.tdc-menu__course--cave p { font-size: 1.12rem; }
.tdc-menu__course small { margin-left: 4px; font-family: var(--f-sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tdc-menu__course p.tdc-menu__drinks { margin-top: 8px; font-family: var(--f-sans); font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- 03 L'Équerre ---------- */
.ent-equerre { background: var(--cream); }
.eq-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.eq-media { position: relative; aspect-ratio: 1 / 1.08; }
.eq-media .img-reveal { position: absolute; }
.eq-media__a { left: 0; top: 0; width: 80%; aspect-ratio: 3 / 2.1; }
.eq-media__b { right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 5; border: 8px solid var(--cream); }
.eq-media__logo { position: absolute; left: 4%; bottom: 3%; width: 28%; height: auto; }
.eq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.eq-list li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 2px 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.eq-list .num { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--t-ink); }
.eq-list b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1; transition: transform .5s var(--ease), color .3s; }
.eq-list li:hover b { transform: translateX(10px); color: var(--t-ink); }
.eq-list small { grid-column: 2; color: var(--muted); font-size: 14px; }

/* ---------- 04 Team-building ---------- */
.ent-tb { background: var(--ink-2); }
.tb-words { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(40px, 6vw, 80px); }
.tb-words li {
  font-family: var(--f-display); font-size: clamp(1.9rem, 4.4vw, 4.4rem); line-height: 1; padding: .14em .52em .18em;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-inv); transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s;
}
.tb-words li:hover { background: var(--t); color: var(--t-on); box-shadow: none; }
.tb-words em { color: var(--t-2); transition: color .45s; }
.tb-words li:hover em { color: var(--t-on); }
.tb-privat { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.tb-privat__img { aspect-ratio: 21 / 9; }
.tb-privat__card {
  position: absolute; right: clamp(14px, 3vw, 40px); bottom: clamp(14px, 3vw, 40px); max-width: 390px;
  display: grid; gap: 14px; justify-items: start; padding: 26px; border-radius: 20px; background: var(--ink); color: var(--paper);
}
.tb-privat__big { font-family: var(--f-display); font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1.02; }
.tb-privat__big b { font-weight: 400; color: var(--t-2); }
.tb-privat__txt { color: var(--muted-inv); font-size: 14.5px; }

/* ---------- 05 Traiteur ---------- */
.ent-traiteur { overflow: hidden; }
.tr-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.tr-logo { display: block; width: min(300px, 68%); height: auto; }
.tr-uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tr-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.tr-mosaic .img-reveal { aspect-ratio: 3 / 4.3; }
.tr-mosaic .img-reveal:nth-child(2) { margin-top: 22%; }
.tr-mosaic .img-reveal:nth-child(3) { margin-top: 8%; }

/* ---------- 06 AfterWork band ---------- */
.aw-txt { max-width: 36em; }
.band .link { color: var(--t-on); }

/* ---------- Contact ---------- */
.ent-contact { border-bottom: 1px solid var(--line-inv); }
.ent-contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.ent-contact__intro { position: sticky; top: calc(var(--header-h) + 30px); }
.dark .contact-list a { border-color: var(--line-inv); }
.dark .contact-list a small { color: var(--muted-inv); }
.ent-contact__addr { margin-top: 24px; color: var(--muted-inv); }
.ent-form { gap: 24px 22px; padding: clamp(22px, 3.5vw, 44px); border-radius: var(--radius); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-inv); }
.ent-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ent-fieldset .segmented { position: relative; }
.ent-fieldset .segmented input { width: 1px; height: 1px; }
.ent-fieldset legend { padding: 0; margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-inv); }
.dark .field input, .dark .field textarea { color-scheme: dark; }
.field input::placeholder, .field textarea::placeholder { color: currentColor; opacity: .38; }
.ent-form__submit { display: grid; gap: 14px; justify-items: start; margin-top: 6px; }
.dark .form-note { color: var(--muted-inv); }
.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, .12); color: #bfe9cf; font-size: 14px; }
.form-ok[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ent-index ol { grid-template-columns: repeat(4, 1fr); }
  .ent-index li { border-bottom: 1px solid var(--line-inv); }
  .ent-index a { padding-bottom: 16px; }
}
@media (max-width: 900px) {
  .ent-hero__grid, .tdc-grid, .eq-grid, .tr-grid, .ent-contact__grid { grid-template-columns: 1fr; }
  .ent-hero__media .img-reveal { aspect-ratio: 4 / 3.4; }
  .ent-hero__card { left: 12px; bottom: 12px; }
  .dcv-grid { grid-template-columns: 1fr 1fr; }
  .tdc-media__inset { right: 10px; }
  .tdc-uses { max-width: 100%; }
  .ent-contact__intro { position: static; }
  .tb-privat__img { aspect-ratio: 4 / 3; }
  .tb-privat__card { position: relative; right: auto; bottom: auto; margin: -56px 12px 0; max-width: none; }
  .tr-copy { order: 0; }
}
@media (max-width: 640px) {
  .ent-index ol { grid-template-columns: repeat(2, 1fr); }
  .dcv-grid { grid-template-columns: 1fr; }
  .dcv-card--end { min-height: 0; }
  .alg summary { padding: 18px 20px; }
  .alg__body { padding: 0 20px 20px; }
  .alg__row { grid-template-columns: 1fr; }
  .alg__row--head { display: none; }
  .tdc-uses { padding-right: 0; }
  .tb-words li { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .ent-hero__card a { font-size: 1.2rem; }
}
