/* ==========================================================================
   POLICE NATIONALE - FRONTEND PLATINUM (Bootstrap 5.3 + Glassmorphism)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;700&display=swap');

:root {
    /* Identité */
    --pn-blue-deep: #002855;   /* Bleu Nuit Profond */
    --pn-blue-royal: #004d99;  /* Bleu Vif */
    --pn-gold: #c5a059;        /* Or */
    --pn-red: #E1000F;         /* Rouge */
    
    /* UI */
    --bg-body: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #334155;
    --text-dark: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Effets Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(16px);
    
    --glass-dark-bg: #0f172a; /* Couleur de fond solide requise */
    --glass-dark-border: rgba(255, 255, 255, 0.1);
}

/* BASE */
html { font-size: 75%; scroll-behavior: smooth; }
body { 
    font-family: 'Manrope', sans-serif; 
    background: var(--bg-body); 
    color: var(--text-main); 
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Manrope', sans-serif; color: var(--text-dark); font-weight: 800; }
.serif { font-family: 'Playfair Display', serif; }
a { text-decoration: none; }

/* UTILS */
.text-pn-blue { color: var(--pn-blue-deep); }
.text-pn-gold { color: var(--pn-gold); }
.text-pn-red { color: var(--pn-red); }
.bg-pn-blue { background-color: var(--pn-blue-deep); }
.tracking-wider { letter-spacing: 1px; }
.tracking-widest { letter-spacing: 2px; }
.z-index-1 { z-index: 1; }
.transition { transition: all 0.3s ease; }
.hover-gold:hover { color: var(--pn-gold) !important; border-color: var(--pn-gold) !important; }
.hover-white:hover { color: #ffffff !important; }
.animate-in { animation: fadeInUp 0.8s ease both; }

/* --- ABOUT / INSTITUTION --- */
.about-page {
    padding: 1.5rem 0 5rem;
}
.about-breadcrumb {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}
.about-breadcrumb a {
    color: var(--text-muted);
}
.about-breadcrumb a:hover {
    color: var(--pn-red);
}
.about-breadcrumb strong {
    color: var(--pn-blue-deep);
}
.section-spacing {
    margin-bottom: 5.5rem;
}
.section-kicker {
    color: var(--pn-red);
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}
.section-heading {
    margin: 0 auto 2.5rem;
    max-width: 760px;
}
.section-heading.text-center {
    text-align: center;
}
.section-heading h2,
.about-hero h1,
.about-intro h2,
.about-map-content h2 {
    color: var(--pn-blue-deep);
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
}
.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
}
.section-heading p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin: 0;
}
.about-hero,
.about-intro {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.about-hero {
    margin-bottom: 5.5rem;
}
.about-hero-media,
.about-intro-media {
    position: relative;
}
.about-hero-media::before,
.about-intro-media::before {
    border-radius: 1rem;
    content: '';
    position: absolute;
    z-index: 0;
}
.about-hero-media::before {
    background: rgba(197, 160, 89, 0.26);
    inset: 1rem 1rem -1rem -1rem;
}
.about-intro-media::before {
    background: rgba(0, 40, 85, 0.09);
    inset: -1rem -1rem 1rem 1rem;
}
.about-hero-media img,
.about-intro-media img {
    aspect-ratio: 16 / 11;
    border: 2px solid #ffffff;
    border-radius: 1rem;
    box-shadow: 0 28px 70px rgba(0, 40, 85, 0.16);
    display: block;
    object-fit: cover;
    position: relative;
    width: 100%;
    z-index: 1;
}
.about-hero-media img {
    aspect-ratio: 16 / 9;
}
.about-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    margin-bottom: 1.3rem;
}
.about-hero h1::after,
.about-intro h2::after,
.section-heading h2::after {
    background: linear-gradient(90deg, var(--pn-gold), rgba(197, 160, 89, 0));
    content: '';
    display: block;
    height: 4px;
    margin-top: 1.1rem;
    width: 72px;
}
.section-heading.text-center h2::after {
    margin-left: auto;
    margin-right: auto;
}
.about-hero p,
.about-intro-content > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}
.about-intro h2 {
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    margin-bottom: 1.4rem;
}
.about-quote {
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-left: 4px solid var(--pn-gold);
    border-radius: 0.75rem;
    box-shadow: 0 16px 40px rgba(0, 40, 85, 0.08);
    margin-top: 1.75rem;
    padding: 1.35rem 1.5rem;
}
.about-quote i {
    color: rgba(197, 160, 89, 0.55);
    margin-bottom: 0.45rem;
}
.about-quote blockquote {
    color: var(--pn-blue-deep);
    font-family: 'Playfair Display', serif;
    font-size: 1.24rem;
    font-style: italic;
    font-weight: 700;
    margin: 0;
}
.about-stats {
    background:
        radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        linear-gradient(135deg, #002855 0%, #0f172a 100%);
    background-size: 30px 30px, auto;
    border-radius: 1rem;
    box-shadow: 0 24px 52px rgba(0, 40, 85, 0.22);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: clamp(2rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem);
    text-align: center;
}
.about-stat {
    min-width: 0;
}
.about-stat strong {
    color: var(--pn-gold);
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
}
.about-stat span {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 0.9rem;
    text-transform: uppercase;
}
.history-timeline {
    display: grid;
    gap: 1rem;
}
.history-item {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 160px minmax(0, 1fr);
    position: relative;
}
.history-period {
    align-self: start;
    background: var(--pn-blue-deep);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.75rem 0.95rem;
    text-align: center;
}
.history-card {
    background: #ffffff;
    border: 1px solid rgba(0, 40, 85, 0.08);
    border-radius: 0.75rem;
    box-shadow: 0 14px 36px rgba(0, 40, 85, 0.06);
    padding: clamp(1.25rem, 3vw, 1.75rem);
}
.history-card h3 {
    color: var(--pn-blue-deep);
    font-size: 1.22rem;
    margin-bottom: 0.75rem;
}
.history-card p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.history-card ul {
    color: var(--text-main);
    margin: 0;
    padding-left: 1.1rem;
}
.history-card li + li {
    margin-top: 0.35rem;
}
.mission-card {
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(0, 40, 85, 0.06);
    height: 100%;
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mission-card:hover {
    border-color: rgba(197, 160, 89, 0.45);
    box-shadow: 0 22px 46px rgba(0, 40, 85, 0.12);
    transform: translateY(-6px);
}
.mission-card-head {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}
.mission-card-head span {
    color: rgba(0, 40, 85, 0.08);
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}
.mission-icon {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 1.35rem;
    height: 3.35rem;
    justify-content: center;
    width: 3.35rem;
}
.mission-icon-blue { background: rgba(0, 77, 153, 0.1); color: var(--pn-blue-royal); }
.mission-icon-red { background: rgba(225, 0, 15, 0.1); color: var(--pn-red); }
.mission-icon-gold { background: rgba(197, 160, 89, 0.16); color: var(--pn-gold); }
.mission-icon-green { background: rgba(5, 150, 105, 0.1); color: #059669; }
.mission-card h3 {
    color: var(--pn-blue-deep);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.mission-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}
.about-map-cta {
    border-radius: 1rem;
    box-shadow: 0 24px 56px rgba(0, 40, 85, 0.18);
    min-height: 300px;
    overflow: hidden;
    position: relative;
}
.about-map-bg {
    background-image:
        linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.78)),
        url('../img/hero2.jpg');
    background-position: center;
    background-size: cover;
    inset: 0;
    position: absolute;
}
.about-map-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    justify-content: center;
    margin: 0 auto;
    max-width: 760px;
    padding: clamp(2.25rem, 6vw, 4rem) 1.5rem;
    position: relative;
    text-align: center;
    z-index: 1;
}
.about-map-content h2 {
    color: #ffffff;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    margin-bottom: 1rem;
}
.about-map-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.about-map-button {
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    color: var(--pn-blue-deep);
    display: inline-flex;
    font-weight: 800;
    gap: 0.6rem;
    padding: 0.9rem 1.35rem;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.about-map-button:hover {
    background: var(--pn-gold);
    color: #ffffff;
    transform: translateY(-2px);
}

/* --- ABOUT : SIDEBAR LATÉRALE --- */
.about-sidebar {
    position: sticky;
    top: 100px;
}
.about-widget {
    background: #ffffff;
    border: 1px solid rgba(0, 40, 85, 0.08);
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(0, 40, 85, 0.08);
    margin-bottom: 1.75rem;
    overflow: hidden;
    padding: 1.6rem 1.5rem 1.4rem;
}
.about-widget:last-child {
    margin-bottom: 0;
}
.about-widget-head {
    align-items: center;
    border-bottom: 1px solid rgba(0, 40, 85, 0.08);
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
}
.about-widget-head h3 {
    color: var(--pn-blue-deep);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
}
.about-widget-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--pn-blue-deep) 0%, var(--pn-blue-royal) 100%);
    border-radius: 0.65rem;
    color: var(--pn-gold);
    display: inline-flex;
    font-size: 0.85rem;
    height: 2.1rem;
    justify-content: center;
    width: 2.1rem;
}
.about-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.about-widget-list li + li {
    margin-top: 0.2rem;
}
.about-widget-link {
    align-items: flex-start;
    border-radius: 0.55rem;
    display: flex;
    gap: 0.75rem;
    padding: 0.6rem 0.55rem;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.about-widget-link:hover {
    background: rgba(0, 40, 85, 0.05);
    transform: translateX(4px);
}
.about-widget-date {
    color: var(--pn-red);
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}
.about-widget-link-icon {
    color: var(--pn-blue-royal);
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    width: 1.1rem;
    text-align: center;
}
.about-widget-link:hover .about-widget-link-icon {
    color: var(--pn-gold);
}
.about-widget-title {
    color: var(--text-secondary);
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
    transition: color 0.25s ease;
}
.about-widget-link:hover .about-widget-title {
    color: var(--pn-blue-deep);
}
.about-widget-link:hover .about-widget-date {
    color: var(--pn-blue-deep);
}
.about-widget-rank {
    color: var(--pn-gold);
    flex-shrink: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.6;
}
.about-widget-more {
    align-items: center;
    color: var(--pn-blue-deep);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 800;
    gap: 0.4rem;
    margin-top: 0.8rem;
    transition: color 0.25s ease;
}
.about-widget-more:hover {
    color: var(--pn-gold);
}

/* --- ABOUT : CARROUSEL BON À SAVOIR --- */
.gkt-carousel {
    position: relative;
}
.gkt-slide {
    display: none;
    min-height: 7rem;
}
.gkt-slide.gkt-active {
    animation: gktFadeIn 0.6s ease both;
    display: block;
}
@keyframes gktFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.gkt-slide-title {
    color: var(--pn-blue-deep);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}
.gkt-slide-text {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.gkt-controls {
    align-items: center;
    border-top: 1px solid rgba(0, 40, 85, 0.08);
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-top: 0.9rem;
    padding-top: 0.8rem;
}
.gkt-nav {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 40, 85, 0.14);
    border-radius: 999px;
    color: var(--pn-blue-deep);
    display: inline-flex;
    font-size: 0.7rem;
    height: 1.9rem;
    justify-content: center;
    padding: 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    width: 1.9rem;
}
.gkt-nav:hover {
    background: var(--pn-gold);
    border-color: var(--pn-gold);
    color: #ffffff;
}
.gkt-counter {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.gkt-counter-current {
    color: var(--pn-blue-deep);
}

/* --- ABOUT : WIDGET BON À SAVOIR (BLEU NUIT + ANIMATIONS) --- */
.about-widget-gkt {
    animation: gktGlow 3.5s ease-in-out infinite;
    background: linear-gradient(135deg, #002855 0%, #0f172a 100%);
    border: 1px solid rgba(197, 160, 89, 0.35);
    box-shadow: 0 16px 40px rgba(0, 40, 85, 0.25);
    position: relative;
}
@keyframes gktGlow {
    0%, 100% { box-shadow: 0 16px 40px rgba(0, 40, 85, 0.25); }
    50% { box-shadow: 0 16px 48px rgba(197, 160, 89, 0.35); }
}
.about-widget-gkt .about-widget-head {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
.about-widget-gkt .about-widget-head h3 {
    color: #ffffff;
}
.about-widget-gkt .about-widget-icon {
    animation: gktIconPulse 2.4s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: var(--pn-gold);
}
@keyframes gktIconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    50% { box-shadow: 0 0 0 9px rgba(197, 160, 89, 0); }
}
.about-widget-gkt .gkt-slide-title {
    color: #ffffff;
}
.about-widget-gkt .gkt-slide-text {
    color: rgba(255, 255, 255, 0.72);
}
.about-widget-gkt .gkt-controls {
    border-top-color: rgba(255, 255, 255, 0.12);
}
.about-widget-gkt .gkt-nav {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.about-widget-gkt .gkt-nav:hover {
    background: var(--pn-gold);
    border-color: var(--pn-gold);
    color: #0f172a;
}
.about-widget-gkt .gkt-counter {
    color: rgba(255, 255, 255, 0.5);
}
.about-widget-gkt .gkt-counter-current {
    color: var(--pn-gold);
}

/* Barre de progression (5 s par slide) */
.gkt-progress {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    height: 4px;
    margin-top: 0.85rem;
    overflow: hidden;
}
.gkt-progress::after {
    background: var(--pn-gold);
    border-radius: 999px;
    content: '';
    display: block;
    height: 100%;
    width: 0;
}
.gkt-running .gkt-progress::after {
    animation: gktProgress 5s linear forwards;
}
.gkt-paused .gkt-progress::after {
    animation-play-state: paused;
}
@keyframes gktProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Accessibilité : réduire les animations si demandé */
@media (prefers-reduced-motion: reduce) {
    .about-widget-gkt,
    .about-widget-gkt .about-widget-icon,
    .gkt-running .gkt-progress::after {
        animation: none;
    }
}
@media (max-width: 991px) {
    .about-sidebar {
        margin-top: 1rem;
        position: static;
    }
}
@media (max-width: 991px) {
    .about-hero,
    .about-intro {
        grid-template-columns: 1fr;
    }
    .about-hero-media {
        order: 2;
    }
    .about-hero-content {
        order: 1;
    }
    .history-item {
        grid-template-columns: 1fr;
    }
    .history-period {
        justify-self: start;
    }
}
@media (max-width: 767px) {
    .about-page {
        padding-top: 1.5rem;
    }
    .section-spacing,
    .about-hero {
        margin-bottom: 4rem;
    }
    .about-stats {
        grid-template-columns: 1fr;
    }
    .about-hero-media::before,
    .about-intro-media::before {
        display: none;
    }
    .about-hero-media img,
    .about-intro-media img {
        aspect-ratio: 4 / 3;
    }
}

/* --- ORIENTATIONS / GUIDE CITOYEN --- */
.orientation-page {
    padding: 1.5rem 0 5rem;
}
.orientation-breadcrumb {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}
.orientation-breadcrumb a {
    color: var(--text-muted);
}
.orientation-breadcrumb a:hover {
    color: var(--pn-red);
}
.orientation-breadcrumb strong {
    color: var(--pn-blue-deep);
}
.orientation-hero {
    align-items: end;
    background:
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(135deg, #002855 0%, #0f172a 100%);
    background-size: 22px 22px, auto;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 1.25rem;
    box-shadow: 0 24px 56px rgba(0, 40, 85, 0.18);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 4rem;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    position: relative;
}
.orientation-hero-glow {
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}
.orientation-hero-glow::before {
    background: radial-gradient(circle at 78% 22%, rgba(197, 160, 89, 0.16), rgba(0, 40, 85, 0) 55%);
    content: '';
    inset: 0;
    position: absolute;
}
.orientation-hero-glow i {
    bottom: -1.2rem;
    color: rgba(255, 255, 255, 0.05);
    font-size: 9rem;
    position: absolute;
    right: 1.5rem;
    transform: rotate(-12deg);
}
.orientation-hero h1,
.orientation-map-heading h2 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.18;
    margin-bottom: 1.2rem;
}
.orientation-hero h1 {
    color: #ffffff;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    margin-bottom: 0.9rem;
}
.orientation-hero .section-kicker {
    color: var(--pn-gold);
}
.orientation-hero h1::after,
.orientation-map-heading h2::after {
    background: linear-gradient(90deg, var(--pn-gold), rgba(197, 160, 89, 0));
    content: '';
    display: block;
    height: 4px;
    margin-top: 1.1rem;
    width: 72px;
}
.orientation-hero p,
.orientation-map-heading p {
    font-size: 1.08rem;
    line-height: 1.75;
    margin: 0;
    max-width: 820px;
}
.orientation-hero p {
    color: rgba(255, 255, 255, 0.72);
}
.orientation-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}
.orientation-action,
.locate-button,
.orientation-results-meta button,
.unit-card-actions a {
    align-items: center;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    gap: 0.55rem;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.orientation-action {
    background: #ffffff;
    border: 1px solid rgba(0, 40, 85, 0.12);
    color: var(--pn-blue-deep);
    padding: 0.95rem 1.15rem;
}
.orientation-action.primary,
.locate-button {
    background: var(--pn-blue-deep);
    color: #ffffff;
}
.orientation-action:hover,
.locate-button:hover,
.unit-card-actions a:hover {
    transform: translateY(-2px);
}
.orientation-action.primary:hover,
.locate-button:hover {
    background: var(--pn-gold);
    color: #ffffff;
}
.orientation-hero .orientation-action {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    color: #ffffff;
}
.orientation-hero .orientation-action.primary {
    background: var(--pn-gold);
    border-color: var(--pn-gold);
    color: #0f172a;
}
.orientation-hero .orientation-action.primary:hover {
    background: #ffffff;
    border-color: #ffffff;
}
.orientation-hero .orientation-action:not(.primary):hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}
.procedure-section-heading {
    align-items: end;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 2rem;
}
.procedure-section-heading h2 {
    color: var(--pn-blue-deep);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.65rem, 2.4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}
.procedure-section-heading h2::after {
    background: linear-gradient(90deg, var(--pn-gold), rgba(197, 160, 89, 0));
    content: '';
    display: block;
    height: 4px;
    margin-top: 1rem;
    width: 72px;
}
.procedure-section-heading p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    max-width: 740px;
}
.procedure-summary-box {
    background: #ffffff;
    border: 1px solid rgba(0, 40, 85, 0.08);
    border-radius: 0.85rem;
    box-shadow: 0 14px 34px rgba(0, 40, 85, 0.06);
    min-width: 150px;
    padding: 1rem 1.15rem;
    text-align: center;
}
.procedure-summary-box strong {
    color: var(--pn-gold);
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}
.procedure-summary-box span {
    color: var(--pn-blue-deep);
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-top: 0.35rem;
    text-transform: uppercase;
}
.procedure-grid {
    align-items: start;
}
.procedure-card {
    background: #ffffff;
    border: 1px solid rgba(0, 40, 85, 0.08);
    border-radius: 0.9rem;
    box-shadow: 0 12px 30px rgba(0, 40, 85, 0.055);
    display: block;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.procedure-card:hover,
.procedure-card[open] {
    border-color: rgba(197, 160, 89, 0.45);
    box-shadow: 0 22px 48px rgba(0, 40, 85, 0.1);
}
.procedure-card > summary {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.94)),
        linear-gradient(135deg, rgba(0, 40, 85, 0.08), rgba(197, 160, 89, 0.12));
    color: var(--pn-blue-deep);
    cursor: pointer;
    display: grid;
    font-size: 1rem;
    font-weight: 800;
    gap: 0.95rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    list-style: none;
    min-height: 5.25rem;
    padding: 1rem 1.1rem;
}
.procedure-card > summary::-webkit-details-marker {
    display: none;
}
.procedure-icon {
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 40, 85, 0.08);
    color: var(--pn-gold);
    display: inline-flex;
    font-size: 1.15rem;
    height: 2.85rem;
    justify-content: center;
    width: 2.85rem;
}
.procedure-card-1 .procedure-icon { color: var(--pn-blue-royal); }
.procedure-card-2 .procedure-icon { color: var(--pn-gold); }
.procedure-card-3 .procedure-icon { color: var(--pn-blue-deep); }
.procedure-card-4 .procedure-icon { color: var(--pn-red); }
.procedure-title {
    min-width: 0;
    overflow-wrap: anywhere;
}
.procedure-toggle {
    color: var(--pn-blue-deep);
    transition: transform 0.25s ease;
}
.procedure-card[open] .procedure-toggle {
    color: var(--pn-gold);
    transform: rotate(180deg);
}
.procedure-body {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.65;
    padding: 1.15rem 1.25rem 1.25rem;
}
.procedure-body h3 {
    color: var(--pn-blue-deep);
    font-size: 0.95rem;
    margin: 1rem 0 0.65rem;
}
.procedure-body ul {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
}
.procedure-body li {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}
.procedure-body li::before {
    color: var(--pn-gold);
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-top: 0.05rem;
}
.procedure-place {
    align-items: flex-start;
    background: rgba(0, 40, 85, 0.04);
    border-left: 4px solid var(--pn-blue-deep);
    border-radius: 0.65rem;
    color: var(--pn-blue-deep);
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem;
}
.orientation-map-section {
    background:
        radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(135deg, #002855 0%, #0f172a 100%);
    background-size: 22px 22px, auto;
    border: 1px solid rgba(197, 160, 89, 0.24);
    border-radius: 1rem;
    box-shadow: 0 24px 56px rgba(0, 40, 85, 0.18);
    padding: clamp(1.25rem, 4vw, 2rem);
}
.orientation-map-heading {
    align-items: end;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 1.5rem;
}
.orientation-map-heading h2,
.orientation-map-heading p {
    color: #ffffff;
}
.orientation-map-heading h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}
.orientation-map-heading p {
    color: rgba(255, 255, 255, 0.72);
}
.locate-button {
    cursor: pointer;
    padding: 0.95rem 1.15rem;
    white-space: nowrap;
}
.orientation-map-shell {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    height: 620px;
    min-height: 0;
}
.orientation-panel,
.orientation-map-card {
    background: #ffffff;
    border-radius: 0.9rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}
