/* Palette recommandée */
:root {
  --primary: #0B3C49;        /* Bleu institutionnel */
  --secondary: #C9A24D;      /* Or / confiance / finance */
  --accent: #1F6F8B;         /* Bleu clair */
  --light-bg: #F4F7F9;       /* Fond clair */
  --dark-text: #1C1C1C;      /* Texte principal */
  --gray-text: #6B7280;      /* Texte secondaire */
  --white: #FFFFFF;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    --rouge: #8b0000;
    --bleu: #0b0b3b;
    --blanc: #ffffff;
    --gris: #f4f4f4;
}

/* .section{
    background-image: url('images/bg.png');
    background-size: cover;
    background-position: center;
} */

/* HEADER */
.header {
    background: var(--bleu);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    margin: auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 50px;
}

/* NAV */
.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav a {
    color: var(--blanc);
    text-decoration: none;
    font-weight: bold;
}

/* MENU BUTTONS */
.menu-btn,
.close-btn {
    width: 42px;
    height: 42px;
    border: 2px solid var(--blanc);
    border-radius: 6px;
    background: transparent;
    color: var(--blanc);
    font-size: 22px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

/* HERO */
.hero {
    height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    color: var(--bleu);
    font-size: 42px;
}

.slogan {
    color: var(--rouge);
    margin: 15px 0;
    font-size: 20px;
}

.subtitle {
    max-width: 650px;
    margin: auto;
}

.hero-buttons {
    margin-top: 30px;
}

/* BUTTONS */
.btn {
    padding: 12px 28px;
    margin: 5px;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.primary {
    background: var(--rouge);
}

.secondary {
    background: var(--bleu);
}

/* SECTIONS */
.section {
    padding: 80px 0;
    text-align: center;

}

.light {
    background: var(--gris);
}

.dark {
    background: var(--bleu);
    color: white;
}

.contact {
    background: var(--rouge);
    color: white;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.card {
    padding: 20px;
    background: white;
    border-radius: 6px;
    font-weight: bold;
}

.dark-card {
    background: #1c1c5a;
    color: white;
}

/* FOOTER */
.footer {
    background: var(--bleu);
    color: white;
    text-align: center;
    padding: 20px;
}
footer a {
      color: var(--secondary);
      text-decoration: underline;
      margin: 0 5px;
    }

/* RESPONSIVE */
@media (max-width: 768px) {

    .menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bleu);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .close-btn {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
}

/*==== apropos.html====*/

/* PAGE HERO */
.page-hero {
    padding: 140px 0 80px;
    background: var(--bleu);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* TITRES SECTIONS */
.section h2 {
    color: var(--rouge);
    margin-bottom: 20px;
}

.section h3 {
    color: var(--bleu);
    margin-bottom: 10px;
}

/* MENU ACTIF */
.nav a.active {
    border-bottom: 2px solid var(--rouge);
}

/* /* ============Typographie (CSS pur – sans Google Fonts)* */

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

p {
  color: var(--gray-text);
}

/* ============ Boutons institutionnels (menu ☰ et ❌ inclus) */
.btn,
.menu-toggle,
.menu-close {
  background: var(--secondary);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px; /* carré légèrement arrondi */
  border: 2px solid var(--secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover,
.menu-toggle:hover,
.menu-close:hover {
  background: transparent;
  color: var(--secondary);
}

/* ============ Animations CSS légères (professionnelles) */

/* Animation d’apparition des sections */
.section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Animation du menu mobile (overlay top) */
.btn-cta {
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.4s;
}

.btn-cta:hover::after {
  left: 0;
}

/* Animation hover cartes (Comptes / Services) */
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* Animation boutons CTA */
.btn-cta {
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.4s;
}

.btn-cta:hover::after {
  left: 0;
}

/* bulle whatsapp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}
