/* ==========================================================================
   Notre Calendrier de l'Avent — nuit d'hiver, bougie et velours
   ========================================================================== */

:root {
    --night-1: #191225;
    --night-2: #251a36;
    --night-3: #2f2043;
    --gold: #e9b869;
    --gold-soft: #f4d9a6;
    --rose: #e78ea9;
    --rose-deep: #c96f8e;
    --cream: #f8ecdd;
    --cream-dim: #d9c8bd;
    --ink: #322338;
    --ink-soft: #6d5a72;
    --card: #fffaf2;
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Quicksand', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--font-body);
    color: var(--cream);
    background:
        radial-gradient(1000px 620px at 85% -10%, rgba(231, 142, 169, 0.14), transparent 60%),
        radial-gradient(900px 540px at 8% 108%, rgba(233, 184, 105, 0.12), transparent 60%),
        linear-gradient(165deg, var(--night-1) 0%, var(--night-2) 48%, var(--night-3) 100%);
    background-attachment: fixed;
}

/* Étoiles discrètes en fond */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(1.2px 1.2px at 12% 18%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 34% 62%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.4px 1.4px at 58% 28%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 76% 74%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1.3px 1.3px at 90% 12%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 22% 88%, rgba(255, 255, 255, 0.35), transparent);
    animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.45; }
    to { opacity: 1; }
}

.snow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   En-tête et navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem clamp(1rem, 4vw, 2.5rem);
}

.brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-soft);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav a {
    color: var(--cream-dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    transition: color 0.25s, background-color 0.25s;
}

.site-nav a:hover {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.07);
}

.site-nav a.is-active {
    color: var(--night-1);
    background: linear-gradient(120deg, var(--gold-soft), var(--gold));
}

.site-nav .nav-logout {
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Page et éléments communs
   -------------------------------------------------------------------------- */

.page {
    position: relative;
    z-index: 1;
    max-width: 1060px;
    margin: 0 auto;
    padding: clamp(0.75rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) 4rem;
}

.hero {
    text-align: center;
    margin: clamp(0.5rem, 3vw, 2rem) 0 clamp(1.75rem, 4vw, 3rem);
}

.hero-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--rose);
}

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--cream);
    text-shadow: 0 0 26px rgba(233, 184, 105, 0.35);
}

.hero-amp {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    margin: 0.9rem 0 0;
    color: var(--cream-dim);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.hero--small .hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
}

.flash {
    margin: 0 auto 1.5rem;
    max-width: 560px;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    animation: flash-in 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.flash--success {
    background: rgba(233, 184, 105, 0.15);
    border: 1px solid rgba(233, 184, 105, 0.4);
    color: var(--gold-soft);
}

.flash--error {
    background: rgba(231, 142, 169, 0.14);
    border: 1px solid rgba(231, 142, 169, 0.45);
    color: var(--rose);
}

@keyframes flash-in {
    from { opacity: 0; transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   La guirlande lumineuse
   -------------------------------------------------------------------------- */

.lights {
    position: relative;
    display: flex;
    justify-content: center;
    gap: clamp(0.9rem, 3.5vw, 1.8rem);
    margin: 0 auto 1.8rem;
    max-width: 720px;
    padding-top: 10px;
}

/* Le fil, légèrement incurvé */
.lights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 4%;
    right: 4%;
    height: 22px;
    border-bottom: 1.5px solid rgba(244, 217, 166, 0.22);
    border-radius: 50%;
}

.lights i {
    width: 9px;
    height: 13px;
    border-radius: 50% 50% 55% 55%;
    background: var(--gold);
    color: var(--gold);
    animation: light-glow 2.8s ease-in-out infinite;
}

.lights i:nth-child(3n) {
    background: var(--rose);
    color: var(--rose);
    animation-delay: 0.5s;
}

.lights i:nth-child(3n + 2) {
    background: var(--cream);
    color: var(--cream);
    animation-delay: 1.1s;
}

.lights i:nth-child(2n) {
    animation-duration: 3.4s;
}

@keyframes light-glow {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 4px 0 currentColor; }
    50% { opacity: 1; box-shadow: 0 0 12px 2px currentColor; }
}

/* --------------------------------------------------------------------------
   La grille du calendrier
   -------------------------------------------------------------------------- */

/* Halo de bougie qui respire doucement derrière la grille */
.calendar {
    position: relative;
}

.calendar::before {
    content: '';
    position: absolute;
    inset: -3rem -4rem;
    z-index: -1;
    background: radial-gradient(55% 45% at 50% 48%, rgba(233, 184, 105, 0.1), transparent 70%);
    animation: candle-breath 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes candle-breath {
    0%, 100% { opacity: 0.65; }
    50% { opacity: 1; }
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(0.6rem, 1.8vw, 1rem);
}

@media (max-width: 860px) {
    .calendar-grid { grid-template-columns: repeat(4, 1fr); }
}

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

/* --------------------------------------------------------------------------
   Les portes
   -------------------------------------------------------------------------- */

.door {
    position: relative;
    aspect-ratio: 1 / 1.12;
    padding: 0;
    border: 0;
    background: transparent;
    perspective: 900px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    animation: door-enter 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) both;
    animation-delay: var(--enter-delay, 0ms);
}

/* Entrée en cascade au chargement */
@keyframes door-enter {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
}

.door:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 18px;
}

