/* ==========================================================
   Visuel Pop — feuille de style principale
   Thème « kawaii nuit » : fond sombre, deux accents (rose, lavande)
   ========================================================== */

:root {
  /* Accents (seulement deux couleurs) */
  --rose: #ff8fc0;
  --rose-fonce: #ff5c9a;
  --rose-doux: rgba(255, 143, 192, 0.14);
  --lavande: #b7a3ff;
  --lavande-doux: rgba(183, 163, 255, 0.14);

  /* Fonds sombres */
  --nuit: #17111f;
  --fond: #1c1426;
  --surface: #261c33;
  --surface-2: #30243f;
  --bord: #3b2d4d;

  /* Textes */
  --clair: #f6effb;
  --texte: #bdaecd;
  --discret: #8a7b9c;

  --rayon: 26px;
  --ombre: 0 14px 34px rgba(0, 0, 0, 0.35);
  --lueur: 0 0 0 1px rgba(255, 143, 192, 0.35), 0 16px 40px rgba(255, 92, 154, 0.18);
  --titre: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --corps: "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--corps);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(183, 163, 255, 0.12), transparent 60%),
    radial-gradient(800px 500px at 100% 10%, rgba(255, 143, 192, 0.10), transparent 60%),
    var(--fond);
  background-attachment: fixed;
}

/* Petites étoiles scintillantes en fond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 12%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 42% 38%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 88% 54%, rgba(255, 143, 192, 0.6), transparent),
    radial-gradient(1px 1px at 22% 72%, rgba(183, 163, 255, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 62% 86%, rgba(255, 255, 255, 0.35), transparent);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--rose);
}

h1,
h2,
h3,
h4 {
  font-family: var(--titre);
  color: var(--clair);
  line-height: 1.12;
  margin: 0 0 0.45em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

strong { color: var(--clair); }

.conteneur {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section--blanc {
  background: rgba(255, 255, 255, 0.025);
  border-block: 1px solid rgba(255, 255, 255, 0.04);
}

.section__entete {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--titre);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rose);
  background: var(--rose-doux);
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.surtitre::before {
  content: "✦";
  font-size: 0.8em;
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 28px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bouton:hover {
  transform: translateY(-3px);
}

/* Bouton façon « jeu vidéo » : relief en bas */
.bouton--principal {
  background: var(--rose);
  color: var(--nuit);
  box-shadow: 0 6px 0 #c9567f, 0 14px 28px rgba(255, 92, 154, 0.3);
}

.bouton--principal:hover {
  box-shadow: 0 9px 0 #c9567f, 0 18px 32px rgba(255, 92, 154, 0.38);
}

.bouton--principal:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c9567f;
}

.bouton--secondaire {
  background: transparent;
  color: var(--clair);
  box-shadow: inset 0 0 0 2px var(--bord);
}

.bouton--secondaire:hover {
  box-shadow: inset 0 0 0 2px var(--lavande);
}

.bouton--jaune {
  background: var(--lavande);
  color: var(--nuit);
  box-shadow: 0 6px 0 #8a75d6;
}

.bouton--bloc {
  width: 100%;
}

.bouton[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- En-tête flottant ---------- */

.entete {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 20px;
}

.entete__barre {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: min(1160px, 100%);
  margin: 14px auto 0;
  padding: 0 12px 0 14px;
  background: rgba(38, 28, 51, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bord);
  border-radius: 999px;
  box-shadow: var(--ombre);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 1px var(--rose));
  transition: transform 0.25s ease;
}

.logo:hover img {
  transform: rotate(-8deg) scale(1.08);
}

.logo__nom {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--clair);
  letter-spacing: -0.01em;
}

.logo__nom span {
  color: var(--rose);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--texte);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--clair);
}

.nav .bouton {
  color: var(--nuit);
  padding: 10px 22px;
  margin-left: 6px;
  box-shadow: 0 4px 0 #c9567f;
}

.nav .bouton:hover {
  background: var(--rose);
  color: var(--nuit);
}

.nav__toggle {
  display: none;
  background: var(--surface-2);
  border: 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  place-items: center;
  cursor: pointer;
  color: var(--rose);
}

@media (max-width: 860px) {
  .nav__toggle {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--bord);
    border-radius: 24px;
    box-shadow: var(--ombre);
    padding: 14px;
    display: none;
  }

  .nav.est-ouvert {
    display: flex;
  }

  .nav .bouton {
    margin: 6px 0 0;
  }
}

/* ---------- Accroche ---------- */

.accroche {
  padding: 50px 0 40px;
  text-align: center;
  position: relative;
}

