/* Œillade · site portfolio (2026-11-15). Direction « pinned poster » : le cadre 9:16 reste fixe, les pubs défilent dedans. */
:root {
  --bg: #14101C;        /* nuit (marque) */
  --surface: #241A33;   /* nuit claire (marque) */
  --ink: #F6EFE6;       /* ivoire */
  --muted: #D8CCDF;
  --accent: #FF6B57;    /* corail : l'action */
  --or: #F3B65B;        /* or : seconde couleur de marque */
  --ticket: #F6EFE6;
  --ticket-ink: #14101C;
  --display: "Cormorant Garamond", Georgia, serif;
  --text: "Jost", "Segoe UI", system-ui, sans-serif;
  --marge: clamp(16px, 3vw, 40px);
  --t-geant: clamp(96px, 19vw, 320px);
  --t-hero: clamp(72px, 8.4vw, 136px);
  --t-grand: clamp(44px, 6vw, 96px);
  --t-moyen: clamp(26px, 2.4vw, 34px);
  --t-texte: 18px;
  --t-petit: 16px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-texte)/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
::selection { background: var(--or); color: var(--bg); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barre */
.barre { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--marge); background: var(--bg); }
.marque img { width: 150px; height: auto; }
.barre nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: var(--t-petit); }
.barre nav a:not(.bouton) { text-decoration: none; }
.barre nav a:not(.bouton):hover { color: var(--or); }

.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--bg); font: 500 16px/1 var(--text); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.bouton:hover { background: var(--or); }
.bouton:active { transform: scale(.97); }

/* La bobine : un cadre fixe, six pubs */
.bobine { position: relative; }
.scene { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; column-gap: clamp(24px, 4vw, 64px); align-items: center; padding: 88px var(--marge) 0; }
.pas { height: 420svh; margin-top: -100svh; display: grid; grid-template-rows: repeat(6, 1fr); pointer-events: none; }
.intro { grid-column: 1; align-self: center; display: grid; gap: 24px; justify-items: start; }
.titre-fixe { margin: 0; font: 700 var(--t-hero)/.88 var(--display); letter-spacing: -.02em; color: var(--ink); }
.sous-titre { margin: 0; max-width: 16ch; font: 700 var(--t-moyen)/1.1 var(--display); color: var(--or); }
.cadre { grid-column: 2; position: relative; height: min(80svh, 1060px); aspect-ratio: 9 / 16; background: var(--surface); border-radius: 28px; overflow: hidden; z-index: 1; }
.plan { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease), transform .6s var(--ease); transform: scale(1.04); }
.plan.actif { opacity: 1; transform: scale(1); }
.promesse { max-width: 32ch; margin: 0; font-size: var(--t-texte); }
.action { margin-top: 8px; }
.legendes { grid-column: 3; justify-self: end; margin: 0; padding: 0; list-style: none; text-align: right; font-size: var(--t-petit); color: var(--muted); display: grid; gap: 10px; }
.legendes li { transition: color .3s var(--ease), transform .3s var(--ease); }
.legendes li.actif { color: var(--ink); transform: translateX(-8px); }
.legendes li.actif strong { color: var(--or); }
.son { position: absolute; right: var(--marge); bottom: 6svh; background: var(--surface); color: var(--ink); border: 0; border-radius: 999px; min-height: 44px; padding: 0 18px; font: 500 var(--t-petit) var(--text); cursor: pointer; }
.son:hover { background: var(--accent); color: var(--bg); }

/* Méthode : un verbe par écran */
.methode { position: relative; }
.etape { position: relative; height: 100svh; overflow: clip; background: var(--surface) var(--photo) center / cover no-repeat; }
.etape::before { content: ""; position: absolute; inset: 0; background: rgba(20, 16, 28, .62); }
.verbe { position: absolute; left: 0; right: 0; top: 42%; transform: translateY(-50%); margin: 0; text-align: center; font: 700 var(--t-geant)/.9 var(--display); letter-spacing: -.03em; color: var(--ink); z-index: 1; }
.phrase { position: absolute; left: var(--marge); bottom: 48px; max-width: 46ch; margin: 0; padding: 20px 24px; background: rgba(20, 16, 28, .82); border-radius: 18px; font-size: var(--t-texte); z-index: 2; }
.phrase strong { color: var(--or); font-weight: 500; }

