/* ===== VARIABLES & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0a1f3c;
  --navy-mid: #12306b;
  --teal: #0d7a6e;
  --teal-light: #0fa898;
  --teal-pale: #e6f7f6;
  --accent: #f59e0b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-900: #0f172a;
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(10,31,60,0.1), 0 2px 6px rgba(10,31,60,0.06);
  --shadow-lg: 0 20px 40px rgba(10,31,60,0.14), 0 8px 16px rgba(10,31,60,0.08);
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--gray-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(10,31,60,0.25);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.brand h1 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand p {
  display: none;
}

.main-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a4a8a 100%);
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(13,122,110,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(245,158,11,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--gray-50);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(13,168,152,0.22);
  border: 1px solid rgba(13,168,152,0.35);
  border-radius: 999px;
  color: var(--teal-light);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.hero h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 2rem;
  max-width: 36rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--white);
  min-width: 180px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-card span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* ===== BUTTONS ===== */
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.primary-button {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13,122,110,0.4);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,122,110,0.5);
  background: linear-gradient(135deg, #0a6a5f, var(--teal));
}

.primary-button:active { transform: translateY(0); }

.secondary-button {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.secondary-button:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* Variante sombre pour fond clair */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 14px rgba(13,122,110,0.35);
  transition: all var(--transition);
}

.btn-primary-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13,122,110,0.45);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 0;
}

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.2;
}

.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0;
}

/* ===== SECTION LINKS (page d'accueil) ===== */
.section-links {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: gap var(--transition), color var(--transition);
}

.card .card-link:hover { gap: 0.6rem; color: var(--teal-light); }

/* ===== SECTION SERVICES ===== */
.section-services {
  background: var(--gray-50);
}

/* ===== SECTION DOCS ===== */
.section-docs {
  background: var(--white);
}

.content-split {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.doc-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(13,168,152,0.2);
  border-radius: 50%;
}

.doc-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.doc-card p {
  color: rgba(255,255,255,0.75);
  margin: 0 0 1.75rem;
}

/* ===== NEWS ===== */
.section-news {
  background: var(--gray-50);
}

.news-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 0;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.news-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.news-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.news-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.news-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: auto;
  padding-top: 0.75rem;
}

/* ===== AGENTS ===== */
.section-agents {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a7a 100%);
  color: var(--white);
  padding: 5rem 0;
}

.section-agents .section h2 {
  color: var(--white);
}

.section-agents .section-desc { color: rgba(255,255,255,0.7); }

.agent-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.agent-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
  backdrop-filter: blur(4px);
}

.agent-item:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
}

.agent-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.agent-item p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ===== CONTACT ===== */
.section-contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-card p {
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.875rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ===== FORMS ===== */
form {
  display: grid;
  gap: 1.25rem;
  max-width: 680px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-900);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,122,110,0.15);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ===== BADGES ===== */
.tag-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.meta-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1rem;
}

/* ===== PAGE HEADER INTERNE ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  padding: 3rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--gray-50);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
}

.page-hero p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 38rem;
}

/* ===== BURGER & TIROIR MOBILE ===== */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.85);
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,50,0.55);
  z-index: 190;
}
.mobile-overlay.open { display: block; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 195;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,0.18);
}
.mobile-drawer.open { right: 0; }

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: #1b3a6b;
  flex-shrink: 0;
}
.mobile-drawer-header .m-logo-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mobile-drawer-header .m-logo-text span {
  font-size: 0.68rem;
  color: #f0a500;
  font-weight: 600;
  text-transform: uppercase;
}
.mobile-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.18s;
}
.mobile-close-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }

.mobile-nav-links {
  flex: 1;
  overflow-y: auto;
  padding: 0.6rem 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  color: #1b3a6b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.mobile-nav-links a:hover {
  background: #f0f4ff;
  border-left-color: #f0a500;
  color: #f0a500;
}

