/* ============================================================
   Application Mariage – CSS Principal
   Palette automne : crème, terracotta, marron, sauge, doré
   ============================================================ */

/* ─── Import Google Fonts ─────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap");

/* ─── Variables CSS ───────────────────────────────────────── */
:root {
    /* Couleurs */
    --color-bg: #fdfcf9;
    --color-surface: #ffffff;
    --color-border: #e4ddd6;
    --color-text: #3d5f3d;
    --color-text-muted: #7a8f7a;
    --color-brown: #6b4c3a;
    --color-brown-dark: #4a3228;
    --color-terracotta: #c97a5d;
    --color-terracotta-d: #a65f4a;
    --color-sage: #98a78f;
    --color-terra: #d89f7e;
    --color-gold: #e8c670;
    --color-gold-light: #f0d98a;
    --color-error: #c0392b;
    --color-success: #2e7d5e;

    /* Typographie */
    --font-title: "Great Vibes", cursive;
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "Inter", system-ui, sans-serif;

    /* Espacement */
    --radius: 20px;
    --radius-sm: 10px;
    --shadow: 0 8px 30px rgba(139, 111, 71, 0.08);
    --shadow-sm: 0 2px 12px rgba(139, 111, 71, 0.05);
}

/* ─── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
}

img,
video {
    max-width: 100%;
    display: block;
}
a {
    color: var(--color-terracotta);
    text-decoration: underline;
}

/* ─── Typographie ─────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    letter-spacing: 0.01em;
}
h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
}
h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}
h3 {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
}
h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}
p:last-child {
    margin-bottom: 0;
}

.text-serif {
    font-family: var(--font-serif);
}
.text-muted {
    color: var(--color-text-muted);
}
.text-center {
    text-align: center;
}
.text-sm {
    font-size: 0.9rem;
}

/* ─── Layout ──────────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container--narrow {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section {
    padding: 6rem 0;
}
.section--sm {
    padding: 3rem 0;
}

/* ─── Navigation ──────────────────────────────────────────── */
.nav {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    gap: 1.25rem;
}
.nav__brand {
    font-family: var(--font-title);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    flex: 0 0 auto;
}
.nav__brand:hover {
    color: var(--color-terracotta);
}
.nav__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}
.nav__group {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    min-width: 0;
}
.nav__group--main {
    flex: 1 1 auto;
    min-width: 0;
}
.nav__group--account {
    flex: 0 0 auto;
}
.nav__group li {
    flex: 0 0 auto;
}
.nav__links a {
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 0.35rem 0.55rem;
    border-radius: var(--radius-sm);
    transition:
        color 0.2s,
        background 0.2s;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav__links a.btn {
    color: var(--color-terracotta);
    background: rgba(201, 122, 93, 0.08);
    padding-inline: 0.7rem;
}

.nav__links a.btn:hover {
    background-color: var(--color-text-muted);
    color: #fff;
}

.nav__links a.btn .text-muted {
    font-size: 0.92em;
    white-space: nowrap;
}

@media (max-width: 1000px) and (min-width: 721px) {
    .nav__inner {
        align-items: flex-start;
        gap: 1rem;
        padding-inline: 1rem;
    }

    .nav__brand {
        font-size: 1.5rem;
        padding-top: 0.15rem;
    }

    .nav__links {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 0.35rem;
    }

    .nav__group {
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0.05rem;
    }

    .nav__links a {
        font-size: 0.76rem;
        padding: 0.32rem 0.42rem;
    }

    .nav__links a.btn {
        padding-inline: 0.55rem;
    }
}

.nav__links a:hover {
    color: var(--color-text);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: var(--color-brown);
    font-size: 1.4rem;
}

/* Mobile nav */
@media (max-width: 720px) {
    .nav__toggle {
        display: block;
    }
    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-top: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: flex-start;
        padding: 1rem;
        gap: 0.75rem;
    }
    .nav__links.open {
        display: flex;
    }
    .nav__group {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    .nav__links a {
        width: 100%;
    }
}

/* ─── Hero (page d'accueil) ───────────────────────────────── */
.hero {
    text-align: center;
    padding: 7rem 1.5rem 5rem;
    background: linear-gradient(160deg, #fdfcf9 0%, #ede4d8 100%);
    position: relative;
    overflow: hidden;
}
/* Motif feuilles organiques en fond */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cellipse cx='30' cy='25' rx='6' ry='14' fill='%2398A78F' fill-opacity='0.07' transform='rotate(-30 30 25)'/%3E%3Cellipse cx='80' cy='15' rx='5' ry='11' fill='%23C97A5D' fill-opacity='0.05' transform='rotate(20 80 15)'/%3E%3Cellipse cx='55' cy='70' rx='7' ry='16' fill='%2398A78F' fill-opacity='0.06' transform='rotate(-15 55 70)'/%3E%3Cellipse cx='100' cy='80' rx='5' ry='12' fill='%23D89F7E' fill-opacity='0.06' transform='rotate(35 100 80)'/%3E%3Cellipse cx='15' cy='90' rx='4' ry='10' fill='%2398A78F' fill-opacity='0.05' transform='rotate(-45 15 90)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 180px 180px;
    pointer-events: none;
}
/* Branche décorative coin bas-droite */
.hero::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 220px;
    height: 220px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M180 180 Q120 120 60 80 Q40 68 20 60' stroke='%2398A78F' stroke-width='2' fill='none' stroke-opacity='0.25'/%3E%3Cellipse cx='80' cy='105' rx='14' ry='7' fill='%2398A78F' fill-opacity='0.18' transform='rotate(-40 80 105)'/%3E%3Cellipse cx='110' cy='130' rx='12' ry='6' fill='%2398A78F' fill-opacity='0.15' transform='rotate(-30 110 130)'/%3E%3Cellipse cx='140' cy='152' rx='10' ry='5' fill='%23D89F7E' fill-opacity='0.15' transform='rotate(-20 140 152)'/%3E%3Cellipse cx='65' cy='85' rx='10' ry='5' fill='%2398A78F' fill-opacity='0.14' transform='rotate(-55 65 85)'/%3E%3Cellipse cx='95' cy='115' rx='8' ry='4' fill='%23D89F7E' fill-opacity='0.12' transform='rotate(-35 95 115)'/%3E%3C/svg%3E");
    background-size: cover;
    pointer-events: none;
    opacity: 0.9;
}
.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 1.5rem;
}
.hero__names {
    font-family: var(--font-title);
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero__amp {
    color: var(--color-terracotta);
    font-style: italic;
    font-size: 0.75em;
    display: inline-block;
    margin: 0 0.3em;
}
.hero__date {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}
.hero__divider {
    width: 120px;
    height: 1.5px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-gold) 30%,
        var(--color-terra) 70%,
        transparent
    );
    margin: 0 auto 3rem;
}

