/* ==========================================================================
   INSTITUT BDA SONDAGES - DESIGN MODERNE 2026
   ========================================================================== */

:root {
  /* Couleurs principales */
  --vert-fonce: #003814;
  --vert-emeraude: #00a83e;
  --vert-mid: #1a6b3c;
  --or: #c5a059;
  --or-clair: #f5c542;
  --or-pale: #fef5e8;
  --blanc: #ffffff;
  --noir: #0a0f1c;
  --gris-clair: #f8fafc;
  --gris: #64748b;
  --gris-fonce: #334155;
  
  /* Ombres */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Rayons */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--blanc);
  color: var(--gris-fonce);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ========== LOADING BAR HTMX ========== */
.htmx-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vert-emeraude), var(--or), var(--vert-emeraude));
  background-size: 200% 100%;
  transform-origin: 0%;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.htmx-request .htmx-indicator {
  transform: scaleX(1);
  animation: loadingProgress 1.5s ease infinite;
}

@keyframes loadingProgress {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ========== CUSTOM CURSOR ========== */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--or);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--or);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .cursor, .cursor-follower { display: none; }
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-base);
  background: transparent;
}
main {
  padding-top: 0;
}
/* Corrections globales pour tous les hero */
.page-hero,
.page-hero-small {
  padding-top: 140px !important;
  min-height: auto !important;
  padding-bottom: 2rem;
}

@media (max-width: 992px) {
  .page-hero,
  .page-hero-small {
    padding-top: 120px !important;
  }
}

@media (max-width: 768px) {
  .page-hero,
  .page-hero-small {
    padding-top: 100px !important;
  }
}

/* Style du hero badge */
.hero-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197,160,89,0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  color: var(--or);
  margin-bottom: 1rem;
}

/* Contenu hero */
.page-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: var(--transition-base);
}

.logo-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.logo-box span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--or);
}

.navbar.scrolled .logo-box {
  width: 42px;
  height: 42px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vert-fonce);
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--gris);
  letter-spacing: 0.3px;
}

.navbar.scrolled .logo-main { color: var(--vert-fonce); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gris-fonce);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links li a:hover { color: var(--vert-emeraude); }
.nav-links li a.active { color: var(--vert-emeraude); }
.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vert-emeraude);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert-mid));
  color: var(--blanc) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  transition: var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--blanc);
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-base);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--gris-fonce);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--gris-clair); color: var(--vert-emeraude); }

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.burger span {
  width: 25px;
  height: 2px;
  background: var(--vert-fonce);
  transition: var(--transition-fast);
}

@media (max-width: 992px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--blanc);
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease;
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-dropdown.active .dropdown { display: block; }
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gris-clair) 0%, var(--blanc) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(0,168,62,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197,160,89,0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  color: var(--or);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-left h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--vert-fonce);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-left h1 em {
  color: var(--or);
  font-style: italic;
}

.hero-desc {
  font-size: 1rem;
  color: var(--gris);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

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

.btn-or {
  background: linear-gradient(135deg, var(--or), #b8860b);
  color: var(--blanc);
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-or:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197,160,89,0.3);
}

.btn-ghost {
  border: 2px solid var(--vert-fonce);
  color: var(--vert-fonce);
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost:hover {
  background: var(--vert-fonce);
  color: var(--blanc);
}

.hero-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(197,160,89,0.2);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.hstat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--vert-fonce);
  font-family: 'Cormorant Garamond', serif;
}

.hstat-label {
  font-size: 0.75rem;
  color: var(--gris);
}

.hero-quote {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.hero-quote p {
  font-style: italic;
  color: var(--gris-fonce);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.hero-quote cite {
  font-size: 0.8rem;
  color: var(--or);
  font-weight: 500;
}

/* ========== STATS BAND ========== */
.stats-band {
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert-mid));
  padding: 2rem;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box .stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--or);
  font-family: 'Cormorant Garamond', serif;
}

.stat-box .stat-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* ========== SERVICES GRID ========== */
.section {
  padding: 5rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.stag {
  display: inline-block;
  background: rgba(197,160,89,0.1);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  color: var(--or);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--vert-fonce);
  margin-bottom: 1rem;
}

.section-head h2 span {
  color: var(--or);
}

.section-head p {
  color: var(--gris);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.svc-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-base);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(197,160,89,0.2);
}

.svc-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert-mid));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-base);
}

.svc-icon i {
  font-size: 2rem;
  color: var(--or);
}

