:root {
    --blue: #004e8e;
    --blue-dark: #003a8c;
    --blue-link: #0853c9;
    --yellow: #feff00;
    --green: #3d7b40;
    --navy: #1d3b63;
    --header-bg: #2c2c2c;
    --ticker-bg: #9b1b30;
    --ticker-label-bg: #f7e6ea;
    --ticker-label-text: #8b1538;
    --news: #e4ebf5;
    --text: #222;
    --muted: #555;
    --max: 1140px;
    --header-h: 86px;
    --ticker-h: 40px;
    --font: "Montserrat", sans-serif;
    --body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--body);
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); margin: 0; line-height: 1.25; }

.skip-link {
    position: absolute;
    left: -9999px;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: #000; color: #fff; padding: .5rem; }

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

/* Header — like original: transparent over hero, white logo area */
.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 100;
    transition: background .25s ease;
}
.site-header.is-scrolled,
.site-header.is-solid {
    position: fixed;
    background: var(--header-bg);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.header-inner {
    width: min(100% - 1.5rem, 1200px);
    margin-inline: auto;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.main-nav { flex: 1; }
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: .15rem;
}
.menu > li { position: relative; }
.menu > li > a {
    display: block;
    padding: .65rem .75rem;
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    font-size: .92rem;
}
.menu > li > a:hover,
.menu > li.active > a {
    color: #fff;
    box-shadow: inset 0 -2px 0 #a89070;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    padding: .35rem 0;
    display: none;
    z-index: 20;
}
.has-children:hover > .submenu { display: block; }
.submenu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem 1.1rem;
    color: #111;
    font-family: var(--font);
    font-size: .9rem;
    font-weight: 500;
}
.submenu a:hover { background: #f5f5f5; color: var(--header-bg); }
.submenu .has-children { position: relative; }
.submenu--nested {
    top: 0;
    left: 100%;
    margin-left: .15rem;
}
.submenu-arrow {
    color: #888;
    font-size: .95rem;
}

.header-actions { display: flex; gap: .25rem; }
.icon-btn {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.15rem;
    width: 40px;
    height: 40px;
}
.menu-toggle { display: none; }

/* Communiqués ticker */
.news-ticker {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: var(--ticker-h);
    background: var(--ticker-bg);
    color: #fff;
    overflow: hidden;
}

.news-ticker-label {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 0 1.1rem;
    background: var(--ticker-label-bg);
    color: var(--ticker-label-text);
    font-family: var(--font);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

.news-ticker-track-wrap {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.news-ticker-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: tickerScroll 100s linear infinite;
}

.news-ticker:hover .news-ticker-track {
    animation-play-state: paused;
}

.news-ticker-group {
    display: flex;
    align-items: center;
    height: 100%;
}

.news-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: 0 1.4rem 0 .2rem;
    color: #fff;
    font-size: .84rem;
    font-weight: 500;
    white-space: nowrap;
}

.news-ticker-item:hover {
    text-decoration: underline;
}

.news-ticker-dot {
    opacity: .85;
    font-size: 1.1rem;
    line-height: 1;
}

.news-ticker-close {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #fff;
    width: 40px;
    font-size: 1.35rem;
    line-height: 1;
    opacity: .9;
}

.news-ticker-close:hover { opacity: 1; background: rgba(0,0,0,.12); }

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.search-panel {
    background: rgba(0,0,0,.55);
    padding: .75rem 1rem;
}
.search-form {
    width: min(100%, 480px);
    margin: 0 auto;
    display: flex;
    gap: .5rem;
}
.search-form input {
    flex: 1;
    padding: .65rem .85rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.search-form button {
    border: 0;
    background: var(--blue);
    color: #fff;
    padding: 0 1rem;
    border-radius: 3px;
    font-weight: 700;
}

.mobile-drawer[hidden] { display: none; }
.mobile-drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.drawer-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: min(86vw, 320px);
    height: 100%;
    background: var(--header-bg);
    color: #fff;
    padding: 1rem;
    overflow: auto;
}
.drawer-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    float: right;
}
.drawer-menu a {
    display: block;
    padding: .8rem 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-family: var(--font);
    font-weight: 600;
}

/* Hero */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    background: #123;
}
.slides { position: absolute; inset: 0; }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    pointer-events: none;
    transition: opacity 1.15s ease-in-out, visibility 1.15s ease-in-out;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + var(--ticker-h) + 1rem) 0 3rem;
}
.slide.is-leaving {
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}
.slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 8s ease-out;
}
.slide.is-active .slide-bg {
    transform: scale(1);
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
}
.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 700px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s ease, transform .7s ease;
}
.slide.is-active .slide-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .28s;
}
.slide-content h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 600;
    margin-bottom: .75rem;
}
.slide-content > p {
    margin: 0 0 1.1rem;
    font-size: 1.15rem;
}
.slide-kicker {
    margin: 0 0 .55rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--yellow);
}
.welcome {
    text-align: center;
    margin-inline: auto;
    max-width: 960px;
}
.welcome h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.welcome p {
    font-size: clamp(1.15rem, 2.3vw, 1.55rem);
    margin: 0 0 1.2rem;
}
.welcome .btn-read { margin-top: .25rem; }
.ambassador-message,
.whatsapp-box {
    background: rgba(0,0,0,.4);
    padding: 1.1rem 1.25rem;
    border-radius: 6px;
    max-width: 420px;
}
.ambassador-message p { margin: 0 0 .6rem; }
.whatsapp-box img { margin-bottom: .6rem; }
.whatsapp-box h2 { font-size: 1.35rem; }