.mobile-drawer-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e8ecf5;
  flex-shrink: 0;
}
.mobile-lang-btn {
  width: 100%;
  padding: 0.6rem;
  background: #1b3a6b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.18s;
  text-align: center;
}
.mobile-lang-btn:hover { background: #f0a500; }

@media (max-width: 860px) {
  .burger-btn { display: flex; }
  .main-nav   { display: none; }
}

/* ===== RETOUR EN HAUT ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: #1b3a6b;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.18s;
  z-index: 100;
  pointer-events: none;
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover { background: #f0a500; }

/* ===== FOOTER ENRICHI ===== */
.site-footer { padding: 0; }

.footer-top {
  background: #0e1f40;
  padding: 3rem 0 2.5rem;
  border-top: 3px solid #f0a500;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-col-brand .f-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.footer-col-brand .f-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1b3a6b, #2952a3);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.footer-col-brand .f-logo-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.footer-col-brand .f-logo-text span {
  font-size: 0.68rem;
  color: #f0a500;
  font-weight: 600;
  text-transform: uppercase;
}
.footer-col-brand .f-about {
  color: rgba(255,255,255,0.56);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0 0 1.1rem;
  max-width: 230px;
}
.footer-social {
  display: flex;
  gap: 0.45rem;
}
.footer-social a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.footer-social a:hover { background: #f0a500; color: #fff; }

.footer-col h4 {
  color: #f0a500;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.18s;
}
.footer-col ul li a:hover { color: #f0a500; }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-contact-info p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  background: #091730;
  padding: 0.9rem 0;
}
.footer-bottom .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom .footer-nav a {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}
.footer-bottom .footer-nav a:hover { color: #f0a500; background: transparent; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col-brand .f-about { max-width: none; }
}

/* RTL — tiroir & footer enrichi */
[dir="rtl"] .mobile-drawer { right: auto; left: -300px; }
[dir="rtl"] .mobile-drawer.open { left: 0; right: auto; }
[dir="rtl"] .mobile-nav-links a { border-left: none; border-right: 3px solid transparent; flex-direction: row-reverse; }
[dir="rtl"] .mobile-nav-links a:hover { border-right-color: #f0a500; }
[dir="rtl"] .mobile-drawer-header { flex-direction: row-reverse; }
[dir="rtl"] .scroll-top-btn { right: auto; left: 2rem; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-col-brand .f-logo { flex-direction: row-reverse; }
[dir="rtl"] .footer-col-brand .f-about { text-align: right; max-width: none; }
[dir="rtl"] .footer-social { flex-direction: row-reverse; }
[dir="rtl"] .footer-col ul { direction: rtl; text-align: right; }
[dir="rtl"] .footer-contact-info p { direction: rtl; }
[dir="rtl"] .footer-bottom .footer-inner { flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom .footer-nav { flex-direction: row-reverse; }

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0;
  border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero-inner,
  .content-split {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    overflow-x: auto;
  }

  .stat-card {
    min-width: 140px;
  }
}

@media (max-width: 680px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.15rem;
  }

  .main-nav a {
    font-size: 0.82rem;
    padding: 0.4rem 0.65rem;
  }

  .hero {
    padding: 3rem 1rem 3.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero h2 {
    font-size: 1.75rem;
  }
}

/* ===== BILINGUE ARABE / RTL ===== */

/* Police arabe */
[dir="rtl"] body {
  font-family: 'Cairo', 'Inter', system-ui, sans-serif;
  font-size: 1.02rem;
}

/* Skip link */
[dir="rtl"] .skip-link {
  left: auto;
  right: -999px;
  border-radius: 0 0 0 var(--radius-sm);
}
[dir="rtl"] .skip-link:focus { right: 0; left: auto; }

/* Bouton langue */
.lang-toggle { flex-shrink: 0; cursor: pointer; }

/* ── Header pages secondaires ── */
[dir="rtl"] .header-inner       { flex-direction: row-reverse; }
[dir="rtl"] .brand              { flex-direction: row-reverse; }
[dir="rtl"] .brand h1           { text-align: right; }
[dir="rtl"] .main-nav           { flex-direction: row-reverse; }

/* ── Page hero ── */
[dir="rtl"] .page-hero-inner    { text-align: right; }
[dir="rtl"] .breadcrumb         { direction: rtl; }

/* ── Sections ── */
[dir="rtl"] .section-header     { text-align: right; }
[dir="rtl"] .section-label      { text-align: right; display: block; }

/* ── Cards ── */
[dir="rtl"] .card               { text-align: right; }
[dir="rtl"] .news-card          { text-align: right; }
[dir="rtl"] .news-card .news-badge { margin-right: 0; }
[dir="rtl"] .card-link          { text-align: right; }

/* ── Footer ── */
[dir="rtl"] .footer-inner       { flex-direction: row-reverse; }
[dir="rtl"] .footer-nav         { flex-direction: row-reverse; }

/* ── Formulaires ── */
[dir="rtl"] .form-group label   { text-align: right; display: block; }
[dir="rtl"] input,
[dir="rtl"] select,
[dir="rtl"] textarea            { text-align: right; direction: rtl; }

/* ── Contact cards ── */
[dir="rtl"] .contact-grid      { direction: rtl; }
[dir="rtl"] .contact-card      { text-align: right; }

/* ── Documentation ── */
[dir="rtl"] .doc-search-form   { flex-direction: row-reverse; }
[dir="rtl"] .doc-tags          { flex-direction: row-reverse; flex-wrap: wrap; gap: 0.4rem; }
[dir="rtl"] .doc-tag-label     { margin-right: 0; margin-left: 0.5rem; }
[dir="rtl"] .doc-cat-header    { flex-direction: row-reverse; }
[dir="rtl"] .doc-item          { flex-direction: row-reverse; }
[dir="rtl"] .doc-item-body     { text-align: right; }
[dir="rtl"] .doc-item-meta     { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .doc-cat-count     { margin-right: auto; margin-left: 0; }
[dir="rtl"] .doc-cat-nav .wrapper { flex-direction: row-reverse; flex-wrap: wrap; justify-content: flex-end; }