/* L'intérieur de la case, révélé quand la porte s'ouvre */
.door-inside {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    background:
        radial-gradient(120% 90% at 50% 15%, rgba(233, 184, 105, 0.28), transparent 55%),
        linear-gradient(160deg, #3a2650, #2a1b3d);
    border: 1px solid rgba(233, 184, 105, 0.2);
    box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.45);
}

/* Le battant de la porte */
.door-flap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(233, 184, 105, 0.28);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transform-origin: left center;
    transition: transform 0.85s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.3s;
    backface-visibility: hidden;
    will-change: transform;
}

.door-number {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4.5vw, 2.5rem);
    font-weight: 700;
    color: var(--gold-soft);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.door-ornament {
    font-size: 0.8rem;
    color: var(--rose);
    opacity: 0.75;
}

/* État : ouvrable — halo doré qui respire */
.door--openable:hover .door-flap {
    transform: rotateY(-14deg);
    border-color: rgba(233, 184, 105, 0.6);
}

.door--openable .door-flap {
    animation: door-glow 3s ease-in-out infinite;
}

@keyframes door-glow {
    0%, 100% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
    50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 20px 2px rgba(233, 184, 105, 0.28); }
}

/* La case du jour : halo plus marqué */
.door--today .door-flap {
    border-color: rgba(244, 217, 166, 0.75);
    animation: door-glow-strong 2.4s ease-in-out infinite;
}

@keyframes door-glow-strong {
    0%, 100% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 14px 1px rgba(233, 184, 105, 0.3); }
    50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 30px 5px rgba(233, 184, 105, 0.45); }
}

/* Le 24 : un peu plus précieux */
.door--noel .door-flap {
    background: linear-gradient(145deg, rgba(233, 184, 105, 0.22), rgba(233, 184, 105, 0.05));
    border-width: 2px;
}

.door--noel .door-number {
    color: #ffe9c2;
}

/* État : verrouillée */
.door--locked {
    cursor: not-allowed;
}

.door--locked .door-flap {
    opacity: 0.5;
    filter: saturate(0.4);
}

.door--locked .door-ornament {
    color: var(--cream-dim);
}

/* État : ouverte — porte entrebâillée, cadeau visible */
.door--opened .door-flap {
    transform: rotateY(-106deg);
}

.door--opened:hover .door-inside {
    box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.45), 0 0 18px 2px rgba(231, 142, 169, 0.3);
}

.door--just-opened .door-inside {
    animation: inside-reveal 1.1s ease-out;
}

@keyframes inside-reveal {
    0% { box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.45); }
    45% { box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.45), 0 0 34px 8px rgba(233, 184, 105, 0.5); }
    100% { box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.45); }
}

/* Petit refus poli quand on clique trop tôt */
.door--shake {
    animation: door-shake 0.45s ease-in-out;
}

@keyframes door-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px) rotate(-1deg); }
    40% { transform: translateX(5px) rotate(1deg); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(3px); }
}

/* --------------------------------------------------------------------------
   La modale des cadeaux
   -------------------------------------------------------------------------- */

.gift-modal {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(680px, calc(100vw - 2rem));
    width: 100%;
}