.btn-read {
    display: inline-block;
    background: var(--yellow);
    color: #111;
    font-family: var(--font);
    font-weight: 700;
    padding: .7rem 1.1rem;
    border-radius: 3px;
}
.btn-read:hover { filter: brightness(.95); }

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    color: #fff;
    font-size: 1.6rem;
}
.slider-nav.prev { left: .8rem; }
.slider-nav.next { right: .8rem; }
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 1.2rem;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: .4rem;
}
.slider-dots button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    padding: 0;
    transition: background .35s ease, transform .35s ease;
}
.slider-dots button.is-active {
    background: var(--yellow);
    transform: scale(1.15);
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}
.section-head h2,
.links-intro h2,
.center {
    color: var(--blue);
    font-size: clamp(1.3rem, 2.1vw, 1.7rem);
    font-weight: 600;
}
.crest { margin-top: .6rem; }
.see-all {
    color: var(--blue);
    font-family: var(--font);
    font-weight: 600;
}
.desc {
    margin: .6rem 0 0;
    color: var(--muted);
    max-width: 34rem;
}
.center { text-align: center; margin-bottom: 1.5rem; }

.services-section {
    background: #fff;
}

.services-head h2 {
    position: relative;
    display: inline-block;
}
.services-head h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: .55rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow));
}

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

.service-card {
    text-align: center;
    padding: 2rem 1.35rem 1.6rem;
    border: 1px solid rgba(0, 78, 142, .1);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--green), var(--yellow));
    opacity: 0;
    transition: opacity .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 78, 142, .12);
    border-color: rgba(0, 78, 142, .22);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.15rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f6;
    border: 3px solid #008751;
}

.service-card:nth-child(1) .service-icon { border-color: #008751; }
.service-card:nth-child(2) .service-icon { border-color: #FCD116; }
.service-card:nth-child(3) .service-icon { border-color: #E8112D; }

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    color: var(--blue);
    font-size: 1.12rem;
    margin-bottom: .7rem;
    font-weight: 600;
}

.service-card p {
    color: var(--muted);
    font-size: .95rem;
    margin: 0 0 1.35rem;
    min-height: 4.5rem;
    flex: 1;
}

.btn-demande {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    font-size: .88rem;
    padding: .8rem 1.35rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(0, 78, 142, .22);
    transition: transform .25s ease, box-shadow .25s ease, filter .2s ease;
}

.btn-demande:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 12px 24px rgba(0, 78, 142, .28);
}

.btn-blue {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    font-size: .9rem;
    padding: .65rem 1.15rem;
    border-radius: 3px;
}
.btn-blue:hover { background: var(--navy); }
.btn-blue.outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.btn-blue.outline:hover {
    background: var(--blue);
    color: #fff;
}

/* Useful links — split layout, logo wall */
.links-section {
    background: #f3f6f4;
    border-block: 1px solid rgba(0, 78, 142, .08);
}

.links-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1.4fr;
    gap: 3rem;
    align-items: start;
}

.links-intro {
    position: sticky;
    top: 6rem;
    max-width: none;
    margin: 0;
    text-align: left;
}

.links-intro h2 {
    color: var(--blue);
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    font-weight: 600;
    line-height: 1.15;
    max-width: 12ch;
}

.links-intro h2::after { display: none; }

.links-intro p {
    color: var(--muted);
    margin: 1.1rem 0 0;
    font-size: 1rem;
    max-width: 32ch;
}

.links-accent {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 180px;
    height: 4px;
    border-radius: 999px;
    background:
        linear-gradient(90deg,
            #008751 0 33%,
            #fcd116 33% 66%,
            #e8112d 66% 100%);
}

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

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    min-height: 168px;
    padding: 1.25rem 1rem;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    border: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
    outline: 1px solid rgba(18, 48, 24, .06);
    transition: transform .3s ease, box-shadow .3s ease, outline-color .25s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(18, 48, 24, .1);
    outline-color: rgba(0, 78, 142, .28);
}

.link-card img {
    width: auto;
    max-width: 120px;
    height: 56px;
    object-fit: contain;
    transition: transform .3s ease;
}

.link-card img.link-photo {
    width: 72px;
    height: 72px;
    max-width: none;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.link-card img.link-crest {
    height: 78px;
    max-width: 96px;
}

.link-card img.link-logo-wide {
    width: 100%;
    max-width: 190px;
    height: auto;
    max-height: 64px;
}

.link-card:hover img {
    transform: scale(1.06);
}

.link-card span {
    font-family: var(--font);
    font-weight: 700;
    font-size: .88rem;
    color: #1a2a22;
    line-height: 1.35;
}

@media (max-width: 960px) {
    .links-layout {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .links-intro {
        position: static;
        text-align: center;
    }
    .links-intro h2 {
        max-width: none;
    }
    .links-intro p {
        max-width: 40rem;
        margin-inline: auto;
    }
    .links-accent {
        margin-inline: auto;
    }
}

@media (max-width: 900px) {
    .links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
    .links-grid { grid-template-columns: 1fr; }
}

/* News — original horizontal cards */
.news-section { background: #f7f9fc; }
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.news-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    background: var(--news);
    overflow: hidden;
    min-height: 210px;
}
.news-img { display: block; overflow: hidden; }
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-body { padding: 1.1rem 1.2rem; }
.news-body h3 {
    font-size: 1.02rem;
    margin-bottom: .45rem;
}
.news-body time {
    display: block;
    color: var(--blue-dark);
    font-family: var(--font);
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: .55rem;
}
.news-body p {
    color: var(--muted);
    font-size: .92rem;
    margin: 0 0 .7rem;
}
.more {
    color: var(--blue-link);
    font-weight: 600;
    font-size: .9rem;
}

/* Gallery — full-bleed auto scroll */
.gallery-section {
    overflow: hidden;
    padding-bottom: 3.5rem;
}

.gallery-section .center {
    margin-bottom: 1.75rem;
}

.gallery {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    width: max-content;
    gap: 1rem;
    animation: galleryScroll 40s linear infinite;
    will-change: transform;
}

.gallery:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-track figure {
    margin: 0;
    flex: 0 0 clamp(260px, 28vw, 420px);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes galleryScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .slide,
    .slide-bg,
    .slide-content,
    .slider-dots button {
        transition: none;
    }
    .slide-bg { transform: none; }
    .slide-content {
        opacity: 1;
        transform: none;
    }
    .gallery-track {
        animation: none;
        overflow-x: auto;
        max-width: 100vw;
    }
}

/* Footer */
.site-footer { background: var(--header-bg); color: #fff; }
.footer-flag { background: #fff; }
.footer-flag img {
    width: 100%;
    height: 10px;
    object-fit: cover;
}
.footer-middle { padding: 2.25rem 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
}
.footer-grid p { margin: 0 0 .5rem; color: rgba(255,255,255,.9); }
.footer-grid h6 {
    margin: 0 0 .5rem;
    font-size: 1rem;
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    padding: 1rem;
}
.footer-bottom p {
    margin: .2rem 0;
    color: rgba(255,255,255,.75);
    font-size: .9rem;
}

/* Inner page: Prestations consulaires */
.page-hero {
    background: linear-gradient(135deg, #1d3b63 0%, #3d7b40 100%);
    color: #fff;
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
}

.page-hero--image {
    position: relative;
    min-height: clamp(420px, 58vh, 620px);
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header-h) + var(--ticker-h) + 2rem) 0 3.25rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero--services {
    min-height: clamp(480px, 62vh, 680px);
    align-items: center;
    padding: calc(var(--header-h) + var(--ticker-h) + 3rem) 0 3.5rem;
}

.page-hero--services::before {
    content: "";
    position: absolute;
    inset: -4%;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: heroZoom 18s ease-in-out infinite alternate;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        115deg,
        rgba(20, 20, 20, .72) 0%,
        rgba(20, 20, 20, .45) 45%,
        rgba(20, 20, 20, .35) 100%
    );
}

.page-hero-accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    z-index: 2;
    background: linear-gradient(90deg, #008751 0%, #FCD116 50%, #E8112D 100%);
}

.page-hero--image .container,
.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-kicker {
    margin: 0 0 .6rem;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--yellow);
    opacity: 0;
    animation: heroFadeUp .7s ease .15s forwards;
}

.page-hero h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.55rem);
    font-weight: 600;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
    margin: 0;
}

