/* ============ Thème « Save the Date » : noir & or, élégant ============ */
:root {
    --ink: #0b0906;
    --ink2: #16110a;
    --gold: #d4af37;
    --gold-l: #f3d98b;
    --gold-d: #9c7424;
    --cream: #f5ead2;
    --text: #efe4cc;
    --muted: #b6a584;
    --line: rgba(212, 175, 55, .35);
    --panel: rgba(22, 17, 10, .82);
    --gold-grad: linear-gradient(180deg, #fff4c9 0%, #f0cf7a 28%, #c8962f 55%, #f7df92 78%, #a8741f 100%);
    --gold-flat: linear-gradient(100deg, #b8862b 0%, #f3d98b 45%, #c99a36 70%, #f0d488 100%);

    /* alias utilisés par admin.css */
    --cyan: var(--gold-l);
    --yellow: var(--gold);
    --orange: var(--gold);
    --pink: var(--gold);
    --green: #a8d8a0;
    --red: #e3867b;

    --display: "Cinzel", Georgia, serif;
    --pixel: var(--display);
    --serif: "Cormorant Garamond", Georgia, serif;
    --script: "Great Vibes", cursive;
    --label: "Montserrat", system-ui, sans-serif;
    --body: "Montserrat", system-ui, sans-serif;
    --hebrew: "Frank Ruhl Libre", "David", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(212, 175, 55, .10), transparent 70%),
        var(--ink);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-l); }
img { max-width: 100%; display: block; }

.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.gold-text, .hero__title, .section__title, .std span, .countdown__grid span {
    background: var(--gold-grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

.eyebrow {
    font-family: var(--display); font-weight: 500;
    font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 10px;
}

/* Filet doré avec étoile de David au centre */
.rule {
    display: flex; align-items: center; gap: 14px;
    width: min(420px, 100%); margin: 18px auto;
}
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule--short { width: 140px; }
.rule--short::after { display: none; }
.magen { fill: none; stroke: var(--gold); stroke-width: 3; }
.magen--rule { width: 22px; height: 22px; flex: none; }

/* ---------- Barre du haut ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 16px;
    padding: 12px 28px;
    background: rgba(11, 9, 6, .82);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.topbar__mono {
    width: 40px; height: 40px; display: grid; place-items: center;
    font-family: var(--display); font-size: 20px; text-decoration: none;
    color: var(--gold-l); border: 1px solid var(--gold); border-radius: 50%;
    box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(212, 175, 55, .35);
}
.topbar__title { font-family: var(--display); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); margin-right: auto; }
.topbar__menu { display: flex; gap: 28px; }
.topbar__menu a {
    font-family: var(--display); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}
.topbar__menu a:hover { color: var(--gold-l); border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 70px 28px 60px;
    min-height: calc(100vh - 65px);
    display: flex; flex-direction: column; justify-content: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden;
    background:
        radial-gradient(70% 55% at 50% 0%, rgba(255, 214, 140, .16), transparent 70%),
        radial-gradient(60% 50% at 50% 110%, rgba(212, 175, 55, .12), transparent 70%),
        linear-gradient(180deg, #120d07 0%, var(--ink) 100%);
}
/* Faisceaux de projecteurs */
.beam {
    position: absolute; top: -12%; width: 220px; height: 125%;
    background: linear-gradient(180deg, rgba(255, 222, 160, .30), rgba(255, 222, 160, .06) 55%, transparent 85%);
    clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
    filter: blur(5px);
    mix-blend-mode: screen;
    transform-origin: 50% 0;
    animation: sway 9s ease-in-out infinite alternate;
}
.b1 { left: 8%;  rotate: -24deg; }
.b2 { left: 30%; rotate: -10deg; animation-delay: -3s; opacity: .7; }
.b3 { right: 28%; rotate: 12deg; animation-delay: -5s; opacity: .7; }
.b4 { right: 6%; rotate: 26deg; animation-delay: -1s; }
/* Lumières floues (bokeh) */
.bokeh {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(5px 5px at 12% 22%, rgba(255, 220, 150, .9), transparent),
        radial-gradient(4px 4px at 18% 60%, rgba(255, 220, 150, .7), transparent),
        radial-gradient(6px 6px at 86% 30%, rgba(255, 220, 150, .8), transparent),
        radial-gradient(3px 3px at 72% 70%, rgba(255, 220, 150, .7), transparent),
        radial-gradient(5px 5px at 40% 85%, rgba(255, 220, 150, .6), transparent),
        radial-gradient(4px 4px at 92% 82%, rgba(255, 220, 150, .8), transparent),
        radial-gradient(3px 3px at 55% 12%, rgba(255, 220, 150, .7), transparent),
        radial-gradient(14px 14px at 6% 78%, rgba(255, 200, 120, .25), transparent),
        radial-gradient(18px 18px at 94% 12%, rgba(255, 200, 120, .22), transparent);
    filter: blur(1px);
    animation: twinkle 5s ease-in-out infinite alternate;
}
.magen--hero {
    position: absolute; width: 560px; height: 560px; right: -60px; top: 50%;
    transform: translateY(-50%);
    stroke: rgba(212, 175, 55, .16); stroke-width: .8;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, .25));
}
/* Coins dorés en diagonale (comme le carton) */
.corner { position: absolute; width: 260px; height: 260px; pointer-events: none; }
.corner::before, .corner::after {
    content: ""; position: absolute; height: 2px; width: 140%;
    background: var(--gold-flat);
    box-shadow: 0 0 10px rgba(212, 175, 55, .5);
}
.corner--tl { top: 0; left: 0; }
.corner--tl::before { top: 40px; left: -70%; rotate: -45deg; }
.corner--tl::after { top: 80px; left: -70%; rotate: -45deg; opacity: .45; height: 1px; }
.corner--br { bottom: 0; right: 0; }
.corner--br::before { bottom: 40px; right: -70%; rotate: -45deg; }
.corner--br::after { bottom: 80px; right: -70%; rotate: -45deg; opacity: .45; height: 1px; }