/* Tarifs : le ticket */
.tarifs { background: var(--surface); padding: 160px var(--marge); }
.tarifs-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; max-width: 1360px; margin: 0 auto 64px; }
.tarifs-tete h2 { margin: 0; font: 700 var(--t-grand)/.95 var(--display); letter-spacing: -.02em; }
.tarifs-tete p { margin: 0; max-width: 44ch; justify-self: end; }
.ticket { position: relative; display: grid; grid-template-columns: 7fr 3fr; max-width: 1360px; margin: 0 auto; background: var(--ticket); color: var(--ticket-ink); border-radius: 22px; }
.ticket::before, .ticket::after { content: ""; position: absolute; left: 70%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--surface); }
.ticket::before { top: -14px; }
.ticket::after { bottom: -14px; }
.ticket-corps { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; padding: 48px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
legend { font: 700 var(--t-moyen)/1 var(--display); margin-bottom: 12px; padding: 0; }
.ticket label { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 12px; cursor: pointer; transition: background-color .2s var(--ease); font-size: 16px; }
.ticket label:hover { background: #EAE0D3; }
.ticket label em { grid-column: 2; font-style: normal; font-size: var(--t-petit); color: #4A3F52; }
.ticket input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; transform: translateY(3px); }
.ticket label:has(input:checked) { background: #EAD9C6; }
.conditions { grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; font-size: var(--t-petit); color: #3B3142; }
.ticket-souche { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; padding: 48px 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='18'%3E%3Ccircle cx='3' cy='9' r='3' fill='%23241A33'/%3E%3C/svg%3E"); background-size: 6px 18px; background-repeat: repeat-y; background-position: left top; text-align: center; }
.souche-titre { margin: 0; font: 700 var(--t-moyen)/1.05 var(--display); }
.prix { margin: 0; font: 700 var(--t-grand)/1 var(--display); letter-spacing: -.02em; }
.remise { margin: 0; min-height: 1.5em; font-size: var(--t-petit); color: #A23A2C; font-weight: 500; }
.bouton.plein { width: 100%; min-height: 56px; border-radius: 999px; }
.note { margin: 0; font-size: var(--t-petit); color: #4A3F52; }

/* Appel : un mot est le bouton */
.appel { position: relative; display: block; min-height: 60svh; background: var(--accent); color: var(--bg); text-decoration: none; padding: 32px var(--marge) 0; overflow: hidden; transition: background-color .2s, color .2s; }
.appel:hover, .appel:focus-visible { background: var(--bg); color: var(--accent); }
.appel-phrase { display: block; max-width: 52ch; font-size: var(--t-texte); font-weight: 500; }
.appel-fleche { position: absolute; top: 32px; right: var(--marge); }
.appel-mot { position: absolute; left: var(--marge); right: var(--marge); bottom: 16px; text-align: center; font: 700 var(--t-geant)/1 var(--display); letter-spacing: -.04em; white-space: nowrap; }

/* Pied */
.pied { padding: 120px var(--marge) 40px; background: var(--bg); }
.pied-nom { margin: 0 0 72px; font: 700 var(--t-geant)/.85 var(--display); letter-spacing: -.03em; color: var(--ink); }
.pied-rangee { display: grid; grid-template-columns: 5fr 1fr 6fr; }
.lieux { grid-column: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font: 700 var(--t-moyen)/1.25 var(--display); color: var(--or); }
.lieux a { text-decoration: none; }
.lieux a:hover { color: var(--accent); }
.liens { grid-column: 3; margin: 0; padding: 0; list-style: none; columns: 2; font-size: var(--t-petit); }
.liens li { margin-bottom: 8px; }
.pied-fin { display: flex; justify-content: space-between; gap: 24px; margin-top: 96px; font-size: 13px; color: var(--muted); }
.pied-fin p { margin: 0; }

/* Arrivée du premier écran (réglée avant 1,2 s) */
@keyframes arrive { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.intro > *, .cadre, .legendes li, .son { animation: arrive .7s var(--ease) both; }
.sous-titre { animation-delay: .08s; } .intro .promesse { animation-delay: .16s; } .intro .action { animation-delay: .24s; }
.cadre { animation-delay: .1s; } .son { animation-delay: .4s; }
.legendes li:nth-child(1) { animation-delay: .2s; } .legendes li:nth-child(2) { animation-delay: .26s; } .legendes li:nth-child(3) { animation-delay: .32s; }
.legendes li:nth-child(4) { animation-delay: .38s; } .legendes li:nth-child(5) { animation-delay: .44s; } .legendes li:nth-child(6) { animation-delay: .5s; }

/* Entrées des sections */
.monte { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.monte.vu { opacity: 1; transform: none; }
.sans-js .monte { opacity: 1; transform: none; }

/* Téléphone */
@media (max-width: 760px) {
  .barre nav a:not(.bouton) { display: none; }
  .marque img { width: 120px; }
  .scene { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px; padding: 76px 16px 0; }
  .intro { gap: 4px; }
  .titre-fixe { font-size: 15vw; }
  .sous-titre { max-width: none; font-size: 22px; }
  .intro .promesse { display: none; }
  .action { position: fixed; right: 16px; bottom: 16px; margin: 0; z-index: 30; }
  .cadre { align-self: center; height: min(58svh, 560px); }
  .legendes { justify-self: auto; text-align: left; }
  .legendes li:not(.actif) { display: none; }
  .legendes li.actif { transform: none; }
  .son { position: static; align-self: flex-start; min-height: 40px; }
  .verbe { font-size: 24vw; }
  .phrase { left: 16px; right: 16px; bottom: 24px; font-size: 16px; }
  .tarifs { padding: 120px 16px; }
  .tarifs-tete { grid-template-columns: 1fr; gap: 16px; }
  .tarifs-tete p { justify-self: start; }
  .ticket { grid-template-columns: 1fr; }
  .ticket::before, .ticket::after { left: auto; top: auto; }
  .ticket::before { left: -14px; bottom: 300px; margin: 0; }
  .ticket::after { right: -14px; bottom: 300px; margin: 0; }
  .ticket-corps { grid-template-columns: 1fr; padding: 28px 20px; }
  .conditions { grid-template-columns: 1fr; }
  .ticket-souche { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='6'%3E%3Ccircle cx='9' cy='3' r='3' fill='%23241A33'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-size: 18px 6px; padding: 32px 20px; }
  .appel { min-height: 46svh; }
  .appel-phrase { font-size: 17px; max-width: 26ch; }
  .appel-fleche { width: 32px; height: 32px; }
  .appel-mot { font-size: 23vw; }
  .pied { padding: 96px 16px 32px; }
  .pied-rangee { grid-template-columns: 1fr; gap: 40px; }
  .lieux, .liens { grid-column: 1; }
  .pied-fin { flex-direction: column; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro > *, .cadre, .legendes li, .son { animation: none; }
  .plan, .legendes li, .monte, .bouton { transition: none; transform: none; }
  .monte { opacity: 1; }
}
