/* =============================================================
   RSBM 2026 · Rentrée Solennelle du Barreau de Marseille
   Display  : Playfair Display — prestige institutionnel
   Corps    : IBM Plex Sans — rigueur, lisibilité
   Palette  : Navy #0c366f · Cyan #51c5d3 · Fond #f2f3f5
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* --- Variables ------------------------------------------------ */
:root {
    --font-display : 'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-body    : 'IBM Plex Sans', 'Helvetica Neue', system-ui, sans-serif;

    --navy         : #0c366f;
    --navy-dark    : #091f45;
    --cyan         : #51c5d3;
    --cyan-mid     : color-mix(in srgb, #51c5d3 35%, white);
    --cyan-faint   : color-mix(in srgb, #51c5d3 10%, white);

    --ink          : #111827;
    --ink-muted    : #3a4455;
    --bg           : #f2f3f5;
    --surface      : #ebedf0;
    --cool-white   : #f7f8fa;

    --accent-color  : var(--cyan);
    --accent-dark   : color-mix(in srgb, var(--cyan) 80%, black);
    --accent-light  : var(--cyan-faint);
    --surface-subtle: var(--cool-white);
}

/* --- Selection ------------------------------------------------ */
::selection      { background: var(--navy); color: #fff; }
::-moz-selection { background: var(--navy); color: #fff; }

/* --- Scrollbar ------------------------------------------------ */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* --- Base ----------------------------------------------------- */
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
}

/* =============================================================
   VOILE · Motif ondulatoire signature RSBM
   Lignes sinusoïdales fluides en cyan clair
   Usage : <div class="congress-voile"> ou ::before sur sections
   ============================================================= */

.congress-voile {
    position: relative;
    overflow: hidden;
}

.congress-voile::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%2351c5d3' stroke-width='0.8' opacity='0.22'%3E%3Cpath d='M-100 260 C 50 180, 150 340, 300 260 S 550 180, 700 260 S 850 340, 1000 260'/%3E%3Cpath d='M-100 280 C 50 200, 150 360, 300 280 S 550 200, 700 280 S 850 360, 1000 280'/%3E%3Cpath d='M-100 300 C 50 220, 150 380, 300 300 S 550 220, 700 300 S 850 380, 1000 300'/%3E%3Cpath d='M-100 320 C 50 240, 150 400, 300 320 S 550 240, 700 320 S 850 400, 1000 320'/%3E%3Cpath d='M-100 340 C 50 260, 150 420, 300 340 S 550 260, 700 340 S 850 420, 1000 340'/%3E%3Cpath d='M-100 360 C 50 280, 150 440, 300 360 S 550 280, 700 360 S 850 440, 1000 360'/%3E%3Cpath d='M-100 380 C 50 300, 150 460, 300 380 S 550 300, 700 380 S 850 460, 1000 380'/%3E%3Cpath d='M-100 400 C 50 320, 150 480, 300 400 S 550 320, 700 400 S 850 480, 1000 400'/%3E%3Cpath d='M-100 420 C 50 340, 150 500, 300 420 S 550 340, 700 420 S 850 500, 1000 420'/%3E%3Cpath d='M-100 440 C 50 360, 150 520, 300 440 S 550 360, 700 440 S 850 520, 1000 440'/%3E%3Cpath d='M-100 460 C 50 380, 150 540, 300 460 S 550 380, 700 460 S 850 540, 1000 460'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.congress-voile > * { position: relative; z-index: 1; }

/* =============================================================
   HEADER · NAV
   ============================================================= */

.congress-header {
    background: #fff;
    border-bottom: 1px solid #dde1e8;
    position: relative;
}

/* Filet cyan sous le header */
.congress-header::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--cyan) 20%,
        var(--navy) 50%,
        var(--cyan) 80%,
        transparent 100%
    );
}