.page-hero--services h1 {
    opacity: 0;
    animation: heroFadeUp .75s ease .28s forwards;
}

.page-hero-lead {
    margin: .85rem 0 0;
    max-width: 34rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .88);
    opacity: 0;
    animation: heroFadeUp .75s ease .42s forwards;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.services-page {
    background: #fff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.services-notice {
    background: #fff;
    border: 1px solid #e4e8ee;
    border-left: 4px solid #FCD116;
    border-radius: 8px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 2.5rem;
}

.services-notice p { margin: 0 0 .75rem; color: var(--blue); }
.services-notice ol {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text);
}
.services-notice li { margin-bottom: .55rem; }
.services-notice a {
    color: var(--blue-link);
    text-decoration: underline;
}

.services-list-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.services-list-head h2 {
    color: var(--navy);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 600;
}

.services-search {
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}

.services-search input {
    width: 100%;
    border: 1px solid #d5dbe3;
    border-radius: 8px;
    padding: .75rem 1rem;
    font: inherit;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.services-search input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 78, 142, .12);
}

.services-empty {
    margin: 0 0 1.5rem;
    color: var(--muted);
    font-size: .95rem;
}

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

.consular-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 10px;
    padding: 1.4rem 1.3rem 1.35rem;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    opacity: 0;
    animation: cardIn .55s ease forwards;
    animation-delay: var(--card-delay, 0ms);
}

.consular-card:hover {
    border-color: rgba(0, 78, 142, .28);
    box-shadow: 0 14px 32px rgba(16, 40, 28, .08);
    transform: translateY(-4px);
}

.consular-card[hidden] {
    display: none;
}

.consular-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    margin-bottom: .9rem;
    padding: 0 .55rem;
    border-radius: 10px;
    background: #f3f6f9;
    color: var(--navy);
    font-family: var(--font);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .02em;
}

.consular-card h3 {
    color: var(--navy);
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: .85rem;
    line-height: 1.35;
}

.consular-pieces {
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
    flex: 1;
}

.consular-pieces li {
    position: relative;
    padding-left: .95rem;
    margin-bottom: .45rem;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.45;
}

.consular-pieces li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #008751;
}

.consular-template,
.piece-template {
    display: inline-block;
    margin-top: .35rem;
    color: var(--blue-link);
    font-weight: 700;
    font-size: .8rem;
    text-decoration: underline;
}
.piece-template {
    margin: .45rem 0 .15rem;
    font-size: .84rem;
}

.consular-card .btn-demande {
    width: 100%;
    border-radius: 6px;
    background: var(--blue);
    box-shadow: none;
    font-weight: 600;
    font-size: .86rem;
    padding: .75rem 1rem;
    transition: background .2s ease, transform .2s ease;
}

.consular-card .btn-demande:hover {
    transform: translateY(-1px);
    filter: none;
    background: var(--navy);
    box-shadow: none;
}

.consular-note {
    margin: -.35rem 0 1rem;
    padding: .7rem .85rem;
    background: #f7f8fa;
    border-radius: 6px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
    border: 1px solid #e4e8ee;
}

/* Demande form */
.page-hero--compact {
    min-height: 220px;
    display: grid;
    align-items: end;
    padding-bottom: 2rem;
}

.demande-kicker {
    margin: 0 0 .4rem;
    font-family: var(--font);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--yellow);
}

.demande-page {
    background:
        radial-gradient(700px 280px at 0% 0%, rgba(0, 78, 142, .05), transparent 55%),
        radial-gradient(600px 240px at 100% 20%, rgba(61, 123, 64, .06), transparent 50%),
        #f7faf7;
}

.demande-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1.5rem;
    color: var(--blue);
    font-family: var(--font);
    font-weight: 700;
    font-size: .92rem;
}

.demande-back:hover { text-decoration: underline; }

.demande-alert {
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.demande-alert--success {
    background: #eef8ef;
    border-color: rgba(61, 123, 64, .25);
    color: #245528;
}

.demande-alert--error {
    background: #fff5f5;
    border-color: rgba(180, 40, 40, .2);
    color: #8a1f1f;
}

.demande-alert ul {
    margin: .5rem 0 0;
    padding-left: 1.1rem;
    list-style: disc;
}

.demande-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1.5rem;
    align-items: start;
}