.accroche__mascotte {
  width: min(250px, 62vw);
  margin: 0 auto 6px;
}

.accroche h1 {
  max-width: 780px;
  margin-inline: auto;
}

.accroche h1 em {
  font-style: normal;
  color: var(--rose);
  text-shadow: 0 0 24px rgba(255, 143, 192, 0.55);
}

.accroche p.intro {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 auto;
}

.accroche__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 26px;
}

.accroche__preuves {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.accroche__preuves li {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--clair);
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 6px 16px;
}

.accroche__preuves li::before {
  content: "♡ ";
  color: var(--rose);
}

/* ---------- Mascotte Popy (animations) ---------- */

.popy-anime {
  filter: drop-shadow(0 0 1.5px var(--rose)) drop-shadow(0 12px 22px rgba(255, 92, 154, 0.22));
  animation: popy-flotte 3.2s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.popy-anime .popy-yeux {
  transform-box: fill-box;
  transform-origin: center;
  animation: popy-cligne 4.5s infinite;
}

.popy-anime .popy-etoile {
  transform-box: fill-box;
  transform-origin: center;
  animation: popy-etoile 2.4s ease-in-out infinite;
}

.popy-anime .popy-oreille-g,
.popy-anime .popy-oreille-d {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: popy-oreille 6s ease-in-out infinite;
}

.popy-anime .popy-oreille-d {
  animation-delay: 0.15s;
}

@keyframes popy-flotte {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-10px) scale(1.02, 0.98); }
}

@keyframes popy-cligne {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

@keyframes popy-etoile {
  0%, 100% { transform: rotate(0) scale(1); }
  50% { transform: rotate(25deg) scale(1.2); }
}

@keyframes popy-oreille {
  0%, 85%, 100% { transform: rotate(0); }
  90% { transform: rotate(-12deg); }
  95% { transform: rotate(6deg); }
}

/* Grande Popy qui parle */
.popy-parlante {
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.popy-parlante:focus-visible {
  outline: none;
}

.popy-parlante:focus-visible svg {
  filter: drop-shadow(0 0 4px var(--lavande));
}

.popy-parlante.saute svg {
  animation: popy-saut 0.55s ease-in-out 2;
}

.popy-bulle {
  position: absolute;
  bottom: 82%;
  left: 72%;
  z-index: 2;
  max-width: 230px;
  width: max-content;
  text-align: left;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--nuit);
  background: var(--clair);
  border-radius: 18px 18px 18px 4px;
  padding: 9px 14px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.5) translateY(10px);
  transform-origin: 0% 100%;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popy-parlante.parle .popy-bulle {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (max-width: 600px) {
  .popy-bulle {
    left: 50%;
    bottom: 96%;
    max-width: 200px;
    border-radius: 18px;
    transform: translateX(-50%) scale(0.5);
    transform-origin: 50% 100%;
  }

  .popy-parlante.parle .popy-bulle {
    transform: translateX(-50%) scale(1);
  }
}

/* Compagnon qui se promène sur le site */
.compagnon {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 84px;
  height: 84px;
  transition: transform 1.6s cubic-bezier(0.45, 0, 0.25, 1), opacity 0.4s ease;
  will-change: transform;
}

.compagnon.est-cache {
  opacity: 0;
  pointer-events: none;
}

.compagnon__corps {
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  transition: transform 0.3s ease;
}

.compagnon__corps svg {
  width: 100%;
  height: 100%;
}

.compagnon.va-a-gauche .compagnon__corps {
  transform: scaleX(-1);
}

.compagnon.saute .compagnon__corps svg {
  animation: popy-saut 0.55s ease-in-out 3;
}

.compagnon.coucou .compagnon__corps svg {
  animation: popy-saut 0.5s ease-in-out 2;
}

@keyframes popy-saut {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  20% { transform: translateY(2px) scale(1.1, 0.88); }
  55% { transform: translateY(-22px) scale(0.94, 1.08); }
}

.compagnon__bulle {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  transform-origin: 50% 100%;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--nuit);
  background: var(--clair);
  border-radius: 14px;
  padding: 6px 12px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.compagnon__bulle::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top-color: var(--clair);
}

.compagnon.parle .compagnon__bulle {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.compagnon.pres-bord-droit .compagnon__bulle {
  left: auto;
  right: 0;
  transform: scale(0.6);
  transform-origin: 90% 100%;
}

.compagnon.pres-bord-droit.parle .compagnon__bulle {
  transform: scale(1);
}

.compagnon.pres-bord-droit .compagnon__bulle::after {
  left: auto;
  right: 26px;
}

.compagnon.pres-bord-gauche .compagnon__bulle {
  left: 0;
  transform: scale(0.6);
  transform-origin: 10% 100%;
}

.compagnon.pres-bord-gauche.parle .compagnon__bulle {
  transform: scale(1);
}

.compagnon.pres-bord-gauche .compagnon__bulle::after {
  left: 26px;
}

.compagnon__fermer {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-2);
  color: var(--clair);
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.compagnon:hover .compagnon__fermer,
.compagnon__fermer:focus-visible {
  opacity: 1;
}

@media (max-width: 600px) {
  .compagnon {
    width: 60px;
    height: 60px;
  }

  .compagnon__fermer {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .popy-anime,
  .popy-anime .popy-yeux,
  .popy-anime .popy-etoile,
  .popy-anime .popy-oreille-g,
  .popy-anime .popy-oreille-d,
  .compagnon .compagnon__corps svg {
    animation: none !important;
  }

  .compagnon {
    transition: opacity 0.4s ease;
  }
}

/* ---------- Catégories ---------- */

.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.categorie {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 14px 22px;
  border-radius: var(--rayon);
  text-decoration: none;
  color: var(--clair);
  font-family: var(--titre);
  font-weight: 700;
  font-size: 1.12rem;
  background: var(--surface);
  border: 1px solid var(--bord);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.categorie:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--lueur);
}

.categorie img {
  width: 84px;
  height: 84px;
}

.categorie small {
  font-family: var(--corps);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--discret);
}

@media (max-width: 900px) {
  .categories { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .categories { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Étapes ---------- */

.etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: etape;
}

.etape {
  text-align: center;
  padding: 0 10px;
}

.etape::before {
  counter-increment: etape;
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 22px;
  transform: rotate(-6deg);
  background: var(--surface-2);
  border: 3px solid var(--rose);
  color: var(--rose);
  font-family: var(--titre);
  font-weight: 800;
  font-size: 2rem;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
}

.etape:nth-child(2)::before {
  border-color: var(--lavande);
  color: var(--lavande);
  transform: rotate(5deg);
}

@media (max-width: 820px) {
  .etapes { grid-template-columns: 1fr; }
}

/* ---------- Cartes de packs ---------- */

.filtres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filtre {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1rem;
  background: var(--surface);
  color: var(--texte);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--bord);
  border-radius: 999px;
  padding: 8px 20px;
  cursor: pointer;
}

.filtre:hover {
  color: var(--clair);
  box-shadow: inset 0 0 0 1px var(--lavande);
}

.filtre.est-actif {
  background: var(--rose);
  color: var(--nuit);
  box-shadow: none;
}

.grille-packs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

.pack {
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pack[hidden] {
  display: none;
}

.pack:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--lueur);
}

.pack__apercu {
  aspect-ratio: 1 / 0.82;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, rgba(183, 163, 255, 0.22), transparent 70%), var(--surface-2);
}

