/* Anciennes classes utilitaires (pages actualités, portraits, vidéos, contact), aux couleurs de la charte */
.main-container{max-width:1240px;margin:40px auto;padding:0 24px}
.section-card { background: white; border: 1px solid #cbd5e0; border-radius: 12px; padding: 40px; margin-bottom: 40px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.section-gray { background: #f1f5f9; border-radius: 12px; padding: 35px; margin-bottom: 40px; border: 1px solid #cbd5e0; }
.section-blue { background: linear-gradient(135deg, #004A99 0%, #003575 100%); color: white; border-radius: 12px; padding: 50px; margin-bottom: 40px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

.flex-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.flex-col { flex: 1; min-width: 280px; }
.flex-col-center { flex: 1; min-width: 280px; text-align: center; }

.section-title { color: #004A99; font-size: 1.8rem; margin: 0 0 20px 0; font-weight: 700; line-height: 1.25; }
.section-subtitle { font-size: 1.6rem; color: #004A99; margin-top: 0; margin-bottom: 40px; font-weight: 700; text-align: center; }
.text-body { color: #4a5568; line-height: 1.6; font-size: 1rem; margin-bottom: 20px; }
.text-light { color: #e2e8f0; line-height: 1.6; font-size: 1.05rem; margin-bottom: 25px; }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 2px solid #cbd5e0; padding-bottom: 12px; }
.section-header h2 { color: #004A99; font-size: 1.8rem; margin: 0; font-weight: 700; }

.btn-primary { background-color: #004A99; color: white; padding: 12px 28px; border-radius: 6px; text-decoration: none; font-weight: bold; display: inline-block; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-danger { background-color: #D42A20; color: white; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: bold; display: inline-block; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
.link-blue { color: #004A99; text-decoration: none; font-weight: 600; font-size: 0.95rem; }

/* Portraits */
.portraits-list { display: flex; flex-direction: column; gap: 20px; }
.portrait-card { background: white; border: 1px solid #cbd5e0; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.03); display: flex; align-items: stretch; flex-wrap: wrap; }
.portrait-image { flex: 0 0 260px; min-height: 200px; background: #f7fafc; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.portrait-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-image img.fallback { height: 60px; width: auto; object-fit: contain; }
.portrait-content { flex: 1; padding: 25px; display: flex; flex-direction: column; justify-content: space-between; min-width: 280px; }
.portrait-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.portrait-company { font-size: 0.8rem; color: #004A99; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.portrait-website { font-size: 0.8rem; color: #004A99; background: #ebf8ff; padding: 4px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.portrait-name { margin: 0 0 10px 0; font-size: 1.25rem; color: #004A99; font-weight: 700; }
.portrait-excerpt { color: #4a5568; font-size: 0.95rem; line-height: 1.6; margin: 0 0 15px 0; }
.portrait-link { color: #004A99; text-decoration: none; font-weight: bold; font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; }

/* Actualités */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.news-card { background: #f8fafc; border: 1px solid #cbd5e0; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.03); display: flex; flex-direction: column; justify-content: space-between; }
.news-image { width: 100%; height: 160px; overflow: hidden; background: #ffffff; display: flex; align-items: center; justify-content: center; }
.news-image img { width: 100%; height: 100%; object-fit: cover; }
.news-image img.fallback { height: 60px; width: auto; object-fit: contain; }
.news-content { padding: 20px; }
.news-date { font-size: 0.75rem; color: #718096; display: block; margin-bottom: 5px; }
.news-title { margin: 0 0 15px 0; font-size: 1.05rem; color: #004A99; font-weight: 600; }
.news-footer { padding: 0 20px 20px 20px; }

/* Agences */
.agences-box { background: white; color: #2d3748; padding: 25px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.agences-title { color: #004A99; margin-top: 0; font-size: 1.2rem; margin-bottom: 15px; border-bottom: 2px solid #edf2f7; padding-bottom: 8px; }
.agences-list { display: flex; flex-direction: column; gap: 12px; max-height: 220px; overflow-y: auto; }
.agence-item { border-bottom: 1px solid #edf2f7; padding-bottom: 8px; }
.agence-name { color: #004A99; font-size: 0.95rem; font-weight: bold; }
.agence-address { font-size: 0.85rem; color: #4a5568; }
