/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #e30613;
    --secondary-color: #1a1a1a;
    --accent-color: #ffd700;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-dark: #0a0a0a;
    --border-color: #e0e0e0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(227, 6, 19, 0.2);
    --transition: all 0.3s ease;

    /* Couleurs utilitaires */
    --bg-light: #f8f8f8;
    --success-bg: #d4edda;
    --success-border: #c3e6cb;
    --danger-bg: #f8d7da;
    --danger-border: #f5c6cb;
    --info-bg: #d1ecf1;
    --attr-bg: #eef2f5;
    --attr-badge-bg: #fdebd3;
    --attr-badge-text: #8a4b08;
    --skeleton-base: #eeeeee;
    --skeleton-highlight: #f6f6f6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    position: fixed;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
}

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

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Utility: visually hide elements */
.hidden { display: none; }
/* Sécurité si d'autres règles posent display: inline-block */
.btn.hidden { display: none; }

/* Cacher les zones hydratées par le CMS jusqu'au remplissage (prévenir le flash) */
.cms-hydrating [data-cms],
.cms-hydrating .hero-title,
.cms-hydrating .hero-subtitle,
.cms-hydrating .page-header h1,
.cms-hydrating .page-header p,
.cms-hydrating .filters .filters-bar h3,
.cms-hydrating .filter-buttons,
.cms-hydrating .sort-options label,
.cms-hydrating .sort-options select,
.cms-hydrating .catalog-count p {
    visibility: hidden;
}

/* Loader global pendant l'hydratation CMS */
.public-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(248, 248, 248, 0.68);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.public-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.public-loading-shell {
    width: min(220px, 90vw);
    padding: 20px 24px;
    border-radius: 18px;
    border: 1px solid rgba(26, 26, 26, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.public-loading-label {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #2a2a2a;
}

.apple-spinner {
    position: relative;
    width: 40px;
    height: 40px;
}

.apple-spinner span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3px;
    height: 11px;
    margin-left: -1.5px;
    margin-top: -15px;
    border-radius: 999px;
    background: #111;
    transform-origin: center 15px;
    transform: rotate(calc(var(--i) * 30deg));
    opacity: 0.14;
    animation: apple-spinner-fade 1s linear infinite;
    animation-delay: calc(var(--i) * -0.083333s);
}

@keyframes apple-spinner-fade {
    0%, 39%, 100% {
        opacity: 0.16;
    }
    40% {
        opacity: 1;
    }
}

body.public-loading-active {
    overflow: hidden;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
    display: inline-block;          /* stabilise la largeur dans le flux */
    min-width: 12ch;                /* réserve l'espace du nom de site */
    white-space: nowrap;            /* évite le retour à la ligne au swap de police */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
/* ===== PRODUCT ATTRIBUTES (public) ===== */
.product-attrs { margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.attr-chip { background: var(--attr-bg); color: #555; padding: 6px 10px; border-radius: 999px; font-size: 0.85rem; }
.attr-chip.attr-badge { background: var(--attr-badge-bg); color: var(--attr-badge-text); font-weight: 600; }
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay rouge/noir pour l'effet Moto */
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.7), rgba(10, 10, 10, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: fadeInUp 1s ease;
    /* Ombre portée forte pour contraste maximal */
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(61, 35, 20, 0.4);
    font-weight: 900;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.3s backwards;
    /* Ombre portée pour contraste */
    text-shadow: 
        1px 1px 6px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    letter-spacing: 1px;
}

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

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ===== FEATURED PRODUCTS ===== */
.featured-products {
    background-color: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 25px;
}

.product-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.product-spec {
    text-align: center;
}

.product-spec strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.product-spec span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-availability {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.disponible {
    background-color: var(--success-bg);
    color: #155724;
}

.indisponible {
    background-color: var(--danger-bg);
    color: #721c24;
}

/* ===== CATEGORIES ===== */
.categories {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.categories .section-title {
    color: #ffffff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.category-card:hover {
    background-color: rgba(227, 6, 19, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.category-card p {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== ABOUT/SERVICES ===== */
.about {
    background-color: white;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.service-item p {
    color: var(--text-light);
}

/* ===== CONTACT ===== */
.contact {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.form-group textarea {
    resize: vertical;
}

.contact-feedback {
    margin-top: 12px;
    min-height: 1.4em;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-feedback.is-success {
    color: #0f8a43;
}

.contact-feedback.is-error {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===== PAGE HEADER (for catalog page) ===== */
.page-header {
    /* Structure identique au .hero */
    position: relative;
    background-image: url('../images/RSTeam78-Banner.png');
    background-size: cover;
    /* Légèrement plus haut sur l'image pour mieux cadrer le visuel */
    background-position: center 40%;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header::before {
    /* Overlay identique au .hero-overlay avec palette Moto (rouge / noir) */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.7), rgba(10, 10, 10, 0.8));
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    /* Identique au .hero-title - TEXTE BLANC */
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: white;
    animation: fadeInUp 1s ease;
}

.page-header p {
    /* Identique au .hero-subtitle - TEXTE BLANC */
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    color: white;
    animation: fadeInUp 1s ease 0.3s backwards;
}

/* ===== FILTERS ===== */
.filters {
    background-color: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filters-bar h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-weight: 500;
    color: var(--text-color);
}

.sort-options select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

/* ===== CATALOG ===== */
.catalog {
    background-color: var(--bg-light);
    padding: 50px 0 80px;
}

.catalog-count {
    margin-bottom: 30px;
}

.catalog-count p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    /* Réserver de l'espace pour éviter le saut de page pendant le chargement */
    min-height: 60vh;
}

/* ===== SKELETONS (catalog loading) ===== */
.skeleton-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.skeleton-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, var(--skeleton-base) 0%, var(--skeleton-highlight) 50%, var(--skeleton-base) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

.skeleton-content {
    padding: 25px;
}

.skeleton-line {
    height: 14px;
    background: var(--skeleton-base);
    border-radius: 7px;
    margin: 10px 0;
}

.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.long { width: 100%; }

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

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    background-color: white;
    border-radius: 10px;
    padding: 0;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

.modal-content > #modalBody {
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--secondary-color);
    transform: rotate(90deg);
}

/* ===== CARROUSEL D'IMAGES ===== */
.product-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-light);
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(230, 127, 127, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.carousel-thumb {
    width: 80px;
    height: 60px;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.carousel-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.carousel-thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
}

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

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: var(--success-bg);
    color: #155724;
    border: 1px solid var(--success-border);
}

.alert-error {
    background-color: var(--danger-bg);
    color: #721c24;
    border: 1px solid var(--danger-border);
}

.alert-info {
    background-color: var(--info-bg);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Notice propre pour incident technique temporaire */
.public-system-notice {
    background: #eef4fb;
    border-bottom: 1px solid #d6e2f3;
    color: #1f2d3d;
    padding: 12px 0;
}

.public-system-notice__text {
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.public-system-notice__ref {
    margin: 4px 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: #5d6d7e;
}

.service-unavailable-card {
    max-width: 560px;
    margin: 20px auto;
    padding: 26px 24px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow);
    text-align: center;
}

.service-unavailable-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.service-unavailable-card p {
    color: var(--text-light);
    margin-bottom: 16px;
}
