/*
 * Fichier CSS global pour Prévoyance Nord-Isère (Assurance+)
 * Chemin : /assets/css/style.css
 */

/* ----------------------------------------------------
   1. Variables et polices globales
   ---------------------------------------------------- */

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
}

body {
    font-family: 'Inter', sans-serif;
}

.font-display {
    font-family: 'Playfair Display', serif;
}


/* ----------------------------------------------------
   2. Éléments globaux et d'Accueil (index.html)
   ---------------------------------------------------- */

/* Fond bleu solide + dégradé de la section Hero */
.hero-bg { 
    background-color: #1e40af;
    background: linear-gradient(160deg, #1e40af 0%, #111827 100%); 
}

/* Style H1 de la section Hero (pour garantir la typo) */
.hero-bg h1 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem; /* 24px */
    font-size: 2.25rem; /* 36px */
    font-weight: 700; /* Bold */
    line-height: 1.25;
}

/* Styles du bouton principal */
.btn-primary { 
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%); 
    transition: all 0.3s ease; 
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3); 
}

/* Effets de survol pour les cartes/blocs */
.card-hover { 
    transition: all 0.3s ease; 
}
.card-hover:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.1); 
}

/* Styles pour le zoom et le cadrage des images */
.img-zoom { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

/* Animation de flottement pour le formulaire de contact */
.floating-element { 
    animation: float 6s ease-in-out infinite; 
}
@keyframes float { 
    0%, 100% { transform: translateY(0px); } 
    50% { transform: translateY(-20px); } 
}


/* ----------------------------------------------------
   3. Styles de typographie pour les articles de blog (article-template.html)
   ---------------------------------------------------- */

.article-content h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.875rem; 
    font-weight: 700; 
    margin-top: 2.5rem; 
    margin-bottom: 1rem; 
    color: #1f2937; 
}
.article-content h3 { 
    font-size: 1.5rem; 
    font-weight: 600; 
    margin-top: 2rem; 
    margin-bottom: 0.75rem; 
    color: #374151; 
}
.article-content p { 
    margin-bottom: 1.25rem; 
    line-height: 1.8; 
    color: #4b5563; 
}
.article-content ul, .article-content ol { 
    margin-bottom: 1.5rem; 
    padding-left: 1.5rem; 
    color: #4b5563; 
}
.article-content ul { 
    list-style-type: disc; 
}
.article-content ol { 
    list-style-type: decimal; 
}
.article-content li { 
    margin-bottom: 0.5rem; 
    line-height: 1.8; 
}
.article-content strong { 
    color: #1f2937; 
    font-weight: 600; 
}
.article-content a { 
    color: var(--secondary-blue); 
    text-decoration: underline; 
    transition: color 0.2s; 
}
.article-content a:hover { 
    color: var(--primary-blue); 
}
.article-content blockquote { 
    border-left: 4px solid var(--secondary-blue); 
    padding-left: 1.5rem; 
    margin: 2rem 0; 
    font-style: italic; 
    color: #6b7280; 
    background-color: #f9fafb; 
    padding: 1.5rem; 
    border-radius: 0 0.5rem 0.5rem 0; 
}