.orientation-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 1rem;
}
.orientation-search label,
.orientation-filters label {
    color: var(--pn-blue-deep);
    display: block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}
.orientation-search-field {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ed;
    border-radius: 0.65rem;
    display: flex;
    gap: 0.65rem;
    padding: 0 0.85rem;
}
.orientation-search-field i {
    color: var(--text-muted);
}
.orientation-search-field input,
.orientation-filters select {
    background: transparent;
    border: 0;
    color: var(--text-main);
    min-height: 2.85rem;
    outline: 0;
    width: 100%;
}
.orientation-filters {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr 1fr;
    margin-top: 1rem;
}
.orientation-filters select {
    background: #f8fafc;
    border: 1px solid #dbe3ed;
    border-radius: 0.65rem;
    padding: 0 0.75rem;
}
.orientation-results-meta {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-muted);
    display: flex;
    font-size: 0.88rem;
    font-weight: 800;
    justify-content: space-between;
    margin: 1rem -1rem 0;
    padding: 0.85rem 1rem;
}
.orientation-results-meta button {
    background: transparent;
    color: var(--pn-red);
    cursor: pointer;
    font-size: 0.82rem;
    padding: 0.35rem 0;
}
.unit-list {
    display: grid;
    gap: 0.75rem;
    min-height: 0;
    margin: 0 -0.35rem;
    overflow-y: auto;
    padding: 1rem 0.35rem 0.25rem;
}
.unit-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.unit-card:hover {
    border-color: rgba(197, 160, 89, 0.6);
    box-shadow: 0 12px 28px rgba(0, 40, 85, 0.08);
    transform: translateY(-2px);
}
.unit-card-head {
    align-items: flex-start;
    display: grid;
    gap: 0.65rem;
    grid-template-columns: auto minmax(0, 1fr);
    margin-bottom: 0.75rem;
}
.unit-type-dot {
    background: var(--unit-color, var(--pn-blue-deep));
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(0, 40, 85, 0.08);
    height: 0.75rem;
    margin-top: 0.45rem;
    width: 0.75rem;
}
.unit-card h3 {
    color: var(--pn-blue-deep);
    font-size: 1rem;
    margin: 0 0 0.2rem;
}
.unit-card-head span:last-child {
    color: var(--text-muted);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}
