/* La Nuova Corona, réserver : la demande de table, le message, nous trouver. */
.tete-reservation .tete-photo-img img { object-position: 50% 62%; }
.resa-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(48px, 6vw, 88px) clamp(48px, 6vw, 80px); align-items: start; }
@media (max-width: 899.98px) { .resa-grille { grid-template-columns: 1fr; padding-top: 32px; } }
/* au téléphone, la tête se resserre : la table et le formulaire montent dans le premier écran */
@media (max-width: 599.98px) { .tete-reservation .tete-photo-dedans { padding-block: 40px 30px; } }
.resa-formulaire h2 { display: flex; align-items: center; gap: .4em; font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.4rem); margin-bottom: 18px; }
.resa-formulaire h2 .pose { width: 1.1em; }
.resa-message { padding: clamp(22px, 3vw, 34px); border-radius: 16px; background: var(--papier); border: 1px solid var(--filet); }
form.demande[hidden] { display: none; }
form.demande { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.champ { display: grid; gap: 6px; align-content: start; }
.champ-large { grid-column: 1 / -1; }
.champ label { font: 650 .92rem var(--f-texte); }
.aide { font-weight: 500; color: var(--sourd); font-size: .84rem; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid rgba(35, 22, 15, .28); border-radius: 12px; background: #fff; color: var(--encre); font: 500 1.02rem var(--f-texte); transition: border-color .2s, box-shadow .2s; }
.champ textarea { line-height: 1.5; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--rosso-f); box-shadow: 0 0 0 4px rgba(227, 181, 70, .45); }
.champ-aide { font-size: .86rem; color: var(--sourd); min-height: 1.2em; }
.champ-aide.erreur, .etat-envoi.erreur { color: var(--rosso-f); font-weight: 600; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.resa-envoi { display: grid; gap: 10px; justify-items: start; margin-top: 4px; }
.etat-envoi:empty { display: none; }
.resa-legal { font-size: .88rem; color: var(--sourd); }
.resa-legal a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.reussi { padding: 24px clamp(18px, 3vw, 28px); border-radius: 14px; background: var(--papier); border-left: 4px solid var(--oro-f); }
.reussi h3 { font-size: 1.6rem; margin-bottom: 8px; }
.reussi .btn { margin-top: 16px; }
@media (max-width: 479.98px) { form.demande { grid-template-columns: 1fr; } }
/* Sans JavaScript, le formulaire ne peut rien envoyer : le numéro à la place */
.sans-js { font-size: 1.15rem; }
.formulaires-prets .sans-js { display: none; }

.nous-trouver { background: var(--travertin) var(--crepi); padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--filet); }
.trouver-grille { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.trouver-grille h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); margin-bottom: 14px; }
.nous-trouver .surtitre { justify-content: flex-start; }
.trouver-adresse { font: italic 500 1.35rem/1.35 var(--f-titre); margin-bottom: .6em; }
.trouver-gestes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trouver-h { font-size: 1.4rem; margin-bottom: 8px; }
.nous-trouver .aujourdhui { font: italic 500 1.1rem var(--f-titre); color: var(--rosso-f); margin-bottom: 8px; }
.nous-trouver .aujourdhui:empty { display: none; }
.trouver-note { margin-top: 14px !important; font-size: .92rem; color: var(--sourd); }
.trouver-photo { margin: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 40px -26px rgba(60, 30, 15, .6); }
.trouver-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 959.98px) { .trouver-grille { grid-template-columns: 1fr; } }

/* ── La table qui attend : le chevalet « Riservato » sur le set marine, une assiette à bord ocre par couvert ──
   Il se lève quand on arrive (.est-levee), s'écrit pendant qu'on remplit (.ecrit), sert les assiettes (.mis).
   Sans .mouvement (réduit, « Arrêter ») : debout, écrit, immobile. */