.hero__grid {
    position: relative; z-index: 1;
    width: 100%; max-width: 1180px; margin: 0 auto;
    display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px;
}
.hero__text { text-align: center; }

.std {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    margin: 0 0 6px;
    font-family: var(--display); font-weight: 500;
}
.std span { font-size: clamp(34px, 5vw, 58px); line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.std i {
    font-style: normal; font-size: 14px; letter-spacing: .4em; color: var(--gold-l);
    padding: 6px 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
.hero__title {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(36px, 5.4vw, 74px); line-height: 1.05; white-space: nowrap;
    margin: 18px 0 0; text-transform: uppercase; letter-spacing: .02em;
    filter: drop-shadow(0 4px 18px rgba(212, 175, 55, .25));
}
.hero__name {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(38px, 5.4vw, 66px); line-height: 1.05;
    margin: 4px 0 0;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__date, .hero__place {
    font-family: var(--display); font-weight: 500;
    font-size: clamp(18px, 2.2vw, 26px); letter-spacing: .14em; text-transform: uppercase;
    margin: 0; color: var(--cream);
}
.hero__place { font-size: clamp(15px, 1.8vw, 20px); color: var(--gold-l); letter-spacing: .24em; }
.hero__merci { font-family: var(--script); font-size: clamp(40px, 5vw, 58px); line-height: 1.1; margin: 0 0 14px; color: var(--gold-l); text-shadow: 0 0 18px rgba(212, 175, 55, .35); }
.hero__intro { font-family: var(--serif); font-size: 21px; line-height: 1.5; max-width: 560px; margin: 0 auto 30px; color: var(--cream); }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Portrait en arche dorée */
.portrait { margin: 0; justify-self: center; width: min(390px, 100%); text-align: center; }
.portrait__arch {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 999px 999px 0 0;
    padding: 10px;
    background: var(--gold-flat);
    box-shadow: 0 0 60px rgba(212, 175, 55, .28), 0 30px 60px rgba(0, 0, 0, .6);
}
.portrait__arch::before { /* second filet intérieur */
    content: ""; position: absolute; inset: 22px; z-index: 2; pointer-events: none;
    border-radius: 999px 999px 0 0; border: 1px solid rgba(255, 240, 200, .55);
}
.portrait__arch img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 999px 999px 0 0;
    background: var(--ink);
}
.portrait figcaption {
    position: relative; margin-top: -2px;
    padding: 16px 12px 14px;
    background: linear-gradient(180deg, #1c150b, var(--ink));
    border: 1px solid var(--line); border-top: 0;
}
.portrait__heb { display: block; font-family: var(--hebrew); font-weight: 700; font-size: 26px; color: var(--gold-l); line-height: 1.3; }
.portrait__mazal { display: block; font-family: var(--display); font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 1.2;
    letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
    color: #1a1206; background: var(--gold-flat); background-size: 200% 100%;
    border: 0; border-radius: 2px;
    padding: 17px 34px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, .22);
    transition: background-position .5s, transform .15s, box-shadow .2s;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(212, 175, 55, .32); }
.btn:focus-visible { outline: 1px solid var(--gold-l); outline-offset: 4px; }
.btn small { display: none; }
.btn--ghost, .btn--alt { color: var(--gold-l); background: transparent; border: 1px solid var(--gold); box-shadow: none; }
.btn--ghost:hover, .btn--alt:hover { background: rgba(212, 175, 55, .1); }
.btn--small { font-size: 12px; padding: 12px 20px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Compte à rebours ---------- */
.countdown { position: relative; z-index: 1; text-align: center; margin: 60px auto 0; }
.countdown__label { font-family: var(--display); font-size: 13px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.countdown__grid { display: inline-grid; grid-template-columns: repeat(4, 116px); gap: 14px; }
.countdown__grid div {
    padding: 14px 6px 10px;
    border: 1px solid var(--line);
    background: rgba(11, 9, 6, .6);
    box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px rgba(212, 175, 55, .18);
}
.countdown__grid span { display: block; font-family: var(--serif); font-weight: 600; font-size: 54px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.countdown__grid small { font-family: var(--display); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sections ---------- */
.section { max-width: 980px; margin: 0 auto; padding: 90px 28px; }
.section__head { text-align: center; margin-bottom: 40px; }
.section__title {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(32px, 5vw, 52px); line-height: 1.1; text-transform: uppercase; letter-spacing: .04em;
    margin: 0;
}
.section__lead { text-align: center; max-width: 640px; margin: -14px auto 30px; font-family: var(--serif); font-size: 20px; color: var(--cream); }
.section__lead b { color: var(--gold-l); font-weight: 600; }

/* Carte au double filet doré avec coins ornés */
.card, .panel {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 23, 12, .9), rgba(12, 10, 7, .94));
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 8px var(--ink), inset 0 0 0 9px rgba(212, 175, 55, .22), 0 30px 60px rgba(0, 0, 0, .45);
    padding: 44px;
}
.card::before, .card::after {
    content: ""; position: absolute; width: 26px; height: 26px; pointer-events: none;
    border: 2px solid var(--gold);
}
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- Programme ---------- */
.events { display: grid; gap: 30px; max-width: 720px; margin: 0 auto; }
.event { text-align: center; }
.event h3 { font-family: var(--serif); font-weight: 500; font-size: 42px; line-height: 1.1; margin: 0 0 24px; color: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0 auto 28px; max-width: 460px; text-align: left; }
.steps li {
    display: flex; align-items: baseline; gap: 18px;
    padding: 12px 0; border-bottom: 1px solid rgba(212, 175, 55, .18);
    font-family: var(--serif); font-size: 22px; color: var(--cream);
}
.steps li:last-child { border-bottom: 0; }
.steps b { flex: none; width: 34px; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--gold); text-align: right; }
.steps .heb { font-family: var(--hebrew); color: var(--gold-l); unicode-bidi: isolate; white-space: nowrap; }
.event__info { list-style: none; padding: 0; margin: 0 auto 26px; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; }
.event__info li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.event__info .ico { color: var(--gold); margin-top: 3px; }
.event__info b { font-weight: 600; color: var(--cream); }
.event__nav { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Formulaire ---------- */
.form { max-width: 720px; margin: 0 auto; }
fieldset { border: 0; padding: 0; margin: 0 0 34px; min-width: 0; }
fieldset[disabled] { opacity: .35; }
legend {
    width: 100%; text-align: center;
    font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--gold-l);
    margin-bottom: 20px; padding: 0;
}
.field { display: block; margin-bottom: 22px; }
.field span { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password] {
    width: 100%;
    font: inherit; font-size: 17px;
    color: var(--cream);
    background: rgba(255, 255, 255, .03);
    border: 0; border-bottom: 1px solid rgba(212, 175, 55, .55);
    border-radius: 0;
    padding: 12px 4px;
    transition: border-color .2s, background .2s;
}
input:focus { outline: none; border-bottom-color: var(--gold-l); background: rgba(212, 175, 55, .06); }
input::placeholder { color: #6f6350; }

.squad__row {
    display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 26px;
    padding: 18px 20px; margin-bottom: 12px;
    border: 1px solid var(--line);
    background: rgba(212, 175, 55, .04);
}
.squad__title { margin: 0; font-family: var(--serif); font-size: 24px; color: var(--cream); }
.stepper label { display: block; text-align: center; margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.stepper__ctrl { display: flex; align-items: center; gap: 8px; }
.stepper__ctrl input {
    width: 54px; text-align: center; border-bottom: 1px solid var(--gold);
    font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; padding: 4px 0;
    -moz-appearance: textfield;
}
.stepper__ctrl input::-webkit-outer-spin-button,
.stepper__ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__btn {
    width: 38px; height: 38px; flex: none;
    font-size: 20px; line-height: 1; color: var(--gold-l);
    background: transparent; border: 1px solid var(--gold); border-radius: 50%;
    cursor: pointer; transition: background .2s, color .2s;
}
.stepper__btn:hover { background: var(--gold); color: var(--ink); }

.check { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 28px; cursor: pointer; font-family: var(--serif); font-size: 20px; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    max-width: 720px; margin: 0 auto 24px;
    border: 1px solid var(--red); background: rgba(227, 134, 123, .08);
    padding: 14px 22px;
}
.alert p { margin: 0 0 6px; }
.alert b { color: var(--red); font-weight: 600; }
.alert ul { margin: 0; padding-left: 20px; }

.success { max-width: 620px; margin: 0 auto; text-align: center; }
.success h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 8vw, 70px); line-height: 1; margin: 6px 0 16px; color: var(--gold-l); }
.success p { font-family: var(--serif); font-size: 20px; }
.success__merci { font-family: var(--script) !important; font-size: 44px !important; color: var(--gold-l); margin: 6px 0 22px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 30px 28px 70px; color: var(--muted); }
.footer__heb { font-family: var(--hebrew); font-weight: 700; font-size: 40px; color: var(--gold-l); margin: 0; }
.footer b { color: var(--cream); font-weight: 500; }
.footer__merci { font-family: var(--script); font-size: 46px; line-height: 1.2; margin: 6px 0 0; color: var(--gold-l); }

/* ---------- Animations ---------- */
@keyframes sway { to { transform: rotate(6deg); } }
@keyframes twinkle { to { opacity: .55; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Tablette / mobile ---------- */
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .portrait { width: min(320px, 82%); order: -1; }
    .magen--hero { right: 50%; transform: translate(50%, -50%); width: 460px; height: 460px; }
}
@media (max-width: 640px) {
    .topbar { padding: 10px 16px; }
    .topbar__menu { display: none; }
    .topbar__title { font-size: 12px; letter-spacing: .16em; }
    .hero { padding: 40px 16px 44px; }
    .std { gap: 10px; }
    .std i { font-size: 11px; letter-spacing: .3em; }
    .corner { width: 160px; height: 160px; }
    .section { padding: 64px 16px; }
    .card, .panel { padding: 30px 18px; }
    .event h3 { font-size: 34px; }
    .steps li { font-size: 19px; gap: 12px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .squad__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 16px 12px; }
    .squad__title { grid-column: 1 / -1; text-align: center; }
    .stepper { min-width: 0; }
    .stepper__ctrl { justify-content: center; gap: 6px; }
    .stepper__ctrl input { flex: 1 1 auto; width: auto; min-width: 0; max-width: 56px; }
    .stepper__btn { width: 34px; height: 34px; }
    .countdown__grid { grid-template-columns: repeat(4, 1fr); width: 100%; gap: 8px; }
    .countdown__grid span { font-size: 38px; }
    .countdown__grid small { font-size: 8px; letter-spacing: .12em; }
    .btn { padding: 16px 22px; letter-spacing: .14em; }
    .hero__cta .btn { width: 100%; }
}

/* Deux événements : côte à côte sur grand écran */
.events { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: 980px; }
.event { display: flex; flex-direction: column; align-items: center; }
.event .event__info { margin-top: auto; }
.event .steps { width: 100%; }
/* Ornement d'une carte sans déroulé */
.event__deco { position: relative; display: grid; place-items: center; margin: 10px 0 28px; min-height: 170px; }
.magen--deco { position: absolute; width: 170px; height: 170px; stroke: rgba(212, 175, 55, .35); stroke-width: 1.2; filter: drop-shadow(0 0 10px rgba(212, 175, 55, .3)); }
.event__deco span { position: relative; font-family: var(--script); font-size: 46px; color: var(--gold-l); text-shadow: 0 0 16px rgba(11, 9, 6, .9), 0 0 18px rgba(212, 175, 55, .35); }

/* Phrase simple sous le titre d'un événement */
.event__texte { font-family: var(--serif); font-size: 24px; line-height: 1.4; color: var(--cream); margin: 0 0 28px; max-width: 360px; }
.event__texte::after { content: ""; display: block; width: 60px; height: 1px; margin: 22px auto 0; background: var(--gold); }

.event__texte { margin-bottom: 6px; }
.event__texte::after { display: none; }
.event__deco span.heb { font-family: var(--hebrew); font-weight: 700; font-size: 38px; }
.event__texte + .event__texte { font-size: 19px; font-style: italic; color: var(--gold-l); }
.hero__title { margin-top: 0; }

/* ---------- Typographie élargie : prénom en grand, textes en serif plus lisible ---------- */
body { font-family: var(--serif); font-size: 20px; }
.hero__name {
    font-family: var(--serif); font-weight: 600; font-style: italic;
    font-size: clamp(84px, 11vw, 150px); line-height: .95;
    margin: 6px 0 0; letter-spacing: .01em;
    filter: drop-shadow(0 6px 24px rgba(212, 175, 55, .3));
}
.hero__surname {
    font-family: var(--display); font-weight: 500;
    font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .42em; text-transform: uppercase;
    margin: 6px 0 0; padding-left: .42em; color: var(--gold-l);
}
.hero__intro { font-size: 23px; }
.event__info li { font-family: var(--serif); font-size: 22px; line-height: 1.35; gap: 14px; }
.event__info b { font-weight: 600; }
.event__info .ico { width: 20px; height: 20px; margin-top: 4px; }
.field span, .stepper label { font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .2em; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password] { font-family: var(--serif); font-size: 21px; }
.countdown__grid small { font-size: 11px; }
.footer { font-size: 21px; }
.portrait__mazal { font-size: 13px; }
@media (max-width: 640px) {
    body { font-size: 19px; }
    .hero__intro { font-size: 21px; }
    .event__info li { font-size: 20px; }
}
body, input, .stat b, td.num { font-variant-numeric: lining-nums; }
/* Adresses et horaires encore plus grands */
.event__info { gap: 14px; }
.event__info li { font-size: 28px; line-height: 1.3; gap: 16px; }
.event__info b { font-size: 31px; }
.event__info .ico { width: 26px; height: 26px; margin-top: 4px; }
@media (max-width: 640px) {
    .event__info li { font-size: 24px; gap: 12px; }
    .event__info b { font-size: 26px; }
    .event__info .ico { width: 22px; height: 22px; }
}
#programme { max-width: 1240px; } #programme .events { max-width: 1180px; } .event { padding-left: 34px; padding-right: 34px; }

/* ---------- Bouton musique (fixe, en bas à droite) ---------- */
.music {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    color: var(--gold-l); background: rgba(11, 9, 6, .88);
    border: 1px solid var(--gold);
    box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px rgba(212, 175, 55, .3), 0 10px 30px rgba(0, 0, 0, .5);
    cursor: pointer;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: transform .2s, box-shadow .2s;
}
.music:hover { transform: scale(1.06); }
.music:focus-visible { outline: 1px solid var(--gold-l); outline-offset: 4px; }
.music__bars { display: none; align-items: flex-end; gap: 3px; height: 20px; }
.music__bars i { width: 3px; height: 100%; background: var(--gold-flat); border-radius: 2px; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.music__bars i:nth-child(2) { animation-delay: -.3s; }
.music__bars i:nth-child(3) { animation-delay: -.6s; }
.music__bars i:nth-child(4) { animation-delay: -.15s; }
.music__note { font-size: 26px; line-height: 1; font-family: var(--serif); }
.music.is-playing .music__bars { display: flex; }
.music.is-playing .music__note { display: none; }
/* À l'arrêt : léger halo pulsé + étiquette pour inviter à l'activer */
.music:not(.is-playing) { animation: halo 2.2s ease-in-out infinite; }
.music__hint {
    position: absolute; right: 70px; white-space: nowrap;
    font-family: var(--display); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--gold-l); background: rgba(11, 9, 6, .88); border: 1px solid var(--line);
    padding: 7px 12px; pointer-events: none;
    opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s;
}
.music:not(.is-playing) .music__hint { opacity: 1; transform: none; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes halo { 50% { box-shadow: inset 0 0 0 4px var(--ink), inset 0 0 0 5px rgba(212, 175, 55, .3), 0 0 0 10px rgba(212, 175, 55, .12), 0 10px 30px rgba(0, 0, 0, .5); } }
@media (max-width: 640px) {
    .music { right: 14px; bottom: 14px; width: 52px; height: 52px; }
    .music__hint { right: 62px; }
}

/* ---------- Écran d'ouverture (lance la musique au clic) ---------- */
html.intro-on, html.intro-on body { overflow: hidden; }
.intro {
    position: fixed; inset: 0; z-index: 100;
    display: grid; place-items: center; padding: 24px;
    background: var(--ink);
    cursor: pointer;
    transition: opacity .9s ease, visibility .9s;
}
.intro.is-leaving { opacity: 0; visibility: hidden; }
.intro.is-leaving .intro__card { transform: scale(1.06); }
.intro__bg { position: absolute; inset: 0; overflow: hidden;
    background: radial-gradient(60% 50% at 50% 30%, rgba(255, 214, 140, .14), transparent 70%), var(--ink); }
.intro__card {
    position: relative; text-align: center;
    width: min(520px, 100%); padding: 56px 32px 40px;
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 8px var(--ink), inset 0 0 0 9px rgba(212, 175, 55, .25), 0 40px 80px rgba(0, 0, 0, .6);
    background: linear-gradient(180deg, rgba(30, 23, 12, .75), rgba(12, 10, 7, .9));
    transition: transform .9s ease;
    animation: introIn 1.2s ease both;
}
.magen--intro { width: 54px; height: 54px; margin: 0 auto 18px; display: block; stroke-width: 2.4; filter: drop-shadow(0 0 10px rgba(212, 175, 55, .5)); }
.intro__title {
    font-family: var(--display); font-weight: 600; font-size: clamp(30px, 7vw, 44px); line-height: 1.1;
    text-transform: uppercase; letter-spacing: .06em; margin: 6px 0 0;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro__name {
    font-family: var(--serif); font-weight: 600; font-style: italic;
    font-size: clamp(80px, 20vw, 120px); line-height: 1; margin: 0;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 6px 24px rgba(212, 175, 55, .3));
}
.rule--short-c { width: 120px; margin: 14px auto 16px; }
.rule--short-c::after { display: flex; }
.intro__date { font-family: var(--display); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream); margin: 0 0 30px; }
.intro__btn { animation: pulseGold 2.4s ease-in-out infinite; }
.intro__sound { margin: 16px 0 0; font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
@keyframes introIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes pulseGold { 50% { box-shadow: 0 0 0 8px rgba(212, 175, 55, .14), 0 10px 30px rgba(212, 175, 55, .3); } }
.intro__date span { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .3em; color: var(--gold-l); }
