:root {
    --gna-blue: #0A2540;
    --gna-orange: #FF5A36;
    --text-muted: #5B6573;
    --border: #E5E7EB;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Verrouillage de la page pour interdire le scroll */
html, body {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
}

body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--gna-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: 
        radial-gradient(50rem 30rem at 100% 0%, rgba(255, 90, 54, 0.08), transparent 60%),
        radial-gradient(50rem 30rem at 0% 100%, rgba(30, 58, 138, 0.1), transparent 60%),
        linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

/* Carte principale ajustée pour tenir sans scroll */
.maintenance-card {
    width: 100%;
    max-width: 42rem;
    max-height: 96dvh;
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: enter 0.6s ease-out both;
}

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

/* Logo */
.logo-container {
    display: flex;
    justify-content: flex-start; /* Place le logo à gauche */
    width: 100%;
    margin-bottom: 0.5rem;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Structure verticale */
.vertical-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

/* Illustration compacte */
.illustration {
    width: 100%;
    max-width: 220px;
    height: auto;
    max-height: 16vh;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
}

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

/* Titre et texte */
h1 {
    font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.description {
    color: var(--text-muted);
    font-size: clamp(0.82rem, 0.78rem + 0.3vw, 0.95rem);
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

/* Badge de statut */
.gear-icon {
    width: 16px;
    height: 16px;
    stroke: var(--gna-orange);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* Contact */
.footer-contact {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.footer-contact a {
    color: var(--gna-blue);
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.3rem;
}

.footer-contact a:hover {
    color: var(--gna-orange);
    text-decoration: underline;
}

/* Produits d'assurance alignés verticalement */
.products-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.4rem;
}

.products-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.products-list a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--gna-blue);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.products-list a:hover {
    background: rgba(255, 90, 54, 0.08);
    border-color: rgba(255, 90, 54, 0.35);
    color: #D9421F;
}

/* Accessibilité : désactivation des animations si demandé */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}