/* ===================================================
   ENGLISH ERA - Stylesheet Principal
   Version dynamisée avec animations et interactions
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES ===== */
:root {
    --navy: #1a2456;
    --navy-light: #2a3a7a;
    --navy-dark: #0f1535;
    --red: #9b1c1c;
    --red-light: #c0392b;
    --red-dark: #7a1515;
    --gold: #c9a84c;
    --gold-light: #e8d48a;
    --white: #ffffff;
    --off-white: #f8f7f4;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --shadow: 0 4px 24px rgba(26, 36, 86, 0.10);
    --shadow-lg: 0 16px 48px rgba(26, 36, 86, 0.16);
    --shadow-xl: 0 24px 72px rgba(26, 36, 86, 0.20);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 9999px;
}

/* ===== CONFIDENTIALITE ET COOKIES ===== */
.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 1rem 0 1.25rem;
    color: var(--gray);
    font-size: 0.84rem;
    line-height: 1.5;
}
.privacy-consent input { width: 18px; height: 18px; margin-top: 0.12rem; flex: 0 0 auto; }
.privacy-consent a, .footer-legal a { color: inherit; text-decoration: underline; }
.privacy-consent-compact { margin: 0.75rem 0 0; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem 1rem; margin-top: 0.65rem; font-size: 0.78rem; }
.cookie-banner { position: fixed; z-index: 10000; left: 1rem; right: 1rem; bottom: 1rem; max-width: 980px; margin: auto; padding: 1rem 1.1rem; color: #fff; background: var(--navy); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-banner strong { display: block; margin-bottom: .25rem; }
.cookie-banner p { margin: 0; max-width: 620px; font-size: .84rem; line-height: 1.45; color: rgba(255,255,255,.85); }
.cookie-banner-actions { display: flex; gap: .5rem; flex: 0 0 auto; }
.cookie-banner .btn { border: 1px solid rgba(255,255,255,.5); padding: .65rem .85rem; font-size: .8rem; }
.cookie-refuse, .cookie-customize { background: transparent; color: #fff; }
.legal-page { min-height: 70vh; padding: 7rem 0 4rem; background: var(--off-white); }
.legal-shell { max-width: 900px; }
.legal-header { margin-bottom: 2rem; }
.legal-header h1 { color: var(--navy); font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); }
.legal-header p { color: var(--gray); line-height: 1.7; }
.legal-card { padding: clamp(1.25rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--gray-light); border-radius: 16px; box-shadow: var(--shadow); }
.legal-card section + section { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-light); }
.legal-card h2 { margin-bottom: .65rem; color: var(--navy); font-size: 1.25rem; }
.legal-card p, .legal-card li { color: var(--gray); line-height: 1.7; }
.legal-card ul { padding-left: 1.2rem; }
.legal-note { padding: .9rem 1rem; background: var(--off-white); border-left: 3px solid var(--red); }
.cookie-settings-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }

@media (max-width: 680px) {
    .cookie-banner { left: .65rem; right: .65rem; bottom: max(.65rem, env(safe-area-inset-bottom)); }
    .cookie-banner-content { align-items: stretch; flex-direction: column; }
    .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-banner-actions .btn-primary { grid-column: 1 / -1; }
    .cookie-banner .btn { justify-content: center; text-align: center; }
    .legal-page { padding-top: 5.5rem; }
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: #1f2937;
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--off-white);
}
::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--navy-light);
}

/* ===== UTILITAIRES ===== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--navy);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-title span {
    color: var(--red);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    opacity: 0.4;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    margin-top: 0.75rem;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.75;
}

.section.bg-light {
    background: var(--off-white);
}

.section.bg-navy {
    background: var(--navy);
    color: var(--white);
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.01em;
    min-height: 50px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: var(--transition);
}

.btn:hover::after {
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(155, 28, 28, 0.30);
}

.btn-primary:hover {
    background: var(--red-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(155, 28, 28, 0.40);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 36, 86, 0.25);
}

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

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.40);
}

.btn:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none !important;
}

/* ===== SPINNER ===== */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.spinner-dark {
    border-color: rgba(26, 36, 86, 0.2);
    border-top-color: var(--navy);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}
.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}
.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}
.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--red);
    color: var(--white);
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmer 4s ease-in-out infinite;
    background-size: 200% 100%;
}

.announcement-bar strong {
    font-weight: 700;
}

.announcement-bar a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.announcement-bar a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 36, 86, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    height: 72px;
}

