/* ==========================================================================
   La Safe Place — site pré-ouverture
   Palette « Sorbet Orbit », valeurs mesurées dans les planches de charte.
   ========================================================================== */

/* ---- Polices auto-hébergées (latin, woff2) ---- */
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Baloo 2";
  src: url("fonts/Baloo2-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --cream: #f6eee1;
  --sand: #f0e1cc;
  --coral: #f76655;
  --coral-display: #e04b3a; /* coral de titrage : 3,48:1 sur cream, AA texte large */
  --tomato: #e75224;
  --cherry: #b01131;
  --butter: #fcc85b;
  --mint: #6bb9a1;
  --mint-text: #2f7a66;
  --aqua: #5abcbb;
  --lilac: #aa83b6;
  --lilac-text: #7c589b;
  --ink: #2b2119;
  --night: #1a1410;
  --night-soft: #241b15;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-utility: "Outfit", system-ui, sans-serif;
  --font-sans: "Instrument Sans", system-ui, sans-serif;

  --radius-card: 1.75rem;
  --shadow-warm: 0 8px 24px rgba(43, 33, 25, 0.08);
  --shadow-warm-lg: 0 18px 48px rgba(43, 33, 25, 0.14);
}

/* Les couleurs de la planète des coutures doivent pouvoir transitionner */
@property --pm-planet {
  syntax: "<color>";
  inherits: true;
  initial-value: #f76655;
}
@property --pm-ring {
  syntax: "<color>";
  inherits: true;
  initial-value: #6bb9a1;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--coral);
  color: var(--cream);
}

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
  border-radius: 6px;
}

.registre-nuit :focus-visible {
  outline-color: var(--butter);
}

/* ---- Typographies utilitaires ---- */
.eyebrow {
  font-family: var(--font-utility);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.005em;
}

/* ---- Structure commune ---- */
.section {
  padding-inline: 1.25rem;
}

.contenu-max {
  max-width: 80rem;
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
}

.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
}

/* ---- Navigation fixe (même dispositif que lasafeplacebar.fr) ---- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 300ms ease, border-color 300ms ease,
    backdrop-filter 300ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(246, 238, 225, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: rgba(43, 33, 25, 0.06);
}

.site-header__barre {
  height: 4rem;
  padding-inline: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo > svg {
  width: 2.5rem;
}

.site-header__lockup {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.site-header__l1 {
  font-size: 1.05rem;
  color: var(--coral-display);
}

.site-header__l2 {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  color: var(--mint-text);
}

.site-header__l3 {
  margin-top: 0.2rem;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(43, 33, 25, 0.55);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-header__nav a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.25rem;
  transition: color 200ms ease;
}

.site-header__nav a:hover {
  color: var(--coral-display);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__cta {
  display: none;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  padding: 0.7rem 1.4rem;
  font-size: 0.8rem;
  text-decoration: none;
  box-shadow: var(--shadow-warm);
  transition: background-color 250ms ease, transform 250ms ease;
}

.site-header__cta:hover {
  background: var(--butter);
  transform: translateY(-2px);
}


/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}

.hero__grille {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.875rem;
  color: var(--lilac-text);
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 1rem + 6.2vw, 6.4rem);
}

.hero h1 .ligne-coral {
  display: block;
  color: var(--coral-display);
}

.hero__sous-titre {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero__signature {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--mint-text);
}

.hero__visuel {
  position: relative;
}

.hero__visuel-cadre {
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-warm-lg);
}

.hero__etincelle {
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  width: 1.5rem;
  transform: rotate(12deg);
}

/* Quatrième moment animé (ajout Puzzle Inn) : les étincelles respirent.
   Assez lent pour rester discret, coupé si mouvement réduit. */
@keyframes etincelle-respire {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: 0.55; scale: 0.82; }
}

.hero__etincelle,
.rappel__etincelle {
  animation: etincelle-respire 3.5s ease-in-out infinite;
}

.rappel__etincelle {
  animation-delay: 1.2s;
}

/* ---- Bandeau de réassurance ---- */
.bandeau {
  position: sticky;
  top: 4rem; /* sous la navigation fixe */
  z-index: 40;
  margin-top: 3rem;
  background: var(--butter);
}