.pack__apercu img {
  width: 60%;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease;
}

.pack:hover .pack__apercu img {
  transform: scale(1.06) rotate(-2deg);
}

.pack__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--titre);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--rose);
  color: var(--nuit);
  border-radius: 999px;
  padding: 2px 12px;
}

.pack__corps {
  padding: 16px 10px 8px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pack__categorie {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lavande);
}

.pack__corps h3 {
  margin: 4px 0 6px;
}

.pack__corps p {
  font-size: 0.95rem;
  flex: 1;
}

.pack__infos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.pack__infos li {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--texte);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 3px 10px;
}

.pack__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prix {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--clair);
}

.pack__pied .bouton {
  padding: 9px 18px;
  font-size: 0.95rem;
  box-shadow: 0 4px 0 #c9567f;
}

.centre {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Tarifs / abonnements ---------- */

.bascule {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 44px;
}

.bascule button {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  background: none;
  color: var(--texte);
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
}

.bascule button.est-actif {
  background: var(--lavande);
  color: var(--nuit);
}

.bascule .economie {
  color: var(--rose);
  font-size: 0.82rem;
}

.bascule button.est-actif .economie {
  color: #8c2f5a;
}

.tarifs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.offre {
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.offre--vedette {
  border-color: var(--rose);
  box-shadow: var(--lueur);
  transform: translateY(-10px);
}

.offre__ruban {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: var(--nuit);
  font-family: var(--titre);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.offre__prix {
  font-family: var(--titre);
  font-weight: 800;
  font-size: 2.7rem;
  color: var(--clair);
  line-height: 1;
  margin: 12px 0 6px;
}

.offre__prix small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--texte);
}

.offre__note {
  font-size: 0.9rem;
  min-height: 1.4em;
  margin-bottom: 22px;
}

.offre ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.offre li {
  padding: 7px 0 7px 30px;
  position: relative;
  color: var(--clair);
}

.offre li::before {
  content: "♥";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--rose-doux);
  color: var(--rose);
  font-size: 0.68rem;
  line-height: 20px;
  text-align: center;
}