.svc-card:hover .svc-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--vert-emeraude), var(--vert-mid));
}

.svc-card h3 {
  font-size: 1.25rem;
  color: var(--vert-fonce);
  margin-bottom: 0.75rem;
}

.svc-card p {
  color: var(--gris);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.svc-more {
  color: var(--or);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.svc-more i {
  transition: var(--transition-fast);
}

.svc-more:hover i {
  transform: translateX(5px);
}

/* ========== SECTEUR CARDS (POUR CLIENTS.HTML) ========== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.sector-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.sector-card .card-header-green {
  background: var(--vert-fonce);
  padding: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-base);
}

.sector-card .icon-gold {
  font-size: 2.5rem;
  color: var(--or);
  transition: var(--transition-base);
}

.sector-card .card-body-white {
  background: var(--blanc);
  padding: 1.5rem;
  text-align: center;
}

.sector-card .card-body-white h3 {
  font-size: 1.1rem;
  color: var(--vert-fonce);
  font-weight: 600;
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.sector-card:hover .card-header-green {
  background: var(--vert-emeraude);
}

.sector-card:hover .icon-gold {
  color: var(--blanc);
  transform: scale(1.1);
}

/* ========== PAYS GRID ========== */
.pays-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.pays-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(0,0,0,0.02);
  border-radius: var(--radius-sm);
}

.pays-flag {
  font-size: 1.2rem;
}

.pays-name {
  font-size: 0.85rem;
  color: var(--gris-fonce);
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--noir);
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--or);
  color: var(--blanc);
}

.footer-col h4 {
  color: var(--blanc);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--or);
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer-contact-list li i {
  width: 20px;
  color: var(--or);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-inner p {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-left h1 br { display: none; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ========== FLASH MESSAGES ========== */
.flash-messages {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 2000;
}

.flash {
  background: var(--blanc);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-left: 4px solid var(--vert-emeraude);
}

.flash button {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gris);
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gris-clair);
}

::-webkit-scrollbar-thumb {
  background: var(--or);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--vert-emeraude);
}
/* Loading Indicator */
.loading-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  pointer-events: none;
}

.loading-line {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--or), var(--vert));
  transition: width 0.3s;
}

.htmx-request .loading-line {
  animation: loading-line 1s ease-in-out infinite;
}

@keyframes loading-line {
  0% { left: -100%; width: 100%; }
  50% { left: 0; width: 50%; }
  100% { left: 100%; width: 0; }
}

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.htmx-request .loading-spinner {
  display: flex;
  gap: 0.5rem;
}

.spinner-ring {
  width: 12px;
  height: 12px;
  background: var(--or);
  border-radius: 50%;
  animation: bounce 0.5s ease-in-out infinite;
}

.spinner-ring:nth-child(2) { animation-delay: 0.1s; }
.spinner-ring:nth-child(3) { animation-delay: 0.2s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-15px); opacity: 1; }
}

/* Reveal Animations */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

/* Section Alt */
.section-alt {
  background: #f8f9fa;
}