/* ─── Countdown ───────────────────────────────────────────── */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.countdown__item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    min-width: 90px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.countdown__number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--color-brown);
    line-height: 1;
    display: block;
}
.countdown__label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
    display: block;
}

/* ─── Icônes SVG liens rapides ────────────────────────────── */
.picto {
    display: inline-block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    object-position: center;
}
.picto--sm {
    width: 44px;
    height: 44px;
}
.picto--lg {
    width: 72px;
    height: 72px;
}
.picto--wide {
    width: 76px;
}
.picto-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}
.picto-heading .picto {
    flex: 0 0 auto;
}
.picto-card {
    display: block;
    margin-bottom: 0.75rem;
}
.picto-swap {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 0.75rem;
}
.picto-swap img {
    grid-area: 1 / 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}
.picto-swap__coral {
    opacity: 0;
}
.card--hover:hover .picto-swap__green {
    opacity: 0;
    transform: translateY(-2px) scale(1.03);
}
.card--hover:hover .picto-swap__coral {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
}
.floral-section {
    position: relative;
    overflow: hidden;
}
.floral-section > * {
    position: relative;
    z-index: 1;
}
.floral-deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    opacity: 0.18;
}
.floral-deco--cta {
    right: clamp(0.5rem, 6vw, 6rem);
    bottom: -2.2rem;
    width: clamp(96px, 14vw, 170px);
    transform: rotate(10deg);
}
.floral-deco--footer-left {
    left: clamp(0.5rem, 5vw, 4rem);
    bottom: -3rem;
    width: clamp(88px, 12vw, 145px);
    transform: rotate(-10deg);
    opacity: 0.2;
}
.floral-deco--footer-right {
    right: clamp(0.5rem, 5vw, 4rem);
    top: -3.6rem;
    width: clamp(78px, 10vw, 125px);
    transform: rotate(12deg);
    opacity: 0.18;
}