/* Nom du congrès en Playfair */
.congress-header .congress-nav a > span,
.congress-header .congress-nav a > .max-sm\:hidden {
    font-family: var(--font-display) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    color: var(--ink) !important;
}

/* Nav links */
.congress-nav-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    letter-spacing: 0.025em;
    color: var(--ink-muted);
}

.congress-nav-link:hover {
    color: var(--ink);
    background: var(--surface);
}

.congress-nav-link--active {
    color: var(--navy);
    font-weight: 600;
    background: var(--cyan-faint);
}

/* Bouton principal — pill comme l'invitation */
.congress-nav-btn {
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.congress-nav-btn--primary {
    background: var(--navy);
    color: #fff;
    box-shadow: none;
}

.congress-nav-btn--primary:hover {
    background: var(--navy-dark);
    box-shadow: 0 2px 12px color-mix(in srgb, var(--navy) 30%, transparent);
    filter: none;
}

.congress-nav-btn--ghost {
    color: var(--ink-muted);
    border: 1px solid #d8dce5;
    background: #fff;
}

.congress-nav-btn--ghost:hover {
    border-color: var(--cyan);
    color: var(--navy);
    background: var(--cyan-faint);
}

/* Dropdown */
.congress-nav-dropdown {
    border: 1px solid #dde1e8;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(12, 54, 111, 0.10), 0 1px 3px rgba(12, 54, 111, 0.06);
}

.congress-nav-dropdown-item {
    font-size: 0.8125rem;
    color: var(--ink-muted);
    border-radius: 4px;
    letter-spacing: 0.01em;
}

.congress-nav-dropdown-item:hover {
    background: var(--surface);
    color: var(--ink);
}

.congress-nav-dropdown-item--active {
    color: var(--navy);
    background: var(--cyan-faint);
    font-weight: 600;
}

/* Mobile nav */
.congress-nav-mobile-link {
    font-size: 0.875rem;
    color: var(--ink-muted);
    border-radius: 4px;
}

.congress-nav-mobile-link:hover {
    background: var(--surface);
    color: var(--ink);
}

/* =============================================================
   HERO BANNER
   ============================================================= */

.congress-hero {
    position: relative;
    overflow: hidden;
    background: #f2f3f5;
}

@keyframes heroReveal {
    from { transform: scale(1.03); opacity: 0.85; }
    to   { transform: scale(1);    opacity: 1; }
}

.congress-hero img.congress-hero-image {
    width: 100%; height: auto;
    display: block;
    animation: heroReveal 2s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

.congress-hero--site {
    display: none;
}

.congress-hero--site img.congress-hero-image {
    width: 100%; height: 100%;
    object-fit: contain;
}

/* Voile institutionnel sur le hero */
.congress-hero-overlay {
    position: absolute; inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 60%,
        color-mix(in srgb, #f2f3f5 60%, transparent) 100%
    );
}

/* Filet cyan en bas du hero */
.congress-hero-edge {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--cyan) 20%,
        var(--cyan) 80%,
        transparent 100%
    );
    z-index: 2;
}

/* Bloc texte sur le hero */
.congress-hero-content {
    position: relative; z-index: 1;
    text-align: center;
    padding: 2.5rem 2rem;
    animation: congress-fadeInUp 0.9s ease-out;
    max-width: 680px;
    margin: 0 auto;
}

.congress-hero-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
    line-height: 1.2;
    margin: 0;
}

/* Filet cyan décoratif sous le titre */
.congress-hero-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    background: var(--cyan);
    margin: 0.75rem auto 0;
}

.congress-hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 1rem;
    letter-spacing: 0.04em;
}

@media (max-width: 767px) {
    .congress-hero--site  { height: 200px; }
    .congress-hero-title  { font-size: 1.625rem; }
    .congress-hero-content { padding: 2rem 1rem; }
}

/* =============================================================
   MAIN CONTENT
   ============================================================= */

.congress-main {
    background: var(--bg);
}