.demande-aside-card {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    background: #fff;
    border: 1px solid rgba(0, 78, 142, .12);
    border-radius: 16px;
    padding: 1.4rem 1.35rem;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .06);
}

.demande-aside-card .consular-num { margin-bottom: .9rem; }

.demande-aside-card h2 {
    color: var(--blue);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: .85rem;
}

.demande-aside-intro {
    margin: 0 0 .75rem;
    color: var(--muted);
    font-size: .9rem;
}

.demande-checklist {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text);
}

.demande-checklist li {
    margin-bottom: .55rem;
    font-size: .9rem;
    line-height: 1.45;
}

.demande-form {
    display: grid;
    gap: 1.25rem;
}

.demande-step {
    margin: 0;
    padding: 1.4rem 1.4rem 1.5rem;
    border: 1px solid rgba(0, 78, 142, .1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 40, 28, .04);
}

.demande-step legend {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 0 .35rem;
    color: var(--blue);
    font-family: var(--font);
    font-weight: 800;
    font-size: 1.05rem;
}

.demande-step-num {
    display: inline-grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    font-size: .85rem;
}

.demande-step-lead {
    margin: .35rem 0 1.1rem;
    color: var(--muted);
    font-size: .92rem;
}

.demande-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.field--full { grid-column: 1 / -1; }

.field label,
.piece-label {
    font-family: var(--font);
    font-weight: 700;
    font-size: .88rem;
    color: var(--navy);
}

.field label span,
.piece-label span { color: #c0392b; }

.field input,
.field textarea,
.piece-block textarea {
    width: 100%;
    border: 1px solid rgba(0, 78, 142, .18);
    border-radius: 10px;
    padding: .75rem .9rem;
    font: inherit;
    color: var(--text);
    background: #fbfdff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus,
.piece-block textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 78, 142, .12);
    background: #fff;
}

.demande-pieces {
    display: grid;
    gap: 1rem;
}

.piece-block {
    border: 1px solid rgba(0, 78, 142, .1);
    border-radius: 12px;
    padding: 1rem 1.05rem;
    background: linear-gradient(180deg, #fbfdff, #f7faf8);
}

.piece-block.is-invalid {
    border-color: rgba(180, 40, 40, .35);
    background: #fff8f8;
}

.piece-block--notice {
    background: #f4f8f5;
    border-color: rgba(61, 123, 64, .2);
}

.piece-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .85rem;
    margin-bottom: .85rem;
}

.piece-index {
    display: inline-grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 8px;
    background: rgba(0, 78, 142, .1);
    color: var(--blue);
    font-family: var(--font);
    font-weight: 800;
    font-size: .8rem;
}

.piece-hint {
    margin: .25rem 0 0;
    color: var(--muted);
    font-size: .84rem;
}

.file-drop {
    position: relative;
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.1rem;
    border: 1.5px dashed rgba(0, 78, 142, .28);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.file-drop:hover,
.file-drop.is-dragover {
    border-color: var(--blue);
    background: #f3f8ff;
    transform: translateY(-1px);
}

.file-drop.has-file {
    border-style: solid;
    border-color: rgba(61, 123, 64, .4);
    background: #f3faf4;
}

.file-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.file-drop-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.file-drop-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.file-drop-text strong {
    font-family: var(--font);
    font-size: .9rem;
    color: var(--blue);
}

.file-drop-text em {
    font-style: normal;
    color: var(--muted);
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demande-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding-top: .25rem;
}

.btn-demande--lg {
    padding: .95rem 1.8rem;
    font-size: .95rem;
    border: none;
}

.demande-legal {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

/* Content pages — redesign */
.page-hero--inner {
    min-height: clamp(280px, 40vh, 400px);
    align-items: flex-end;
    padding: calc(var(--header-h) + var(--ticker-h) + 1.5rem) 0 2.75rem;
}

.page-hero--tall {
    min-height: clamp(420px, 56vh, 620px);
    align-items: center;
    padding: calc(var(--header-h) + var(--ticker-h) + 2.5rem) 0 3.25rem;
}

.page-hero--inner h1 {
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    font-weight: 600;
}

.page-hero--tall h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.content-page {
    background:
        radial-gradient(700px 280px at 0% 0%, rgba(0, 78, 142, .04), transparent 55%),
        radial-gradient(600px 240px at 100% 0%, rgba(61, 123, 64, .05), transparent 50%),
        #fafbfc;
}

.container.narrow { max-width: 820px; }

.mot-eyebrow {
    margin: 0 0 .55rem;
    color: var(--blue);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mot-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(16, 40, 28, .06);
}

.mot-aside {
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, #f4f7fa, #eef3f0);
    text-align: center;
    border-right: 1px solid #e6ebf0;
}

.mot-portrait {
    margin: 0 auto 1.15rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.mot-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 18%;
}

.mot-name {
    margin: 0 0 .3rem;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
}

.mot-role {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

.mot-aside-accent {
    width: 48px;
    height: 3px;
    margin: 1.15rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #008751, #FCD116, #E8112D);
}

.mot-body {
    padding: 2.25rem 2.4rem 2.4rem;
}

.mot-title {
    color: var(--navy);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 600;
    margin: 0 0 1rem;
}

.mot-quote {
    margin: 0 0 1.35rem;
    padding: .85rem 1rem;
    border-left: 3px solid #008751;
    background: #f6faf7;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
}

.mot-closing {
    margin: 1.5rem 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid #e8ecf1;
    color: var(--navy);
    font-size: 1.05rem;
}

.prose {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.75;
}

.prose h3 {
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 1rem;
    line-height: 1.4;
}

.prose p { margin: 0 0 1.15rem; }

.bio-hero-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 16px 40px rgba(16, 40, 28, .06);
    margin-bottom: 2rem;
}

.bio-photo {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(16, 40, 28, .1);
}

.bio-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: 58% 18%;
    aspect-ratio: 1;
}

.bio-hero-text h2 {
    color: var(--navy);
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 600;
    margin: 0 0 .5rem;
}

.bio-lead {
    margin: 0 0 1.25rem;
    color: var(--muted);
    font-size: 1rem;
}

.bio-highlights {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .65rem;
}

.bio-highlights li {
    display: flex;
    gap: .75rem;
    align-items: baseline;
    padding: .7rem .85rem;
    background: #f7f9fb;
    border-radius: 8px;
    border: 1px solid #e8ecf1;
    color: var(--text);
    font-size: .92rem;
}

.bio-highlights strong {
    color: var(--blue);
    min-width: 5.5rem;
}

.bio-content {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 2rem 2.25rem;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .04);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    text-align: center;
    background: #fff;
    border: 1px solid #e4e8ee;
    border-radius: 14px;
    padding: 1.7rem 1.15rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 40, 28, .08);
    border-color: rgba(0, 78, 142, .2);
}