.navbar.scrolled {
    background: rgba(26, 36, 86, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
    border-color: var(--gold);
    transform: scale(1.05);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.nav-logo-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.01em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: var(--radius-sm) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--red-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(155, 28, 28, 0.35);
}

/* ===== DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--navy) !important;
    padding: 0.6rem 1.25rem !important;
    background: transparent !important;
    font-size: 0.85rem !important;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    background: var(--off-white) !important;
    color: var(--red) !important;
}

.nav-dropdown-menu a .dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    z-index: 999;
    padding: 1.5rem 1.5rem 3rem;
    overflow-y: auto;
    transform: translateX(0);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ===== PAGES D'ERREUR ===== */
.error-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: radial-gradient(circle at 80% 20%, rgba(155, 28, 28, .12), transparent 24rem), linear-gradient(145deg, var(--navy-dark), var(--navy));
}
.error-page-card { width: min(620px, 100%); padding: clamp(1.5rem, 6vw, 3rem); text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-xl); }
.error-page-brand { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; color: var(--navy); font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.error-page-brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.error-page-code { margin-bottom: .5rem; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.error-page-card h1 { margin-bottom: 1rem; color: var(--navy); font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.1; }
.error-page-card > p:not(.error-page-code) { max-width: 500px; margin: 0 auto; color: var(--gray); }
.error-page-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 480px) { .error-page-actions { display: grid; } .error-page-actions .btn { width: 100%; justify-content: center; } }

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    transform: translateX(4px);
}

.mobile-menu a i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    color: var(--gold);
}

.mobile-menu .mobile-section-title {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1rem 1rem 0.25rem;
    font-weight: 700;
}

/* ===== HERO ===== */
.hero {
    min-height: 92svh;
    background:
        radial-gradient(circle at 82% 18%, rgba(201, 168, 76, 0.14), transparent 24rem),
        radial-gradient(circle at 12% 82%, rgba(155, 28, 28, 0.20), transparent 28rem),
        linear-gradient(140deg, #111a42 0%, var(--navy) 52%, #0c122c 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 9rem 0 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(155, 28, 28, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
}

.hero-deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.hero-deco-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -80px;
    animation: float 8s ease-in-out infinite;
}

.hero-deco-2 {
    width: 180px;
    height: 180px;
    bottom: 20px;
    left: -60px;
    border-color: rgba(201, 168, 76, 0.10);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.035em;
    max-width: 720px;
}

.hero-title em {
    color: var(--gold);
    font-style: normal;
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    opacity: 0.3;
}

.hero-description {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    margin-top: 3rem;
}

.hero-stats>div {
    padding: 1.25rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.hero-stats>div:last-child {
    border-right: 0;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
}

/* ===== HERO IMAGE ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.3s forwards;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -18px 22px 22px -18px;
    border: 1px solid rgba(201, 168, 76, 0.30);
    border-radius: 32px;
    z-index: 0;
}

.hero-img-main {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
    transition: var(--transition-slow);
}

.hero-img-main:hover {
    transform: scale(1.02);
}

.hero-img-placeholder {
    width: 100%;
    height: 520px;
    background: linear-gradient(135deg, rgba(42, 58, 122, 0.8) 0%, rgba(155, 28, 28, 0.6) 100%);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-align: center;
    gap: 1rem;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 1;
}

.hero-img-placeholder .icon {
    font-size: 3.5rem;
    opacity: 0.3;
}

.hero-card-overlay {
    position: absolute;
    bottom: -1.5rem;
    left: -2rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.35rem 1.6rem;
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    z-index: 2;
    border: 1px solid rgba(26, 36, 86, 0.06);
}

.hero-card-overlay .label {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.hero-card-overlay .value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
}

.hero-card-overlay .tag {
    display: inline-block;
    background: rgba(155, 28, 28, 0.08);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-full);
    margin-top: 0.3rem;
}

/* ===== ATOUTS ===== */
.atouts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.atout-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(26, 36, 86, 0.06);
    border: 1px solid rgba(26, 36, 86, 0.07);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 245px;
}

.atout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.atout-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.atout-card:hover::before {
    transform: scaleX(1);
}

.atout-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(145deg, rgba(155, 28, 28, 0.12), rgba(201, 168, 76, 0.10));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--red);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.atout-card:hover .atout-icon {
    transform: scale(1.05) rotate(-3deg);
}

.atout-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.atout-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== FILIÈRES ===== */
.filieres-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filieres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.filiere-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26, 36, 86, 0.07);
    border: 1px solid rgba(26, 36, 86, 0.06);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.filiere-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.filiere-card-img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.filiere-card:hover .filiere-card-img {
    transform: scale(1.04);
}

.filiere-card-img-placeholder {
    width: 100%;
    height: 215px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.5s ease;
}

.filiere-card:hover .filiere-card-img-placeholder {
    transform: scale(1.04);
}

.filiere-card-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.filiere-card-tag {
    display: inline-block;
    background: rgba(26, 36, 86, 0.06);
    color: var(--navy);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.filiere-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.filiere-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.filiere-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.82rem;
}

.filiere-card-arrow {
    color: var(--red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.filiere-card:hover .filiere-card-arrow {
    gap: 0.6rem;
}

.filiere-levels {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.level-badge {
    background: var(--off-white);
    color: var(--navy);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
}

/* ===== FRAIS ===== */
.frais-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.frais-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: 0 18px 55px rgba(26, 36, 86, 0.08);
    border: 1px solid var(--gray-light);
}

.frais-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.9rem;
}

.frais-table thead {
    background: var(--navy);
    color: var(--white);
}

.frais-table thead th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.frais-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: background 0.2s ease;
}

.frais-table tbody tr:hover {
    background: var(--off-white);
}