.quick-link-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--color-sage);
    transition: color 0.2s;
}
.card--hover:hover .quick-link-icon {
    color: var(--color-terracotta);
}

/* ─── Cards ───────────────────────────────────────────────── */
.card {
    background: var(--color-surface);
    border: 1px solid rgba(152, 167, 143, 0.3);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.card--hover {
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    cursor: pointer;
}
.card--hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ─── Boutons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition:
        transform 0.15s,
        box-shadow 0.15s,
        background 0.15s;
    line-height: 1;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.btn:active {
    transform: translateY(0);
}

/* .btn--primary {
    background: var(--color-terracotta);
    color: #fff;
} */
.btn--primary {
    background: var(--color-terracotta-d);
    color: #fff;
}

.btn--secondary {
    background: var(--color-brown);
    color: #faf5ee;
}
.btn--secondary:hover {
    background: var(--color-brown-dark);
    color: #faf5ee;
}

.btn--outline {
    background: transparent;
    color: var(--color-brown);
    border: 1.5px solid var(--color-brown);
}
.btn--outline:hover {
    background: var(--color-brown);
    color: var(--color-surface);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text-muted);
    padding: 0.5rem 1rem;
}
.btn--ghost:hover {
    color: var(--color-terracotta);
    box-shadow: none;
}

.btn--danger {
    background: var(--color-error);
    color: #fff;
}
.btn--success {
    background: var(--color-success);
    color: #fff;
}

.btn--sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}
.btn--full {
    width: 100%;
    justify-content: center;
}

/* ─── Formulaires ─────────────────────────────────────────── */
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-brown);
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
}
input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(201, 122, 93, 0.12);
}
textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}
.form-error {
    font-size: 0.82rem;
    color: var(--color-error);
    margin-top: 0.3rem;
}

/* Radio & Checkbox groups */
.radio-group,
.check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.radio-option,
.check-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.radio-option input,
.check-option input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--color-terracotta);
    cursor: pointer;
}
.radio-card {
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.radio-card:has(input:checked) {
    border-color: var(--color-terracotta);
    background: rgba(201, 122, 93, 0.06);
}

/* ─── Messages flash ──────────────────────────────────────── */
.flash {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.93rem;
    border-left: 3px solid;
}
.flash--success {
    background: #edf7f2;
    color: var(--color-success);
    border-color: var(--color-success);
}
.flash--error {
    background: #fdecea;
    color: var(--color-error);
    border-color: var(--color-error);
}
.flash--info {
    background: rgba(201, 122, 93, 0.08);
    color: var(--color-terracotta-d);
    border-color: var(--color-terracotta);
}

/* ─── Grille photos (galerie) ─────────────────────────────── */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 720px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 440px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.photo-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-border);
    aspect-ratio: 1;
    cursor: pointer;
}
.photo-item img,
.photo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.photo-item:hover img,
.photo-item:hover video {
    transform: scale(1.04);
}