.unit-card p {
    align-items: flex-start;
    color: var(--text-secondary);
    display: flex;
    font-size: 0.9rem;
    gap: 0.55rem;
    line-height: 1.45;
    margin: 0 0 0.45rem;
}
.unit-card p i {
    color: var(--pn-gold);
    margin-top: 0.15rem;
    width: 1rem;
}
.unit-card-actions {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 0.9rem;
}
.unit-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.4rem 0.65rem;
    text-transform: uppercase;
}
.unit-status-open {
    background: #dcfce7;
    color: #166534;
}
.unit-status-emergency_only {
    background: #ffedd5;
    color: #9a3412;
}
.unit-status-closed,
.unit-status-unknown {
    background: #fee2e2;
    color: #991b1b;
}
.unit-card-actions a {
    background: var(--pn-blue-deep);
    color: #ffffff;
    font-size: 0.82rem;
    padding: 0.65rem 0.8rem;
    white-space: nowrap;
}
.orientation-map-card {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 0.65rem;
    position: relative;
}
.orientation-map {
    border-radius: 0.65rem;
    height: 100%;
    min-height: 0;
    width: 100%;
    z-index: 1;
}
.orientation-map-status {
    background: rgba(15, 23, 42, 0.88);
    border-radius: 999px;
    bottom: 1.4rem;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    left: 50%;
    max-width: calc(100% - 2rem);
    opacity: 0;
    padding: 0.75rem 1rem;
    pointer-events: none;
    position: absolute;
    transform: translateX(-50%) translateY(0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 500;
}
.orientation-map-status:not(:empty) {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.orientation-map-status[data-type="success"] {
    background: rgba(22, 101, 52, 0.92);
}
.orientation-map-status[data-type="error"] {
    background: rgba(153, 27, 27, 0.92);
}
.unit-empty {
    align-items: center;
    color: var(--text-muted);
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    padding: 2rem 1rem;
    text-align: center;
}
.unit-empty i {
    color: var(--pn-gold);
    font-size: 1.8rem;
}
.unit-empty p {
    margin: 0;
}
.unit-empty-compact {
    align-content: center;
    min-height: 180px;
}
.unit-marker span,
.user-position-marker span {
    align-items: center;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    justify-content: center;
}
.unit-marker span {
    background: var(--unit-color, var(--pn-blue-deep));
    box-shadow: 0 8px 18px rgba(0, 40, 85, 0.24), 0 0 0 5px rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    height: 2.25rem;
    width: 2.25rem;
}
.user-position-marker span {
    background: var(--pn-red);
    box-shadow: 0 0 0 6px rgba(225, 0, 15, 0.16);
    font-size: 1rem;
    height: 2.4rem;
    width: 2.4rem;
}
.unit-popup {
    color: var(--text-main);
    font-family: 'Manrope', sans-serif;
    min-width: 230px;
}
.unit-popup strong {
    color: var(--pn-blue-deep);
    display: block;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.unit-popup-type {
    background: #e2e8f0;
    border-radius: 999px;
    color: var(--pn-blue-deep);
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 900;
    margin-bottom: 0.65rem;
    padding: 0.25rem 0.55rem;
    text-transform: uppercase;
}
.unit-popup p {
    align-items: flex-start;
    display: flex;
    gap: 0.55rem;
    line-height: 1.45;
    margin: 0 0 0.45rem;
}
.unit-popup p i {
    color: var(--pn-gold);
    margin-top: 0.2rem;
    width: 1rem;
}
.unit-route-link {
    align-items: center;
    background: var(--pn-blue-deep);
    border-radius: 999px;
    color: #ffffff !important;
    display: inline-flex;
    font-weight: 900;
    gap: 0.45rem;
    margin-top: 0.5rem;
    padding: 0.62rem 0.8rem;
}
@media (max-width: 1199px) {
    .orientation-map-shell {
        grid-template-columns: 1fr;
        height: auto;
    }
    .orientation-panel {
        height: auto;
        max-height: none;
        order: 1;
    }
    .orientation-map-card {
        min-height: 520px;
        order: 2;
    }
    .unit-list {
        max-height: 420px;
    }
}
@media (max-width: 991px) {
    .orientation-hero,
    .orientation-map-heading,
    .procedure-section-heading {
        align-items: start;
        grid-template-columns: 1fr;
    }
    .orientation-hero-glow i {
        display: none;
    }
    .orientation-quick-actions {
        justify-content: flex-start;
    }
    .locate-button {
        justify-self: start;
    }
    .procedure-summary-box {
        justify-self: start;
    }
}
@media (max-width: 767px) {
    .orientation-page {
        padding-top: 1.5rem;
    }
    .orientation-hero,
    .section-spacing {
        margin-bottom: 4rem;
    }
    .orientation-filters {
        grid-template-columns: 1fr;
    }
    .procedure-card > summary {
        min-height: 4.75rem;
        padding: 0.9rem;
    }
    .procedure-icon {
        height: 2.55rem;
        width: 2.55rem;
    }
    .orientation-map-section {
        border-radius: 0.8rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        padding: 1rem;
    }
    .orientation-map-card,
    .orientation-map {
        min-height: 430px;
    }
    .unit-card-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* --- GLASSMORPHISM CLASSES --- */
.glass-navbar {
    background: #0f172a !important; /* Fond solide exigé */
    border-bottom: 1px solid var(--glass-dark-border);
    transition: all 0.4s ease;
}

.glass-navbar.navbar-scrolled {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.glass-offcanvas {
    background: #0f172a !important; /* Fond solide exigé */
    border-left: 1px solid var(--glass-dark-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: none; /* Silent luxury: pas de bordures dures */
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: block;
    height: 100%;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08); /* Ombre douce et diffuse */
}

.glass-alert {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- NAVBAR --- */
.nav-menu .nav-link {
    font-family: 'Manrope', sans-serif;
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.85rem;
    font-weight: 400; /* Poids normal pour inactifs */
    padding: 0.25rem 0.85rem !important; /* Espacement confortable pour le fond */
    border-bottom: 2px solid transparent; /* Bordure transparente exigée */
    background-color: transparent;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}
@media (max-width: 991px) {
    .nav-menu .nav-link { 
        padding: 0.6rem 1rem !important; 
        border-bottom: 1px solid rgba(255,255,255,0.05); 
        border-radius: 0;
    }
}
.nav-menu .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(197, 160, 89, 0.03); /* Or à 3% au survol */
}
.nav-menu .nav-link.active {
    color: #ffffff !important;
    font-weight: 600 !important; /* Gras exigé */
    border-bottom: 2px solid var(--pn-gold) !important; /* Bordure basse épaisse */
    background-color: rgba(197, 160, 89, 0.08) !important; /* Fond rgba(accent,0.08) */
}

/* Boutons */
.btn-hover-fx {
    transition: all 0.3s ease;
}
.btn-hover-fx:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}
.btn-primary-pn {
    background: var(--pn-red);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(225, 0, 15, 0.3);
    transition: 0.3s;
}
.btn-primary-pn:hover {
    background: #b9000a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(225, 0, 15, 0.4);
}
.hero-cta {
    row-gap: 1rem;
}
.hero-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 58px;
    padding: 1rem 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    letter-spacing: 1px;
    line-height: 1;
}
.hero-action-btn i {
    font-size: 1rem;
}
.hero-action-btn:hover {
    border-color: rgba(255, 255, 255, 0.28);
}
@media (max-width: 575px) {
    .hero-action-btn {
        width: min(100%, 320px);
        min-width: 0;
    }
}
.btn-outline-light-pn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.btn-outline-light-pn:hover {
    background: white;
    color: var(--pn-blue-deep);
    transform: translateY(-3px);
}

/* --- HERO --- */
.hero-wrapper {
    position: relative; 
    height: 75vh;
    min-height: 400px;
    background: var(--pn-blue-deep); 
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    margin-bottom: -40px;
}
.hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.05); transition: opacity 1.5s ease, transform 10s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); /* Effet Ken Burns très doux */ }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0, 40, 85, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px;
    display: inline-block; color: rgba(255,255,255,0.7);
}
.hero-title { 
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 3.2rem); 
    line-height: 1.1; 
    color: white; 
    font-weight: 800; 
    letter-spacing: -1px;
}
@media (min-width: 992px) {
    .hero-title {
        white-space: nowrap; /* Force sur une ligne sur les grands écrans */
    }
}
.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.8;
    color: white;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* --- SEARCH FLOAT --- */
