/* ═══════════════════════════════════════════
   Mariage Berthier-Kichou — Styles
   Theme: Romantic elegance, warm gold tones
   ═══════════════════════════════════════════ */

/* ── Variables ─────────────────────────── */
:root {
    /* ── Largeurs (2026-08-31) ────────────────────────────────────────────
       La page tenait dans 900 px et l'entête dans 1100 : sur un écran de
       1920, 510 px de vide de chaque côté, un menu replié sur deux lignes
       au-dessus d'une colonne maigre, et une galerie qui rendait ses rangées
       à 165 px alors que son propre code en vise 250.

       ⚠️ Élargir la PAGE n'élargit pas le TEXTE. Mesuré avant : 103 signes
       par ligne à 1920, là où on lit confortablement entre 45 et 75. Ce qui
       protège la lecture, c'est `--mesure`, portée par les paragraphes ; ce
       qui remplit la largeur, ce sont des grilles. Sans cette distinction,
       élargir aurait dégradé les six pages de texte.

       Et ça ne change RIEN au téléphone : un `max-width` ne s'applique pas
       en dessous de sa propre valeur. À 390 px le conteneur occupait déjà
       100 % de l'écran. */
    --page: 1400px;
    /* ⚠️ EN `rem`, PAS EN `ch`. L'unité `ch` dépend de la police de CHAQUE
       élément : à 68ch, un `<h2>` en Playfair 1,6 rem obtenait 1156 px quand
       ses paragraphes en obtenaient 680. Titres et texte cessaient de
       s'aligner dans la même carte. 42 rem = 672 px ≈ 90 signes en Lora. */
    --mesure: 42rem;

    --gold: #b8860b;
    --gold-light: #d4a843;
    --gold-pale: #f5e6c8;
    --cream: #faf6f0;
    --cream-dark: #f0e8da;
    --text: #3a2e2a;
    --text-light: #6b5b54;
    --text-muted: #9a8a82;
    --white: #ffffff;
    --blush: #f2e0d6;
    --blush-deep: #e8cfc2;
    --danger: #c44536;
    --success: #5a7a4a;
    --shadow-sm: 0 1px 3px rgba(58,46,42,0.08);
    --shadow-md: 0 4px 16px rgba(58,46,42,0.10);
    --shadow-lg: 0 8px 32px rgba(58,46,42,0.12);
    --radius: 8px;
    --transition: 0.3s ease;
}

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

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

body {
    font-family: 'Lora', 'Georgia', serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.2rem; margin-bottom: 0.5em; }
h2 { font-size: 1.6rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

/* ── Layout ────────────────────────────── */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    max-width: var(--page);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    width: 100%;
}

/* ── Navigation ────────────────────────── */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    /* 1400 px, et pas moins : mesuré, le menu d'un ADMIN (un lien de plus)
       réclame 1398 px pour tenir sur une seule ligne ; celui d'un invité,
       1275. En dessous, il se replie sur deux niveaux. */
    max-width: var(--page);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--gold) !important;
    white-space: nowrap;
    padding: 1rem 0;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    align-items: center;
}

.navbar-links a {
    display: block;
    padding: 1rem 0.75rem;
    color: var(--text-light);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: 'Lora', serif;
    font-weight: 500;
    transition: color var(--transition), border-color var(--transition);
    border-bottom: 2px solid transparent;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Hamburger menu (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.navbar-user a {
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    transition: all var(--transition);
}

.navbar-user a:hover {
    border-color: var(--gold-light);
    color: var(--gold);
}

/* ── Hero / Page Headers ──────────────── */
.page-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--cream-dark);
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.3em;
}

.page-hero .subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    font-style: italic;
}

/* Decorative ornament */
.ornament {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin: 1rem 0;
    letter-spacing: 0.5em;
    opacity: 0.7;
}

/* ── Cards & Sections ─────────────────── */
.content-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(184,134,11,0.08);
}

.content-section h2 {
    color: var(--gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.content-section h3 {
    color: var(--text);
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text);
}

.content-section ul, .content-section ol {
    margin: 0.75rem 0 1rem 1.5rem;
    color: var(--text);
}

.content-section li {
    margin-bottom: 0.35rem;
}

/* ── Timeline (Planning) ──────────────── */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 1.5rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-light), var(--blush-deep));
}

.timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
    padding-bottom: 0.25rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold-light);
}