.contact-card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    color: #fff;
}

.contact-card-icon--green { background: #008751; }
.contact-card-icon--yellow { background: #c9a400; color: #111; }
.contact-card-icon--red { background: #E8112D; }
.contact-card-icon--blue { background: var(--blue); }

.contact-card h3 {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .65rem;
}

.contact-card p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
}

.contact-card a {
    color: var(--blue-link);
    text-decoration: underline;
}

.contact-form-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(16, 40, 28, .06);
}

.contact-form-intro h2 {
    color: var(--navy);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
    margin: 0 0 .75rem;
}

.contact-form-intro p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .btn-demande {
    justify-self: start;
    border: 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.75rem;
    color: var(--muted);
    font-size: .9rem;
}

.breadcrumbs a { color: var(--blue); font-weight: 600; }

.news-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    box-shadow: 0 14px 36px rgba(16, 40, 28, .06);
}

.news-featured-media {
    display: block;
    min-height: 280px;
    background: #edf1f5;
}

.news-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-body {
    padding: 1.75rem 1.75rem 1.75rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-body time,
.news-card-v2 time {
    color: var(--blue);
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .55rem;
}

.news-featured-body h2 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .75rem;
}

.news-featured-body h2 a,
.news-card-v2 h2 a {
    color: var(--navy);
}

.news-featured-body h2 a:hover,
.news-card-v2 h2 a:hover {
    color: var(--blue);
}

.news-featured-body p {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.55;
}

.news-featured-author {
    color: #777;
    font-size: .85rem;
}

.news-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.news-card-v2 {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.news-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(16, 40, 28, .08);
}

.news-card-v2-media {
    display: block;
    aspect-ratio: 16 / 11;
    background: #edf1f5;
    overflow: hidden;
}

.news-card-v2-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-card-v2:hover .news-card-v2-media img {
    transform: scale(1.04);
}

.news-card-v2-body {
    padding: 1.15rem 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-v2-body h2 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 .55rem;
}

.news-card-v2-body p {
    margin: 0 0 .85rem;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
    flex: 1;
}

.news-card-v2-body > span {
    color: #777;
    font-size: .8rem;
}

.news-read-more {
    margin-top: auto;
    color: var(--blue);
    font-weight: 700;
    font-size: .88rem;
}

.news-featured-body .news-read-more {
    display: inline-flex;
    margin-top: .35rem;
}

/* Contact */
.content-page--contact {
    padding-top: 3rem;
    background: #fff;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    margin-bottom: 2.5rem;
}

.contact-info-card {
    text-align: center;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    padding: 1.75rem 1.2rem;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 78, 142, .2);
    box-shadow: 0 16px 36px rgba(16, 40, 28, .1);
}

.contact-info-card .contact-info-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
}

.contact-info-card h3 {
    margin: 0 0 .55rem;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}

.contact-info-card p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}

.contact-info-card a {
    color: var(--blue-link);
    word-break: break-word;
}

.contact-bottom {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.75rem;
    align-items: stretch;
}

.contact-form-box {
    background: #fafbfc;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    padding: 1.85rem 1.7rem;
}

.contact-form-box h2 {
    margin: 0 0 1.25rem;
    color: var(--navy);
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-form--classic {
    gap: .9rem;
}

.contact-form--classic input,
.contact-form--classic textarea {
    width: 100%;
    border: 1px solid #e0e5ec;
    border-radius: 10px;
    background: #fff;
    padding: .95rem 1rem;
    font: inherit;
    color: var(--text);
}

.contact-form--classic input:focus,
.contact-form--classic textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 78, 142, .12);
}

.contact-form--classic .btn-demande {
    border: 0;
    margin-top: .25rem;
}

.contact-map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    min-height: 420px;
    background: #edf1f5;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .05);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* Personnel */
.personnel-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.25rem;
}

.personnel-head h2 {
    color: var(--navy);
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 600;
    margin: 0 0 .65rem;
}

.personnel-head p {
    margin: 0;
    color: var(--muted);
}

.personnel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.personnel-directory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.personnel-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .05);
    opacity: 0;
    animation: cardIn .55s ease forwards;
    animation-delay: var(--card-delay, 0ms);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.personnel-row:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 78, 142, .22);
    box-shadow: 0 16px 36px rgba(16, 40, 28, .1);
}

.personnel-row-photo {
    background: #edf1f5;
    aspect-ratio: 1;
    overflow: hidden;
}

.personnel-row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.personnel-row-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1.35rem;
    min-height: 160px;
}

.personnel-row-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: .7rem;
    border-radius: 8px;
    background: #f3f6f9;
    color: var(--blue);
    font-size: .8rem;
    font-weight: 700;
}

.personnel-row-body h3 {
    margin: 0 0 .55rem;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.personnel-row-body p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}

.personnel-grid--photos {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
    align-items: stretch;
}

.personnel-photo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 12px 32px rgba(16, 40, 28, .1);
}

.personnel-photo-overlay {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 1.35rem 1.15rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .88) 100%);
    color: #fff;
}

.personnel-card {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.personnel-avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
}

