/* /css/components.css - VERSION COMPLÈTE ET CORRIGÉE */

/* --- STYLES GÉNÉRAUX UTILISÉS PAR LES COMPOSANTS --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
h2, h3 {
    font-family: var(--font-title);
    color: var(--blue-deep);
    margin-bottom: 1rem;
    font-weight: 700;
}
h2 {
    font-size: 2.5rem;
    text-align: center;
}
h3 {
    font-size: 1.5rem;
}
.cta-button {
    display: inline-block;
    background-color: var(--blue-bright);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-title);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}
.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}
.tag {
    display: inline-block;
    background-color: #d1eaff;
    color: var(--blue-deep);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* --- STYLES POUR LA SECTION PRÉSENTATION --- */
.mission-section { 
    background-color: var(--grey-light);
    padding: 80px 0;
}
.mission-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    text-align: center;
}
.mission-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(49, 79, 119, 0.08);
}
.mission-card h3 {
    font-size: 1.3rem;
    margin-top: 1rem;
}
.mission-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.mission-card .cta-button { 
    margin-top: auto; 
}

/* --- STYLES POUR LES SECTIONS LÉGALES --- */
.info-section { 
    background-color: var(--white);
    padding: 80px 0;
}
.cpf-section { 
    background-color: var(--grey-light); 
}
.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}
.info-text h2 {
    text-align: left;
    font-size: 2.2rem;
}
.info-text .legal-text {
    font-size: 0.85rem;
    color: #525f7f;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.info-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(49, 79, 119, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info-card i {
    font-size: 2.5rem;
    color: var(--yellow-accent);
    margin-bottom: 1rem;
}
.info-card p {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* --- STYLES POUR LE FOOTER --- */
.footer-container {
    background-color: #141A46;
    color: #ffffff;
    margin-top: auto;
    font-family: 'Poppins', sans-serif;
}
.footer-content {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}
.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
}
.footer-link {
    font-size: 0.75rem;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease-in-out;
}
.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-left-group {
  text-align: center; /* Centré sur mobile par défaut */
  margin-bottom: 1rem; /* Espace entre les textes et les liens sur mobile */
}

.footer-disclaimer {
  font-size: 0.75rem;  /* même taille que les autres liens */
  opacity: 0.8;
  margin-bottom: 0.5rem; /* petit espace en dessous */
}

/* Styles responsives pour les écrans plus larges (md: et plus) */
@media (min-width: 768px) {
  .footer-left-group {
    text-align: left; /* Aligné à gauche sur grand écran */
    margin-bottom: 0;
  }
}

/* --- RESPONSIVE DESIGN POUR LES COMPOSANTS --- */
@media (max-width: 992px) {
    .mission-grid, .info-grid { 
        grid-template-columns: 1fr; 
    }
    .info-text h2 {
        text-align: center;
    }
}
@media (max-width: 768px) {
    .mission-section { padding-top: 40px; }
    .mission-section h2 { font-size: 2rem; }
    .info-section { padding: 60px 0; }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-copyright {
        margin-bottom: 0.75rem;
    }
}