.timeline-time {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.timeline-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    font-style: italic;
}

/* ── Accommodation cards ──────────────── */
.accommodation-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--gold-light);
}

.accommodation-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--gold);
}

.accommodation-card .detail {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.accommodation-card .detail strong {
    color: var(--text);
}

.accommodation-card a.booking-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: var(--gold);
    border-bottom: 1px dashed var(--gold-light);
}

/* ── FAQ ───────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--cream-dark);
    padding: 1.25rem 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-light);
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 0.75rem;
}

/* ── Login page ────────────────────────── */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 50%, var(--cream-dark) 100%);
    padding: 2rem;
}

.login-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border: 1px solid rgba(184,134,11,0.1);
}

.login-card h1 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 0.2em;
}

.login-card .login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Lora', serif;
}

/* ⚠️ `:not([type=checkbox])` : sans cette exclusion la règle donne 100 % de
   largeur et 1 rem de padding à une CASE À COCHER, qui devient une barre de
   180 px avec son libellé rejeté à la ligne suivante. C'est ce qui défigurait
   « Présent à » dans le formulaire d'ajout — la modale y échappait seulement
   parce qu'elle redéclarait une largeur. */
.form-group input:not([type=checkbox]):not([type=radio]) {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Lora', serif;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:not([type=checkbox]):not([type=radio]):focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}

.btn-login {
    width: 100%;
    padding: 0.85rem;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background var(--transition), transform 0.15s ease;
    margin-top: 0.5rem;
}

.btn-login:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

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

/* ── Flash messages ────────────────────── */
.flash-messages {
    margin-bottom: 1.25rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.flash-error {
    background: #fef2f2;
    color: var(--danger);
    border: 1px solid #fecaca;
}

.flash-warning {
    background: #fefce8;
    color: #92400e;
    border: 1px solid #fde68a;
}

.flash-info {
    background: #f0f9ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ── Footer ────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--cream-dark);
}

.site-footer .heart {
    color: var(--gold);
}

/* ── Itinerary steps ───────────────────── */
.itinerary-steps {
    counter-reset: step;
}

.itinerary-step {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    counter-increment: step;
}

.itinerary-step::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--gold-pale);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

/* ── Dress code cards ──────────────────── */
.dresscode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.dresscode-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.dresscode-card h3 {
    margin-top: 0;
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.avoid-list {
    background: #fef7f0;
    border-left: 3px solid var(--danger);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.avoid-list h3 {
    color: var(--danger);
    margin-top: 0;
}

.tip-box {
    background: var(--gold-pale);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* ── Welcome banner (accueil) ─────────── */
.welcome-banner {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--blush) 100%);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(184,134,11,0.08);
}

.welcome-banner h1 {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 0.2em;
}

.welcome-banner .names {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 0.5em;
}

.welcome-banner .date-location {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ── Error page ────────────────────────── */
.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-page h1 {
    font-size: 5rem;
    color: var(--gold-light);
    margin-bottom: 0.2em;
}

.error-page p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.error-page a {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--gold);
    color: var(--white);
    border-radius: 6px;
    transition: background var(--transition);
}

.error-page a:hover {
    background: var(--gold-light);
    color: var(--white);
}

/* ── Responsive ────────────────────────── */
@media (max-width: 768px) {
    .navbar-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .navbar-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-bottom: 0.5rem;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a {
        padding: 0.75rem 0;
        border-bottom: none;
    }

    .navbar-user {
        display: none;
    }

    .navbar-user.mobile-show {
        display: flex;
        width: 100%;
        padding: 0.5rem 0 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-content {
        padding: 1.5rem 1rem 3rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .welcome-banner {
        padding: 2rem 1.25rem;
    }

    .welcome-banner h1 {
        font-size: 1.8rem;
    }

    .welcome-banner .names {
        font-size: 1.2rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .dresscode-grid {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }
}

/* ── Edit mode toggle ──────────────────── */
.btn-edit-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--cream-dark) !important;
    border-radius: 4px;
    font-size: 1rem !important;
    padding: 0 !important;
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1;
}

.btn-edit-toggle:hover {
    border-color: var(--gold-light) !important;
    background: var(--gold-pale);
}

/* ── Google Form embed ────────────────── */
.google-form-wrapper {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.google-form-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 900px;
    border: none;
}

@media (max-width: 768px) {
    .google-form-wrapper iframe {
        min-height: 1100px;
    }
}

/* ── Admin dashboard ────────────────────── */
.btn-admin-nav {
    background: var(--gold) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 4px;
    padding: 0.35rem 0.7rem !important;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-admin-nav:hover {
    background: var(--gold-light) !important;
    color: var(--white) !important;
}

.admin-form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.admin-form-row .form-group {
    flex: 1;
    min-width: 150px;
}

.admin-form-row .form-group-btn {
    flex: 0 0 auto;
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.05rem;
}

.admin-form select,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Lora', serif;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition);
}

.admin-form select:focus,
select:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #a33a2e;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--cream-dark);
}

.btn-outline:hover {
    border-color: var(--gold-light);
    color: var(--gold);
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
}

.inline-form {
    display: inline;
}

/* ── Admin table ────────────────────────── */
.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid var(--cream-dark);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: var(--cream);
}

.td-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ⚠️ PAS de `display:flex` ICI. Sur un <td>, il remplace `table-cell` : la
   cellule quitte la ligne, son filet s'arrête à mi-largeur et les boutons
   flottent hors du tableau. Le flex va sur un conteneur INTERNE. */
.td-actions {
    white-space: nowrap;
}

.actions-groupe {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

/* Deux boutons sur la ligne d'un compte depuis le 2026-10-15 (« Modifier » et
   « Envoyer le message ») : EMPILÉS, pas côte à côte. Côte à côte, la colonne
   prenait 267 px et le tableau débordait de 290 px à 1024 px (largeurs.spec).
   Le `white-space: nowrap` de la cellule ne touche plus que chaque bouton. */
#tableComptes .actions-groupe {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

/* ── Badges ─────────────────────────────── */
.badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-admin {
    background: var(--gold-pale);
    color: var(--gold);
}

.badge-temoin {
    background: #e0e8f0;
    color: #4a6a8a;
}

.badge-user {
    background: var(--cream-dark);
    color: var(--text-muted);
}

.badge-you {
    background: #e0f0e0;
    color: var(--success);
    margin-left: 0.4rem;
}

/* ── Tabs (CardLayout) ──────────────────── */
.tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--cream-dark);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.section-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ── Planning table (témoins) ───────────── */
.planning-table-wrapper {
    overflow-x: auto;
}

.planning-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.planning-table th {
    text-align: left;
    padding: 0.6rem 1rem;
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid var(--cream-dark);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.planning-table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: middle;
}

.planning-table .td-time {
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    width: 80px;
}

.planning-table .td-activity {
    color: var(--text);
}

.planning-table .row-empty .td-activity {
    color: var(--text-muted);
    font-style: italic;
}

.planning-table .row-empty .td-activity::after {
    content: '—';
}

.planning-table .th-actions {
    width: 160px;
}

.planning-table .td-actions-cell {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.planning-table .edit-row-tr {
    background: var(--cream) !important;
}

.planning-table .edit-row-tr td {
    padding: 0.75rem 1rem;
}

.planning-note {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.timeline-item-empty .timeline-title {
    color: var(--text-muted);
    font-style: italic;
}

/* ── Inline icon buttons ────────────────── */
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    transition: background var(--transition);
    line-height: 1;
}

.btn-icon:hover {
    background: var(--cream-dark);
}

.btn-icon-danger:hover {
    background: #fce4e1;
}

/* ── Inline editing ─────────────────────── */
.edit-row {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--cream-dark);
}

.edit-inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.input-sm {
    width: 100px;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 0.88rem;
    color: var(--text);
}

.input-md {
    flex: 1;
    min-width: 150px;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 0.88rem;
    color: var(--text);
}

.input-full {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: var(--text);
}

textarea.input-full {
    resize: vertical;
    min-height: 60px;
}

.input-sm:focus,
.input-md:focus,
.input-full:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 2px rgba(184,134,11,0.12);
}