.frais-table td {
    padding: 1.2rem 1.5rem;
    color: #374151;
}

.frais-table td:first-child {
    font-weight: 600;
    color: var(--navy);
}

.frais-section-title {
    background: rgba(26, 36, 86, 0.04);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
    font-weight: 700;
}

.frais-section-title td {
    padding: 0.6rem 1.5rem;
    color: var(--gray) !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
}

.tenue-note {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    font-size: 0.88rem;
    color: #92400e;
    box-shadow: 0 5px 18px rgba(26, 36, 86, 0.05);
}

/* ===== ADMISSION ===== */
.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.admission-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admission-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e9edf4;
    border-radius: var(--radius);
    box-shadow: 0 5px 18px rgba(26, 36, 86, 0.04);
    transition: var(--transition);
}

.admission-step:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.step-num {
    width: 42px;
    height: 42px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(155, 28, 28, 0.22);
}

.step-content h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.step-content p {
    font-size: 0.87rem;
    color: var(--gray);
    line-height: 1.6;
}

.docs-card {
    background: #fff;
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.docs-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.docs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.docs-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #374151;
}

.docs-list li::before {
    content: '✓';
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.docs-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(201, 168, 76, 0.10);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.82rem;
    color: #92400e;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(2rem, 7vw, 6rem);
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem;
    margin-bottom: 0.25rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.contact-item:hover {
    background: #fff;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(26, 36, 86, 0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--navy);
    flex-shrink: 0;
}

.contact-item-body h4 {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.88rem;
    margin-bottom: 0.1rem;
}

.contact-item-body p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

.contact-item-body a {
    color: var(--red);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item-body a:hover {
    color: var(--red-dark);
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(26, 36, 86, 0.08);
    border: 1px solid rgba(26, 36, 86, 0.06);
}

.contact-form h3 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ===== FORMULAIRES ===== */
.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #1f2937;
    transition: var(--transition);
    background: #fcfdff;
    outline: none;
    min-height: 50px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(26, 36, 86, 0.06);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-msg {
    display: none;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.form-msg.success {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.20);
    display: block;
}

.form-msg.error {
    background: rgba(239, 68, 68, 0.06);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.15);
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: #0d1225;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand img {
    height: 48px;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: var(--transition);
    z-index: 500;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red);
    transform: translateY(-4px);
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    background: #25d366;
    color: var(--white);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    z-index: 500;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-visual {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .admission-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .atouts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-page { padding: 6rem 0 3rem !important; }
    .contact-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .contact-form-row { grid-template-columns: 1fr !important; }
    .container {
        padding: 0 1.25rem;
    }
    .section {
        padding: 4rem 0;
    }
    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }
    .hero-stats>div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1rem 0.75rem;
    }
    .hero-stats>div:nth-child(2) {
        border-right: 0;
    }
    .atouts-grid {
        grid-template-columns: 1fr;
    }
    .atout-card {
        min-height: auto;
    }
    .filieres-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .filiere-card-img,
    .filiere-card-img-placeholder {
        height: 190px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .frais-table thead th,
    .frais-table td {
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
    }
    .back-to-top,
    .wa-float {
        right: 1rem;
    }
    .wa-float {
        bottom: 5rem;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .back-to-top {
        bottom: 1.5rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-info-grid { grid-template-columns: 1fr !important; }
    .container {
        padding: 0 1rem;
    }
    .section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero {
        padding: 7rem 0 3rem;
    }
    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    .hero-stat-num {
        font-size: 1.2rem;
    }
    .hero-stat-label {
        font-size: 0.65rem;
    }
    .hero-card-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        min-width: auto;
        width: 100%;
    }
    .hero-image-frame::before {
        display: none;
    }
    .hero-img-main,
    .hero-img-placeholder {
        height: 280px;
        border-radius: 16px;
    }
    .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.25rem;
        min-height: 44px;
    }
    .contact-form {
        padding: 1.5rem;
    }
    .frais-table thead th,
    .frais-table td {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    .tenue-note {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    .admission-step {
        padding: 1rem;
    }
    .step-num {
        width: 34px;
        height: 34px;
        font-size: 0.75rem;
    }
    .step-content h4 {
        font-size: 0.95rem;
    }
    .step-content p {
        font-size: 0.8rem;
    }
    .docs-card {
        padding: 1.25rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .nav-logo-text {
        font-size: 1rem;
    }
    .nav-logo-text small {
        font-size: 0.45rem;
    }
    .nav-logo-img {
        height: 36px;
        width: 36px;
    }
}

/* ===== PRINT ===== */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .wa-float,
    .mobile-menu,
    .announcement-bar {
        display: none !important;
    }
    body {
        padding-top: 0 !important;
    }
    .section {
        padding: 2rem 0 !important;
    }
    .hero {
        min-height: auto !important;
        padding: 2rem 0 !important;
        background: #fff !important;
        color: #000 !important;
    }
    .hero-title {
        color: #000 !important;
    }
    .hero-title em {
        color: var(--red) !important;
    }
    .hero-description {
        color: #333 !important;
    }
    .hero-badge {
        display: none !important;
    }
    .hero-stats {
        background: #f5f5f5 !important;
        border-color: #ddd !important;
    }
    .hero-stat-num {
        color: #000 !important;
    }
    .hero-stat-label {
        color: #666 !important;
    }
    .btn {
        display: none !important;
    }
    .filiere-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .filiere-card:hover {
        transform: none !important;
    }
    .atout-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .atout-card:hover {
        transform: none !important;
    }
    .frais-table-wrapper {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .frais-table thead {
        background: #333 !important;
    }
}

/* ===== REQUIRED FIELDS ===== */
.required {
    color: var(--red);
    font-weight: 700;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ===== MOBILE CTA ===== */
.mobile-cta {
    color: #f87171 !important;
    font-weight: 700 !important;
    background: rgba(248, 113, 113, 0.08) !important;
    border: 1px solid rgba(248, 113, 113, 0.2) !important;
    border-radius: var(--radius-sm) !important;
}

.mobile-cta:hover {
    background: rgba(248, 113, 113, 0.15) !important;
    color: #fca5a5 !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
}

/* ===== FILIERE EXPLORE ===== */
.filiere-explore {
    margin-top: 4rem;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #e7ebf2;
    border-radius: var(--radius);
}

.filiere-explore h2 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.explore-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.explore-tag {
    font-size: 0.82rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-full) !important;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .filiere-explore {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .explore-tags {
        gap: 0.5rem;
    }

    .explore-tag {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.75rem !important;
    }

    .filiere-hero-content h1 {
        font-size: clamp(2rem, 8vw, 2.8rem) !important;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .filiere-hero {
        padding: 7rem 0 3rem !important;
    }

    .filiere-content {
        padding: 2rem 0 !important;
    }

    .filiere-section {
        padding: 1.2rem !important;
        border-radius: var(--radius-sm) !important;
    }

    .filiere-section h2 {
        font-size: 1.1rem !important;
    }

    .matieres-grid {
        grid-template-columns: 1fr !important;
    }

    .sidebar-card {
        padding: 1.2rem !important;
    }

    .sidebar-cta {
        padding: 1.5rem !important;
    }

    .filiere-explore {
        padding: 1.2rem;
    }

    .filiere-explore h2 {
        font-size: 1.1rem;
    }

    .explore-tag {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.6rem !important;
    }
}

/* ===== NAV DROPDOWN CHEVRON ===== */
.nav-dropdown>a .ri-arrow-down-s-line {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover>a .ri-arrow-down-s-line {
    transform: rotate(180deg);
}

/* ===== ANNOUNCEMENT BAR ICON ===== */
.announcement-bar a .ri-arrow-right-line {
    display: inline-block;
    transition: transform 0.25s ease;
}

.announcement-bar a:hover .ri-arrow-right-line {
    transform: translateX(4px);
}

/* ===== FILIERE COVER IMAGE ===== */
.filiere-cover,
.filiere-cover-placeholder {
    width: 100%;
    height: 320px;
    border-radius: var(--radius);
    object-fit: cover;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .filiere-cover,
    .filiere-cover-placeholder {
        height: 220px !important;
        border-radius: var(--radius-sm) !important;
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .filiere-cover,
    .filiere-cover-placeholder {
        height: 180px !important;
        font-size: 2.5rem;
        border-radius: var(--radius-sm) !important;
    }
}

/* ===== FILIERE HERO ===== */
.filiere-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #0f1535 100%);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.filiere-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(155, 28, 28, 0.15) 0%, transparent 60%);
}

.filiere-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.filiere-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.filiere-hero-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
}

.filiere-hero-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.filiere-hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

/* ===== FILIERE CONTENT ===== */
.filiere-content {
    padding: 3rem 0 4rem;
    background: #f7f9fc;
}

.filiere-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}

.filiere-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filiere-cover,
.filiere-cover-placeholder {
    width: 100%;
    height: 300px;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow);
}

.filiere-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.filiere-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px rgba(26, 36, 86, 0.06);
    border: 1px solid #e7ebf2;
}

.filiere-section h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.filiere-section h2::before {
    content: '';
    width: 4px;
    height: 1.2em;
    background: var(--red);
    border-radius: 2px;
}

.filiere-section p {
    line-height: 1.8;
    color: #374151;
}

/* ===== MATIERES ===== */
.matieres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.matiere-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: #374151;
}

.matiere-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

/* ===== DEBOUCHES ===== */
.debouches-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.debouche-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--red);
    transition: var(--transition);
}