.bandeau p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.75rem;
  row-gap: 0.25rem;
  padding: 0.75rem 1rem;
  font-size: 11px;
}

.bandeau .point {
  margin-right: 0.75rem;
}

/* ---- Le concept ---- */
.concept {
  padding-block: 5rem;
}

.titre-section {
  font-size: clamp(1.9rem, 1rem + 3vw, 3.6rem);
  color: var(--coral-display);
  max-width: 16ch;
}

.chapo {
  margin-top: 1.25rem;
  max-width: 50ch;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Cartes d'usage « polaroid », même dispositif que lasafeplacebar.fr :
   cadre clair fin, photo 4/3, badge rond coral à cheval, texte centré,
   soulèvement + zoom doux au survol. */
.concept__cartes {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.carte-usage {
  background: #fdf9f0;
  border: 1px solid rgba(43, 33, 25, 0.05);
  border-radius: 24px;
  padding: 0.875rem 0.875rem 1.75rem;
  box-shadow: var(--shadow-warm);
  transition: transform 500ms ease, box-shadow 500ms ease;
}

.carte-usage:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-warm-lg);
}

.carte-usage__visuel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--sand);
}

.carte-usage__visuel img,
.carte-usage__terrazzo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.carte-usage:hover .carte-usage__visuel img {
  transform: scale(1.08);
}

.carte-usage__badge {
  position: relative;
  z-index: 1;
  margin: -26px auto 0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #fdf9f0, var(--shadow-warm);
  transition: transform 500ms ease;
}

.carte-usage:hover .carte-usage__badge {
  transform: scale(1.1);
}

.carte-usage__badge svg {
  width: 1.375rem;
}

.carte-usage__texte {
  text-align: center;
  padding-inline: 0.75rem;
}

.carte-usage__texte h3 {
  margin-top: 0.875rem;
  font-size: 1.3rem;
}

.carte-usage__texte p {
  margin-top: 0.625rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(43, 33, 25, 0.8);
}

.carte-usage__texte .signature {
  margin-top: 0.875rem;
  font-size: 0.7rem;
  color: var(--mint-text);
}

/* ---- Cocktails signature (accueil) ---- */
.cocktails {
  padding-bottom: 5rem;
}

.cocktails__grille {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

/* CTA centré sous la grille : le point de fuite de la section */
.cocktails__pied {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2.5rem;
  text-align: center;
}

.cocktails__cta {
  display: inline-block;
  padding: 1.05rem 2.5rem;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  box-shadow: var(--shadow-warm-lg);
  transition: background-color 200ms ease, transform 200ms ease;
}

.cocktails__cta:hover {
  background: var(--butter);
  transform: translateY(-2px);
}

.cocktails__note {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(43, 33, 25, 0.7);
}

/* ---- Page carte ---- */
.carte-page {
  padding: 6rem 0 4rem; /* dégage la navigation fixe */
}

.carte-page .retour {
  font-family: var(--font-utility);
  font-size: 0.75rem;
  color: var(--lilac-text);
  text-decoration: none;
}

.carte-page__titre {
  max-width: 14ch;
  font-size: clamp(2rem, 1rem + 3.5vw, 3.4rem);
  color: var(--coral-display);
}

/* Hero de la carte : titre + CTA à gauche, photo à droite */
.carte-page__hero-grille {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.carte-page__hero-texte {
  position: relative;
}

.carte-page__etincelle {
  position: absolute;
  top: -1.75rem;
  left: -0.25rem;
  width: 1.75rem;
  transform: rotate(12deg);
}

.carte-page__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carte-page__ctas .bouton-secondaire {
  margin-top: 0;
}

.carte-page__hero-grille .carte-page__hero {
  margin: 0;
}

.carte-page__hero-grille .carte-page__hero img {
  aspect-ratio: 3 / 2;
}

.carte-page__section {
  margin-top: 3.5rem;
}

.carte-page__eyebrow {
  font-size: 0.75rem;
  color: var(--lilac-text);
  margin-bottom: 0.5rem;
}

.carte-page__section h2 {
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
}

.carte-page__grille {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.carte-item {
  background: var(--sand);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-warm);
}

.carte-item__visuel {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: rgba(43, 33, 25, 0.05);
}

.carte-item__visuel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carte-page__hero {
  margin: 2.5rem 0 0;
}

.carte-page__hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-warm-lg);
}