.search-float {
    position: relative;
    z-index: 50;
    margin-top: -30px;
}
.glass-search-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); /* Ombre douce */
    display: flex;
    max-width: 750px;
    margin: 0 auto;
}
.glass-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 30px;
    font-size: 1.05rem;
    font-weight: 300;
    outline: none;
    color: var(--text-main);
}
.glass-search-box button {
    background: var(--pn-blue-deep);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.glass-search-box button:hover {
    background: var(--pn-gold);
    transform: translateX(3px); /* Effet flèche discrète */
}

/* --- SERVICES (Vos démarches) - Refonte Moderne (Light Quiet Luxury) --- */
/* --- ALERTE CRISE --- */
.crisis-alert-wrap {
    position: relative;
    z-index: 60;
    margin-top: -12px;
}
.crisis-alert-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: #991b1b;
    color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 18px 45px rgba(153, 27, 27, 0.22);
}
.crisis-alert-box:hover {
    color: #ffffff;
    background: #7f1d1d;
    transform: translateY(-2px);
}
.crisis-alert-label {
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.crisis-alert-title {
    flex: 1;
    min-width: 0;
    font-weight: 700;
}
.crisis-alert-action {
    flex: 0 0 auto;
    color: #f8d98a;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .crisis-alert-box {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 0.5rem;
    }
}

