/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
            --color-navy: #03224c;
            --color-magenta: #7d0050;
            --color-white: #ffffff;
            --color-silver: #787878;
            --color-light-grey: #dcdcdc;
            --navy: #03224c;
            --rose: #a64d79;
            --rose-light: #fef2f7;
            --bg-gray: #f4f7f9;
            --white: #ffffff;
            --text: #334155;
        }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Container */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 40px;
    width: 100%;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo (Image Only) */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 75px;
    width: auto;
}

/* Nav Links */
.nav-links ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #1a3a63;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #a64d79;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #a64d79;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    height: 100%; 
    display: flex;
    align-items: center;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 320px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 100;
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.dropdown-content li {
    display: block;
    width: 100%;
}

.dropdown-content a {
    padding: 12px 24px;
    font-size: 15px;
    color: #374151;
    display: block;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f9fafb;
    color: #1a3a63;
    border-left: 3px solid #a64d79;
}

/* Show on Hover */
.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* CTA Button (Rose) */
.cta-section {
    margin-left: 20px;
}

.phone-button {
    background-color: #a64d79;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(166, 77, 121, 0.2);
}

.phone-button:hover {
    background-color: #8a3d62;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(166, 77, 121, 0.3);
}

.arrow {
    font-size: 11px;
    transition: transform 0.3s;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--color-light-grey);
    color: var(--color-navy);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Correction du Logo Footer */
.logo-footer {
    width: 180px; /* Largeur fixe pour la lisibilité */
    height: auto;  /* Garde les proportions d'origine */
    margin-bottom: 20px;
    display: block;
}

.footer-branding p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    font-family: "Helvetica Neue", "Open Sans", "Roboto", Arial, sans-serif;
  font-weight: 300; /* light */
  font-size: 32px; /* adjust as needed */
  color: #8a8a8a; /* soft gray */
  letter-spacing: 2px; /* spaced-out look */
  line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.5);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--color-magenta);
    color: white;
    transform: translateY(-3px);
}

/* Headers de colonnes */
.footer-contact h3, .footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after, .footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-magenta);
}

/* Items contact */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--color-magenta);
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: var(--color-navy);
    text-decoration: none;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-navy);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-magenta);
    padding-left: 5px;
}


.financial-slogan {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #03224c;
  line-height: 1.7;
  letter-spacing: 0;
}

/* Bottom bar */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 0.9rem;
}

.legal-links {
    margin-top: 10px;
}

.legal-links a {
    color: var(--color-navy);
    text-decoration: none;
    margin: 0 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-container {
        text-align: center;
    }

    .footer-contact h3::after, .footer-links h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-item, .social-links {
        justify-content: center;
    }
}