/* Responsive Global */
@media (max-width: 992px) {
  .hero-content, .page-hero-content {
    padding: 2rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--or);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--vert);
}
/* ========== PRÉSENCE GÉOGRAPHIQUE PREMIUM ========== */
.presence-premium {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.presence-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(197,160,89,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.presence-world {
  max-width: 1200px;
  margin: 0 auto;
}

/* Carte mondiale stylisée */
.world-map {
  margin-bottom: 3rem;
}

.map-container {
  position: relative;
  background: linear-gradient(135deg, #e8f5e9, #c8e6d9);
  border-radius: 2rem;
  padding: 3rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.map-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(197,160,89,0.15), transparent);
  pointer-events: none;
}

.world-map-placeholder {
  font-size: 8rem;
  opacity: 0.8;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.map-pulse {
  position: absolute;
  cursor: pointer;
}

.map-pulse i {
  font-size: 1.5rem;
  color: var(--or);
  position: relative;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  background: rgba(197,160,89,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 2s infinite;
}

.africa-pulse {
  top: 55%;
  left: 48%;
}

.europe-pulse {
  top: 35%;
  left: 52%;
}

.america-pulse {
  top: 45%;
  left: 25%;
}

@keyframes pulse-ring {
  0% { width: 20px; height: 20px; opacity: 0.8; }
  100% { width: 60px; height: 60px; opacity: 0; }
}

/* Grille Premium */
.countries-premium-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
}

.countries-col {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.countries-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.col-header {
  background: linear-gradient(135deg, var(--vert-fonce), var(--vert-mid));
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.col-header i {
  font-size: 1.5rem;
  color: var(--or);
}

.col-header h3 {
  font-size: 1.3rem;
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
}

.col-count {
  background: rgba(255,255,255,0.2);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.international-header {
  background: linear-gradient(135deg, var(--or), #b8860b);
}

.countries-list {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
}

/* Carte pays premium */
.country-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: #f8fafc;
  border-radius: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.country-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--or), var(--vert-emeraude));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.country-card:hover {
  transform: translateX(5px);
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

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

.country-flag {
  font-size: 1.5rem;
}

.country-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gris-fonce);
}

.country-projects {
  font-size: 0.7rem;
  color: var(--or);
  font-weight: 500;
}

.country-hover {
  position: absolute;
  right: -100%;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--or);
  padding: 0 1rem;
  transition: right 0.3s ease;
}

.country-card:hover .country-hover {
  right: 0;
}

.country-hover i {
  font-size: 0.8rem;
  color: white;
}

.country-hover span {
  font-size: 0.7rem;
  color: white;
  white-space: nowrap;
}

/* Cartes internationales */
.country-card.international {
  background: rgba(197,160,89,0.1);
}

.international-list {
  background: linear-gradient(135deg, #fff8f0, #ffffff);
}

/* Stats globales */
.global-stats {
  display: flex;
  justify-content: space-around;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border-top: 1px solid #e2e8f0;
}

.global-stat {
  text-align: center;
}

.global-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--or);
  font-family: 'Cormorant Garamond', serif;
}

.global-label {
  font-size: 0.7rem;
  color: var(--gris);
}

/* Partenaires internationaux */
.international-partners {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--vert-fonce), #0a2a15);
  border-radius: 1.5rem;
  text-align: center;
}

.partners-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--or);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-logo i {
  font-size: 2rem;
  color: var(--or);
  transition: all 0.3s;
}

.partner-logo span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.partner-logo:hover {
  transform: translateY(-3px);
}

.partner-logo:hover i {
  transform: scale(1.1);
  color: var(--blanc);
}

/* Responsive */
@media (max-width: 992px) {
  .countries-premium-grid {
    grid-template-columns: 1fr;
  }
  
  .map-pulse {
    display: none;
  }
  
  .countries-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .countries-list {
    grid-template-columns: 1fr;
  }
  
  .country-hover {
    display: none;
  }
  
  .global-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .partners-logos {
    gap: 1rem;
  }
  
  .partner-logo i {
    font-size: 1.5rem;
  }
  
  .partner-logo span {
    font-size: 0.6rem;
  }
} 
/* Cacher le curseur personnalisé */
.cursor,
.cursor-follower {
  display: none !important;
}
/* Champs Django auto-générés */
.form-grp input,
.form-grp textarea,
.form-grp select {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 2px solid rgba(26,74,46,.1);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: var(--gris-dark);
  background: var(--creme);
  transition: var(--trans);
}
.form-grp input:focus,
.form-grp textarea:focus,
.form-grp select:focus {
  outline: none;
  border-color: var(--or);
  background: var(--blanc);
  box-shadow: 0 0 0 4px rgba(201,168,76,.08);
}
/* ═══ FORMULAIRE DJANGO RENDU ═══ */
.form-grp input,
.form-grp textarea,
.form-grp select {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid rgba(26,74,46,.12);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  color: var(--gris-dark);
  background: var(--creme);
  transition: var(--trans);
  appearance: none;
}
.form-grp input:focus,
.form-grp textarea:focus,
.form-grp select:focus {
  outline: none;
  border-color: var(--or);
  background: var(--blanc);
  box-shadow: 0 0 0 4px rgba(201,168,76,.1);
}
.form-grp input:hover,
.form-grp textarea:hover,
.form-grp select:hover {
  border-color: rgba(26,74,46,.3);
}
.form-grp textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.form-grp select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a4a2e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-grp label span {
  color: var(--or);
  margin-left: 2px;
}

/* Message succès animé */
.flash-messages {
  position: fixed;
  top: 90px;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.flash {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  min-width: 320px;
  max-width: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  animation: slideIn .4s ease;
}
.flash button {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: .5;
  line-height: 1;
}
.flash button:hover { opacity: 1; }
.flash-success {
  background: #f0fdf4;
  color: #166534;
  border-left: 4px solid #22c55e;
}
.flash-error {
  background: #fef2f2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}