.debouche-item:hover {
    background: rgba(155, 28, 28, 0.04);
    transform: translateX(4px);
}

.debouche-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    color: var(--red);
}

.debouche-body h4 {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.debouche-body p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== SIDEBAR ===== */
.filiere-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(26, 36, 86, 0.06);
    border: 1px solid #e7ebf2;
}

.sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-frais-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.85rem;
}

.sidebar-frais-row:last-of-type {
    border-bottom: none;
}

.sidebar-frais-row .label {
    color: var(--gray);
}

.sidebar-frais-row .amount {
    font-weight: 600;
    color: var(--navy);
}

.sidebar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.sidebar-link:hover {
    gap: 0.6rem;
}

.sidebar-cta {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    color: var(--white);
}

.sidebar-cta h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.sidebar-cta p {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ===== EXPLORER ===== */
.filiere-explore {
    margin-top: 2.5rem;
    padding: 2rem 2.5rem;
    background: var(--white);
    border: 1px solid #e7ebf2;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(26, 36, 86, 0.06);
}

.filiere-explore h2 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 700;
}

/* ===== RESPONSIVE FILIERE ===== */
@media (max-width: 1024px) {
    .filiere-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .filiere-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .filiere-hero {
        padding: 7rem 0 3rem;
    }
    .filiere-hero-content h1 {
        font-size: 2.2rem;
    }
    .filiere-hero-content p {
        font-size: 0.95rem;
    }

    .filiere-content {
        padding: 2rem 0 3rem;
    }

    .filiere-cover,
    .filiere-cover-placeholder {
        height: 220px;
        border-radius: var(--radius-sm);
    }

    .filiere-section {
        padding: 1.25rem 1.25rem;
    }
    .filiere-section h2 {
        font-size: 1.1rem;
    }

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

    .filiere-sidebar {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sidebar-card {
        padding: 1.25rem;
    }
    .sidebar-cta {
        padding: 1.25rem;
    }

    .filiere-explore {
        padding: 1.25rem 1.25rem;
        margin-top: 1.5rem;
    }
    .filiere-explore h2 {
        font-size: 1.1rem;
    }

    .debouche-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .filiere-hero {
        padding: 6rem 0 2.5rem;
    }
    .filiere-hero-content h1 {
        font-size: 1.8rem;
    }
    .filiere-hero-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.7rem;
    }

    .filiere-cover,
    .filiere-cover-placeholder {
        height: 180px;
    }

    .filiere-section {
        padding: 1rem;
        border-radius: var(--radius-sm);
    }
    .filiere-section h2 {
        font-size: 1rem;
    }

    .sidebar-card {
        padding: 1rem;
    }
    .sidebar-cta {
        padding: 1rem;
    }

    .filiere-explore {
        padding: 1rem;
    }
    .filiere-explore h2 {
        font-size: 1rem;
    }
    .filiere-explore .btn-outline {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.7rem !important;
    }
}

