/* ═══ Le Klaxon · piste B, « Le pilon-klaxon » ═══
   --u = 1 unité de la maquette (390 de large). Les illustrations et les titres suivent
   la largeur de l'écran ; les textes courants restent à une taille lisible. */
@font-face { font-family: Archivo; src: url(archivo.woff2) format('woff2'); font-weight: 500 850; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root {
  --ink: #4B0326; --night: #36011B; --pink: #F9A3C0; --pale: #FFE3EC; --soft: #FFC3D6; --cream: #FFF6EA;
  --berry: #C21E5B; --dots: #E8B9C8;
  --u: calc(min(100vw, 480px) / 390);
  --ann-bg: var(--ink); --ann-ink: var(--cream);
}
body { margin: 0; background: var(--pink); color: var(--ink); font: 560 1rem/1.35 Archivo, system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: none; }
[hidden] { display: none !important; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.phrase :focus-visible, .week :focus-visible, .info :focus-visible { outline-color: var(--cream); }
strong, h3, h4 { font-weight: 800; }
section { position: relative; }
.wrap { position: relative; width: min(100%, 480px); margin: 0 auto; padding: 0 calc(20 * var(--u)); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 90; padding: 12px 18px; background: var(--ink); color: var(--pale); }
.skip:focus { top: 12px; }
.nd-banners .nd-ann { font-family: Archivo, system-ui, sans-serif; }

/* ── Ligne de son entre deux sections : deux vibrations, une par coup ── */
.vib { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(100% - 1px); height: 44px; background: var(--c);
  -webkit-mask: url(../img/vibration.svg) center / 100% 100% no-repeat; mask: url(../img/vibration.svg) center / 100% 100% no-repeat; }
.vib-in { bottom: auto; top: -1px; transform: scaleY(-1); }

/* ── Bouton en forme de trompe : les bouts gardent leur forme, le milieu s'étire ── */
.hb { --h: 60px; --img: url(../img/trompe.svg); --sh: url(../img/trompe-ombre.svg);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--h); padding: 0 calc(var(--h) * .5) 0 calc(var(--h) * .36); color: var(--pale);
  font-weight: 850; font-size: 1.3rem; line-height: 1.1; text-align: center; text-decoration: none; transition: transform .12s ease-out; }
.hb::before, .hb::after { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-color: transparent;
  border-width: calc(var(--h) * .484) calc(var(--h) * .97) calc(var(--h) * .484) calc(var(--h) * .406);
  border-image: var(--img) 31 62 31 26 fill stretch; }
.hb::after { z-index: -2; border-image-source: var(--sh); opacity: .38; transform: translate(4px, 5px); }
.hb:active { transform: translate(2px, 3px) scale(.985); }
.hb-big { --h: 78px; --img: url(../img/trompe-grande.svg); --sh: url(../img/trompe-grande-ombre.svg); min-width: calc(246 * var(--u)); font-size: 1.4rem; }
.hb-full { --h: 80px; display: flex; width: 100%; font-size: 1.7rem; }
.hb-light { --img: url(../img/trompe-claire.svg); color: var(--ink); }
.hb-price { --h: 48px; min-width: 92px; font-size: 1.06rem; white-space: nowrap; }
.hb-off { --img: url(../img/trompe-grande-off.svg); color: var(--ink); font-size: 1.06rem; font-weight: 800; cursor: not-allowed; }
.hb-off::after { opacity: .16; }
.hb-off:active { transform: none; }
@media (hover: hover) {
  .hb:not(.hb-off):hover { transform: translate(-1px, -2px); }
}

/* ── Haut de page ── */
.hero { overflow: hidden; background: linear-gradient(#FFC3D6, #F9A3C0 50%, #EE7FA8); padding-bottom: 44px; }
.topline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; height: calc(62 * var(--u)); padding-top: calc(23 * var(--u)); }
.topline strong { font-size: 1.3rem; font-weight: 850; line-height: 1; }
.topline span { font-size: .875rem; font-weight: 600; }
.t-klaxon { position: absolute; z-index: 1; left: calc(11.9 * var(--u)); top: calc(62.8 * var(--u)); width: calc(359.7 * var(--u)); height: auto; transform-origin: 50% 100%; }
.hero h1 span { position: relative; z-index: 3; display: block; width: 4.6em; padding-top: calc(430 * var(--u)); font-size: calc(40 * var(--u)); line-height: .925; font-weight: 850; letter-spacing: -.025em; }
.hero-art { position: absolute; z-index: 2; left: calc(3.5 * var(--u)); top: calc(231 * var(--u)); width: calc(418.5 * var(--u)); transform-origin: 70% 75%; pointer-events: none; }
.hero-art img { width: 100%; height: auto; }
.tag-price { position: absolute; left: calc(298 * var(--u)); top: calc(217 * var(--u)); width: calc(72 * var(--u)); text-align: center; font-size: calc(18.5 * var(--u)); line-height: 1; font-weight: 850; letter-spacing: -.03em; white-space: nowrap; transform: rotate(7deg); }
.tag-price.long { font-size: calc(15.5 * var(--u)); }
.hero-copy { position: relative; z-index: 3; }
.lead { width: 11.9em; margin-top: 10px; font-size: max(.9375rem, 15 * var(--u)); line-height: 1.27; font-weight: 600; }
.sig { width: max(11.5em, 184 * var(--u)); margin-top: calc(14 * var(--u)); }
.sig strong { display: block; font-size: max(1.375rem, 22 * var(--u)); line-height: 1.15; font-weight: 850; white-space: nowrap; }
.sig span { display: block; margin-top: 2px; font-size: max(.9375rem, 15 * var(--u)); line-height: 1.25; font-weight: 600; }
.sig em { display: inline-block; margin-top: 4px; font-style: normal; font-weight: 800; }
.ctas { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: max(9px, (var(--u) - 1px) * 130) 0 0 -3px; }
.link { padding: 12px 6px 4px; border-bottom: 2px solid; font-size: 1.1rem; font-weight: 750; text-decoration: none; white-space: nowrap; }

/* Deux coups de klaxon à l'arrivée, puis plus rien ne bouge */
@media (prefers-reduced-motion: no-preference) {
  .hero-art { animation: coup .34s .55s ease-out 2; }
  .t-klaxon { animation: son .34s .6s ease-out 2; }
}
@keyframes coup { 0%, 100% { transform: none; } 30% { transform: rotate(-1.3deg) scale(1.012); } 65% { transform: rotate(.6deg); } }
@keyframes son { 0%, 100% { transform: none; } 35% { transform: scale(1.028); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hb { transition: none; } }

/* ── La phrase ── */
.phrase { --c: #6B0A3A; background: linear-gradient(#6B0A3A, #4B0326 55%, #36011B); color: var(--pale); padding-bottom: 62px; }
.phrase .vib { z-index: 1; }
.phrase-horn { position: absolute; z-index: 2; top: -22px; right: 0; width: calc(318.5 * var(--u)); height: auto; }
.phrase-in { z-index: 3; }
.who { width: 6.6em; padding-top: calc(52 * var(--u)); color: var(--pink); font-size: calc(18 * var(--u)); line-height: 1.22; font-weight: 700; }
.phrase h2 { padding-top: calc(100 * var(--u)); }
.phrase h2 img { width: calc(352 * var(--u)); height: auto; margin-left: calc(-1 * var(--u)); }
.story { text-wrap: pretty; margin-top: 26px; font-size: 1.0625rem; line-height: 1.41; }

/* ── Le menu : l'étiquette de prix, en grand ── */
.menu { --c: #FFC3D6; background: linear-gradient(#FFC3D6, #F9A3C0 50%, #F08FB2); padding: 50px 24px 56px 14px; }
.tag { position: relative; z-index: 4; isolation: isolate; width: 100%; max-width: 440px; margin: 0 auto; padding: 60px 20px 24px; scroll-margin-top: 20px; }
.tag::before, .tag::after { content: ""; position: absolute; inset: 0; z-index: -1; border: solid transparent; border-width: 74px 74px 14px;
  border-image: url(../img/etiquette.svg) 74 74 14 fill stretch; }
.tag::after { z-index: -2; border-image-source: url(../img/etiquette-ombre.svg); transform: translate(11px, 15px); }
.string { position: absolute; z-index: 4; left: calc(50% - 20px); top: -98px; }
.tag h2 img { width: min(262px, 76%); height: auto; margin: 0 auto; }
.howto { margin-top: 16px; text-align: center; font-size: .875rem; font-weight: 600; text-wrap: balance; }
.cats { min-height: 1000px; }
.cats:not(:empty) { min-height: 0; }
.cat { margin-top: 24px; }
.cat h3 { color: var(--berry); font-size: 1.56rem; line-height: 1.1; font-weight: 850; }
.dish { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 12px 0; }
.dish + .dish { background: radial-gradient(circle, var(--dots) .8px, transparent 1.1px) 0 0 / 7px 2px repeat-x; }
.dish h4 { font-size: 1.125rem; line-height: 1.2; }
.dish p { margin-top: 2px; font-size: .9375rem; line-height: 1.22; text-wrap: pretty; }
.dish mark { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--soft); color: var(--ink); font-size: .8125rem; font-weight: 750; vertical-align: 2px; }
.txt { min-width: 0; overflow-wrap: anywhere; }
.price { min-height: 48px; display: flex; flex-direction: column; justify-content: center; text-align: right; font-size: 1.125rem; font-weight: 800; white-space: nowrap; }
.price small { font-size: .8125rem; font-weight: 600; white-space: normal; max-width: 6em; margin-left: auto; line-height: 1.15; }
.ph { height: auto; }
.ph:not([src]) { aspect-ratio: 1; }
.dish-l .ph:not([src]) { aspect-ratio: 603 / 264; }
.ph.framed { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.dish-l .ph { grid-column: 1 / -1; width: 100%; max-width: 330px; margin: 0 auto 10px; }
.dish-l h4 { font-size: 1.25rem; }
.dish-l .hb-price { min-width: 112px; }
.dish-m { grid-template-columns: min(145px, 44%) 1fr; }
.dish-m .ph { grid-row: 1 / 3; width: 100%; }
.dish-m .ph:not(.framed) { width: 88%; margin: 0 auto; }
.dish-m .txt { align-self: end; }
.dish-m .hb-price { justify-self: start; align-self: start; min-width: 104px; margin-top: 6px; }
.dish-m .price { text-align: left; align-self: start; min-height: 32px; }
.dish-m .price small { margin-left: 0; max-width: none; }
.dish-s { grid-template-columns: 30px 1fr auto; padding: 7px 0; }
.dish-s .ph { width: 30px; }
.dish-s h4 { font-size: 1.0625rem; }
.dish-s .ph.framed { width: 30px; aspect-ratio: 3/4; border-radius: 6px; }
.out .ph { opacity: .45; }

/* ── La semaine ── */
.week { --c: #F08FB2; overflow: hidden; padding-bottom: 72px; background:
  linear-gradient(rgba(84, 26, 0, .6), rgba(84, 26, 0, .12) 45%, rgba(58, 14, 0, .52)), #B86A10 var(--photo, none) center / cover; }
.near.week { --photo: url(../img/alloco-fond.webp); }
.week-in { padding-left: calc(14 * var(--u)); padding-right: 0; }
.week h2 img { width: calc(353 * var(--u)); height: auto; margin-left: calc(7 * var(--u)); padding-top: calc(54 * var(--u)); }
.week ul { margin-top: 24px; display: grid; gap: 12px; }
.week li { --h: 104px; position: relative; isolation: isolate; width: var(--w); min-height: var(--h); padding: 20px 44px 20px 26px; display: flex; flex-direction: column; justify-content: center; color: var(--cream); }
.week li::before, .week li::after { content: ""; position: absolute; inset: 0; z-index: -1; border: solid transparent;
  border-width: calc(var(--h) * .484) calc(var(--h) * .97) calc(var(--h) * .484) calc(var(--h) * .406);
  border-image: url(../img/trompe.svg) 31 62 31 26 fill stretch; }
.week li::after { z-index: -2; border-image-source: url(../img/trompe-nuit.svg); opacity: .5; transform: translate(9px, 11px); }
.week h3 { color: var(--soft); font-size: 1.56rem; line-height: 1.1; font-weight: 850; }
.week p { font-size: .97rem; line-height: 1.18; text-wrap: pretty; }

/* ── Infos : le mur bleu ── */
.info { --c: #226CCE; color: var(--cream); padding-bottom: 76px;
  background: url(../img/crepi.webp) 0 0 / 160px, linear-gradient(100deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 60%), linear-gradient(#226CCE, #1A5ABC 17%, #114396);
  background-blend-mode: overlay, normal, normal; }
.leaves { position: absolute; z-index: 2; top: calc(17 * var(--u)); right: 0; width: calc(162.5 * var(--u)); aspect-ratio: 200 / 359; background: var(--feuilles, none) 0 0 / 100% 100%; pointer-events: none; }
.near.info { --feuilles: url(../img/feuilles.webp); }
.info h2 { padding-top: calc(49 * var(--u)); }
.info h2 img { width: calc(358 * var(--u)); height: auto; margin-left: calc(-1 * var(--u)); }
.info-col { position: relative; z-index: 3; }
.addr { color: #fff; margin: 20px 0 14px; font-size: 1.125rem; font-weight: 600; }
.info .hb { --h: 64px; min-width: 196px; }
.info .hb::after, .week li::after { mix-blend-mode: multiply; }
.pill { display: flex; align-items: center; gap: 9px; width: fit-content; margin-top: 30px; padding: 8px 16px 8px 13px; border-radius: 22px; background: #0B3F2A; color: #D9FFE9; font-size: 1.0625rem; font-weight: 750; line-height: 1.3; }
.pill i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #5CF0A0; }
.pill.closed { background: #5A0B22; color: #FFE3EC; }
.pill.closed i { background: #FF8FA9; }
.hours { margin-top: 16px; }
.hours div { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; padding: 8px 0; }
.hours div + div { border-top: 1.4px solid rgba(255, 246, 234, .45); }
.hours dt { font-size: 1.0625rem; }
.hours dd { margin-left: auto; color: var(--soft); font-size: 1.56rem; line-height: 1.1; font-weight: 850; text-align: right; }
.info h3 { margin-top: 26px; font-size: 1.25rem; line-height: 1.25; }
.info h3 + p { margin-top: 5px; text-wrap: balance; }
.info .vib { background: url(../img/crepi.webp) 0 100% / 160px, linear-gradient(100deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 60%), #226CCE; background-blend-mode: overlay, normal, normal; }

/* ── Dernier appel ── */
.end { --c: #F9A3C0; overflow-x: clip; background: linear-gradient(#F9A3C0, #EE7FA8); }
.end h2 { padding-top: calc(46 * var(--u)); }
.end h2 img { width: calc(355.3 * var(--u)); height: auto; margin-left: calc(1.7 * var(--u)); }
.end-art { width: calc(423 * var(--u)); height: auto; margin: calc(5 * var(--u)) 0 0 calc(-29.5 * var(--u)); }
.end-copy { position: relative; z-index: 2; margin-top: -2px; }
.recap { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; margin-bottom: 8px; font-size: 1.44rem; }
.recap strong, .recap b { font-weight: 850; }
.recap b { font-size: 1.69rem; }
.foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-top: 34px; padding-bottom: calc(34px + env(safe-area-inset-bottom)); font-size: .9375rem; font-weight: 600; }
.foot strong { font-size: 1.25rem; font-weight: 850; }
.foot small { flex-basis: 100%; margin-top: 10px; padding-top: 12px; border-top: 1.4px solid rgba(75, 3, 38, .3); font-size: .9375rem; font-weight: 600; }

/* ── Barre fixe ── */
.bar { position: fixed; z-index: 60; inset: auto 0 0; display: flex; align-items: center; gap: 14px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)) 18px;
  background: #FFF6F9; border-top: 1.5px solid #E9A3BD; transition: transform .22s ease-out, visibility .22s; }
.bar.away:not(.closed) { transform: translateY(110%); visibility: hidden; }
.bar-st { flex: 0 1 auto; min-width: 104px; line-height: 1.25; }
.bar-st strong { display: flex; align-items: center; gap: 7px; color: #0F5C35; }
.bar-st i { width: 11px; height: 11px; border-radius: 50%; background: #16814A; }
.bar-st small { font-size: .9rem; font-weight: 560; }
.bar.closed strong { color: #8A1C30; }
.bar.closed i { background: #A3283C; }
.bar .hb { flex: 1; padding-left: 12px; }
.bar.closed ~ * { scroll-margin-bottom: 80px; }
body:has(.bar.closed) .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

@media (max-width: 359px) {
  .tag { padding-inline: 14px; }
  .bar { gap: 8px; padding-left: 12px; padding-right: 10px; }
  .bar .hb { font-size: 1.1rem; }
  .hb-big:not(.hb-full) { min-width: 0; flex: 1; }
}

/* ═══ Ordinateur : mêmes dessins, sur deux colonnes ═══ */
@media (min-width: 900px) {
  .wrap { width: min(100%, 1240px); padding: 0 40px; }
  .vib { height: 74px; -webkit-mask-image: url(../img/vibration-large.svg); mask-image: url(../img/vibration-large.svg); }
  .bar { display: none; }
  body:has(.bar.closed) .foot { padding-bottom: 40px; }

  .hero { padding-bottom: 90px; }
  .hero-in { --u: clamp(.98px, .096vw, 1.38px); display: grid; grid-template-columns: 1.22fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 32px; min-height: calc(590 * var(--u) + 40px); }
  .topline { grid-area: 1 / 1 / 2 / -1; height: auto; justify-content: flex-start; gap: 22px; padding: 30px 0 26px; }
  .topline strong { font-size: 1.6rem; }
  .topline span { font-size: 1rem; }
  .hero h1 { grid-area: 2 / 1; }
  .t-klaxon { position: static; width: min(100%, 620px); }
  .hero h1 span { width: auto; padding-top: 14px; font-size: clamp(2.4rem, 4.4vw, 4rem); white-space: nowrap; line-height: 1; }
  .hero-art { position: relative; grid-area: 1 / 2 / 4 / 3; left: 0; top: 34px; justify-self: center; align-self: start; margin-bottom: -60px; }
  .hero-copy { grid-area: 3 / 1; }
  .lead { width: auto; max-width: 11.9em; margin-top: 18px; font-size: 1.2rem; }
  .sig { width: auto; margin-top: 22px; }
  .sig strong { font-size: 1.6rem; }
  .sig span { font-size: 1.06rem; }
  .ctas { justify-content: flex-start; gap: 34px; margin-top: 18px; }
  .hb-big { min-width: 290px; }

  .phrase { padding-bottom: 130px; }
  .phrase-horn { width: min(47vw, 700px); top: -37px; }
  .who { width: auto; padding-top: 70px; font-size: 1.4rem; }
  .phrase h2 { padding-top: 26px; }
  .phrase h2 img { width: min(50vw, 620px); }
  .story { max-width: 33em; margin-top: 34px; font-size: 1.2rem; }

  .menu { padding: 90px 40px 150px; }
  .string { width: 168px; height: 210px; left: calc(50% - 28px); top: -150px; }
  .tag { max-width: 1060px; padding: 70px 64px 46px; }
  .tag h2 img { width: 380px; }
  .howto { font-size: 1.06rem; }
  .cats { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: min-content; column-gap: 72px; margin-top: 14px; }
  .cat:first-child { grid-row: 1 / span 12; }
  .cat:not(:first-child) { grid-column: 2; }
  .dish-l .ph { max-width: 400px; }

  .week { padding-bottom: 150px; }
  .near.week { --photo: url(../img/alloco-fond-large.webp); }
  .week-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 130px 40px 0; }
  .week h2 img { width: 100%; margin: 0; padding: 0; }
  .week ul { margin: 0; gap: 18px; }
  .week li { --h: 116px; padding-left: 36px; }
  .week h3 { font-size: 1.8rem; }
  .week p { font-size: 1.1rem; }

  .info { padding-bottom: 150px; }
  .info-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; padding-top: 100px; }
  .info h2 { padding: 0; }
  .info h2 img { width: 100%; margin: 0; }
  .leaves { width: 270px; top: 0; }
  .addr { margin-top: 0; font-size: 1.3rem; }

  .end-in { display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto; gap: 24px 56px; align-items: center; padding-top: 80px; }
  .end h2 { grid-column: 2; grid-row: 1; padding: 0; align-self: end; }
  .end h2 img { width: 100%; max-width: 500px; margin: 0 auto; }
  .end-art { grid-column: 1; grid-row: 1 / 3; width: 108%; margin: 0 0 0 -8%; }
  .end-copy { grid-column: 2; grid-row: 2; align-self: start; width: 100%; max-width: 500px; margin: 0 auto; }
  .foot { padding-top: 50px; padding-bottom: 40px; }
}
