*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #1a1a2e;
    background: #f5f7fb;
    line-height: 1.6;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.site-header {
    background: #16213e;
    color: #fff;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.site-header nav a {
    color: #e8eefc;
    text-decoration: none;
    margin-left: 1rem;
}

.site-nav a {
    color: #e8eefc;
    text-decoration: none;
    margin-left: 1rem;
}

.header-actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.header-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: #e8eefc;
    text-decoration: none;
    border-radius: 8px;
}

.header-icon-link:hover,
.header-icon-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

.header-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.nav-badge {
    position: absolute;
    top: 0.15rem;
    right: 0.1rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1px;
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.45);
}

.nav-backdrop[hidden] {
    display: none;
}

body.nav-open {
    overflow: hidden;
}

main {
    padding: 2rem 0 3rem;
}

.hero {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.hero h1 {
    margin-top: 0;
    font-size: 2rem;
}

.lead {
    font-size: 1.1rem;
    color: #4a5568;
}

.badge {
    display: inline-block;
    background: #e6fffa;
    color: #047857;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.card h2 {
    margin-top: 0;
    font-size: 1.1rem;
}

.error-page {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.error-page a {
    color: #2563eb;
}

.site-footer {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 0;
    color: #64748b;
    font-size: 0.875rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary, #2563eb);
    text-decoration: underline;
}

.legal-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-note {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
    border-left: 3px solid #e2e8f0;
    padding-left: 1rem;
    margin: 1rem 0;
}

.site-header nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-user {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.inline-form {
    display: inline;
    margin: 0;
}

.btn-link {
    background: none;
    border: none;
    color: #e8eefc;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
    padding: 0;
    margin-left: 0.5rem;
}

.form-section h1 {
    margin-top: 0;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 560px;
}

.form-card label,
.form-section label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 500;
}

.form-card input,
.form-card select,
.form-card textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    max-width: 100%;
}

fieldset input,
fieldset select,
fieldset textarea,
.point-fieldset input,
.point-fieldset select,
.point-fieldset textarea {
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    max-width: 100%;
}

fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.checkbox-label {
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem !important;
    font-weight: 400 !important;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-secondary {
    background: #e2e8f0;
    color: #1a1a2e;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Page d'accueil — landing SEO */
.landing-hero {
    margin-bottom: 1.5rem;
}

.landing-hero-intro {
    margin-bottom: 1.25rem;
}

.landing-brand {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2563eb;
}

.landing-hero-intro h1 {
    margin: 0 0 0.75rem;
    font-size: 1.85rem;
    line-height: 1.2;
}

.landing-hero-visual {
    margin: 0;
    min-width: 0;
}

.landing-hero-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: min(420px, 52vh);
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.landing-alert-cta {
    margin: 1rem 0 0;
}

.landing-alert-cta .btn {
    white-space: normal;
    text-align: left;
    line-height: 1.35;
}

/* Desktop : image carrée — cadre centré pour éviter les bandes grises latérales */
@media (min-width: 769px) {
    .landing-hero-visual {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }

    .landing-hero-visual img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center;
        background: #f1f5f9;
    }
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tarifs-dakar {
    margin-top: 2rem;
}

.tarifs-dakar h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.tarifs-dakar h2 em {
    font-weight: normal;
}

.path-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.path-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.path-card:hover,
.path-card:focus-visible {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.path-card-icon {
    font-size: 2rem;
    line-height: 1;
}

.path-card-title {
    margin: 0;
    font-size: 1.2rem;
    color: #16213e;
}

.path-card p {
    margin: 0;
    flex: 1;
    color: #475569;
    font-size: 0.98rem;
}

.path-card-cta {
    margin-top: 0.35rem;
    font-weight: 600;
    color: #2563eb;
}

.landing-section {
    margin-bottom: 2rem;
}

.landing-section-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.benefit-card h3 {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.05rem;
}

.benefit-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.how-card h3 {
    margin-top: 0;
    color: #16213e;
}

.steps-list {
    margin: 0;
    padding-left: 1.25rem;
}

.steps-list li {
    margin-bottom: 0.65rem;
}

.seo-prose h2 {
    margin-top: 0;
}

.seo-prose p {
    margin-bottom: 1rem;
    color: #334155;
}

.seo-prose p:last-child {
    margin-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.faq-item p {
    margin: 0;
    color: #475569;
}

.landing-cta {
    text-align: center;
    margin-bottom: 0;
}

.landing-cta h2 {
    margin-top: 0;
}

.landing-cta .hero-actions {
    justify-content: center;
}

.form-footer {
    margin-top: 1rem;
    color: #64748b;
}

.flash-messages {
    margin-bottom: 1rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.flash-success {
    background: #d1fae5;
    color: #065f46;
}

.flash-error {
    background: #fee2e2;
    color: #991b1b;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.data-table th,
.data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background: #f8fafc;
    font-weight: 600;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.map-container {
    height: 360px;
    border-radius: 12px;
    margin: 1rem 0;
    border: 1px solid #e2e8f0;
}

.map-tall {
    height: 420px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.result-card h2 {
    font-size: 1.1rem;
}

.actions-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-top: 1rem;
}

.refuse-form {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.doc-list {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.hint {
    color: #64748b;
    font-size: 0.9rem;
}

.badge-brouillon { background: #f1f5f9; color: #475569; }
.badge-publie { background: #dbeafe; color: #1d4ed8; }
.badge-en_attente { background: #fef3c7; color: #92400e; }
.badge-revalidation { background: #ffedd5; color: #c2410c; }
.badge-valide { background: #d1fae5; color: #047857; }
.badge-refuse { background: #fee2e2; color: #991b1b; }
.badge-en_cours { background: #e0e7ff; color: #3730a3; }
.badge-termine { background: #e2e8f0; color: #334155; }
.badge-annule { background: #fee2e2; color: #991b1b; }

.etapes-list {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 2rem;
}

.ecart-orange {
    background: #fff7ed;
    border-left: 4px solid #ea580c;
    color: #9a3412;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0.5rem;
    list-style: none;
}

.modif-vert {
    background: #ecfdf5;
    border-left: 4px solid #059669;
    color: #065f46;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 0.5rem;
    list-style: none;
}

.ecarts-list,
.modifs-list {
    padding: 0;
    margin: 1rem 0;
}

.compat-result {
    margin-top: 1.5rem;
}

.chat-box {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.chat-messages {
    height: 280px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8fafc;
}

.chat-message {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.chat-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.chat-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.chat-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.negociation-page h2 {
    margin-top: 1.5rem;
}

.form-wide {
    max-width: 720px;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
}

.input-sm {
    width: 80px;
    padding: 0.35rem 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.inline-refund-form {
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.btn-danger-text {
    color: #dc2626 !important;
}

.badge-payee { background: #d1fae5; color: #047857; }
.badge-litige { background: #fef3c7; color: #92400e; }
.badge-en_cours { background: #e0e7ff; color: #3730a3; }
.badge-ouvert { background: #fef3c7; color: #92400e; }
.badge-simulation { background: #e0e7ff; color: #3730a3; }
.badge-orange_money { background: #ffedd5; color: #c2410c; }

.litige-card {
    margin-bottom: 1rem;
}

.admin-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-card {
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s;
}

.admin-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.admin-count {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.25rem 0;
    color: #2563eb;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.participant-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.avatar-selfie {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.kyc-dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.kyc-preview {
    max-width: 100%;
    max-height: 420px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #475569;
    flex-shrink: 0;
}

.voyage-card {
    margin-bottom: 1rem;
}

.voyage-card h3 {
    margin-top: 0;
}

.voyage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    margin-top: 0.75rem;
}

.badge-unread {
    background: #ffedd5;
    color: #c2410c;
    margin-left: 0.5rem;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.etapes-list {
    margin: 0;
    padding-left: 1.25rem;
}

.etapes-list li {
    margin-bottom: 0.5rem;
}

.text-muted {
    color: #64748b;
    font-size: 0.9rem;
}

.historique-trace {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.historique-trace li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.historique-trace li:last-child {
    border-bottom: none;
}

.historique-date {
    color: #64748b;
    min-width: 10rem;
}

.historique-label {
    font-weight: 600;
}

.historique-detail {
    color: #334155;
}

.historique-block {
    margin: 0.75rem 0;
}

.reservation-figee-details {
    margin: 0.75rem 0;
}

.reservation-figee-details summary {
    cursor: pointer;
    font-weight: 600;
    color: #1d4ed8;
}

.reservation-figee {
    margin-top: 0.5rem;
}

.dl-reservation {
    display: grid;
    grid-template-columns: minmax(8rem, 12rem) 1fr;
    gap: 0.5rem 1rem;
    margin: 0;
}

.dl-reservation dt {
    font-weight: 600;
    color: #475569;
}

.dl-reservation dd {
    margin: 0;
}

.data-table-compact th,
.data-table-compact td {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.participant-detail-card {
    margin-bottom: 1.25rem;
}

.participant-detail-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

.media-list {
    list-style: none;
    padding: 0;
}

.media-list li {
    margin-bottom: 0.5rem;
}

.hint {
    color: #64748b;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
}

.badge-manquant { background: #fee2e2; color: #b91c1c; }
.badge-en_attente { background: #fef3c7; color: #92400e; }
.badge-valide { background: #d1fae5; color: #047857; }
.badge-revalidation { background: #e0e7ff; color: #3730a3; }

.conducteur-subnav {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.conducteur-subnav a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 0.35rem;
}

.conducteur-subnav a.active {
    color: #2563eb;
    border-bottom: 2px solid #2563eb;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.doc-card h2 {
    margin-top: 0;
    font-size: 1.1rem;
}

.doc-upload-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.flash-warning {
    background: #fef3c7;
    color: #92400e;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.progress-checklist {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-step {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.progress-step-done {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.progress-step-done .progress-step-icon {
    color: #047857;
    font-weight: 700;
}

.progress-step-todo {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.progress-step-todo .progress-step-icon {
    color: #dc2626;
    font-weight: 700;
}

.progress-step-icon {
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
}

.progress-step-label {
    flex: 1;
    min-width: 0;
}

.point-fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.point-fieldset legend {
    font-weight: 600;
    padding: 0 0.5rem;
}

.datetime-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.date-inputs, .time-inputs {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.date-part, .time-part {
    width: 4.5rem;
}

.date-part.year-part {
    width: 5.5rem;
}

.date-sep, .time-sep, .time-prefix {
    color: #64748b;
    font-weight: 600;
}

.periode-hint {
    color: #2563eb;
    font-size: 0.875rem;
    font-style: italic;
}

.carte-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 800px) {
    .carte-layout {
        grid-template-columns: 1fr;
    }
}

.carte-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.carte-etapes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn-etape-select {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 0.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.btn-etape-select.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.btn-etape-select.confirmed {
    border-color: #047857;
}

.map-container-tall {
    min-height: 420px;
}

.geo-suggestions {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    max-height: 180px;
    overflow-y: auto;
    display: none;
    position: relative;
    z-index: 20;
}

.geo-suggestions.open {
    display: block;
}

.geo-suggestions li {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
}

.geo-suggestions li:hover {
    background: #eff6ff;
}

.point-confirm-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
}

.point-confirm-card.point-pending {
    border-left: 4px solid #f59e0b;
}

.point-confirm-card.point-confirmed {
    border-left: 4px solid #047857;
    background: #f0fdf4;
}

.point-confirm-card.point-active {
    box-shadow: 0 0 0 2px #2563eb;
}

.point-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-continue-vivid {
    background: #16a34a !important;
    border-color: #16a34a !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-danger {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.bagage-depasse {
    border-color: #ea580c !important;
    background: #fff7ed;
}

.bagages-voyageur-block {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.bagages-voyageur-block h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

.tarif-apercu {
    font-weight: 600;
    color: #047857;
}

.circle-label-tooltip {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #047857;
    color: #065f46;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 2px 6px;
    box-shadow: none;
}

.field-changed,
.field-changed-inline,
input.field-changed,
select.field-changed,
textarea.field-changed,
label.field-changed input,
label.field-changed select {
    border-color: #ea580c !important;
    background: #fff7ed !important;
    box-shadow: 0 0 0 1px #fdba74;
}

.field-changed-inline {
    color: #ea580c;
    font-weight: 600;
}

.dialogue-readonly {
    background: #f8fafc;
    font-family: inherit;
    white-space: pre-wrap;
}

.actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.75rem;
}

/* --- Navigation mobile (phase A) + formulaires mobile (phase B) --- */
@media (max-width: 768px) {
    .container {
        width: min(1100px, 94%);
    }

    main {
        padding: 1.25rem 0 2rem;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 900;
        padding: 0.65rem 0;
    }

    .header-inner {
        gap: 0.75rem;
    }

    .header-actions {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
        width: min(18.75rem, 88vw);
        height: 100dvh;
        margin: 0;
        padding: 4.5rem 1.25rem 1.5rem;
        overflow-y: auto;
        background: #16213e;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav a {
        margin-left: 0;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-notif-drawer {
        display: none;
    }

    .site-nav .nav-user {
        margin: 1rem 0 0;
        padding: 0.5rem 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 0.875rem;
    }

    .site-nav .nav-logout-form {
        display: block;
        margin: 0.25rem 0 0;
    }

    .site-nav .nav-logout-btn {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        margin: 0;
        padding: 0.85rem 0;
        text-align: left;
        text-decoration: none;
        font-weight: 500;
    }

    .form-section h1 {
        font-size: 1.35rem;
    }

    .hero {
        padding: 1.25rem;
    }

    .landing-hero-intro h1 {
        font-size: 1.45rem;
    }

    .path-cards {
        grid-template-columns: 1fr;
    }

    .landing-hero-visual img {
        max-height: min(280px, 40vh);
    }

    .landing-section-title {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    .form-card,
    .form-wide {
        max-width: 100%;
        padding: 1rem;
        overflow: hidden;
    }

    .point-fieldset {
        padding: 0.85rem;
    }

    .form-card label,
    .form-section label,
    .point-fieldset label {
        min-width: 0;
    }

    .form-card input,
    .form-card select,
    .form-card textarea,
    .form-section input,
    .form-section select,
    .form-section textarea,
    fieldset input,
    fieldset select,
    fieldset textarea,
    .point-fieldset input,
    .point-fieldset select,
    .point-fieldset textarea {
        width: 100%;
    }

    input[type="file"] {
        width: 100%;
        font-size: 0.875rem;
    }

    .datetime-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .date-inputs,
    .time-inputs {
        width: 100%;
        flex-wrap: nowrap;
    }

    .date-part,
    .time-part {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
    }

    .date-part.year-part {
        flex: 1.35 1 0;
    }

    .form-card .btn,
    .form-section .btn,
    .form-card .btn-primary,
    .form-section .btn-primary,
    .form-card .btn-secondary,
    .form-section .btn-secondary {
        width: 100%;
    }

    .hero .btn {
        display: block;
        width: 100%;
    }

    .actions-row .btn {
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
    }

    .data-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .form-footer {
        flex-direction: column;
    }

    .form-footer .btn {
        width: 100%;
    }
}