.personnel-card h3 {
    margin: 0 0 .55rem;
    color: var(--navy);
    font-size: 1.08rem;
    font-weight: 700;
}

.personnel-card p {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.55;
}

/* Aller au Bénin */
.about-block { margin-top: 3rem; }

.evisa-banner {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    min-height: 240px;
    box-shadow: 0 16px 40px rgba(16, 40, 28, .1);
}

.evisa-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evisa-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.35));
}

.evisa-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    color: #fff;
    min-height: 240px;
}

.evisa-logo {
    width: 110px;
    height: auto;
    flex-shrink: 0;
}

.evisa-banner-content h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 600;
}

.tourism-intro {
    max-width: 46rem;
    margin: .65rem auto 0;
    color: #5a6570;
    line-height: 1.65;
    text-align: center;
}

.tourism-spotlight {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.75rem;
    align-items: center;
    margin: 2rem 0 2.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f4f8f5 0%, #eef3f8 100%);
    border-radius: 16px;
}

.tourism-spotlight-text h3 {
    margin: 0 0 .65rem;
    font-size: 1.35rem;
    color: #1a2a22;
}

.tourism-spotlight-text p {
    margin: 0 0 1.1rem;
    color: #4a5560;
    line-height: 1.7;
}

.tourism-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #0f1a14;
    box-shadow: 0 12px 32px rgba(16, 40, 28, .12);
}

.tourism-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tourism-sites {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.tourism-site {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

.tourism-site--reverse {
    direction: rtl;
}

.tourism-site--reverse > * {
    direction: ltr;
}

.tourism-site-visual {
    display: grid;
    gap: .85rem;
}

.tourism-site-visual img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .08);
}

.tourism-video--site {
    box-shadow: 0 8px 22px rgba(16, 40, 28, .1);
}

.tourism-tag {
    margin: 0 0 .4rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #008751;
}

.tourism-site-body h3 {
    margin: 0 0 .75rem;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    color: #1a2a22;
}

.tourism-site-body p {
    margin: 0 0 1rem;
    color: #4a5560;
    line-height: 1.7;
}

.tourism-facts {
    margin: 0 0 1.15rem;
    padding: 0;
    list-style: none;
}

.tourism-facts li {
    position: relative;
    padding: .35rem 0 .35rem 1.15rem;
    color: #3d4a54;
    font-size: .95rem;
    line-height: 1.45;
    border-bottom: 1px solid #eef1f4;
}

.tourism-facts li:last-child { border-bottom: 0; }

.tourism-facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .75rem;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #fcd116;
    box-shadow: 0 0 0 2px #008751;
}

.tourism-site-body > a {
    font-weight: 700;
    color: #004e8e;
    text-decoration: none;
}

.tourism-site-body > a:hover { text-decoration: underline; }

.tourism-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.tourism-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 10px 28px rgba(16, 40, 28, .08);
}

.tourism-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.tourism-card:hover img { transform: scale(1.05); }

.tourism-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.1rem .9rem;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
}

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

.invest-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.invest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16, 40, 28, .08);
}

.invest-card img {
    width: min(100%, 180px);
    height: 90px;
    object-fit: contain;
}

/* Juridiction */
.juridiction-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 2rem;
    align-items: start;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    transition: transform .25s ease, box-shadow .25s ease;
}

.country-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16, 40, 28, .07);
}

.country-card img {
    width: 56px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8ecf1;
    flex-shrink: 0;
}

.country-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
}

.juridiction-map {
    margin: 0;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 12px 32px rgba(16, 40, 28, .05);
}

.juridiction-map img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.juridiction-map figcaption {
    margin-top: .85rem;
    color: var(--muted);
    font-size: .88rem;
}

/* Réseau consulaire */
.consulat-list {
    display: grid;
    gap: 1.5rem;
}

.consulat-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 12px 32px rgba(16, 40, 28, .05);
}

.consulat-media {
    border-radius: 12px;
    overflow: hidden;
    background: #edf1f5;
    aspect-ratio: 3 / 4;
}