.resa-table {
  position: relative; display: grid; grid-template-columns: minmax(156px, 52%) 1fr; align-items: center; gap: 10px;
  min-height: 128px; padding: 14px 12px 18px 16px; margin: 0 0 24px; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 249, 239, .10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .07) 0 1px, transparent 1px 3px),
    var(--marine);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 18px 30px -24px rgba(21, 42, 59, .9);
  perspective: 700px;
}
.resa-table::before { content: ''; position: absolute; inset: 6px; border: 1px dashed rgba(239, 227, 208, .2); border-radius: 10px; pointer-events: none; }
.chevalet { position: relative; z-index: 1; transform-origin: 50% 100%; justify-self: start; width: 100%; max-width: 230px; }
.chevalet::after { /* l'ombre du chevalet sur le set */
  content: ''; position: absolute; left: 6%; right: 6%; bottom: -7px; height: 12px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(5, 12, 20, .7), transparent); z-index: -1;
}
.chevalet-face {
  position: relative; padding: 7px 10px 9px; border-radius: 3px; text-align: center;
  background: linear-gradient(180deg, #fffaf1, var(--papier) 60%, #f1e7d6);
  outline: 1px solid rgba(132, 98, 26, .5); outline-offset: -4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 -1px 0 rgba(255, 255, 255, .6) inset;
}
.chevalet-face::after { /* le pli du bas : le pied du chevalet */
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, #d9ccb6, #b9aa92);
}
.ch-couronne { display: block; width: 22px; height: auto; margin: 0 auto 1px; color: var(--oro-f); }
.ch-titre { font: italic 600 1.22rem/1.05 var(--f-titre); color: var(--bordeaux-f); letter-spacing: .01em; }
.ch-titre::after { content: ''; display: block; width: 42%; height: 1px; margin: 5px auto 4px; background: linear-gradient(90deg, transparent, var(--oro-f), transparent); }
.ch-ligne { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-nom { font: italic 500 1rem/1.25 var(--f-titre); color: var(--encre); }
.ch-quand { font: 600 .7rem/1.35 var(--f-texte); letter-spacing: .05em; text-transform: uppercase; color: var(--sourd); font-variant-numeric: tabular-nums; }
.ch-ligne.is-vide { color: #8a7764; }
.ch-nom.is-vide { font-weight: 400; }
.set-plats { display: grid; justify-items: center; gap: 7px; min-width: 0; }
.couverts-plats { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; max-width: calc(3 * 38px + 2 * 7px); }
.couvert-plat {
  width: 38px; aspect-ratio: 1; border-radius: 50%; display: none;
  background: radial-gradient(circle at 50% 46%, #fffaf1 0 47%, #ece2d0 49% 55%, var(--ocre) 57% 70%, #b98048 72% 100%);
  box-shadow: 0 5px 7px -3px rgba(3, 10, 18, .75), inset 0 0 0 1px rgba(120, 72, 30, .25);
}
.couvert-plat.mis { display: block; }
.ch-couverts { font: 600 .68rem var(--f-texte); letter-spacing: .1em; text-transform: uppercase; color: var(--creme); }
/* Sans JavaScript, le formulaire n'est pas là : le chevalet seul, sans lignes */
html:not(.formulaires-prets) .resa-table .ch-ligne { display: none; }
@media (min-width: 900px) {
  .resa-table { min-height: 172px; padding: 18px 20px 22px 24px; grid-template-columns: minmax(200px, 50%) 1fr; }
  .chevalet { max-width: 270px; }
  .chevalet-face { padding: 10px 14px 12px; }
  .ch-couronne { width: 28px; }
  .ch-titre { font-size: 1.5rem; }
  .ch-nom { font-size: 1.14rem; }
  .ch-quand { font-size: .76rem; }
  .couvert-plat { width: 48px; }
  .couverts-plats { gap: 9px; max-width: calc(3 * 48px + 2 * 9px); }
}
@media (prefers-reduced-motion: no-preference) {
  /* il se lève : couché sur le set, il se redresse d'un ressort */
  .js.mouvement .resa-table:not(.est-levee) .chevalet { transform: rotateX(82deg); }
  .js.mouvement .resa-table:not(.est-levee) .chevalet::after { opacity: .2; transform: scaleY(2.2); }
  .js.mouvement .resa-table:not(.est-levee) .couvert-plat, .js.mouvement .resa-table:not(.est-levee) .ch-couverts { opacity: 0; }
  .js.mouvement .resa-table.est-levee .ch-couverts { transition: opacity .5s ease .7s; }
  .js.mouvement .resa-table.est-levee .chevalet { transition: transform 1s var(--ease-ressort) .1s; }
  .js.mouvement .resa-table.est-levee .chevalet::after { transition: opacity .8s ease .15s, transform .8s var(--ease-sortie) .15s; }
  /* les assiettes servies : glissées, un quart de tour, l'ombre qui se resserre */
  .js.mouvement .resa-table.est-levee .couvert-plat.mis { animation: plat-servi .55s var(--ease-sortie) both; animation-delay: calc(.45s + var(--i) * .07s); }
  .js.mouvement .resa-table.est-levee .couvert-plat.mis.nouveau { animation-delay: 0s; }
  /* il s'écrit : la ligne paraît de gauche à droite, comme sous la plume */
  .js.mouvement .resa-table .ch-ligne.ecrit { animation: ch-ecrit .6s cubic-bezier(.45, 0, .25, 1) both; }
}
@keyframes plat-servi {
  0% { opacity: 0; transform: translate(14px, -10px) rotate(-40deg) scale(.86); box-shadow: 0 14px 16px -6px rgba(3, 10, 18, .45), inset 0 0 0 1px rgba(120, 72, 30, .25); }
  100% { opacity: 1; transform: none; }
}
@keyframes ch-ecrit { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