.gift-modal::backdrop {
    background: rgba(16, 10, 24, 0.72);
    backdrop-filter: blur(5px);
}

.modal-body {
    position: relative;
    background: linear-gradient(180deg, var(--card), #f7e7d5);
    color: var(--ink);
    border-radius: 26px;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.gift-modal[open] .modal-body {
    animation: modal-in 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes modal-in {
    from { opacity: 0; transform: translateY(22px) scale(0.95); }
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 50%;
    background: rgba(50, 35, 56, 0.08);
    color: var(--ink-soft);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.25s, transform 0.25s;
}

.modal-close:hover {
    background: rgba(50, 35, 56, 0.16);
    transform: rotate(90deg);
}

.modal-kicker {
    margin: 0;
    color: var(--gold);
    letter-spacing: 0.4em;
    font-size: 0.85rem;
}

.modal-title {
    margin: 0.4rem 0 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    font-weight: 600;
}

.gift-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: left;
}

@media (max-width: 560px) {
    .gift-cards { grid-template-columns: 1fr; }
}

.gift-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.3rem 1.4rem;
    border-top: 4px solid var(--gold);
    box-shadow: 0 10px 26px rgba(50, 35, 56, 0.12);
    animation: card-in 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.gift-card:nth-child(2) {
    animation-delay: 0.14s;
}

@keyframes card-in {
    from { opacity: 0; transform: translateY(16px); }
}

.gift-card--you {
    border-top-color: var(--rose);
}

/* Petite photo façon polaroid, légèrement inclinée */
.gift-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 0 0.9rem;
    border: 6px solid #fff;
    outline: 1px solid rgba(50, 35, 56, 0.08);
    box-shadow: 0 8px 20px rgba(50, 35, 56, 0.18);
    transform: rotate(-1.5deg);
}

.gift-card--her .gift-photo {
    transform: rotate(1.5deg);
}

.gift-for {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.gift-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

.gift-message {
    margin: 0.6rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
    white-space: pre-line;
}

.gift-message:empty {
    display: none;
}

.gift-card--empty .gift-title {
    font-style: italic;
    font-weight: 500;
    color: var(--ink-soft);
}

/* Particules de fête à l'ouverture d'une case */
.burst-particle {
    position: fixed;
    z-index: 30;
    font-size: 1.05rem;
    pointer-events: none;
    will-change: transform, opacity;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    z-index: 10;
    transform: translate(-50%, 12px);
    max-width: min(420px, calc(100vw - 2rem));
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    background: rgba(25, 18, 37, 0.92);
    border: 1px solid rgba(233, 184, 105, 0.4);
    color: var(--gold-soft);
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.35s, transform 0.35s;
    pointer-events: none;
}

.toast--visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   L'atelier
   -------------------------------------------------------------------------- */

.progress {
    margin: 1.25rem auto 0;
    max-width: 320px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rose-deep), var(--gold));
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.progress-label {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: var(--cream-dim);
}

.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.8rem;
}

.slot {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s, border-color 0.25s, background-color 0.25s;
}

.slot:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(233, 184, 105, 0.45);
}

.slot-day {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-soft);
    min-width: 1.6ch;
    text-align: center;
}

.slot-status {
    color: var(--cream-dim);
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slot--filled .slot-status {
    color: var(--cream);
}

.slot-mark {
    width: 1.7rem;
    height: 1.7rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cream-dim);
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.slot--filled .slot-mark {
    color: var(--night-1);
    border: 0;
    background: linear-gradient(120deg, var(--gold-soft), var(--gold));
}

/* Case déjà ouverte : non modifiable */
.slot--locked {
    cursor: default;
    opacity: 0.55;
    border-style: dashed;
}

.slot--locked:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.slot--locked .slot-mark {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
}

/* --------------------------------------------------------------------------
   Formulaires (atelier + connexion)
   -------------------------------------------------------------------------- */

.login,
.workshop-edit {
    display: flex;
    justify-content: center;
    padding-top: clamp(1rem, 6vh, 4rem);
}

.form-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    backdrop-filter: blur(6px);
}

