/* --- HEADER --- */
app-header header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pour mobile */
    padding: 10px 5%;
    background: #fff;
    position: relative;
    min-height: 60px;
}

app-header button {
    padding: 10px 15px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eee;
    cursor: pointer;
}

/* Style du logo SVG */
app-header svg {
    width: 25px;
    height: 25px;
    display: block;
}

/* Liens et boutons */
.links-and-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; /* Évite le chevauchement sur petits écrans */
}

.links-and-buttons a {
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
}

/* Responsivité Header */
@media (min-width: 767px) {
    .links-and-buttons {
        justify-content: flex-end;
        gap: 10px;
    }
   
    .links-and-buttons .banks-link, .links-and-buttons .markets-link {
        display: none;
    }
}

@media (min-width: 768px) {
    app-header header {
        justify-content: space-between;
    }
    app-header header > a {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}






/* --- CONFIGURATION GLOBALE DU FOOTER --- */
.footer {
    background-color: white;
    color: #665; /* Texte gris */
    min-height: 150vh;
    padding: 60px 5% 100px 5%; /* Padding bas large pour le copyright */
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.footer a {
    color: #665;
    text-decoration: none;
}

.footer h2 {
    color: #333;
    margin-bottom: 20px;
}

/* Titres Partenarios (Bancos, Mercados, Paginas) en Rose */
.footer h4 {
    color: #ff007f; /* Rose */
    margin-bottom: 15px;
    font-weight: 600;
}

/* --- MISE EN PAGE MOBILE (Par défaut : Tout en bloc) --- */
.footer-main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 150px;
}

@media (min-width: 1024px) {
   .footer-main-content {
        grid-template-columns: 1fr 1fr;
    }
}

.essential-links {
    display: grid;
    grid-template-columns: 1fr; /* Blocs les uns sous les autres */
    gap: 30px;
}

.essential-links ul {
    list-style: none;
    padding: 0;
}

.essential-links li {
    margin-bottom: 10px;
}

.essential-links div {
    padding: 10px 40px 0 0;
}

.essential-links ul {
    list-style-type: none;
    padding-left: 0;
    padding-top: 10px;
}

.essential-links li {
    padding-top: 5px;
    font-size: .75em;
}

.footer-essentials {
    margin-top: 100px;
}

.footer-essentials h3, .footer-essentials h2, .footer-essentials h4, .footer-essentials a {
    color: #aaa;
}

.footer-essentials .graphic h2 {
    margin-bottom: 50px;
}

.essential-links a {
    text-decoration: none;
}

@media (min-width: 992px) {
    .essential-links {
        grid-template-columns: 1fr; 
    }
}

@media (min-width: 1024px) {
    .footer-essentials {
        display: flex;
        flex-direction: row-reverse;
        align-items: self-end;
    }
}

/* --- COPYRIGHT POSITIONNÉ EN BAS --- */
.copyright {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    color: #ff007f; /* Rose */
    font-weight: 100; /* Police très fine */
    font-size: 0.85em;
    margin: 0;
}

/* Styles optionnels pour l'image */
.progress img {
    max-width: 100%;
    height: auto;
}

.container.center-content.footer {
    min-height: 150vh; 
    margin: 0 auto; 
    padding: 0;
    max-width: 100vw;
    background-color: #222;
    color: #ccc;
}
@media (max-width: 599px) {
    .links-and-buttons {
        justify-content: flex-end;
        gap: 10px;
    }
    app-header svg {
        width: 25px; /* Légèrement plus petit sur mobile */
    }
    .links-and-buttons .banks-link, .links-and-buttons .markets-link{
    display: none;
 }
}