.edit-row-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* ── Admin add block ────────────────────── */
.admin-add-block {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px dashed var(--cream-dark);
}

.admin-add-block h3 {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.faq-add-block .form-group {
    margin-bottom: 0.5rem;
}

/* ── Timeline admin controls ────────────── */
.timeline-item {
    position: relative;
}

.timeline-admin {
    display: flex;
    gap: 0.15rem;
    align-items: center;
    margin-top: 0.25rem;
}

/* ── FAQ admin buttons ──────────────────── */
.faq-admin-btns {
    display: inline-flex;
    gap: 0.15rem;
    align-items: center;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.faq-edit-form {
    margin-top: 0.75rem;
}

.faq-edit-form .form-group {
    margin-bottom: 0.5rem;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
    .admin-form-row {
        flex-direction: column;
    }
    .admin-form-row .form-group {
        min-width: 100%;
    }
    .actions-groupe {
        flex-direction: column;
        gap: 0.3rem;
    }
    /* (La règle qui la MASQUAIT vivait ici ; le passage en cartes la rend
       inutile — voir « le tableau devient une pile de cartes », plus bas.) */
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .edit-inline-form {
        flex-direction: column;
        align-items: stretch;
    }
    .input-sm {
        width: 100%;
    }
    .planning-table .td-actions-cell {
        flex-wrap: wrap;
    }
}

/* ── Animations ────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section,
.welcome-banner,
.timeline-item,
.accommodation-card {
    animation: fadeInUp 0.5s ease forwards;
}

.content-section:nth-child(2) { animation-delay: 0.1s; }
.content-section:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(n+2) { animation-delay: calc(0.05s * var(--i, 1)); }


/* ── Page Admin : présences et modale de modification (2026-08-30) ──────────
   La modification se faisait en dépliant une ligne du tableau, ce qui rendait
   UN FORMULAIRE CACHÉ PAR COMPTE dans le document — 47 en production. Une
   modale unique, remplie au clic, remplace le tout. */



/* ── Page Admin : colonne d'accès, texte masqué, cartes en mobile ───────────
   (2026-08-31) Deux colonnes ✓/— disaient « qui est présent » ; la question
   qu'on se pose devant cette liste est « qui VOIT quoi », et ce n'est pas la
   même chose pour un administrateur. Une colonne, trois puces à position
   fixe, et une mention à part pour les comptes qui voient tout. */

/* Texte lu par les lecteurs d'écran, invisible à l'œil. Une puce « Mairie »
   grisée ne dit rien à qui ne voit pas la couleur : le texte, lui, le dit. */
.vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.td-acces {
    display: table-cell;
    /* Assez large pour les trois puces sur UNE ligne : repliées, elles se
       lisaient sur deux niveaux et la colonne cessait de se comparer d'un
       coup d'œil. En dessous, le tableau défile ou passe en cartes. */
    min-width: 21rem;
}

/* ⚠️ ENTRE LES CARTES ET L'ÉCRAN LARGE (769-1239 px), le tableau se resserre.
   La colonne Téléphone et le bouton « Envoyer le message » (2026-10-15) ont
   ajouté ~250 px de largeur incompressible ; le tableau n'en avait que 30 de
   marge à 1024 px. Ici, et ici seulement, les puces d'accès acceptent de
   passer à la ligne et les cellules perdent un peu de marge — mesuré : 0 px
   de débordement à 1024, et le tableau d'origine intact dès 1240 px. */
@media (min-width: 769px) and (max-width: 1239px) {
    .admin-table th,
    .admin-table td {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .td-acces {
        min-width: 0;
    }
}

/* Les puces vivent dans UN conteneur : sans lui, la cellule repliée en carte
   a autant d'enfants flex que de puces, et l'intitulé « Accès » se retrouve
   coincé entre deux d'entre elles. */
.acces-groupe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.acces {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.acces-on {
    background: var(--gold-pale);
    color: var(--gold);
}

/* Refusé = plat et pâle, jamais rouge : un accès fermé n'est pas une erreur. */
.acces-off {
    background: transparent;
    color: var(--text-muted);
    border: 1px dashed var(--cream-dark);
    opacity: 0.75;
}

/* « Photographe » n'est pas un droit qu'on coche : il découle du château.
   Le pointillé le dit à l'œil — même casse et même taille que les deux
   autres, sinon la colonne cesse de se lire d'un trait —, le `title` le dit
   en toutes lettres. */
.acces-derive {
    background: transparent;
    border-color: var(--gold-light);
    border-style: dotted;
}

.acces-derive.acces-off {
    border-color: var(--cream-dark);
}

.acces-tout {
    background: var(--gold);
    color: var(--white);
}

.acces-aucun {
    background: transparent;
    color: var(--text-muted);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

.admin-table caption {
    text-align: left;
}

/* ── Le tableau devient une pile de cartes sur téléphone ───────────────────
   ⚠️ Le défilement horizontal N'ÉTAIT PAS une solution : à 390 px la ligne
   était coupée après la deuxième colonne, sans le moindre indice qu'il fallait
   glisser — donc « Modifier » et « Supprimer » étaient inatteignables en fait.
   Chaque cellule porte son intitulé en `data-label`, et CSS le ressort. */
@media (max-width: 768px) {
    .admin-table-wrapper {
        overflow-x: visible;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    /* L'en-tête reste dans le document (les cellules y sont rattachées par
       `scope`), il cesse seulement d'être peint. */
    .admin-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .admin-table tr {
        border: 1px solid var(--cream-dark);
        border-radius: var(--radius);
        padding: 0.5rem 1rem;
        margin-bottom: 0.75rem;
        background: var(--white);
    }

    .admin-table td {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.45rem 0;
        border-bottom: 1px solid var(--cream);
    }

    .admin-table td:last-child {
        border-bottom: 0;
    }

    .admin-table td::before {
        content: attr(data-label);
        flex: 0 0 auto;
        font-family: 'Lora', serif;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--text-light);
    }

    /* ⚠️ La largeur minimale qui garde les trois puces sur une ligne au bureau
       DÉBORDE la carte sur un téléphone : elle doit tomber ici. */
    .td-acces {
        min-width: 0;
    }

    .acces-groupe {
        justify-content: flex-end;
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Elle était simplement MASQUÉE en mobile. Dans une carte, elle tient. */
    .td-date {
        display: flex;
    }

    .td-actions .actions-groupe {
        flex-direction: row;
        justify-content: flex-end;
    }
}


/* ── Page Admin : outils de liste, sélection en lot, modale native ──────────
   (2026-08-31) 47 comptes en production : sans filtre, sans tri et sans
   action en lot, ouvrir une journée à tout le monde demandait 47 modales. */

.comptes-outils {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.recherche input {
    width: min(320px, 100%);
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--cream);
}

.recherche input:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
}

.comptes-decompte {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comptes-vide {
    color: var(--text-muted);
    font-style: italic;
    padding: 1rem 0;
}

.th-case,
.td-case {
    width: 2.5rem;
}

.th-case input,
.td-case input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}

.td-case input:disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

/* En-tête triable : un vrai <button>, donc atteignable au clavier. */
.admin-table th .tri {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.admin-table th .tri:hover {
    color: var(--gold);
}

.tri-fleche::after {
    content: '↕';
    opacity: 0.35;
    font-size: 0.9em;
}

.admin-table th[aria-sort="ascending"] .tri-fleche::after {
    content: '↑';
    opacity: 1;
}

.admin-table th[aria-sort="descending"] .tri-fleche::after {
    content: '↓';
    opacity: 1;
}

/* ── Barre d'actions en lot ────────────────────────────────────────────────
   Elle n'apparaît qu'à la première case cochée, et c'est `:has()` qui le dit —
   pas JavaScript. La barre reste donc juste même si le script ne charge pas. */
.barre-lot {
    display: none;
    position: sticky;
    bottom: 1rem;
    z-index: 20;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--gold-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.comptes:has(input[name="ids"]:checked) .barre-lot {
    display: flex;
}

/* La barre collée en bas recouvre les dernières lignes. On leur fait la
   place, mais seulement quand elle est là. */
.comptes:has(input[name="ids"]:checked) .admin-table-wrapper {
    padding-bottom: 4.5rem;
}

.barre-lot-compte {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
}

.barre-lot-groupe {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.barre-lot-titre {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

#viderSelection {
    margin-left: auto;
}

/* ── Modale native ─────────────────────────────────────────────────────────
   `<dialog>` : couche supérieure, fond, inertisation et Échap fournis. Il ne
   reste que l'habillage. */
.modale[open] {
    display: block;
    /* ⚠️ `margin: auto` EXPLICITE. Le navigateur centre un dialogue modal par
       cette marge, et le `margin: 0` de la remise à zéro globale l'écrase :
       sans cette ligne le dialogue se colle en haut à gauche. */
    margin: auto;
    border: 0;
    padding: 1.75rem;
    width: min(480px, calc(100vw - 2rem));
    max-height: 85vh;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.modale::backdrop {
    background: rgba(58, 46, 42, 0.45);
}

.modale h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin: 0 0 1.25rem;
    color: var(--text);
}

.modale h2 span {
    color: var(--gold);
}

.modale-fermer-form {
    float: right;
}

.modale-fermer {
    background: none;
    border: 0;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
}

.modale-fermer:hover {
    background: var(--cream);
    color: var(--text);
}

.modale .form-group {
    margin-bottom: 1rem;
}

.modale-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.champ-mdp {
    display: flex;
    gap: 0.4rem;
    align-items: stretch;
}

.champ-mdp input {
    flex: 1 1 auto;
    min-width: 0;
}

/* ── Message SMS (2026-10-15) ──────────────────────────────────────────────
   Modale plus large que celle d'un compte : on y lit un texte, pas trois
   champs. L'aperçu garde les retours à la ligne, comme le SMS. */
.modale-large[open] {
    width: min(620px, calc(100vw - 2rem));
}

.message-apercu-titre {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.message-apercu {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    font-size: 0.92rem;
}

.td-tel {
    white-space: nowrap;
}

.envoi-repere {
    font-size: 0.8rem;
    color: var(--text-muted);
}

#ouvrirMessage {
    margin-left: auto;
}

/* ── Zone dangereuse ───────────────────────────────────────────────────────
   Repliée, à distance des actions courantes, et rouge seulement une fois
   ouverte : une bordure alarmante en permanence finit par ne plus alarmer. */
.zone-danger {
    margin-top: 1.5rem;
    border-top: 1px solid var(--cream-dark);
    padding-top: 0.9rem;
}

.zone-danger summary {
    cursor: pointer;
    color: var(--danger);
    font-size: 0.88rem;
}

.zone-danger[open] {
    border: 1px solid var(--danger);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
}

.zone-danger label {
    display: block;
    margin: 0.6rem 0 0.35rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.zone-danger input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-family: 'Lora', serif;
    margin-bottom: 0.7rem;
}

.zone-danger button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .th-case,
    .td-case {
        width: auto;
    }

    /* ⚠️ SURTOUT PAS `position: fixed` ICI. `.content-section` porte une
       `transform` (son animation d'apparition), et un ancêtre transformé
       devient le bloc conteneur d'un élément fixé : la barre se posait à
       4115 px, hors de l'écran, tout en se déclarant « visible ». `sticky`,
       lui, ne connaît pas ce piège. */
    .barre-lot {
        gap: 0.5rem 0.9rem;
        padding: 0.7rem 0.9rem;
    }

    .barre-lot-compte {
        flex-basis: 100%;
    }

    #viderSelection {
        margin-left: 0;
    }
}


/* ── Le bloc « Présent à » ──────────────────────────────────────────────────
   PARTAGÉ par le formulaire d'ajout et par la modale : deux copies, et l'une
   des deux dérive — c'est exactement ce qui était arrivé. */
.presences {
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    margin: 0;
}

.presences legend {
    padding: 0 0.4rem;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Lora', serif;
}

.presences label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    margin: 0 0 0.4rem;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    color: var(--text);
}

.presences label:last-of-type {
    margin-bottom: 0;
}

.presences input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    margin: 0;
    cursor: pointer;
    flex: 0 0 auto;
}

.note {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.presences .note {
    display: block;
    margin: 0.5rem 0 0;
}


/* ── Largeur de page : la mesure au texte, la largeur aux grilles ───────────
   (2026-08-31) Voir `--page` et `--mesure` en tête de fichier. */

/* Le texte courant garde sa longueur de ligne, où qu'il vive. Sans ça, la
   page élargie rendait des lignes de 160 signes. */
.content-section > p,
.content-section > ul,
.content-section > ol,
.content-section > .tip-box,
.accommodation-card p,
.dresscode-card ul,
.faq-answer,
.itinerary-step,
.gal-deposit-lede,
.gal-hint,
.gal-deposit-stat {
    /* ⚠️ `min()` de deux unités, et les deux servent.
       `--mesure` est en `rem` : c'est ce qui fait qu'un titre et ses
       paragraphes s'alignent sur la même colonne dans une carte, quelle que
       soit leur police. Mais une largeur figée en pixels laisse un texte en
       petit corps courir plus loin : la galerie, en 0,95 rem, repassait à 109
       signes par ligne. Le second terme, en `ch`, suit la police de CHAQUE
       élément et rattrape ce cas.

       Le centrage, lui, n'est pas décidé ici mais plus bas : dans une carte
       qui porte une grille, un paragraphe centré ne s'aligne plus sur la
       colonne qu'il annonce. */
    max-width: min(var(--mesure), 62ch);
}

/* (Le formulaire tiers occupait 820 px, ce qui laissait une carte à moitié
   vide et des paragraphes désalignés au-dessus. Il prend la carte entière.) */

@media (min-width: 1100px) {
    /* ⚠️ ON RÉTRÉCIT LA COLONNE, PAS LA CARTE — ET ON LA CENTRE.

       Deux essais jetés avant celui-ci, tous deux vus à l'écran :
       1. la carte d'une section de texte épousait la mesure → une petite carte
          de 760 px calée à gauche d'une page de 1400, sur sept pages ;
       2. seules les sections SANS grille voyaient leur contenu centré → dans
          une même carte, le titre restait à gauche pendant que le RIB et son
          bouton se centraient. Mélange d'alignements.

       D'où la règle actuelle, qui classe les ÉLÉMENTS et non les sections :
       dans une carte, tout est tenu par `--mesure` et centré, SAUF ce qui a de
       bonnes raisons d'occuper toute la largeur — une grille, un tableau, une
       image, un formulaire. Centré et non aligné à gauche : c'est déjà la
       langue de ce site (titres de page, bandeau d'accueil, RIB, bouton de
       téléchargement le sont tous). */
    /* ⚠️ La classe est RÉPÉTÉE pour la spécificité. `.content-section > *`
       vaut (0,1,0) et perdait contre `.content-section ul` (0,1,1), qui pose
       une marge gauche de 1,5 rem : les listes restaient collées à gauche
       pendant que leurs paragraphes se centraient. */
    .content-section.content-section > * {
        max-width: var(--mesure);
        margin-inline: auto;
    }

    /* La marge gauche des listes vient d'être neutralisée par `auto` : sans
       ce rembourrage, les puces débordent à gauche de la colonne. */
    .content-section.content-section > ul,
    .content-section.content-section > ol {
        padding-left: 1.5rem;
    }

    .content-section.content-section > .accommodation-card,
    .content-section.content-section > .dresscode-grid,
    .content-section.content-section > .itinerary-steps,
    .content-section.content-section > .carousel,
    .content-section.content-section > .google-form-wrapper,
    .content-section.content-section > .admin-table-wrapper,
    .content-section.content-section > .comptes,
    .content-section.content-section > .galerie,
    .content-section.content-section > .faq-item,
    .content-section.content-section > .welcome-banner,
    .content-section.content-section > table,
    .content-section.content-section > figure,
    .content-section.content-section > img,
    .content-section.content-section > iframe,
    .content-section.content-section > .tab-bar {
        max-width: none;
    }

    /* Les suggestions d'hébergement : dix fiches courtes, deux colonnes. La
       largeur se remplit de CONTENU au lieu de s'ajouter aux lignes. */
    .content-section:has(> .accommodation-card) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 2rem;
        align-items: start;
    }

    .content-section:has(> .accommodation-card) > h2 {
        grid-column: 1 / -1;
    }

    /* ⚠️ `columns`, pas une grille : les étapes sont NUMÉROTÉES, et une
       colonne CSS se remplit de haut en bas puis passe à la suivante — l'ordre
       de lecture est conservé. Une grille aurait rangé 1-2 sur la première
       ligne et cassé la suite d'un itinéraire. */
    .itinerary-steps {
        columns: 2;
        column-gap: 2.5rem;
    }

    .itinerary-step {
        break-inside: avoid;
    }

    /* ⚠️ NI la frise du planning NI la FAQ ne sont traitées ici, et pour deux
       raisons opposées.

       La frise ne gagne rien à s'étirer : « 16h00 — Arrivée des invités »
       tient en quelques mots, et une ligne de temps large éloigne l'heure de
       ce qui se passe. Sa carte n'est donc PAS dans la liste ci-dessus : elle
       épouse son contenu, comme une carte de texte. La centrer dans une carte
       large avait été mon premier essai — la frise flottait au milieu de deux
       vides, c'était pire que l'étroitesse d'origine.

       La FAQ, elle, garde la pleine largeur : une question fait une ligne et
       le « + » se lit très bien à l'autre bout. Ce sont les RÉPONSES qui sont
       tenues par `--mesure`, plus haut. */
}