.form-card--login {
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 1.25rem;
    color: var(--cream-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.back-link:hover {
    color: var(--gold-soft);
}

.form-kicker {
    margin: 0 0 0.4rem;
    color: var(--rose);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.form-title {
    margin: 0 0 1.4rem;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 5vw, 2.2rem);
    font-weight: 600;
    color: var(--cream);
}

.form-hint {
    margin: -0.9rem 0 1.4rem;
    color: var(--cream-dim);
    font-size: 0.95rem;
}

.form-card label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold-soft);
    text-align: left;
}

.form-card input[type='text'],
.form-card input[type='email'],
.form-card input[type='password'],
.form-card textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(25, 18, 37, 0.5);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
    resize: vertical;
}

.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(233, 184, 105, 0.18);
}

.form-card input::placeholder,
.form-card textarea::placeholder {
    color: rgba(217, 200, 189, 0.45);
}

.form-field,
.form-card form > div {
    margin-bottom: 1.2rem;
}

.form-card input[type='file'] {
    width: 100%;
    padding: 0.6rem;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: rgba(25, 18, 37, 0.35);
    color: var(--cream-dim);
    font-size: 0.9rem;
}

.photo-preview {
    margin-bottom: 1.2rem;
}

.photo-preview img {
    display: block;
    width: 100%;
    max-width: 220px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 0.7rem;
    border: 6px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transform: rotate(-1.5deg);
}

.photo-preview .form-check,
.photo-preview > div {
    text-align: center;
}

/* Erreurs de validation Symfony */
.form-card ul {
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--rose);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.btn--primary {
    width: 100%;
    color: var(--night-1);
    background: linear-gradient(120deg, var(--rose), var(--gold));
    box-shadow: 0 10px 26px rgba(201, 111, 142, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 14px 32px rgba(201, 111, 142, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--recap {
    display: inline-block;
    margin-top: 1.4rem;
    text-decoration: none;
    color: var(--night-1);
    background: linear-gradient(120deg, var(--gold-soft), var(--gold));
    box-shadow: 0 10px 26px rgba(233, 184, 105, 0.3);
}

.btn--recap:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* --------------------------------------------------------------------------
   Page souvenir
   -------------------------------------------------------------------------- */

.recap-days {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    max-width: 720px;
    margin: 0 auto;
}

.recap-day {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.recap-day-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0.4rem;
}

.recap-day-number {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-soft);
}

.recap-day-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cream-dim);
}

@media (max-width: 560px) {
    .recap-day {
        grid-template-columns: 1fr;
    }

    .recap-day-marker {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: flex-start;
        padding-top: 0;
    }
}

/* --------------------------------------------------------------------------
   Accueil public (landing)
   -------------------------------------------------------------------------- */

.landing-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.btn--landing {
    width: auto;
    padding: 0.95rem 2.4rem;
    text-decoration: none;
}

.landing-login {
    color: var(--cream-dim);
    font-size: 0.92rem;
    font-weight: 600;
}

.landing-login:hover {
    color: var(--gold-soft);
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 860px;
    margin: 2.5rem auto 0;
}

.landing-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem 1.4rem;
    text-align: center;
}

.landing-step-icon {
    font-size: 1.9rem;
}

.landing-step h2 {
    margin: 0.7rem 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-soft);
}

.landing-step p {
    margin: 0;
    color: var(--cream-dim);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Duo : invitation, QR code
   -------------------------------------------------------------------------- */

.qr-wrap {
    display: flex;
    justify-content: center;
    margin: 0.4rem 0 1.4rem;
}

.qr-canvas {
    width: 190px;
    height: 190px;
    image-rendering: pixelated;
    border-radius: 14px;
    border: 8px solid #fffaf2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.copy-field {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.copy-field input {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
}

.btn--small {
    flex: 0 0 auto;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    color: var(--night-1);
    background: linear-gradient(120deg, var(--gold-soft), var(--gold));
}

.form-alt {
    margin: 1.2rem 0 0;
    font-size: 0.9rem;
    color: var(--cream-dim);
}

.form-alt a {
    color: var(--gold-soft);
    font-weight: 700;
}

.flash--info {
    background: rgba(244, 217, 166, 0.1);
    border: 1px solid rgba(244, 217, 166, 0.3);
    color: var(--cream);
}

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

.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem 2.2rem;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--cream-dim);
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Accessibilité : réduction des animations
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.15s !important;
    }
}