.consulat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.consulat-city {
    margin: 0 0 .35rem;
    color: var(--blue);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.consulat-body h3 {
    margin: 0 0 .4rem;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 700;
}

.consulat-role {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: .92rem;
}

.consulat-details {
    margin: 0 0 1.2rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .55rem;
}

.consulat-details li {
    color: var(--text);
    font-size: .92rem;
    line-height: 1.45;
}

.consulat-details strong {
    color: var(--navy);
    margin-right: .35rem;
}

.consulat-details a {
    color: var(--blue-link);
    word-break: break-word;
}

/* Article detail */
.page-hero--article {
    min-height: clamp(320px, 46vh, 460px);
}

.breadcrumbs--light,
.breadcrumbs--light a {
    color: rgba(255, 255, 255, .85);
}

.breadcrumbs--light a:hover { color: #fff; }

.article-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    margin-top: .9rem;
    color: rgba(255, 255, 255, .85);
    font-size: .9rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1.4fr .75fr;
    gap: 1.75rem;
    align-items: start;
}

.article-main {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 32px rgba(16, 40, 28, .05);
}

.article-cover {
    margin: 0 0 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #edf1f5;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    margin-bottom: 1.5rem;
}

.article-aside {
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 16px;
    padding: 1.35rem;
    box-shadow: 0 12px 32px rgba(16, 40, 28, .05);
    position: sticky;
    top: calc(var(--header-h) + var(--ticker-h) + 1rem);
}

.article-aside h2 {
    margin: 0 0 1rem;
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 700;
}

.article-related {
    display: grid;
    gap: .9rem;
}

.article-related-item {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: .75rem;
    align-items: start;
}

.article-related-item img {
    width: 78px;
    height: 62px;
    object-fit: cover;
    border-radius: 8px;
    background: #edf1f5;
}

.article-related-item time {
    display: block;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.article-related-item h3 {
    margin: 0;
    color: var(--navy);
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.35;
}

.article-related-item:hover h3 {
    color: var(--blue);
}

/* legacy news-list kept for safety */
.news-list { display: grid; gap: 1.5rem; }
.news-list-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.35rem;
}

@media (max-width: 1000px) {
    .consular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .demande-layout {
        grid-template-columns: 1fr;
    }
    .demande-aside-card { position: static; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .mot-card,
    .bio-hero-card,
    .contact-form-panel,
    .contact-bottom,
    .news-featured,
    .article-layout {
        grid-template-columns: 1fr;
    }
    .mot-aside { border-right: 0; border-bottom: 1px solid #e6ebf0; }
    .news-featured-body { padding: 1.35rem; }
    .news-grid-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-info-panel { grid-template-columns: repeat(2, 1fr); }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-item:nth-child(2) { border-right: 0; }
    .contact-info-item:nth-child(1),
    .contact-info-item:nth-child(2) { border-bottom: 1px solid #eef1f5; }
    .article-aside { position: static; }
    .personnel-grid { grid-template-columns: 1fr; }
    .personnel-grid--photos,
    .tourism-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tourism-spotlight,
    .tourism-site,
    .tourism-site--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .invest-grid,
    .juridiction-layout,
    .consulat-card {
        grid-template-columns: 1fr;
    }
    .country-grid { grid-template-columns: 1fr; }
    .personnel-row {
        grid-template-columns: 140px 1fr;
    }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
    .brand img { width: 58px; height: 58px; }
    :root { --header-h: 76px; }
    .services-grid,
    .news-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .news-card { grid-template-columns: 1fr; }
    .news-img { aspect-ratio: 16/10; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .slider-nav { display: none; }
    .news-ticker-label { font-size: .75rem; padding: 0 .75rem; }
}

@media (max-width: 640px) {
    .consular-grid {
        grid-template-columns: 1fr;
    }
    .demande-fields,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .contact-cards,
    .news-grid-cards,
    .news-list-item,
    .contact-info-panel,
    .contact-info-grid,
    .personnel-grid--photos,
    .personnel-directory,
    .tourism-grid {
        grid-template-columns: 1fr;
    }
    .personnel-row {
        grid-template-columns: 1fr;
    }
    .personnel-row-photo {
        aspect-ratio: 16 / 11;
        max-height: 220px;
    }
    .contact-info-item {
        border-right: 0 !important;
        border-bottom: 1px solid #eef1f5;
    }
    .contact-info-item:last-child { border-bottom: 0; }
    .mot-body,
    .bio-content,
    .contact-form-panel,
    .contact-form-box {
        padding: 1.35rem;
    }
}

.form-loading {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 28, 48, .55);
    backdrop-filter: blur(4px);
}
.form-loading[hidden] { display: none; }
.form-loading-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.6rem 1.8rem 1.4rem;
    min-width: min(92vw, 320px);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.form-loading-card p {
    margin: .85rem 0 0;
    font-family: var(--font);
    font-weight: 700;
    color: #1a2a22;
}
.form-loading-hint {
    font-weight: 500 !important;
    font-size: .86rem;
    color: var(--muted) !important;
}
.form-loading-spinner {
    display: inline-block;
    width: 42px;
    height: 42px;
    border: 4px solid #dbe7f4;
    border-top-color: var(--blue);
    border-right-color: var(--yellow);
    border-radius: 50%;
    animation: formSpin .8s linear infinite;
}
body.is-form-loading { overflow: hidden; }
@keyframes formSpin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .form-loading-spinner { animation: none; border-top-color: var(--blue); }
}

.suivi-page {
    padding-top: 2.4rem;
    background: linear-gradient(180deg, #f5f8fb 0%, #fff 220px);
}
.suivi-lookup {
    display: grid;
    gap: 1.75rem;
    max-width: 860px;
    margin: 0 auto;
}
.suivi-lookup-card {
    background: #fff;
    border-radius: 22px;
    padding: 1.8rem 1.7rem 1.6rem;
    box-shadow: 0 18px 50px rgba(16, 40, 70, .08);
    border: 1px solid rgba(0, 78, 142, .08);
    position: relative;
    overflow: hidden;
}
.suivi-lookup-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green), var(--yellow) 50%, var(--ticker-bg));
}
.suivi-eyebrow {
    margin: 0 0 .35rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
}
.suivi-lookup-card h2 {
    margin: 0 0 .55rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--navy);
}
.suivi-lead {
    margin: 0 0 1.25rem;
    color: var(--muted);
    line-height: 1.55;
}
.suivi-form label {
    display: block;
    font-weight: 700;
    margin-bottom: .45rem;
}
.suivi-form-row {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
}
.suivi-form-row input {
    flex: 1;
    min-width: 220px;
    border: 1px solid rgba(0, 78, 142, .22);
    border-radius: 12px;
    padding: .95rem 1.05rem;
    font: inherit;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #fbfdff;
}
.suivi-form-row input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 78, 142, .12);
    background: #fff;
}
.suivi-help {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.suivi-help article {
    background: #fff;
    border-radius: 16px;
    padding: 1.1rem 1.15rem 1.2rem;
    border: 1px solid rgba(0, 78, 142, .08);
}
.suivi-help span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
}
.suivi-help h3 {
    margin: .7rem 0 .35rem;
    font-size: 1rem;
}
.suivi-help p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.45;
}
.suivi-ticket {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(16, 40, 70, .08);
    border: 1px solid rgba(0, 78, 142, .08);
    margin-bottom: 1.6rem;
}
.suivi-ticket-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.4rem 1.5rem 1.2rem;
    background: linear-gradient(135deg, #0b3a6e, #004e8e);
    color: #fff;
}
.suivi-ticket-top .suivi-eyebrow { color: rgba(255,255,255,.75); }
.suivi-ticket-code {
    margin: 0;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 800;
    letter-spacing: .06em;
}
.suivi-ticket-top .status-pill {
    padding: .4rem .85rem;
    font-size: .82rem;
    flex-shrink: 0;
}
.suivi-ticket-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.2rem 1.5rem 1.35rem;
}
.suivi-ticket-grid span {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .3rem;
}
.suivi-ticket-grid strong {
    font-size: .95rem;
    color: var(--text);
}
.suivi-note {
    margin: 0 1.5rem 1.4rem;
    padding: .95rem 1.05rem;
    background: #f4f8ff;
    border-radius: 12px;
    border-left: 4px solid var(--blue);
}
.suivi-note span {
    display: block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: .3rem;
}
.suivi-note p { margin: 0; }
.suivi-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
}
.suivi-steps li {
    position: relative;
    background: #fff;
    border: 1px solid #e6eef6;
    border-radius: 14px;
    padding: .85rem .7rem .9rem;
    text-align: center;
}
.suivi-steps-num {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dbe7f4;
    color: var(--navy);
    font-weight: 800;
    font-size: .8rem;
    margin-bottom: .4rem;
}
.suivi-steps-label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
}
.suivi-steps li.is-done {
    border-color: rgba(61, 123, 64, .28);
    background: #f3faf4;
}
.suivi-steps li.is-done .suivi-steps-num { background: #3d7b40; color: #fff; }
.suivi-steps li.is-done .suivi-steps-label { color: #245528; }
.suivi-steps li.is-current {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 78, 142, .12);
}
.suivi-steps li.is-current .suivi-steps-num { background: var(--blue); color: #fff; }
.suivi-steps li.is-current .suivi-steps-label { color: var(--blue); }
.suivi-steps li.is-rejected {
    border-color: rgba(180, 40, 40, .3);
    background: #fff6f6;
}
.suivi-steps li.is-rejected .suivi-steps-num { background: #b42828; }
.suivi-steps li.is-rejected .suivi-steps-label { color: #8a1f1f; }
.suivi-history {
    background: #fff;
    border-radius: 18px;
    padding: 1.3rem 1.4rem 1.1rem;
    border: 1px solid rgba(0, 78, 142, .08);
}
.suivi-history h2 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}
.suivi-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 3px solid #dbe7f4;
}
.suivi-timeline li {
    position: relative;
    padding: 0 0 1.1rem 1.15rem;
}
.suivi-timeline li:last-child { padding-bottom: 0; }
.suivi-timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: .35rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--blue);
}
.suivi-timeline span {
    display: block;
    color: var(--muted);
    font-size: .85rem;
}
.suivi-footer-link { margin-top: 1.4rem; }
@media (max-width: 800px) {
    .suivi-help,
    .suivi-steps,
    .suivi-ticket-grid { grid-template-columns: 1fr; }
    .suivi-ticket-top { flex-direction: column; }
}