.service-card-modern {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(145deg, #e2e8f0 0%, #94a3b8 100%); /* Gris perle plus soutenu (effet métal brossé) */
    border: 1px solid #ffffff; /* Bordure blanche pour l'effet de relief premium */
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 40, 85, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}
.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--pn-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 40, 85, 0.12);
    border-color: rgba(197, 160, 89, 0.3);
}
.service-card-modern:hover::before {
    transform: scaleX(1);
}
.service-icon-box {
    width: 65px; height: 65px; 
    background: rgba(197, 160, 89, 0.1); 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.5rem; color: var(--pn-gold); 
    transition: 0.5s;
    margin: 0 auto 1.5rem auto;
}
.service-card-modern:hover .service-icon-box {
    background: var(--pn-gold);
    color: #ffffff;
    transform: scale(1.1);
}
.service-card-modern h3 {
    color: var(--pn-blue-deep);
}
.service-card-modern p {
    color: var(--text-main);
}
.service-arrow {
    color: var(--pn-gold);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    font-size: 1.5rem;
    margin-top: auto;
}
.service-card-modern:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* --- ACTUALITES --- */
.news-card-modern {
    background: linear-gradient(145deg, #e2e8f0 0%, #94a3b8 100%); /* Gris perle métal brossé */
    border: 1px solid #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 40, 85, 0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 40, 85, 0.12);
    border-color: rgba(197, 160, 89, 0.3);
}
.news-card-modern h3 a {
    color: var(--pn-blue-deep);
    text-decoration: none;
    transition: 0.3s;
}
.news-card-modern h3 a:hover {
    color: var(--pn-blue-royal);
}
.news-card-modern p {
    color: var(--text-main);
}
.news-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.news-card-modern:hover .news-thumb img {
    transform: scale(1.05);
}
.news-date { color: #64748b; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.empty-news-state {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    color: #64748b;
    padding: 2rem;
}
.empty-news-state i {
    color: var(--pn-gold);
    font-size: 2rem;
}

/* --- HOME REFINEMENTS --- */
.service-card-modern {
    background: linear-gradient(145deg, rgba(0, 40, 85, 0.96) 0%, rgba(15, 23, 42, 0.98) 62%, rgba(4, 26, 41, 0.98) 100%);
    border-color: rgba(197, 160, 89, 0.24);
    box-shadow: 0 18px 45px rgba(0, 40, 85, 0.14);
}
.service-card-modern::before {
    background: linear-gradient(90deg, var(--pn-red), var(--pn-gold));
}
.service-card-modern::after {
    content: '';
    position: absolute;
    inset: auto -30% -45% -30%;
    height: 75%;
    background: radial-gradient(circle at center, rgba(197, 160, 89, 0.18), rgba(197, 160, 89, 0));
    pointer-events: none;
}
.service-card-modern:hover {
    box-shadow: 0 28px 55px rgba(0, 40, 85, 0.24);
    border-color: rgba(197, 160, 89, 0.45);
}
.service-icon-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.35);
}
.service-card-modern:hover .service-icon-box {
    color: var(--pn-blue-deep);
}
.service-card-modern h3 {
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.service-card-modern p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.service-arrow {
    position: relative;
    z-index: 1;
}
.news-card-modern {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #eef4fb 100%);
    border-color: rgba(0, 40, 85, 0.08);
    box-shadow: 0 12px 34px rgba(0, 40, 85, 0.08);
}
.news-card-modern:hover {
    box-shadow: 0 22px 48px rgba(0, 40, 85, 0.16);
    border-color: rgba(197, 160, 89, 0.45);
}
.news-card-modern h3 {
    color: var(--pn-blue-deep);
}
.news-thumb {
    background: var(--pn-blue-deep);
}
.news-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 40, 85, 0) 45%, rgba(0, 40, 85, 0.22) 100%);
    pointer-events: none;
}
.news-date {
    color: var(--pn-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.7px;
}

/* --- DIRECTEUR (Style Institutionnel) --- */
.director-section {
    position: relative;
}
.director-magazine-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 58%, rgba(238, 244, 251, 0.98) 100%);
    border: 1px solid rgba(0, 40, 85, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 24px 70px rgba(0, 40, 85, 0.08);
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 3rem) clamp(1rem, 3vw, 2.5rem);
    position: relative;
}
.director-magazine-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--pn-red), var(--pn-gold));
}
.director-heading {
    position: relative;
}
.director-kicker {
    color: var(--pn-red);
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.director-title {
    color: var(--pn-blue-deep);
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
}
.director-heading::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 1.35rem;
    background: linear-gradient(90deg, var(--pn-gold), rgba(197, 160, 89, 0));
}
.director-quote-wrapper {
    position: relative;
    padding: 1.35rem 1.5rem 1.35rem 2rem;
    background: rgba(0, 40, 85, 0.04);
    border-left: 4px solid var(--pn-gold);
    border-radius: 0 1rem 1rem 0;
}
.director-quote-icon {
    color: rgba(197, 160, 89, 0.32);
    font-size: 2.2rem;
    left: 1rem;
    position: absolute;
    top: 0.85rem;
}
.quote-text {
    color: #334155;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-style: italic;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}
.director-signature {
    border-top: 1px solid rgba(0, 40, 85, 0.1);
    padding-top: 1.25rem;
}
.director-name {
    color: var(--pn-blue-deep);
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}
.director-role {
    color: #64748b;
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
}
.director-link {
    color: var(--pn-blue-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.78rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(197, 160, 89, 0.7);
    transition: all 0.3s ease;
}
.director-link i {
    font-size: 0.7rem;
}
.director-link:hover {
    color: var(--pn-red);
    border-color: var(--pn-red);
    gap: 0.45rem;
}
.director-image-wrapper {
    background: #ffffff;
    border: 1px solid rgba(0, 40, 85, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 32px 70px rgba(0, 40, 85, 0.14) !important;
    padding: clamp(0.65rem, 1.6vw, 1rem);
    position: relative;
}
.director-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 1rem -0.65rem -0.65rem 1.8rem;
    border: 1px solid rgba(197, 160, 89, 0.36);
    border-radius: 1.25rem;
    z-index: -1;
}
.director-image-box {
    aspect-ratio: 4 / 5;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}
.director-image-box img {
    width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
@media (max-width: 991px) {
    .director-magazine-card {
        padding: 1.5rem;
    }
    .director-image-box {
        aspect-ratio: 16 / 10;
        min-height: 320px;
    }
}
@media (max-width: 575px) {
    .director-magazine-card {
        border-radius: 0.9rem;
        padding: 1.25rem;
    }
    .director-quote-wrapper {
        padding: 1.15rem 1rem 1.15rem 1.25rem;
    }
    .director-image-box {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }
    .director-image-wrapper::after {
        display: none;
    }
}

/* --- FOOTER MULTI-COLONNES --- */
.main-footer {
    background: #02121c; /* Bleu marin très profond inspiré de l'image */
    color: white;
}
.footer-title {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0;
    text-transform: uppercase;
}
.footer-dropdown-container {
    position: relative;
}
.footer-dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.25rem 0.85rem;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease;
}
.footer-dropdown-trigger:hover {
    color: var(--pn-gold);
    background: rgba(255,255,255,0.03);
}
.footer-dropdown-menu {
    position: absolute;
    bottom: 100%; /* Aligné juste au-dessus du titre */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Position initiale légèrement abaissée */
    background: #041a29; /* Fond distinct pour le menu */
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 20px 0;
    min-width: 220px;
    text-align: center; /* Texte parfaitement centré à l'intérieur */
    box-shadow: 0 -15px 40px rgba(0,0,0,0.6); /* Ombre dirigée vers le haut */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}
.footer-dropdown-container:hover .footer-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px); /* Glisse vers le haut au survol */
}
@media (max-width: 991px) {
    .footer-dropdown-menu {
        position: relative;
        top: auto; left: auto; transform: none;
        box-shadow: none; border: none; background: transparent;
        padding: 10px 0;
        display: none;
    }
    .footer-dropdown-container:hover .footer-dropdown-menu,
    .footer-dropdown-container:active .footer-dropdown-menu {
        display: block;
        opacity: 1; visibility: visible;
    }
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--pn-gold);
}
.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 1.2rem;
    color: white;
    transition: transform 0.3s ease;
}
.footer-social-icon.facebook { background: #007bb5; }
.footer-social-icon.twitter { background: #f26522; } /* Orange type RSS/Twitter from image */
.footer-social-icon.youtube { background: #e52d27; }
.footer-social-icon:hover {
    transform: translateY(-3px);
    color: white;
}

/* Menu déroulant au survol */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ANIMATIONS (Fade-in au scroll) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
