/* Accueil : photo plein cadre, tickets de créneaux libres, trois façons d'en profiter. Chargé seulement par la page d'accueil. */

.a-ouverture { position: relative; min-height: min(84svh, 760px); display: flex; align-items: flex-end; margin-bottom: 5rem; color: var(--blanc); }
.a-photo { position: absolute; inset: 0; margin: 0; overflow: hidden; background: var(--eau); }
.a-photo img { width: 100%; height: 100%; object-fit: cover; }
.a-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,22,25,.25) 0%, transparent 25%, transparent 45%, rgba(8,22,25,.78) 100%), linear-gradient(90deg, rgba(8,22,25,.45), transparent 60%); }
.a-titre { position: relative; z-index: 2; width: min(1220px, 100% - 2rem); margin: 0 auto; padding-bottom: 6.5rem; }
.a-ouverture h1 { color: var(--blanc); font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: .98; max-width: 15ch; margin-bottom: .3em; text-shadow: 0 2px 30px rgba(0,0,0,.2); }
.a-ouverture h1 em { color: #e9dcc2; }
.a-accroche { max-width: 40ch; font-size: 1.12rem; line-height: 1.5; margin: 0; opacity: .92; }

/* Tickets de créneaux libres : l'élément signature de la version A */
.a-libres { padding: 1rem 0 4.5rem; }
.a-libres-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.6rem; }
.a-libres-tete h2 { margin: 0; }
.a-libres-tete p { margin: 0; color: var(--gris); max-width: 46ch; }
.a-tickets { list-style: none; margin: 0; padding: .4rem max(1rem, calc((100% - 1220px) / 2)) 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: .9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(1rem, calc((100% - 1220px) / 2)); scrollbar-width: thin; }
.a-tickets li { scroll-snap-align: start; }
.a-tickets a { --encoche: 13px; position: relative; display: grid; grid-template-columns: auto 1fr; height: 100%; text-decoration: none; color: var(--encre); background: var(--blanc); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(28,32,29,.06), 0 10px 26px -14px rgba(19,63,71,.35);
  -webkit-mask: radial-gradient(circle var(--encoche) at 6.4rem 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--encoche) at 6.4rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--encoche) at 6.4rem 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--encoche) at 6.4rem 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  transition: transform .2s, background .2s; }
.a-tickets a:hover { transform: translateY(-3px); background: #fff; }
.t-quand { width: 6.4rem; display: flex; flex-direction: column; justify-content: center; padding: 1.1rem .4rem 1.1rem 1.1rem; border-right: 1.5px dashed var(--sable); }
.t-jour { font-size: .78rem; color: var(--gris); }
.t-heure { font: 500 2rem/1 var(--display); font-variant-numeric: lining-nums; color: var(--eau); }
.t-quoi { display: flex; flex-direction: column; justify-content: center; gap: .25rem; padding: 1rem 1.1rem; min-width: 0; }
.t-nom { font-weight: 500; line-height: 1.3; }
.t-prix { font-size: .88rem; color: var(--gris); }
.a-libres-pied { margin-top: .6rem; }

/* Trois façons d'en profiter */
.a-facons { padding: 4.5rem 0 5rem; background: var(--lin); }
.a-facons-titre { margin-bottom: 3rem; }
.a-facon { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.a-facon + .a-facon { margin-top: clamp(3rem, 6vw, 5rem); }
.a-facon:nth-child(odd of .a-facon) figure { order: 2; }
.a-facon figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; }
.a-facon figure img { width: 100%; height: 100%; object-fit: cover; }
.a-facon h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.a-facon p { margin: 0 0 1rem; max-width: 46ch; }
.a-prix { font: italic 400 1.45rem/1.3 var(--display); color: var(--eau); }
.a-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 1.4rem; }
.a-actions .lien-fleche { font-size: .95rem; }

/* Comment ça se passe */
.a-deroule { padding: 5rem 0; }
.a-etapes { list-style: none; counter-reset: etape; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.a-etapes li { counter-increment: etape; border-top: 1px solid var(--filet); padding-top: 1.2rem; }
.a-etapes li::before { content: counter(etape); display: block; font: italic 400 2.6rem/1 var(--display); color: var(--laiton); margin-bottom: .6rem; }
.a-etapes h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.a-etapes p { margin: 0; color: var(--gris); }

/* Cadeau et infos */
.a-cadeau { background: var(--eau); color: var(--blanc); }
.a-cadeau h2 { color: var(--blanc); }
.a-cadeau-grille { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.a-cadeau-grille p { max-width: 50ch; opacity: .9; }
.a-infos { padding: 4.5rem 0; }
.a-infos-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }

@media (max-width: 900px) {
  .a-ouverture { min-height: 0; display: block; margin-bottom: 0; }
  .a-photo { position: relative; height: min(80svh, 700px); min-height: 500px; border-radius: 0 0 34px 34px; }
  .a-photo img { animation: zn-approche 9s cubic-bezier(.16, .8, .3, 1) both; transform-origin: 50% 60%; }
  .a-titre { position: absolute; left: 0; right: 0; bottom: 0; width: auto; padding: 0 1.25rem 5.4rem; height: min(80svh, 700px); min-height: 500px; top: 0; display: flex; flex-direction: column; justify-content: flex-end; pointer-events: none; }
  .a-titre a { pointer-events: auto; }
  .a-ouverture h1 { font-size: clamp(2.4rem, 10.6vw, 3.1rem); animation: zn-monte 1.1s cubic-bezier(.2, .75, .2, 1) .25s both; }
  .a-accroche { font-size: 1rem; }
  .a-libres { padding: 3rem 0 3.5rem; }
  .a-tickets { grid-auto-columns: 78%; }
  .a-facons { padding: 3.5rem 0; }
  .a-facon { grid-template-columns: 1fr; }
  .a-facon:nth-child(odd of .a-facon) figure { order: 0; }
  .a-facon figure { aspect-ratio: 5 / 4; border-radius: 22px; }
  .a-etapes { grid-template-columns: 1fr; gap: 1.4rem; }
  .a-etapes li { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .6rem; }
  .a-etapes li::before { grid-row: span 2; font-size: 2.2rem; }
  .a-cadeau-grille, .a-infos-grille { grid-template-columns: 1fr; }
  .a-cadeau .carte-apercu { max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .a-photo img, .a-ouverture h1, }

.a-titre .surtitre-accueil { color: rgba(255,253,249,.9); text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.a-groupes { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--lin); }
.a-groupes-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.a-groupes h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .4em; }
.a-groupes p { color: var(--gris); max-width: 46ch; margin: 0 0 1.4rem; }
.a-groupes-prix { list-style: none; margin: 0; padding: 0; background: var(--blanc); border-radius: var(--rayon); border: 1px solid var(--filet); }
.a-groupes-prix li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--filet); }
.a-groupes-prix li:last-child { border-bottom: 0; }
.a-groupes-prix strong { font: 400 1.5rem/1 var(--display); color: var(--eau); white-space: nowrap; }
@media (max-width: 760px) { .a-groupes-grille { grid-template-columns: 1fr; gap: 1.6rem; } }