.carte-page__console {
  margin: 1.5rem 0 0;
  max-width: 28rem;
}

.carte-page__console img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-warm);
}

.carte-item h3 {
  font-size: 1.25rem;
}

.carte-item p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(43, 33, 25, 0.8);
}

.carte-item__prix {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--cherry);
}

.carte-page__note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.carte-page__evin {
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: rgba(43, 33, 25, 0.6);
}

/* ---- La promesse d'accueil ---- */
.promesse {
  padding-block: 6rem;
}

.promesse h2 {
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.3rem);
  max-width: 24ch;
}

.promesse__accroche {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cherry);
}

.promesse__corps {
  margin-top: 1.5rem;
  max-width: 62ch;
  display: grid;
  gap: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.promesse__engagements {
  margin-top: 2.5rem;
  max-width: 62ch;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.promesse__engagements li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.6;
}

.promesse__coche {
  margin-top: 0.125rem;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--mint-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promesse__coche svg {
  width: 0.75rem;
}

/* ---- Coutures orbitales ---- */
.seam {
  position: relative;
  height: clamp(120px, 17vw, 240px);
}

.seam[data-from="day"] {
  background: var(--night);
}

.seam[data-from="night"] {
  background: var(--cream);
}

.seam svg.seam__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.seam-planet {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  width: 3.5rem;
  transform: translate(-50%, -50%);
  transition: --pm-planet 450ms ease, --pm-ring 450ms ease;
}

/* Couleurs de la planète selon la phase (pilotée par script.js) */
.seam[data-from="day"][data-phase="start"] .seam-planet,
.seam[data-from="night"][data-phase="end"] .seam-planet {
  --pm-planet: #f76655;
  --pm-ring: #6bb9a1;
}

.seam[data-from="day"][data-phase="end"] .seam-planet,
.seam[data-from="night"][data-phase="start"] .seam-planet {
  --pm-planet: #6bb9a1;
  --pm-ring: #f76655;
}

/* ---- Registre nuit ---- */
.registre-nuit {
  background: var(--night);
  color: var(--cream);
}

.registre-nuit .titre-section {
  color: var(--cream);
}

.registre-nuit .chapo {
  color: rgba(246, 238, 225, 0.8);
}

/* Néon chaud : les titres du registre nuit irradient doucement, comme
   une enseigne — statique, pas d'animation. */
.registre-nuit .titre-section {
  text-shadow: 0 0 28px rgba(247, 102, 85, 0.4), 0 0 64px rgba(247, 102, 85, 0.18);
}

/* ---- L'ambiance ---- */
.ambiance {
  padding-top: 3.5rem;
  padding-bottom: 6rem;
}

/* Galerie « visite du lieu » : chaque coin est numéroté comme les
   espaces d'un bar qu'on ferait visiter à un ami (clin d'œil aux
   « 5 espaces » du Puzzle Inn, traduit en Sorbet Orbit). */
.ambiance__galerie {
  display: grid;
  column-gap: 1.25rem;
  row-gap: 2rem;
  margin-top: 3rem;
  counter-reset: coin;
}

.ambiance__galerie figure {
  counter-increment: coin;
  transition: transform 500ms ease;
}

.ambiance__galerie figure:hover {
  transform: translateY(-6px);
}

.ambiance__galerie figure img,
.ambiance__tuile {
  border-radius: 1.5rem;
}

.ambiance__galerie figure img {
  transition: box-shadow 500ms ease;
}

.ambiance__galerie figure:hover img {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.ambiance__galerie figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(246, 238, 225, 0.65);
}

.ambiance__galerie figcaption::before {
  content: "0" counter(coin);
  flex: none;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: var(--coral);
  border-radius: 999px;
  padding: 0.125rem 0.5rem;
  transition: background-color 300ms ease;
}

.ambiance__galerie figure:hover figcaption::before {
  background: var(--tomato);
}

.ambiance__galerie .img-salon {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.ambiance__galerie .img-foule {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.ambiance__galerie .img-finale {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.ambiance__mention {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(246, 238, 225, 0.55);
}

/* ---- Le projet ---- */
.projet {
  padding-bottom: 6rem;
}

.projet__grille {
  display: grid;
  gap: 3.5rem;
}

.projet__corps {
  margin-top: 1.75rem;
  max-width: 58ch;
  display: grid;
  gap: 1.25rem;
  line-height: 1.6;
  color: rgba(246, 238, 225, 0.85);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2rem;
  border-left: 1px solid rgba(246, 238, 225, 0.15);
  display: grid;
  gap: 1.75rem;
  position: relative;
}

.timeline li {
  position: relative;
}

.timeline__point {
  position: absolute;
  left: -2.55rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
}

.timeline__point--done {
  background: var(--mint);
  box-shadow: 0 0 14px rgba(107, 185, 161, 0.7);
}

.timeline__point--doing {
  border: 2px solid var(--butter);
  background: rgba(252, 200, 91, 0.2);
}

.timeline__point--todo {
  border: 2px solid rgba(246, 238, 225, 0.25);
}

.timeline__point--goal {
  background: var(--butter);
  box-shadow: 0 0 14px rgba(252, 200, 91, 0.7);
}

.timeline__numero {
  font-family: var(--font-utility);
  font-weight: 500;
  font-size: 0.75rem;
  color: rgba(246, 238, 225, 0.4);
}

.timeline__etape {
  margin-top: 0.125rem;
  font-weight: 500;
  color: var(--cream);
}

.timeline__etat {
  margin-top: 0.25rem;
  font-size: 11px;
}

.timeline__etat--done {
  color: var(--mint);
}

.timeline__etat--doing,
.timeline__etat--goal {
  color: var(--butter);
}

.timeline__etat--todo {
  color: rgba(246, 238, 225, 0.5);
}

/* S'allume au premier passage (moment animé n° 2) */
.timeline-step {
  opacity: 0.2;
  transform: translateX(14px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.timeline-lit .timeline-step {
  opacity: 1;
  transform: none;
}

/* ---- Ils en parlent (A7) ---- */
.avis {
  padding-block: 5rem;
}

.avis__grille {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.avis__carte {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--sand);
  border-radius: var(--radius-card);
  padding: 3.25rem 2.5rem 2.5rem;
  box-shadow: var(--shadow-warm);
}

.avis__carte::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--coral-display);
}

.avis__citation {
  font-size: 1.3125rem;
  line-height: 1.55;
  color: var(--ink);
}

.avis__signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.75rem;
}

.avis__avatar {
  width: 3rem;
  flex-shrink: 0;
}

.avis__avatar--photo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--coral);
}

.avis__nom {
  font-size: 1.05rem;
  color: var(--coral-display);
}

.avis__role {
  margin-top: 0.3rem;
  font-size: 10px;
  color: var(--lilac-text);
}

.avis__mention {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(43, 33, 25, 0.6);
}

/* ---- Switch 2 en libre-service : les jeux ---- */
.jeux {
  padding-bottom: 5rem;
}

.jeux__eyebrow {
  font-size: 0.75rem;
  color: var(--lilac-text);
  margin-bottom: 0.5rem;
}

.jeux__grille {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.jeu {
  background: #fdf9f0;
  border: 1px solid rgba(43, 33, 25, 0.05);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-warm);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.jeu:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-warm-lg);
}

.jeu__visuel {
  aspect-ratio: 3 / 2;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.125rem;
  background: var(--sand);
}

.jeu__visuel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.jeu:hover .jeu__visuel img {
  transform: scale(1.05);
}

.jeu__haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.jeu__icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  flex-shrink: 0;
}