/* =============================================================
   PROSE · Contenu sémantique
   ============================================================= */

.congress-content h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.congress-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    margin-top: 2.5rem;
    margin-bottom: 0.875rem;
    line-height: 1.25;
}

/* Filet cyan sous h2 */
.congress-content h2::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    background: var(--cyan);
    margin-top: 0.5rem;
}

.congress-content h3 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.congress-content h4 {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.congress-content p:not([class]) {
    font-family: var(--font-body);
    color: var(--ink-muted);
    line-height: 1.8;
    margin-bottom: 1.125rem;
    font-size: 0.9375rem;
}

.congress-content a:not([class]) {
    color: var(--navy);
    font-weight: 500;
    text-decoration: underline solid var(--cyan) 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.congress-content a:not([class]):hover {
    color: var(--cyan);
}

.congress-auth-form a,
.congress-auth-form a:hover {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
}

.congress-content .congress-auth-form h1,
.congress-content .congress-auth-form h2 {
    color: inherit;
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: 0;
}

.congress-content .congress-auth-form h2::after {
    display: none;
}

/* Listes */
.congress-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.congress-content ul li {
    padding: 4px 0 4px 20px;
    position: relative;
    line-height: 1.8;
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.congress-content ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 5px; height: 1px;
    background: var(--cyan);
}

.congress-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.congress-content ol li {
    padding: 4px 0;
    line-height: 1.8;
    color: var(--ink-muted);
}

.congress-content ol li::marker {
    color: var(--navy);
    font-weight: 600;
    font-family: var(--font-display);
}

.congress-content blockquote {
    border-left: 2px solid var(--cyan);
    padding: 1rem 1.25rem;
    margin: 1.75rem 0;
    background: var(--cyan-faint);
    border-radius: 0 4px 4px 0;
    font-style: italic;
    color: var(--ink-muted);
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.7;
}

.congress-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid #dde1e8;
}

.congress-content table thead th {
    background: var(--cyan-faint);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    border-bottom: 1px solid #dde1e8;
}

.congress-content table td {
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--ink-muted);
    border-bottom: 1px solid #eef0f4;
}

.congress-content table tr:last-child td { border-bottom: none; }
.congress-content table tr:hover td { background: var(--cyan-faint); }

.congress-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    margin: 2.5rem 0;
    opacity: 0.4;
}

.congress-content strong {
    font-weight: 600;
    color: var(--ink);
}

/* =============================================================
   SIDEBAR · Mode site
   ============================================================= */

.congress-navlist {
    padding: 0.25rem 0;
}

.congress-navlist::before {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

/* =============================================================
   FOOTER
   ============================================================= */

.congress-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.65);
    position: relative;
    overflow: hidden;
}

.congress-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--cyan) 70%, transparent);
}

.congress-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.15s ease;
    text-decoration: none;
}

.congress-footer a:hover { color: #fff; }

/* =============================================================
   CARDS
   ============================================================= */

.congress-card {
    background: #fff;
    border: 1px solid #dde1e8;
    border-radius: 8px;
    padding: 2rem;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.congress-card:hover {
    box-shadow: 0 4px 20px rgba(12, 54, 111, 0.08);
    border-color: var(--cyan-mid);
}

.congress-card-accent {
    border-left: 2px solid var(--cyan);
}

.congress-card-dark {
    background: var(--navy);
    border-radius: 8px;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

/* =============================================================
   PARTICIPANT DASHBOARD
   ============================================================= */

.congress-content flux\:heading,
.congress-content h1.text-3xl {
    font-family: var(--font-display);
}

.congress-card-link {
    background: #fff !important;
    border: 1px solid #dde1e8 !important;
    border-radius: 8px !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.congress-card-link:hover {
    box-shadow: 0 4px 24px rgba(12, 54, 111, 0.1) !important;
    border-color: var(--cyan) !important;
    transform: translateY(-2px) !important;
}

.congress-card-link__icon {
    border-radius: 6px !important;
    background: var(--cyan-faint) !important;
    color: var(--navy) !important;
    transition: background 0.2s ease !important;
}

.congress-card-link:hover .congress-card-link__icon {
    background: var(--cyan-mid) !important;
    color: #fff !important;
}

.congress-card-link__label {
    font-family: var(--font-display);
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    letter-spacing: -0.005em;
}

.congress-card-link__arrow {
    color: #c9d0da !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.congress-card-link:hover .congress-card-link__arrow {
    color: var(--cyan) !important;
}

/* =============================================================
   BOUTONS
   ============================================================= */

.congress-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    background: var(--navy);
    color: #fff;
}

.congress-btn:hover {
    background: var(--navy-dark);
    color: #fff;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--navy) 35%, transparent);
}

.congress-btn-accent {
    background: var(--cyan);
    color: #fff;
}

.congress-btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
}

/* =============================================================
   LABELS · BADGES
   ============================================================= */

.congress-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--cyan);
}