/* ===================================================
   SERVICES - DEMANDE DE SERVICE & AUTRES SERVICES
   =================================================== */

/* ===== DEMANDE DE SERVICE ===== */
.service-request {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background: var(--off-white);
    min-height: 80vh;
}

.service-request-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.service-request-badge {
    display: inline-block;
    background: rgba(155, 28, 28, 0.1);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.service-request-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.service-request-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.service-request-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

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

.service-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.service-form-group.full-width {
    grid-column: 1 / -1;
}

.service-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.01em;
}

.service-form-group label .required {
    color: var(--red);
    font-weight: 700;
}

.service-form-group input,
.service-form-group select,
.service-form-group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #1f2937;
    transition: var(--transition);
    background: #fcfdff;
    outline: none;
}

.service-form-group input:focus,
.service-form-group select:focus,
.service-form-group textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(26, 36, 86, 0.06);
    background: var(--white);
}

.service-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.service-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.service-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.9rem !important;
    font-size: 1rem !important;
}

.service-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
}

.service-note i {
    color: var(--gold);
    margin-right: 0.3rem;
}

.service-msg {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-msg.success {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.service-msg.error {
    background: rgba(239, 68, 68, 0.06);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* ===== AUTRES SERVICES ===== */
.services-page {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--off-white);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-badge {
    display: inline-block;
    background: rgba(155, 28, 28, 0.1);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.services-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.services-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

.services-offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1120px;
    margin: 0 auto;
}

/* ===== SERVICE OFFER CARD ===== */
.service-offer-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.service-offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-offer-header {
    padding: 2rem 1.75rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.service-offer-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.3rem;
}

.service-offer-header h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 700;
}

.service-offer-header h2 i {
    margin-right: 0.3rem;
}

.service-offer-header p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

.service-offer-letter {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.08);
    font-weight: 900;
}

.service-offer-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.service-offer-desc {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* ===== FORMULE ITEMS ===== */
.service-formule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    margin-bottom: 0.6rem;
}

.service-formule-item div:first-child {
    display: flex;
    flex-direction: column;
}

.service-formule-item strong {
    font-size: 0.85rem;
    color: var(--navy);
}

.service-formule-item strong i {
    margin-right: 0.3rem;
}

.service-formule-item span {
    font-size: 0.75rem;
    color: var(--gray);
}

.service-formule-item .service-prix {
    font-weight: 800;
    color: var(--red);
    font-size: 1rem;
}

.service-formule-item .service-prix-label {
    font-size: 0.65rem;
    color: #999;
    display: block;
    text-align: right;
}

.service-formule-special {
    background: var(--navy);
    margin-bottom: 1.25rem;
}

.service-formule-special strong {
    color: var(--white);
}

.service-formule-special span {
    color: rgba(255, 255, 255, 0.65);
}

.service-formule-special .service-prix {
    color: #e8b4b4;
}

.service-formule-special .service-prix-label {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SERVICE FEATURES ===== */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
}

.service-feature i {
    font-size: 1.1rem;
    color: var(--navy);
    flex-shrink: 0;
}

.service-feature div {
    display: flex;
    flex-direction: column;
}

.service-feature strong {
    font-size: 0.82rem;
    color: var(--navy);
}

.service-feature span {
    font-size: 0.72rem;
    color: var(--gray);
}

/* ===== SERVICE OFFER ACTIONS ===== */
.service-offer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.service-offer-actions .btn {
    width: 100%;
    justify-content: center;
}

.service-offer-link {
    display: block;
    text-align: center;
    color: var(--navy);
    padding: 0.6rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.84rem;
    transition: var(--transition);
}

.service-offer-link:hover {
    color: var(--red);
}

.service-offer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.service-offer-links a {
    text-align: center;
    color: var(--navy);
    padding: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.service-offer-links a:hover {
    background: rgba(26, 36, 86, 0.08);
    color: var(--red);
}

/* ===== RESPONSIVE SERVICES ===== */
@media (max-width: 1024px) {
    .services-offers-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .service-request {
        padding: 2rem 0 3rem;
    }

    .service-request-card {
        padding: 1.25rem;
        border-radius: var(--radius-sm);
    }

    .service-form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .service-form-group.full-width {
        grid-column: 1;
    }

    .service-submit {
        font-size: 0.9rem !important;
        padding: 0.7rem !important;
    }

    .service-offer-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .service-offer-header h2 {
        font-size: 1.2rem;
    }
    .service-offer-body {
        padding: 1.25rem;
    }
    .service-offer-letter {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }

    .service-formule-item {
        padding: 0.6rem 0.8rem;
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    .service-formule-item div:last-child {
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }
    .service-formule-item .service-prix-label {
        display: inline;
        text-align: left;
    }

    .service-features {
        gap: 0.4rem;
    }
    .service-feature {
        padding: 0.5rem 0.8rem;
    }
    .service-feature i {
        font-size: 1rem;
    }
    .service-feature strong {
        font-size: 0.78rem;
    }
    .service-feature span {
        font-size: 0.68rem;
    }

    .service-offer-links {
        grid-template-columns: 1fr;
    }
    .service-offer-links a {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
}

@media (max-width: 480px) {
    .services-header h1 {
        font-size: 1.8rem;
    }
    .services-header p {
        font-size: 0.9rem;
    }

    .service-request-header h1 {
        font-size: 1.8rem;
    }
    .service-request-header p {
        font-size: 0.9rem;
    }

    .service-request-card {
        padding: 1rem;
        border-radius: var(--radius-sm);
    }

    .service-form-group input,
    .service-form-group select,
    .service-form-group textarea {
        font-size: 0.85rem;
        padding: 0.6rem 0.7rem;
    }
    .service-form-group label {
        font-size: 0.75rem;
    }

    .service-offer-header {
        padding: 1.25rem 1rem 1rem;
    }
    .service-offer-header h2 {
        font-size: 1.1rem;
    }
    .service-offer-header p {
        font-size: 0.75rem;
    }
    .service-offer-body {
        padding: 1rem;
    }
    .service-offer-letter {
        font-size: 2rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    .service-formule-item {
        padding: 0.5rem 0.6rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }
    .service-formule-item div:last-child {
        justify-content: space-between;
    }
    .service-formule-item strong {
        font-size: 0.8rem;
    }
    .service-formule-item span {
        font-size: 0.7rem;
    }
    .service-formule-item .service-prix {
        font-size: 0.9rem;
    }

    .service-feature {
        padding: 0.4rem 0.6rem;
        gap: 0.5rem;
    }
    .service-feature i {
        font-size: 0.9rem;
    }
    .service-feature strong {
        font-size: 0.75rem;
    }
    .service-feature span {
        font-size: 0.65rem;
    }

    .service-offer-actions .btn {
        font-size: 0.8rem !important;
        padding: 0.6rem !important;
    }
    .service-offer-link {
        font-size: 0.78rem;
        padding: 0.4rem;
    }
}

/* ===================================================
   SUIVI DE DOSSIER
   =================================================== */

.suivi-page {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background: var(--off-white);
    min-height: 80vh;
}

.suivi-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.suivi-badge {
    display: inline-block;
    background: rgba(26, 36, 86, 0.08);
    color: var(--navy);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.suivi-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.suivi-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SUIVI MESSAGES ===== */
.suivi-msg {
    max-width: 900px;
    margin: 0 auto 1.25rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.suivi-msg.success {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.suivi-msg.error {
    background: rgba(239, 68, 68, 0.06);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* ===== SUIVI CARD ===== */
.suivi-card {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

.suivi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-light);
}

.suivi-card-header h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 700;
    margin: 0;
}

.suivi-card-header .card-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--off-white);
    color: var(--gray);
    font-weight: 500;
}

/* ===== SUIVI STATUS ===== */
.suivi-status {
    display: inline-block;
    padding: 0.35rem 1.2rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--gray-light);
    color: var(--navy);
    letter-spacing: 0.02em;
}

.suivi-status.nouveau {
    background: #e8f0fe;
    color: #1a56db;
}

.suivi-status.en_traitement {
    background: #fef3c7;
    color: #92400e;
}

.suivi-status.accepte {
    background: #d1fae5;
    color: #065f46;
}

.suivi-status.refuse {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== SUIVI DETAILS ===== */
.suivi-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.suivi-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.3rem 0;
}

.suivi-detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    font-weight: 600;
}

.suivi-detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
}

/* ===== ADMIN MESSAGE ===== */
.suivi-admin-message {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: var(--off-white);
    border-left: 4px solid var(--navy);
    border-radius: var(--radius-sm);
}

.suivi-admin-message i {
    font-size: 1.2rem;
    color: var(--navy);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.suivi-admin-message strong {
    display: block;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.suivi-admin-message p {
    font-size: 0.88rem;
    color: #374151;
    margin: 0;
    line-height: 1.6;
}

/* ===== FICHE INFO ===== */
.suivi-fiche-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(201, 168, 76, 0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 168, 76, 0.2);
    font-size: 0.88rem;
    color: #92400e;
}

.suivi-fiche-info i {
    font-size: 1.2rem;
    color: var(--gold);
    flex-shrink: 0;
}

/* ===== DOCUMENTS ===== */
.suivi-documents {
    padding-bottom: 0.5rem;
}

.suivi-empty {
    text-align: center;
    color: var(--gray);
    padding: 1.5rem 0;
    font-size: 0.95rem;
}

/* ===== DOCUMENT ITEM ===== */
.suivi-document-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-light);
}

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

.suivi-document-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suivi-document-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suivi-document-title i {
    font-size: 1.1rem;
    color: var(--navy);
}

.suivi-document-title strong {
    font-size: 0.95rem;
    color: var(--navy);
}

.suivi-doc-status {
    display: inline-block;
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--gray-light);
    color: var(--gray);
}

