/* ============================================================
   BRADROIT SOLUTIONS — global.css
   Inclure sur toutes les pages
============================================================ */

:root {
  --bleu:       #004755;
  --bleu-mid:   #005f72;
  --bleu-fonce: #002d38;
  --orange:     #f1a13b;
  --orange-cl:  #f6bc6e;
  --creme:      #fafae8;
  --creme-f:    #f0f0d0;
  --blanc:      #ffffff;
  --texte:      #1a2e35;
  --muted:      #5a7278;
  --bordure:    #dde8e0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--texte);
  background: var(--creme);
}
h1, h2, h3, h4 { font-family: 'DM Serif Display', serif; font-weight: 400; line-height: 1.2; }
a { color: inherit; text-decoration: none; }

/* ── NAV ── */
.main-nav {
  background: var(--bleu);
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  height: 68px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.logo { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--blanc); display:flex; align-items:center; }
.logo span { color: var(--orange); }
.logo img { height: 36px !important; max-height: 36px !important; width: auto !important; display: block; }

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--orange); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bleu-fonce);
  border-radius: 8px;
  min-width: 230px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  overflow: hidden;
  list-style: none;
  z-index: 300;
}
.nav-links > li.has-drop:hover .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .2s, background .2s;
}
.nav-dropdown li:last-child a { border-bottom: none; }
.nav-dropdown li a:hover { color: var(--orange); background: rgba(255,255,255,0.05); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--blanc) !important;
  padding: 10px 18px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-cl) !important; }

/* Burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--blanc); border-radius: 2px; transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.nav-mobile {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--bleu-fonce); z-index: 199;
  flex-direction: column; overflow-y: auto; max-height: calc(100vh - 68px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 500;
  padding: 14px 32px; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color .2s;
}
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile .nav-cta-mobile {
  margin: 16px 24px 8px; background: var(--orange); color: var(--blanc) !important;
  text-align: center; border-radius: 6px; font-weight: 600; padding: 14px 24px;
}

/* ── BOUTONS ── */
.btn-orange {
  display: inline-block; background: var(--orange); color: var(--blanc);
  padding: 16px 36px; border-radius: 6px; font-weight: 600; font-size: 17px; transition: all .2s;
}
.btn-orange:hover { background: var(--orange-cl); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(241,161,59,0.35); }
.btn-ghost {
  display: inline-block; border: 2px solid rgba(255,255,255,0.4); color: var(--blanc);
  padding: 14px 32px; border-radius: 6px; font-weight: 500; font-size: 17px; transition: all .2s;
}
.btn-ghost:hover { border-color: var(--blanc); background: rgba(255,255,255,0.08); }
.btn-bleu {
  display: inline-block; background: var(--bleu); color: var(--blanc);
  padding: 16px 36px; border-radius: 6px; font-weight: 600; font-size: 17px; transition: all .2s;
}
.btn-bleu:hover { background: var(--bleu-mid); transform: translateY(-2px); }

/* ── FOOTER ── */
#footer {
  background: var(--bleu-fonce);
  color: rgba(255,255,255,0.75);
  padding: 56px 48px 32px;
  text-align: center;
}
.footer-name {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-info { font-size: 15px; line-height: 2; margin-bottom: 20px; }
.footer-info a { color: var(--orange); }
.footer-info a:hover { text-decoration: underline; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); font-style: italic; margin-bottom: 8px; line-height: 1.9; }
.footer-local { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.footer-local a { color: rgba(255,255,255,0.7); transition: color .2s; }
.footer-local a:hover { color: var(--orange); }
.footer-partner { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 28px; }
.footer-partner a { color: var(--orange); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 32px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--orange); color: var(--blanc); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; margin-bottom: 16px; }
.footer-legal a { color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .main-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 768px) {
  #footer { padding: 40px 24px 28px; }
}