.congress-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #fff;
    background: var(--navy);
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =============================================================
   LINKS
   ============================================================= */

.congress-link {
    color: var(--navy);
    font-weight: 500;
    text-decoration: underline solid var(--cyan) 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.congress-link:hover { color: var(--cyan); }

.congress-link-light {
    color: rgba(255,255,255,0.75);
    text-decoration: underline solid rgba(81, 197, 211, 0.5) 1px;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.congress-link-light:hover { color: #fff; }

/* =============================================================
   HIGHLIGHT BOXES
   ============================================================= */

.congress-highlight {
    background: var(--cyan-faint);
    border-left: 2px solid var(--cyan);
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

.congress-highlight-accent {
    background: color-mix(in srgb, var(--navy) 6%, white);
    border-left: 2px solid var(--navy);
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ink-muted);
}

/* =============================================================
   ICON CIRCLES
   ============================================================= */

.congress-icon {
    width: 48px; height: 48px; min-width: 48px;
    border-radius: 8px;
    background: var(--navy);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: background 0.2s ease;
}

.congress-icon:hover { background: var(--navy-dark); }

/* =============================================================
   GRID LAYOUTS
   ============================================================= */

.congress-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991px) { .congress-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .congress-grid-3 { grid-template-columns: 1fr; } }

/* =============================================================
   TABLES (class-based)
   ============================================================= */

.congress-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #dde1e8;
    border-radius: 8px;
    overflow: hidden;
}

.congress-table tr { border-bottom: 1px solid #eef0f4; transition: background 0.15s ease; }
.congress-table tr:last-child { border-bottom: none; }
.congress-table tr:nth-child(even) { background: var(--cool-white); }
.congress-table tr:hover { background: var(--cyan-faint); }

.congress-table td {
    padding: 11px 14px;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.congress-table .period-active { border-left: 2px solid var(--cyan); }

/* =============================================================
   TARIFF ROWS
   ============================================================= */

.congress-tariff-rows .congress-tariff-row--selected,
.congress-tariff-rows input[type="radio"]:checked + label {
    color: var(--navy);
}

/* =============================================================
   FORM SECTIONS
   ============================================================= */

.congress-form {
    background: var(--bg) !important;
}

.congress-form .congress-form-header {
    background: #fff;
}

.congress-form-section {
    background: #fff;
    border: 1px solid #dde1e8;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 2px rgba(12, 54, 111, 0.03);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.congress-form-section:hover {
    box-shadow: 0 2px 8px rgba(12, 54, 111, 0.06);
    border-color: var(--cyan-mid);
}

.congress-form-section input:not([type="checkbox"]):not([type="file"]),
.congress-form-section select,
.congress-form-section textarea,
.congress-form-section label:has(input[type="radio"].sr-only:not(:checked)) span {
    background-color: #fff !important;
}

.congress-form-section h2[data-form-title] { margin-top: 0; }

.congress-form form.space-y-5 > .congress-form-section + .congress-form-section {
    margin-top: 1.25rem;
}

.congress-form form.space-y-5 > .flex.justify-between {
    padding-top: 0.5rem;
}

.congress-form-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    margin: 2rem 0;
    opacity: 0.3;
}

.congress-form-overlap { margin-top: -3.5rem; }
@media (min-width: 640px) { .congress-form-overlap { margin-top: -4.5rem; } }
@media (min-width: 768px) { .congress-form-overlap { margin-top: -6rem; } }

/* =============================================================
   LISTES GÉNÉRALES
   ============================================================= */

.congress-list { list-style: none; padding: 0; margin: 0; }

.congress-list li {
    padding: 4px 0 4px 18px;
    position: relative;
    line-height: 1.8;
    color: var(--ink-muted);
    font-size: 0.9375rem;
}

.congress-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 14px;
    width: 5px; height: 1px;
    background: var(--cyan);
}

/* =============================================================
   SCROLL PROGRESS
   ============================================================= */

.congress-scroll-progress {
    position: fixed; top: 0; right: 0;
    width: 3px; height: 100%;
    z-index: 999;
    background: color-mix(in srgb, var(--cyan) 15%, transparent);
    pointer-events: none;
}

.congress-scroll-progress-fill {
    width: 3px; height: 0%;
    background: linear-gradient(180deg, var(--cyan), var(--navy));
    transition: height 0.1s linear;
    border-radius: 0 0 2px 2px;
}

@media (max-width: 991px) { .congress-scroll-progress { display: none; } }

/* =============================================================
   BACK TO TOP
   ============================================================= */

.congress-back-top {
    position: fixed; bottom: 28px; right: 28px;
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 100px;
    background: var(--navy);
    color: #fff;
    border: none; cursor: pointer;
    box-shadow: 0 2px 10px rgba(12, 54, 111, 0.25);
    opacity: 0; pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.congress-back-top.visible {
    opacity: 1; pointer-events: auto; transform: translateY(0);
}

.congress-back-top:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(12, 54, 111, 0.3);
}

/* =============================================================
   PARTNER BOXES
   ============================================================= */

.congress-partner-box {
    display: flex; align-items: center; justify-content: center;
    height: 160px; width: 100%;
    border: 1px solid #dde1e8;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    padding: 20px;
}

.congress-partner-box:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 16px rgba(12, 54, 111, 0.07);
}