.jeu__icone svg {
  width: 1.5rem;
}

.jeu__icone--coral  { background: rgba(247, 102, 85, 0.16);  color: #c93a2b; }
.jeu__icone--butter { background: rgba(252, 200, 91, 0.28);  color: #8a6412; }
.jeu__icone--aqua   { background: rgba(90, 188, 187, 0.2);   color: #1f7a78; }
.jeu__icone--lilac  { background: rgba(170, 131, 182, 0.2);  color: #7c589b; }
.jeu__icone--mint   { background: rgba(107, 185, 161, 0.2);  color: #2f7a66; }
.jeu__icone--cherry { background: rgba(176, 17, 49, 0.12);   color: #b01131; }
.jeu__icone--tomato { background: rgba(231, 82, 36, 0.14);   color: #b03d16; }

.jeu__joueurs {
  font-size: 0.625rem;
  color: rgba(43, 33, 25, 0.6);
  background: var(--sand);
  border-radius: 999px;
  padding: 0.375rem 0.75rem;
  white-space: nowrap;
}

.jeu h3 {
  margin-top: 1.125rem;
  font-size: 1.2rem;
}

.jeu__titre-officiel {
  margin-top: 0.125rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mint-text);
}

.jeu__desc {
  margin-top: 0.625rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(43, 33, 25, 0.75);
}

.jeux__note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(43, 33, 25, 0.6);
}

/* ---- FAQ (accordéons natifs) ---- */
.faq {
  padding-block: 5rem;
}

.faq__liste {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
  max-width: 46rem;
}

.faq__item {
  background: var(--sand);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-warm);
}

.faq__item summary {
  position: relative;
  padding: 1.25rem 3.25rem 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--coral-display);
  transition: transform 200ms ease;
}

.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__item p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  line-height: 1.6;
  color: rgba(43, 33, 25, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .faq__item summary::after {
    transition: none;
  }
}

/* ---- Groupes et partenaires ---- */
.groupes {
  padding-block: 5rem;
}

.groupes__grille {
  display: grid;
}

.groupes h2 {
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.3rem);
  color: var(--coral-display);
  max-width: 20ch;
}

.groupes p {
  margin-top: 1.5rem;
  max-width: 58ch;
  font-size: 1.125rem;
  line-height: 1.6;
}

.bouton-secondaire {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.bouton-secondaire:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ---- Rappel final ---- */
.rappel {
  position: relative;
  overflow: hidden;
  background: var(--coral);
  padding-block: 5rem;
}

.rappel__planete {
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 16rem;
  opacity: 0.25;
  pointer-events: none;
}

.rappel__etincelle {
  position: absolute;
  bottom: 2.5rem;
  right: 12%;
  width: 1.25rem;
  pointer-events: none;
}

.rappel h2 {
  font-size: clamp(2.4rem, 1rem + 5vw, 5.5rem);
  color: var(--ink);
  max-width: 12ch;
}

.rappel__corps {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

/* ---- Formulaires ---- */
.form-email {
  position: relative;
  margin-top: 2.25rem;
}

.form-email label.form-email__label {
  display: block;
  font-weight: 600;
}

.form-email--final label.form-email__label {
  position: absolute;
  left: -9999px;
}

.form-email__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-email__champ {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}

.form-email__champ input[type="email"] {
  width: 100%;
  min-width: 0;
  flex: 1;
  border: 2px solid rgba(43, 33, 25, 0.15);
  border-radius: 999px;
  background: #fdf9f0;
  color: var(--ink);
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
}

.form-email__champ input[type="email"]::placeholder {
  color: rgba(43, 33, 25, 0.45);
}

.form-email__champ input[type="email"]:focus {
  outline: none;
  border-color: var(--coral);
}

.form-email--final .form-email__champ input[type="email"] {
  border-color: transparent;
  background: #fbf5e9;
}

.form-email__bouton {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  background: var(--coral);
  color: var(--ink);
  transition: background-color 200ms ease;
}

.form-email__bouton:hover {
  background: var(--butter);
}

.form-email__bouton:disabled {
  opacity: 0.7;
}

.form-email--final .form-email__bouton {
  background: var(--butter);
}

.form-email--final .form-email__bouton:hover {
  background: #fbf5e9;
}

.form-email__consentement {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: rgba(43, 33, 25, 0.75);
}

.form-email__consentement input {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  accent-color: var(--cherry);
}

.form-email__consentement a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-email__consentement a:hover {
  color: var(--cherry);
}

.form-email--final .form-email__consentement {
  color: rgba(43, 33, 25, 0.85);
}

.form-email__note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(43, 33, 25, 0.6);
}

.form-email__message {
  margin-top: 0.75rem;
  min-height: 1.25rem;
  max-width: 28rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cherry);
}

.form-email--final .form-email__message {
  color: var(--ink);
}

.form-email__rgpd {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(43, 33, 25, 0.65);
}

.form-email__rgpd a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-email__rgpd a:hover {
  color: var(--cherry);
}

.form-email--final .form-email__rgpd {
  color: rgba(43, 33, 25, 0.8);
}

.form-email--final .form-email__rgpd a:hover {
  color: var(--ink);
}

.form-email__succes {
  max-width: 28rem;
  border-radius: 1.5rem;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  background: rgba(107, 185, 161, 0.25);
  color: var(--ink);
}

.form-email--final .form-email__succes {
  background: #fbf5e9;
}

/* ---- Footer ---- */
.footer {
  background: var(--night);
  color: var(--cream);
  padding: 4rem 1.25rem 2rem;
}

.footer__grille {
  display: grid;
  gap: 2.5rem;
}

.footer__marque {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__marque svg {
  width: 2.5rem;
}

.footer__marque-nom {
  font-size: 1rem;
  line-height: 1.2;
}

.footer__marque-nom .la-safe {
  color: var(--coral);
}

.footer__marque-nom .place {
  font-size: 0.75rem;
  color: var(--mint);
}

.footer__adresse {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(246, 238, 225, 0.7);
}

.footer__tagline {
  margin-top: 0.5rem;
  font-size: 11px;
  color: rgba(246, 238, 225, 0.5);
}

.footer nav p {
  font-size: 0.75rem;
  color: rgba(246, 238, 225, 0.5);
}

.footer nav ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.footer nav a {
  color: rgba(246, 238, 225, 0.8);
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--cream);
}

.footer__bas {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246, 238, 225, 0.1);
  display: grid;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(246, 238, 225, 0.55);
}

/* ---- Pages légales ---- */
.page-legale {
  max-width: 42rem;
  margin-inline: auto;
  padding: 4rem 1.25rem;
}

.page-legale h1 {
  margin-top: 1.5rem;
  font-size: 2rem;
  color: var(--coral-display);
}

.page-legale .retour {
  font-size: 0.75rem;
  color: var(--lilac-text);
  text-decoration: none;
}

.page-legale section {
  margin-top: 1.5rem;
}

/* Pages légales longues copiées de l'ancien site (mentions, politique, CGV) */
.page-legale--longue {
  max-width: 46rem;
}

.page-legale--longue h1 {
  font-size: clamp(1.75rem, 1rem + 2.5vw, 2.5rem);
  line-height: 1.1;
}

.page-legale article {
  margin-top: 2.5rem;
}

.page-legale article h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.page-legale h2 span {
  color: var(--coral-display);
  margin-right: 0.25rem;
}

.page-legale h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.page-legale ul,
.page-legale ol {
  margin: 0.75rem 0 0;
  padding-left: 1.4rem;
  color: rgba(43, 33, 25, 0.85);
}

.page-legale li {
  margin-top: 0.5rem;
  line-height: 1.6;
}

.page-legale li::marker {
  color: var(--coral-display);
}

.page-legale dl {
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.page-legale dl > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-legale dt {
  font-weight: 600;
}

.page-legale dd {
  margin: 0;
  color: rgba(43, 33, 25, 0.85);
}

.page-legale table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.page-legale th,
.page-legale td {
  border: 1px solid var(--sand);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.page-legale th {
  background: var(--sand);
}

.page-legale p a,
.page-legale dd a,
.page-legale li a {
  color: var(--cherry);
}

.page-legale nav[aria-label="Sommaire"] {
  margin-top: 2rem;
  background: var(--sand);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
}

.page-legale nav[aria-label="Sommaire"] h2 {
  font-size: 1rem;
  font-weight: 700;
}

.page-legale nav[aria-label="Sommaire"] a {
  text-decoration: none;
  color: var(--ink);
}

.page-legale nav[aria-label="Sommaire"] a:hover {
  color: var(--cherry);
}

.page-legale h2 {
  font-size: 1rem;
  font-weight: 600;
}

.page-legale p {
  margin-top: 0.5rem;
  color: rgba(43, 33, 25, 0.85);
  line-height: 1.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 640px) {
  .form-email__champ {
    flex-direction: row;
  }

  .concept__cartes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carte-page__grille,
  .cocktails__grille,
  .jeux__grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .section {
    padding-inline: 2.5rem;
  }

  .site-header__barre {
    height: 5rem;
    padding-inline: 2rem;
  }

  .site-header__cta {
    display: inline-block;
  }

  .hero {
    padding-top: 8.5rem;
  }

  .carte-page {
    padding-top: 8rem;
  }

  .hero__sous-titre {
    font-size: 1.25rem;
  }

  .bandeau {
    position: static;
    margin-top: 4rem;
  }

  .bandeau p {
    font-size: 0.75rem;
    column-gap: 1.25rem;
  }

  .bandeau .point {
    margin-right: 1.25rem;
  }

  .concept {
    padding-block: 7rem;
  }

  .promesse {
    padding-block: 9rem;
  }

  .seam-planet {
    width: 5rem;
  }

  .ambiance {
    padding-bottom: 8rem;
  }

  .projet {
    padding-bottom: 8rem;
  }

  .cocktails {
    padding-bottom: 7rem;
  }

  .faq {
    padding-block: 7rem;
  }

  .avis {
    padding-block: 7rem;
  }

  .groupes {
    padding-block: 7rem;
  }

  .rappel {
    padding-block: 7rem;
  }

  .rappel__planete {
    width: 24rem;
  }

  .footer {
    padding-inline: 2.5rem;
  }

  .footer__grille {
    grid-template-columns: 1fr 1fr;
  }

  .footer__marque {
    align-items: flex-start;
  }

  .page-legale {
    padding-block: 6rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-inline: 4rem;
  }

  .hero__grille {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem;
  }

  .hero__texte {
    grid-column: span 7;
  }

  .hero__visuel {
    grid-column: span 5;
  }

  .concept__cartes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promesse__decale {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  /* Colonne centrée (3 → 10) : le bloc de conversion respire des deux côtés */
  .promesse__decale > div {
    grid-column: 3 / span 8;
  }

  .ambiance__galerie {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  /* Rangée 1 : salon large + watch party portrait ; rangée 2 : la finale
     en pleine largeur */
  .ambiance__galerie figure:nth-child(1) {
    grid-column: span 7;
  }

  .ambiance__galerie figure:nth-child(2) {
    grid-column: span 5;
  }

  .ambiance__galerie figure:nth-child(3) {
    grid-column: span 12;
  }

  .ambiance__galerie figure:nth-child(3) .img-finale {
    aspect-ratio: 21 / 9;
  }

  .projet__grille {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .projet__recit {
    grid-column: span 6;
  }

  .projet__timeline {
    grid-column: 8 / span 5;
  }

  .carte-page__grille,
  .cocktails__grille,
  .jeux__grille {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .carte-page__hero-grille {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
  }

  /* Trois cartes de taille égale : la grille les étire à hauteur commune,
     la signature reste calée en bas de chaque carte */
  .avis__grille {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .groupes__grille {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .groupes__bloc {
    grid-column: span 8;
  }

  .footer__grille {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- Mouvement réduit ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .site-header__cta,
  .site-header__nav a,
  .carte-usage,
  .carte-usage__visuel img,
  .carte-usage__badge,
  .jeu,
  .jeu__visuel img {
    transition: none;
  }

  .timeline-step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .seam-planet {
    transition: none;
  }

  .hero__etincelle,
  .rappel__etincelle {
    animation: none;
  }

  .ambiance__galerie figure,
  .ambiance__galerie figure img,
  .ambiance__galerie figcaption::before {
    transition: none;
  }

  .bouton-secondaire,
  .form-email__bouton {
    transition: none;
  }
}