.suivi-doc-status.demande {
    background: #e8f0fe;
    color: #1a56db;
}

.suivi-doc-status.envoye {
    background: #fef3c7;
    color: #92400e;
}

.suivi-doc-status.valide {
    background: #d1fae5;
    color: #065f46;
}

.suivi-doc-status.rejete {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== DOCUMENT MESSAGE ===== */
.suivi-document-message {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.7rem;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--gray);
}

.suivi-document-message i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ===== DOCUMENT REJET ===== */
.suivi-document-rejet {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.7rem;
    background: rgba(239, 68, 68, 0.04);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: #991b1b;
}

.suivi-document-rejet i {
    color: var(--red);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ===== DOCUMENT FILE ===== */
.suivi-document-file {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.4rem 0.7rem;
    background: rgba(16, 185, 129, 0.06);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: #065f46;
}

.suivi-document-file i {
    font-size: 1rem;
    color: var(--success);
}

/* ===== UPLOAD FORM ===== */
.suivi-upload-form {
    margin-top: 0.75rem;
}

.suivi-upload-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.suivi-upload-input {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.suivi-upload-input input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.suivi-upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 2px dashed var(--gray-light);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    color: var(--gray);
}

.suivi-upload-label:hover {
    border-color: var(--navy);
    background: rgba(26, 36, 86, 0.04);
}

.suivi-upload-label i {
    font-size: 1.1rem;
    color: var(--navy);
}

.suivi-upload-hint {
    font-size: 0.7rem;
    color: #aaa;
}

.suivi-upload-btn {
    padding: 0.6rem 1.5rem;
    min-height: 44px;
}

/* ===== HELP ===== */
.suivi-help {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
}

.suivi-help i {
    font-size: 1.3rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.suivi-help strong {
    display: block;
    font-size: 0.9rem;
    color: var(--navy);
}

.suivi-help p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0.1rem 0 0;
}

.suivi-help a {
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}

.suivi-help a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE SUIVI ===== */
@media (max-width: 768px) {
    .suivi-page {
        padding: 2rem 0 3rem;
    }

    .suivi-card {
        padding: 1.25rem;
        border-radius: var(--radius-sm);
    }

    .suivi-details-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .suivi-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .suivi-upload-group {
        flex-direction: column;
        align-items: stretch;
    }

    .suivi-upload-btn {
        width: 100%;
        justify-content: center;
    }

    .suivi-admin-message {
        flex-direction: column;
        gap: 0.4rem;
    }

    .suivi-document-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .suivi-doc-status {
        align-self: flex-start;
    }

    .suivi-fiche-info {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }

    .suivi-help {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.3rem;
    }
}

@media (max-width: 480px) {
    .suivi-header h1 {
        font-size: 1.8rem;
    }
    .suivi-header p {
        font-size: 0.9rem;
    }

    .suivi-card {
        padding: 1rem;
        border-radius: var(--radius-sm);
    }

    .suivi-card-header h2 {
        font-size: 1rem;
    }

    .suivi-status {
        font-size: 0.7rem;
        padding: 0.25rem 1rem;
    }

    .suivi-detail-value {
        font-size: 0.85rem;
    }
    .suivi-detail-label {
        font-size: 0.6rem;
    }

    .suivi-upload-label {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    .suivi-upload-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .suivi-document-title strong {
        font-size: 0.85rem;
    }

    .suivi-admin-message {
        padding: 0.75rem 1rem;
    }
    .suivi-admin-message p {
        font-size: 0.82rem;
    }

    .suivi-document-item {
        padding: 1rem 0;
    }

    .suivi-help {
        padding: 0.75rem 1rem;
    }
    .suivi-help p {
        font-size: 0.8rem;
    }
}

/* ===== SUIVI FILE PREVIEW ===== */
.suivi-file-preview {
    display: none;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(26, 36, 86, 0.04);
    border: 1px solid rgba(26, 36, 86, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--navy);
}

.suivi-file-preview i {
    font-size: 1.1rem;
    color: var(--gold);
}

.suivi-file-preview .file-name {
    flex: 1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.suivi-file-preview .file-size {
    font-size: 0.7rem;
    color: var(--gray);
}

.suivi-file-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
    color: var(--gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.suivi-file-remove:hover {
    color: var(--red);
    background: rgba(155, 28, 28, 0.08);
}

.suivi-file-remove i {
    font-size: 1.1rem;
}

.suivi-upload-label.has-file {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.06);
}

.suivi-upload-label.has-file .upload-text {
    color: var(--navy);
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .suivi-file-preview {
        flex-wrap: wrap;
        gap: 0.3rem;
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .suivi-file-preview .file-name {
        width: 100%;
        white-space: normal;
        word-break: break-all;
    }

    .suivi-file-preview .file-size {
        font-size: 0.65rem;
    }
}

/* ===================================================
   CONTACT PAGE
   =================================================== */

.contact-page {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background: var(--off-white);
    min-height: 80vh;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-badge {
    display: inline-block;
    background: rgba(155, 28, 28, 0.1);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.contact-page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.contact-page-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== CONTACT INFO CARDS ===== */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(26, 36, 86, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.6rem;
    font-size: 1.3rem;
    color: var(--navy);
}

.contact-info-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.2rem;
}

.contact-info-card p {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ===== CONTACT FORM ===== */
.contact-form-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

.contact-form-card h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.9rem !important;
    font-size: 1rem !important;
}

/* ===================================================
   PREINSCRIPTION PAGE
   =================================================== */

.preinscription-page {
    padding: clamp(2rem, 6vw, 4rem) 0;
    background: var(--off-white);
    min-height: 80vh;
}

.preinscription-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.preinscription-badge {
    display: inline-block;
    background: rgba(155, 28, 28, 0.1);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.preinscription-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.preinscription-header p {
    color: var(--gray);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== PREINSCRIPTION CARD ===== */
.preinscription-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

.preinscription-section {
    margin-bottom: 2rem;
}

.preinscription-section h3 {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gray-light);
}

.preinscription-section h3 i {
    margin-right: 0.5rem;
    color: var(--red);
}

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

.preinscription-submit {
    width: 100%;
    justify-content: center;
    padding: 0.9rem !important;
    font-size: 1rem !important;
}

.preinscription-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
}

.preinscription-note i {
    color: var(--gold);
    margin-right: 0.3rem;
}

/* ===================================================
   RESPONSIVE CONTACT & PREINSCRIPTION
   =================================================== */

@media (max-width: 768px) {
    .contact-info-cards {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .contact-info-card {
        padding: 1rem;
    }

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

    .preinscription-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .preinscription-card {
        padding: 1.25rem;
        border-radius: var(--radius-sm);
    }

    .contact-form-card {
        padding: 1.25rem;
        border-radius: var(--radius-sm);
    }

    .contact-page {
        padding: 2rem 0 3rem;
    }

    .preinscription-page {
        padding: 2rem 0 3rem;
    }

    .preinscription-section h3 {
        font-size: 1rem;
    }

    .contact-form-card h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-info-cards {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info-card {
        padding: 0.8rem;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .contact-info-card h4 {
        font-size: 0.8rem;
    }
    .contact-info-card p {
        font-size: 0.72rem;
    }

    .contact-page-header h1 {
        font-size: 1.8rem;
    }
    .contact-page-header p {
        font-size: 0.9rem;
    }

    .preinscription-header h1 {
        font-size: 1.8rem;
    }
    .preinscription-header p {
        font-size: 0.9rem;
    }

    .preinscription-card {
        padding: 1rem;
        border-radius: var(--radius-sm);
    }

    .contact-form-card {
        padding: 1rem;
        border-radius: var(--radius-sm);
    }

    .preinscription-section h3 {
        font-size: 0.95rem;
    }

    .contact-form-card h2 {
        font-size: 1rem;
    }

    .preinscription-submit,
    .contact-submit {
        font-size: 0.9rem !important;
        padding: 0.7rem !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.85rem;
        padding: 0.6rem 0.7rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }
}