.image-zoom-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.image-zoom-trigger img {
    width: 100%;
    border-radius: var(--radius-sm);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.image-zoom-trigger:hover img {
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
}

/* ─── Timeline (programme) ────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 1rem;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(
        to bottom,
        var(--color-terra),
        var(--color-sage)
    );
    opacity: 0.6;
}
.timeline__item {
    position: relative;
    margin-bottom: 3rem;
}
.timeline__item::before {
    content: "";
    position: absolute;
    left: -2.55rem;
    top: 0.3rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-terra);
    border: 2px solid var(--color-bg);
    box-shadow: 0 0 0 5px rgba(152, 167, 143, 0.25);
}
.timeline__time {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: 0.2rem;
}
.timeline__title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}
.timeline__place {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ─── FAQ (accordion) ─────────────────────────────────────── */
details {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: var(--color-surface);
    overflow: hidden;
}
details[open] {
    border-color: var(--color-terracotta);
}
summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--color-terracotta);
    transition: transform 0.2s;
    flex-shrink: 0;
}
details[open] summary::after {
    transform: rotate(45deg);
}
.details__body {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-text-muted);
}

/* ─── Table admin ─────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
thead {
    background: var(--color-brown);
    color: #faf5ee;
}
thead th {
    padding: 0.75rem 0.75rem;
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}
tbody tr {
    border-bottom: 1px solid var(--color-border);
}
tbody tr:nth-child(even) {
    background: rgba(107, 76, 58, 0.03);
}
tbody tr:hover {
    background: rgba(201, 122, 93, 0.05);
}
td {
    padding: 0.65rem 0.75rem;
    vertical-align: middle;
}

/* ─── Badges ──────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.badge--yes {
    background: #d4edda;
    color: #155724;
}
.badge--no {
    background: #f8d7da;
    color: #721c24;
}
.badge--maybe {
    background: #fff3cd;
    color: #856404;
}
.badge--pending {
    background: #e2e3e5;
    color: #383d41;
}
.badge--approved {
    background: #d4edda;
    color: #155724;
}
.badge--rejected {
    background: #f8d7da;
    color: #721c24;
}

/* ─── Stats dashboard ─────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.stat-card__number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-brown);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-card__label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ─── Upload zone ─────────────────────────────────────────── */
.upload-zone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    background: var(--color-surface);
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
}
.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--color-terracotta);
    background: rgba(201, 122, 93, 0.04);
}
.upload-zone__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.upload-zone input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}
.progress-bar {
    height: 6px;
    background: var(--color-border);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 1rem;
    display: none;
}
.progress-bar__fill {
    height: 100%;
    background: linear-gradient(
        to right,
        var(--color-terracotta),
        var(--color-brown)
    );
    width: 0%;
    transition: width 0.3s;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
    background: var(--color-brown-dark);
    color: rgba(250, 245, 238, 0.7);
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}
.footer > :not(.floral-deco) {
    position: relative;
    z-index: 1;
}
.footer a {
    color: var(--color-gold-light);
}

/* ─── Utilitaires ─────────────────────────────────────────── */
.flex {
    display: flex;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.gap-1 {
    gap: 0.5rem;
}
.gap-2 {
    gap: 1rem;
}
.gap-3 {
    gap: 1.5rem;
}
.mt-1 {
    margin-top: 0.5rem;
}
.mt-2 {
    margin-top: 1rem;
}
.mt-3 {
    margin-top: 1.5rem;
}
.mt-4 {
    margin-top: 2rem;
}
.mb-2 {
    margin-bottom: 1rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}
.mb-4 {
    margin-bottom: 2rem;
}
.hidden {
    display: none !important;
}

/* Animation fade-in sur scroll */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive helpers ──────────────────────────────────── */
@media (max-width: 600px) {
    .section {
        padding: 4rem 0;
    }
    .card {
        padding: 1.25rem;
    }
    .countdown {
        gap: 0.75rem;
    }
    .countdown__item {
        padding: 0.9rem 1rem;
        min-width: 70px;
    }
    .countdown__number {
        font-size: 2rem;
    }
    .hide-mobile {
        display: none !important;
    }
    .picto {
        width: 48px;
        height: 48px;
    }
    .picto--sm {
        width: 38px;
        height: 38px;
    }
    .picto--lg {
        width: 64px;
        height: 64px;
    }
    .floral-deco--footer-left,
    .floral-deco--footer-right {
        opacity: 0.12;
        width: 82px;
    }
}