.verification-page { padding-top: 2.2rem; }
.verification-login-card {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 1.8rem 1.7rem 1.7rem;
    box-shadow: 0 18px 50px rgba(16, 40, 70, .08);
    border: 1px solid rgba(0, 78, 142, .08);
    position: relative;
    overflow: hidden;
}
.verification-login-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green), var(--yellow) 50%, var(--ticker-bg));
}
.verification-login-card h2 {
    margin: 0 0 .45rem;
    font-size: 1.35rem;
    color: var(--navy);
}
.verification-login-form .btn-demande { margin-top: 1rem; width: 100%; }
.verification-login-form label,
.verification-status-form label {
    display: block;
    font-weight: 700;
    margin: .8rem 0 .35rem;
}
.verification-login-form input,
.verification-filters input,
.verification-filters select,
.verification-status-form select,
.verification-status-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 78, 142, .2);
    border-radius: 10px;
    padding: .75rem .9rem;
    font: inherit;
}
.verification-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}
.verification-head p {
    margin: 0;
    color: var(--muted);
}
.verification-logout {
    background: none;
    border: 0;
    color: var(--blue-link);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}
.verification-filters {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: .6rem;
    margin-bottom: 1.2rem;
}
.verification-table-wrap { overflow-x: auto; }
.verification-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.verification-table th,
.verification-table td {
    text-align: left;
    padding: .75rem .7rem;
    border-bottom: 1px solid #eef1f5;
    vertical-align: top;
    font-size: .9rem;
}
.verification-table a { font-weight: 700; color: var(--blue-link); }
.verification-detail {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 1.5rem;
    margin: 1rem 0 2rem;
}
.verification-status-form {
    background: #f7fafc;
    border-radius: 14px;
    padding: 1.2rem;
}
.verification-files-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
    margin: 1.4rem 0 .7rem;
}
.verification-files-head h2 { margin: 0; }
.verification-zip {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: .88rem;
    color: var(--blue);
    border: 1px solid rgba(0, 78, 142, .28);
    border-radius: 999px;
    padding: .4rem .85rem;
    background: #fff;
}
.verification-zip:hover { background: #f4f8ff; }
.verification-files {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .55rem;
}
.verification-files li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .85rem 1rem;
    background: #fff;
    border: 1px solid rgba(0, 78, 142, .1);
    border-radius: 12px;
}
.verification-file-info { min-width: 0; }
.verification-file-info strong {
    display: block;
    font-size: .92rem;
    line-height: 1.35;
}
.verification-file-info span {
    display: block;
    margin-top: .2rem;
    color: var(--muted);
    font-size: .8rem;
}
.verification-download {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    background: var(--blue);
    color: #fff !important;
    font-weight: 700;
    font-size: .82rem;
    border-radius: 999px;
    padding: .45rem .85rem;
}
.verification-download:hover { background: var(--navy); }
.verification-missing {
    flex-shrink: 0;
    color: #8a1f1f;
    font-size: .8rem;
    font-weight: 700;
}
.status-pill {
    display: inline-block;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: #e8eef6;
    color: var(--navy);
}
.status-pill--en_cours { background: #fff4d6; }
.status-pill--pieces { background: #ffe8cc; }
.status-pill--validee { background: #e3f6e6; color: #1e5a28; }
.status-pill--rejetee { background: #fde8e8; color: #8a1f1f; }
.status-pill--retrait { background: #dcefff; color: var(--blue); }
@media (max-width: 900px) {
    .verification-filters,
    .verification-detail { grid-template-columns: 1fr; }
}
