﻿  :root {
    --noir: #0c0c0d;
    --noir-doux: #15151a;
    --carte: #1c1c22;
    --bord: #2e2e38;
    --blanc: #f4f1ea;
    --gris: #9b9aa3;
    --or: #e0568f;
    --rouge: #d6263a;
    --neon-rouge: #ff2d3f;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--noir);
    color: var(--blanc);
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-image:
      radial-gradient(circle at 18% -5%, rgba(224,86,143,0.13), transparent 42%),
      radial-gradient(circle at 95% 12%, rgba(255,45,63,0.08), transparent 38%),
      radial-gradient(circle at 88% 102%, rgba(176,58,106,0.16), transparent 48%),
      radial-gradient(circle at 5% 70%, rgba(224,86,143,0.07), transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
  }

  body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    opacity: 0.05;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  /* fines lignes diagonales en filigrane : texture rock discrète */
  body::after {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
    background-image: repeating-linear-gradient(
      -45deg,
      transparent, transparent 13px,
      rgba(224,86,143,0.022) 13px, rgba(224,86,143,0.022) 14px
    );
  }

  .wrap { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

  /* ---------- Navigation ---------- */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12,12,13,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bord);
  }
  .nav-inner {
    max-width: 1180px; margin: 0 auto;
    padding: 14px 22px;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 6px 20px;
  }
  nav a {
    color: var(--gris);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.15em;
    font-size: 0.88rem;
    padding: 4px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
  }
  nav a:hover { color: var(--or); border-color: var(--or); }
  nav a.active { color: var(--or); border-color: var(--or); }

  section { padding: 80px 0 30px; }
  section + section {
    position: relative;
    border-top: 1px solid var(--bord);
  }
  section + section::before {
    content: "◆";
    position: absolute; top: -0.5em; left: 50%;
    transform: translateX(-50%);
    background: var(--noir); padding: 0 10px;
    font-size: 0.5rem; line-height: 1;
    color: var(--or); opacity: 0.6; z-index: 3;
  }

  /* apparition au défilement : état initial puis classe .vu */
  .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s cubic-bezier(.2,.7,.2,1),
                transform 0.7s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.vu { opacity: 1; transform: translateY(0); }

  .section-title {
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.3em;
    font-size: 1rem;
    color: var(--or);
    margin-bottom: 12px;
    padding-left: 0.3em;
  }
  /* petit losange décoratif au-dessus du titre de section */
  .section-title::before {
    content: "◆";
    display: block;
    font-size: 0.7rem;
    color: var(--or);
    margin: 0 auto 16px;
    opacity: 0.7;
    transform: translateX(-0.15em);
  }
  .section-heading {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2.3rem, 6vw, 3.6rem);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .section-heading em { font-style: italic; color: var(--or); }
  .section-intro {
    text-align: center; color: var(--gris);
    font-weight: 300; max-width: 560px;
    margin: 0 auto 38px; font-size: 0.98rem;
  }

  /* ---------- Accueil ---------- */
  .hero {
    text-align: center;
    padding: 90px 22px 50px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  /* calques de parallaxe : derrière le contenu */
  .hero-para {
    position: absolute; inset: -20% 0 -20% 0;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
  }
  /* photo de fond du hero (celle du faire-part) */
  .para-photo {
    position: absolute; inset: 0;
    background-image: url("images/hero-paysage.jpg");
    background-size: cover;
    background-position: center 38%;
  }
  /* calque photo version mobile (portrait), caché par défaut */
  .para-photo-mob {
    position: absolute; inset: 0;
    display: none;
    background-image: url("images/hero-portrait.jpg");
    background-size: cover;
    background-position: center 42%;
  }
  /* voile sombre pour garder le texte lisible par-dessus la photo */
  .para-photo::after, .para-photo-mob::after {
    content: "";
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(12,12,13,0.30) 0%, rgba(12,12,13,0.12) 35%, rgba(12,12,13,0.55) 78%, rgba(12,12,13,0.95) 100%),
      radial-gradient(ellipse 55% 42% at 50% 46%, rgba(12,12,13,0.55) 0%, transparent 75%);
  }
  .para-halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
  }
  .para-halo.halo-a {
    width: 460px; height: 460px;
    top: -120px; left: -120px;
    background: radial-gradient(circle, rgba(224,86,143,0.18), transparent 70%);
    mix-blend-mode: screen;
  }
  .para-halo.halo-b {
    width: 520px; height: 520px;
    bottom: -180px; right: -140px;
    background: radial-gradient(circle, rgba(255,45,63,0.14), transparent 70%);
    mix-blend-mode: screen;
  }
  .para-grain {
    position: absolute; inset: 0;
    opacity: 0.5;
    background-image: repeating-linear-gradient(
      -45deg, transparent, transparent 22px,
      rgba(224,86,143,0.03) 22px, rgba(224,86,143,0.03) 23px);
  }
  .hero-contenu {
    position: relative; z-index: 2; will-change: transform;
    display: flex; flex-direction: column; flex: 1;
  }
  .kicker {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.42em;
    font-size: 0.86rem;
    color: var(--or);
    margin-bottom: 22px;
    padding-left: 0.42em;
    display: flex; align-items: center; justify-content: center;
    gap: 16px;
    opacity: 0;
    animation: heroIn 0.7s ease 0.1s forwards;
  }
  /* traits de part et d'autre des prénoms */
  .kicker::before, .kicker::after {
    content: "";
    height: 1px; width: 38px;
    background: linear-gradient(90deg, transparent, var(--or));
  }
  .kicker::after { background: linear-gradient(90deg, var(--or), transparent); }
  /* le bloc bas se cale vers le bas mais reste décollé du bord */
  .hero-bas { margin-top: auto; margin-bottom: 12vh; }
  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(3.4rem, 11vw, 7rem);
    line-height: 0.98;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 24px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.7);
    opacity: 0;
    animation: heroIn 0.8s ease 0.25s forwards;
  }
  .hero h1 em { font-style: italic; color: var(--or); }
  @keyframes heroIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .devise {
    margin: 30px auto 4px;
    max-width: 760px;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.94;
    letter-spacing: 0.015em;
    opacity: 0;
    animation: heroIn 0.8s ease 0.45s forwards;
  }
  .devise .l1, .devise .l2 {
    display: block;
    font-size: clamp(2.1rem, 8vw, 4.6rem);
  }
  .devise .l1 { color: var(--blanc); text-shadow: 0 2px 16px rgba(0,0,0,0.85); }
  .devise .l2 { color: var(--blanc); text-shadow: 0 2px 16px rgba(0,0,0,0.85); }
  .devise .danger {
    color: var(--neon-rouge);
    position: relative;
    display: inline-block;
    text-shadow:
      0 0 8px rgba(255,45,63,0.9),
      0 0 22px rgba(255,45,63,0.7),
      0 0 40px rgba(255,45,63,0.45);
    animation: flicker 3s infinite;
  }
  /* néon mal branché : ratés fréquents et irréguliers */
  @keyframes flicker {
    0%   { opacity: 1; }
    3%   { opacity: 0.25; }
    5%   { opacity: 1; }
    9%   { opacity: 0.3; }
    11%  { opacity: 1; }
    11.5%{ opacity: 0.2; }
    12%  { opacity: 1; }
    40%  { opacity: 1; }
    41%  { opacity: 0.2; }
    41.6%{ opacity: 1; }
    62%  { opacity: 1; }
    63%  { opacity: 0.35; }
    63.5%{ opacity: 1; }
    64%  { opacity: 0.2; }
    65%  { opacity: 1; }
    85%  { opacity: 1; }
    86%  { opacity: 0.3; }
    87%  { opacity: 1; }
    100% { opacity: 1; }
  }
  .devise .tantpis {
    display: inline-block;
    margin-top: 18px;
    font-family: 'Cormorant Garamond', serif;
    text-transform: none;
    font-style: italic;
    font-size: clamp(1.9rem, 5.5vw, 3.1rem);
    color: #fff;
    position: relative;
    transform-origin: center;
    will-change: transform, color, text-shadow;
    animation: glow 2.4s ease-in-out infinite;
  }
  /* effet néon : le mot respire (couleur + échelle + halo) */
  @keyframes glow {
    0%, 100% {
      color: #ffffff;
      transform: rotate(-4deg) scale(1);
      text-shadow:
        0 0 4px rgba(255,255,255,0.6),
        0 0 14px rgba(224,86,143,0.65),
        0 0 26px rgba(224,86,143,0.4);
    }
    50% {
      color: #ffd6e8;
      transform: rotate(-4deg) scale(1.08);
      text-shadow:
        0 0 8px rgba(255,255,255,1),
        0 0 26px rgba(224,86,143,1),
        0 0 52px rgba(224,86,143,0.85),
        0 0 90px rgba(224,86,143,0.6);
    }
  }
  .header-rule { width: 60px; height: 1px; background: var(--or); margin: 28px auto; }
  .hero-countdown {
    display: flex; align-items: baseline; justify-content: center; gap: 8px;
    margin-top: 18px;
    opacity: 0;
    animation: heroIn 0.8s ease 0.65s forwards;
  }
  .hero-countdown .cd-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    color: var(--or); letter-spacing: 0.05em; line-height: 1;
  }
  .hero-countdown .cd-label {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.22em; font-size: 0.85rem; color: var(--gris);
  }
  .hero .date {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.26em;
    font-size: 1.1rem;
  }
  .hero .lieu { color: var(--gris); font-weight: 300; margin-top: 8px; }

  /* ---------- Trois temps ---------- */
  .moments {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .moment {
    background: var(--carte);
    border: 1px solid var(--bord);
    border-radius: 4px;
    padding: 28px 22px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
  }
  .moment:hover { border-color: var(--or); transform: translateY(-3px); }
  .moment .m-icon {
    width: 32px; height: 32px; margin: 0 auto 14px;
    color: var(--or); opacity: 0.85;
  }
  .moment .m-icon svg { width: 100%; height: 100%; display: block; }
  .moment .m-step {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.2em;
    color: var(--or); font-size: 0.78rem;
  }
  .moment .m-hour {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem; font-weight: 500;
    line-height: 1.1; margin: 6px 0 4px;
  }
  /* libellé sans heure fixe : plus petit pour tenir sur le bloc */
  .moment .m-hour-libre {
    font-size: 1.45rem;
    font-style: italic;
    color: var(--blanc);
    padding: 9px 0 8px;
  }
  .moment .m-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-style: italic;
    color: var(--or); margin-bottom: 10px;
  }
  .moment .m-desc { color: var(--gris); font-weight: 300; font-size: 0.92rem; line-height: 1.55; }
  .moment .m-tag {
    display: inline-block; margin-top: 12px;
    font-size: 0.66rem; text-transform: uppercase;
    letter-spacing: 0.14em;
    border: 1px solid var(--bord);
    border-radius: 20px; padding: 4px 12px;
    color: var(--gris);
  }
  .moment .m-tag.invite { color: var(--or); border-color: var(--or); }

  /* ---------- Infos pratiques ---------- */
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
  }
  .info-card {
    background: var(--carte);
    border: 1px solid var(--bord);
    border-radius: 3px;
    padding: 26px 24px;
    transition: border-color 0.3s;
  }
  .info-card:hover { border-color: var(--or); }
  .info-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.14em; color: var(--or);
    font-size: 1.05rem; margin-bottom: 10px;
  }
  .info-card p { color: var(--gris); font-weight: 300; font-size: 0.95rem; line-height: 1.6; }
  .info-card p strong { color: var(--blanc); font-weight: 400; }
  /* bouton "Itinéraire" : même forme que WhatsApp, en rose */
  .info-card .info-maps {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: 22px;
    border: 1px solid var(--or);
    color: var(--or);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    transition: background 0.2s, color 0.2s;
  }
  .info-card .info-maps:hover { background: var(--or); color: #0c0c0d; }
  .info-card .info-maps svg { width: 15px; height: 15px; }
  /* bouton pour rejoindre un groupe WhatsApp */
  .info-card .info-wa {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 22px;
    border: 1px solid #25d366;
    color: #25d366;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    transition: background 0.2s, color 0.2s;
  }
  .info-card .info-wa:hover { background: #25d366; color: #0c0c0d; }
  .info-card .info-wa svg { width: 15px; height: 15px; }
  /* liens téléphone : simples liens roses, pas des boutons */
  .info-card .info-tel {
    color: var(--or);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  .info-card .info-tel:hover { border-color: var(--or); }

  /* ---------- Activités ---------- */
  .zone-title {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.22em;
    color: var(--or);
    font-size: 1.15rem;
    text-align: center;
    margin: 30px 0 20px;
  }
  .acti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .acti-card {
    background: var(--carte);
    border: 1px solid var(--bord);
    border-radius: 3px;
    padding: 22px 22px 24px;
    transition: border-color 0.3s, transform 0.3s;
    display: flex; flex-direction: column;
  }
  .acti-card:hover { border-color: var(--or); transform: translateY(-3px); }
  .acti-card .a-cat {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.16em;
    font-size: 0.7rem; color: var(--gris);
  }
  .acti-card .a-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem; font-weight: 500;
    line-height: 1.15; margin: 4px 0 8px;
  }
  .acti-card .a-desc {
    color: var(--gris); font-weight: 300;
    font-size: 0.92rem; line-height: 1.55; flex-grow: 1;
  }
  .acti-card .a-meta {
    margin-top: 14px; padding-top: 12px;
    border-top: 1px solid var(--bord);
    font-size: 0.8rem; color: var(--gris);
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
  }
  .acti-card .a-meta .star { color: var(--or); }
  .acti-card .a-maps {
    color: var(--or);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  .acti-card .a-maps:hover { border-color: var(--or); }

  /* ---------- Carte des activités ---------- */
  #carte-activites {
    height: 380px;
    width: 100%;
    margin: 34px 0 10px;
    border-radius: 4px;
    border: 1px solid var(--bord);
    background: var(--carte);
  }
  /* harmonisation des popups Leaflet avec le thème sombre */
  .leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: var(--carte);
    color: var(--blanc);
    border: 1px solid var(--or);
  }
  .leaflet-popup-content { font-family: 'Outfit', sans-serif; }
  .leaflet-popup-content b { color: var(--or); }
  .leaflet-container a.leaflet-popup-close-button { color: var(--gris); }

  /* ---------- Bouton réduction des animations ---------- */
  .anim-toggle {
    display: none;
    position: fixed; right: 14px; bottom: 14px; z-index: 60;
    background: var(--carte);
    border: 1px solid var(--bord);
    color: var(--gris);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .anim-toggle:hover { color: var(--or); border-color: var(--or); }

  /* quand les animations sont coupées : tout devient statique */
  body.calme .devise .danger,
  body.calme .devise .tantpis,
  body.calme footer .heart,
  body.calme .table-card { animation: none !important; }
  body.calme .table-card { opacity: 1; transform: none; }
  /* état figé pour "tant pis" si l'animation est coupée */
  body.calme .devise .tantpis,
  .devise .tantpis.no-anim {
    color: #fff;
    transform: rotate(-4deg) scale(1);
    text-shadow:
      0 0 5px rgba(255,255,255,0.8),
      0 0 16px rgba(224,86,143,0.85),
      0 0 32px rgba(224,86,143,0.55);
  }

  /* respecte le réglage système — le leitmotiv (danger/tantpis) reste animé
     car l'utilisateur peut le couper lui-même via le bouton Animations */
  @media (prefers-reduced-motion: reduce) {
    footer .heart, .table-card { animation: none !important; }
    .table-card { opacity: 1; transform: none; }
  }

  /* ---------- Plan de salle ---------- */
  .salle {
    max-width: 800px; margin: 0 auto;
  }
  .salle svg { width: 100%; height: auto; display: block; }
  .salle-legende {
    text-align: center; color: var(--gris);
    font-weight: 300; font-size: 0.9rem; margin-top: 16px;
  }

  /* ---------- Recherche ---------- */
  .search-box { max-width: 520px; margin: 0 auto 14px; position: relative; }
  .search-box input {
    width: 100%;
    background: var(--carte);
    border: 1px solid var(--bord);
    color: var(--blanc);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    padding: 16px 18px 16px 48px;
    border-radius: 2px; outline: none;
    transition: border-color 0.25s;
  }
  .search-box input:focus { border-color: var(--or); }
  .search-box input::placeholder { color: var(--gris); }
  .search-box svg {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px; stroke: var(--or);
  }
  .result { max-width: 520px; margin: 0 auto 30px; min-height: 4px; }
  .result-card {
    background: var(--carte);
    border: 1px solid var(--or);
    padding: 16px 20px; border-radius: 2px;
    display: flex; align-items: center; gap: 14px;
    animation: pop 0.35s ease; cursor: pointer;
    margin-bottom: 8px;
  }
  @keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  .result-card .r-mono {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--noir-doux); border: 1px solid var(--bord);
    display: flex; align-items: center; justify-content: center;
    color: var(--or); font-family: 'Bebas Neue', sans-serif;
    flex-shrink: 0;
  }
  .result-card .r-name { font-size: 1.05rem; font-weight: 500; }
  .result-card .r-table {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.12em; color: var(--or);
    font-size: 0.95rem; margin-top: 2px;
  }
  .result-empty {
    text-align: center; color: var(--gris);
    font-weight: 300; font-style: italic; padding: 10px;
  }

  /* ---------- Tables rondes ---------- */
  .table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .table-card {
    position: relative;
    background: var(--carte);
    border: 1px solid var(--bord);
    border-radius: 4px;
    padding: 24px 18px 28px;
    cursor: pointer;
    opacity: 0; transform: translateY(14px);
    animation: rise 0.6s ease forwards;
    transition: border-color 0.3s;
  }
  .table-card:hover { border-color: var(--or); }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }

  .card-label { text-align: center; margin-bottom: 14px; }
  .card-label .t-num {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.22em; font-size: 0.8rem; color: var(--or);
  }
  .card-label .t-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 3.5vw, 2.8rem); font-weight: 500; line-height: 1.05;
  }
  .card-label .t-tag {
    font-size: 0.78rem; color: var(--gris);
    font-style: italic; letter-spacing: 0.02em; margin-top: 4px;
  }
  .card-hint {
    position: absolute; top: 12px; right: 14px;
    color: var(--gris); opacity: 0.4;
    transition: opacity 0.2s, color 0.2s;
  }
  .card-hint svg { width: 15px; height: 15px; stroke: currentColor; display: block; }
  .table-card:hover .card-hint { opacity: 1; color: var(--or); }

  /* bandeau affiché quand le plan de table n'est pas encore dévoilé */
  .mystere-bandeau {
    max-width: 620px;
    margin: 0 auto 32px;
    text-align: center;
    background: var(--carte);
    border: 1px solid var(--or);
    border-radius: 4px;
    padding: 26px 28px;
  }
  .mystere-bandeau .m-icone {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  .mystere-bandeau .m-titre {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--or);
    margin-bottom: 8px;
  }
  .mystere-bandeau .m-texte {
    color: var(--gris);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
  }
  /* sièges en mode "danse des noms" : transition douce sur le prénom */
  .seat.danse .pname {
    border-style: dashed;
    transition: opacity 0.22s ease, transform 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
  }
  .seat.fondu .pname {
    opacity: 0.15;
  }

  .round {
    position: relative; width: 100%;
    max-width: 420px; margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
  .plateau {
    position: absolute; left: 50%; top: 50%;
    width: 56%; height: 56%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #24242c, #131318 70%);
    border: 1px solid var(--bord);
    box-shadow: 0 0 0 8px rgba(224,86,143,0.07), inset 0 0 30px rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
  }
  .anneau {
    position: absolute; left: 50%; top: 50%;
    width: 78%; height: 78%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(224,86,143,0.30);
    border-radius: 50%; pointer-events: none;
  }
  .mascotte {
    width: 90%; height: 90%;
    border-radius: 50%; overflow: hidden;
    border: 2px solid var(--or); background: var(--noir);
  }
  .mascotte svg { width: 100%; height: 100%; display: block; }
  .mascotte-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .seat {
    position: absolute; width: 96px;
    margin-left: -48px; margin-top: -16px;
    text-align: center;
  }
  /* le prénom devient une petite étiquette dans le thème */
  .seat .pname {
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--blanc);
    background: var(--noir-doux);
    border: 1px solid var(--bord);
    border-radius: 4px;
    padding: 5px 9px;
    transition: transform 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
  }
  .seat:hover .pname, .seat.highlight .pname {
    transform: scale(1.12);
    border-color: var(--or);
    background: rgba(224,86,143,0.20);
    color: var(--or);
  }

  /* ---------- Modale ---------- */
  .modal {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(8,8,9,0.88);
    backdrop-filter: blur(6px);
    display: none; align-items: center; justify-content: center;
    padding: 22px;
  }
  .modal.open { display: flex; animation: fade 0.25s ease; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .modal-inner {
    background: var(--carte);
    border: 1px solid var(--or);
    border-radius: 5px;
    padding: 30px 22px 36px;
    max-width: 560px; width: 100%;
    max-height: 90vh; overflow-y: auto;
  }
  .modal-close {
    float: right; background: none; border: none;
    color: var(--gris); font-size: 1.6rem;
    cursor: pointer; line-height: 1;
  }
  .modal-close:hover { color: var(--or); }

  footer {
    text-align: center;
    padding: 60px 22px;
    color: var(--gris);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.1rem;
  }
  footer .heart {
    color: var(--rouge);
    font-style: normal;
    display: inline-block;
    animation: heartbeat 1.6s ease-in-out infinite;
  }
  @keyframes heartbeat {
    0%   { transform: scale(1); }
    15%  { transform: scale(1.25); }
    30%  { transform: scale(1); }
    45%  { transform: scale(1.18); }
    60%  { transform: scale(1); }
    100% { transform: scale(1); }
  }
  .footer-noms {
    margin-top: 14px;
    font-family: 'Bebas Neue', sans-serif;
    font-style: normal;
    letter-spacing: 0.22em;
    font-size: 1.05rem;
    color: var(--or);
    padding-left: 0.22em;
  }

  .error { text-align: center; color: #c98a8a; padding: 40px 22px; font-weight: 300; }

  @media (min-width: 761px) {
    .hero-bas { margin-bottom: 22vh; }
  }
  @media (max-width: 980px) {
    .moments { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 560px) {
    .moments { grid-template-columns: 1fr; }
  }
  @media (max-width: 760px) {
    .table-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 60px; }
    .seat { width: 70px; margin-left: -35px; }
    .seat .pname { font-size: 0.82rem; padding: 4px 7px; }
    /* sur mobile : photo portrait entière, calée dans le haut du bandeau */
    .para-photo { display: none; }
    .hero-para { inset: 0; }
    .para-photo-mob {
      display: block;
      bottom: auto;
      height: 72vh;
      background-size: contain;
      background-position: top center;
      background-repeat: no-repeat;
    }
    .para-photo-mob::after {
      background:
        linear-gradient(180deg, rgba(12,12,13,0) 62%, rgba(12,12,13,0.8) 86%, rgba(12,12,13,1) 100%);
    }
  }