/* -------------------------------------------------------------------------- */
/* CHARTE GRAPHIQUE REVISITÉE - L'EXPERTE DE VOTRE VOISIN 58                 */
/* -------------------------------------------------------------------------- */

:root {
    /* Couleurs de Base (Identité) */
    --brand-dark: #0f172a;      /* Bleu Nuit Profond (Expertise) */
    --brand-bg: #f8fafc;        /* Fond Givre (Clarté) */
    --brand-white: #ffffff;
    
    /* Couleurs de Service (Accents) */
    --color-pro: #0d9488;       /* Vert Émeraude (Sérieux/Bureau) */
    --color-perso: #fbbf24;     /* Ambre Doux (Chaleur/Aide) */
    
    /* Typographie */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Fondamentaux --- */
body {
    background-color: var(--brand-bg);
    color: var(--brand-dark);
    font-family: var(--font-main);
    line-height: 1.6;
    margin: 0;
}

/* --- Typographie --- */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

.italic-quote {
    font-style: italic;
    color: #64748b; /* Slate 500 */
}

/* --- Composants de Cartes (Cards) --- */
.card-service {
    background: var(--brand-white);
    border-radius: 1.5rem; /* rounded-3xl */
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent; /* Prêt pour la couleur de service */
}

.card-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Variantes de bordures par cible */
.card-pro { border-top-color: var(--color-pro); }
.card-perso { border-top-color: var(--color-perso); }

/* --- Boutons (Nouveau Design Custom) --- */

/* Classe de base avec plus d'espace (Padding) */
.btn-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Augmentation de l'espace : le texte n'est plus au bord */
    padding: 1.25rem 2.5rem; 
    border-radius: 1rem; /* Arrondi style 'card' */
    font-weight: 900;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Variante Sombre (btn-dark) */
.btn-dark {
    background-color: var(--brand-dark) !important;
    color: var(--brand-white) !important;
}

/* Gestion du survol (Hover) */
.btn-dark:hover {
    /* Changement de couleur de fond au survol */
    background-color: var(--color-pro) !important; 
    
    /* LE TEXTE RESTE FIGÉ : on réaffirme la couleur blanche */
    color: var(--brand-white) !important; 
    
    /* Effet de mouvement léger sans bouger le texte interne */
    transform: translateY(-3px); 
}

/* Optionnel : Variante Accent pour le SAP */
.btn-accent {
    background-color: var(--color-perso) !important;
    color: var(--brand-dark) !important;
}

.btn-accent:hover {
    background-color: var(--brand-dark) !important;
    color: var(--brand-dark) !important; /* Texte figé en sombre */
    transform: translateY(-3px);
}

/* --- Animation Urgence --- */
.ping-animation {
    position: relative;
    display: flex;
    height: 12px;
    width: 12px;
    margin-right: 8px;
}

.ping-animation span {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 100%;
    background-color: var(--color-perso);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--brand-dark);
    color: var(--brand-white);
    padding: 4rem 1rem 2rem;
}