.offre li.non {
  color: var(--discret);
}

.offre li.non::before {
  content: "–";
  background: var(--surface-2);
  color: var(--discret);
}

@media (max-width: 920px) {
  .tarifs { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .offre--vedette { transform: none; }
}

/* ---------- Bandeau d'appel ---------- */

.bandeau {
  background:
    radial-gradient(500px 260px at 15% 0%, rgba(183, 163, 255, 0.22), transparent 70%),
    radial-gradient(500px 260px at 90% 100%, rgba(255, 143, 192, 0.2), transparent 70%),
    var(--surface);
  border: 1px solid var(--bord);
  border-radius: 36px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bandeau::after {
  content: "✦ ✧ ✦";
  position: absolute;
  top: 22px;
  right: 34px;
  color: var(--rose);
  font-size: 1.3rem;
  letter-spacing: 6px;
  opacity: 0.7;
}

.bandeau p {
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------- Communauté ---------- */

.communaute-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.carte {
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 28px;
}

.carte__icone {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 14px;
  font-size: 1.6rem;
  background: var(--rose-doux);
  color: var(--rose);
}

.carte:nth-child(2) .carte__icone {
  background: var(--lavande-doux);
  color: var(--lavande);
}

.communaute-salon {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: start;
}

.regles {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  counter-reset: regle;
}

.regles li {
  position: relative;
  padding: 10px 0 10px 46px;
  border-bottom: 1px dashed var(--bord);
}

.regles li::before {
  counter-increment: regle;
  content: counter(regle);
  position: absolute;
  left: 0;
  top: 9px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--titre);
  font-weight: 800;
  color: var(--nuit);
  background: var(--lavande);
}

.salon {
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0;
}

.salon iframe {
  width: 100%;
  height: 500px;
  border: 0;
  display: block;
}

.salon__attente {
  padding: 40px 30px;
}

.salon__attente [data-popy] {
  width: 130px;
  margin: 0 auto 26px;
}

@media (max-width: 900px) {
  .communaute-grille,
  .communaute-salon {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: 20px;
  padding: 18px 24px;
  margin-bottom: 12px;
}

.faq details[open] {
  border-color: var(--lavande);
}

.faq summary {
  font-family: var(--titre);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--clair);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--rose);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 12px 0 0;
}

/* ---------- Newsletter ---------- */

.newsletter {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--fond);
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 6px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  color: var(--clair);
}

.newsletter input::placeholder {
  color: var(--discret);
}

.newsletter input:focus {
  outline: none;
}

.newsletter .bouton {
  box-shadow: none;
  padding: 10px 22px;
}

.newsletter__message {
  margin-top: 14px;
  font-weight: 700;
  color: var(--rose);
  min-height: 1.5em;
}

@media (max-width: 520px) {
  .newsletter { flex-direction: column; border-radius: 28px; }
}

/* ---------- Pages intérieures & légales ---------- */

.page-titre {
  padding: 60px 0 30px;
  text-align: center;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 44px clamp(22px, 5vw, 60px);
  max-width: 860px;
  margin: 0 auto 80px;
}

.legal h2 {
  font-size: 1.45rem;
  margin-top: 1.8em;
}

.legal h2:first-child {
  margin-top: 0;
}

.a-completer {
  background: var(--rose-doux);
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 700;
  color: var(--rose);
}

.avertissement {
  background: var(--lavande-doux);
  border-left: 4px solid var(--lavande);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* ---------- Pied de page ---------- */

.pied {
  background: var(--nuit);
  color: var(--texte);
  padding: 70px 0 30px;
  font-size: 0.95rem;
  border-top: 1px solid var(--bord);
  border-radius: 40px 40px 0 0;
  margin-top: 40px;
}

.pied__grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.pied .logo {
  margin-bottom: 12px;
}

.pied h4 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pied li {
  margin-bottom: 8px;
}

.pied a {
  color: var(--texte);
  text-decoration: none;
}

.pied a:hover {
  color: var(--rose);
}

.pied__bas {
  border-top: 1px solid var(--bord);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--discret);
}

@media (max-width: 820px) {
  .pied__grille { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .pied__grille { grid-template-columns: 1fr; }
}

/* ---------- Accessibilité ---------- */

:focus-visible {
  outline: 3px solid var(--lavande);
  outline-offset: 3px;
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