.congress-partner-box img {
    max-height: 80%; max-width: 80%;
    object-fit: contain;
}

/* =============================================================
   SECTIONS
   ============================================================= */

.congress-section-textured {
    background: var(--bg);
}

.congress-section-dark {
    background: var(--navy);
    color: #fff;
}

.congress-section-gradient {
    background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
}

/* =============================================================
   ANIMATIONS
   ============================================================= */

@keyframes congress-fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes congress-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes congress-slideInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}

.congress-animate-in           { animation: congress-fadeInUp 0.5s ease-out both; }
.congress-animate-in-delay-1   { animation: congress-fadeInUp 0.5s ease-out 0.1s both; }
.congress-animate-in-delay-2   { animation: congress-fadeInUp 0.5s ease-out 0.2s both; }
.congress-animate-in-delay-3   { animation: congress-fadeInUp 0.5s ease-out 0.3s both; }

/* Shimmer texte en dégradé navy/cyan */
@keyframes congress-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

.congress-shimmer {
    background: linear-gradient(
        90deg,
        var(--navy) 0%,
        var(--cyan) 50%,
        var(--navy) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: congress-shimmer 4s linear infinite;
}

/* =============================================================
   PRINT
   ============================================================= */

@media print {
    .congress-header,
    .congress-footer,
    .congress-hero,
    .congress-back-top,
    .congress-scroll-progress { display: none !important; }
    body { background: #fff !important; font-family: Georgia, serif; }
}
