/*
===============================================
RGPD MANAGER - Site Public (2026 Modern Design)
Couleurs: Jaune (#f7b500) / Bleu foncé (#0b2239)
===============================================
*/

:root {
  /* Couleurs principales */
  --primary: #f7b500;
  --primary-hover: #e5a800;
  --primary-light: #fef3cd;
  --primary-gradient: linear-gradient(135deg, #f7b500 0%, #ff9500 100%);
  --dark: #0b2239;
  --dark-hover: #1a3a5c;
  --dark-gradient: linear-gradient(135deg, #0b2239 0%, #1a3a5c 100%);
  --muted: #6b7280;
  --light-bg: #f6f8fb;
  --border-color: #e6eef7;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 34, 57, 0.06);
  --shadow-md: 0 4px 20px rgba(11, 34, 57, 0.1);
  --shadow-lg: 0 12px 40px rgba(11, 34, 57, 0.15);
  --shadow-glow: 0 0 24px rgba(247, 181, 0, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--light-bg);
  color: var(--dark);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-text-size-adjust: 100%;
}

/* Typographie bold moderne */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.fw-black { font-weight: 900 !important; }

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   V2 VARIABLES
===================== */
:root {
  --dot-pattern: radial-gradient(circle, rgba(11,34,57,0.07) 1px, transparent 1px);
  --grid-pattern: linear-gradient(rgba(11,34,57,0.04) 1px, transparent 1px),
                  linear-gradient(90deg, rgba(11,34,57,0.04) 1px, transparent 1px);
  --shadow-xl: 0 20px 60px rgba(11, 34, 57, 0.18);
  --shadow-card-hover: 0 16px 48px rgba(11, 34, 57, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
}

/* =====================
   ANIMATIONS
===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(247, 181, 0, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(247, 181, 0, 0.55); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: rotateY(-4deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(3deg) translateY(-12px); }
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(247, 181, 0, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(247, 181, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(247, 181, 0, 0); }
}

/* Scroll-triggered animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* =====================
   BACKGROUND PATTERNS
===================== */
.bg-dots {
  background-image: var(--dot-pattern);
  background-size: 20px 20px;
}

.bg-grid {
  background-image: var(--grid-pattern);
  background-size: 40px 40px;
}

.bg-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%),
    var(--light-bg);
}

/* =====================
   WAVE SVG DIVIDERS
===================== */
.section-wave-top {
  position: relative;
}
.section-wave-top::before {
  content: '';
  position: absolute;
  top: -59px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,0 C360,60 1080,0 1440,60 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 60px;
  pointer-events: none;
  z-index: 2;
}

.section-wave-bottom {
  position: relative;
}
.section-wave-bottom::after {
  content: '';
  position: absolute;
  bottom: -59px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,60 C360,0 1080,60 1440,0 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top;
  background-size: 100% 60px;
  pointer-events: none;
  z-index: 2;
}

.section-wave-dark::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%230b2239' d='M0,0 C360,60 1080,0 1440,60 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: 100% 60px;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  transition: transform var(--transition-fast);
}

.navbar-brand:hover {
  transform: scale(1.03);
  opacity: 1;
}

.navbar-brand .mark-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--primary-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: 0 4px 12px rgba(247, 181, 0, 0.25);
}

.navbar-brand:hover .mark-logo {
  transform: rotate(-5deg) scale(1.08);
  box-shadow: var(--shadow-glow);
}

.nav-link {
  color: var(--dark);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

/* =====================
   BOUTONS
===================== */
.btn {
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  min-height: 44px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(247, 181, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  color: var(--dark);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-dark-custom {
  background: var(--dark-gradient);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-dark-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(11, 34, 57, 0.3);
  color: #fff;
}

.btn-outline-secondary {
  border: 2px solid var(--dark);
  color: var(--dark);
  background: transparent;
  font-weight: 600;
}

.btn-outline-secondary:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn i.fa-arrow-right {
  transition: transform var(--transition-fast);
}

.btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}

/* ---- Navbar action buttons (compact, modern) ---- */
.navbar-actions .btn.btn-nav-ghost {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  box-shadow: none;
  min-height: auto;
}

.navbar-actions .btn.btn-nav-ghost:hover {
  color: var(--primary);
  background: rgba(247, 181, 0, 0.08);
  transform: none;
  box-shadow: none;
}

.navbar-actions .btn.btn-nav-cta {
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 1.15rem;
  border-radius: 8px;
  background: var(--dark);
  border: none;
  box-shadow: none;
  min-height: auto;
}

.navbar-actions .btn.btn-nav-cta:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(247, 181, 0, 0.3);
}

.navbar-actions .btn.btn-nav-cta::before {
  display: none;
}

/* =====================
   CARDS
===================== */
.card {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-feature {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #fff 0%, #fffcf5 100%);
  border-left: 4px solid var(--primary);
}

.card-feature:hover {
  border-color: var(--primary);
}

/* Feature icon wrappers */
.feature-icon .icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.card-feature:hover .icon-wrapper {
  background: var(--primary-gradient);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.card-feature:hover .icon-wrapper i {
  color: #fff !important;
}

/* =====================
   HERO SECTION
===================== */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f0fbff 50%, #fffcf5 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-section .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  line-height: 1.7;
}

/* Hero badge pill */
.badge-pill-hero {
  background: var(--primary-light);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(247, 181, 0, 0.3);
}

/* Trust badges row */
.trust-badges .trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-badges .trust-item i {
  font-size: 1.15rem;
}

/* =====================
   DASHBOARD MOCKUP (CSS)
===================== */
.dashboard-mockup {
  perspective: 1200px;
}

.mockup-window {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(11, 34, 57, 0.2), 0 0 0 1px rgba(11, 34, 57, 0.05);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(3deg);
  transition: transform 0.6s ease;
}

.dashboard-mockup:hover .mockup-window {
  transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: var(--dark-gradient);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-controls {
  display: flex;
  gap: 6px;
}

.mockup-controls .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-title {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 600;
}

.mockup-body {
  display: flex;
  min-height: 320px;
  background: var(--light-bg);
}

.mockup-sidebar {
  width: 60px;
  background: var(--dark-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
}

.mockup-sidebar-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
}

.mockup-sidebar-item.active {
  background: var(--primary-gradient);
}

.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-stats {
  display: flex;
  gap: 12px;
}

.mockup-stat-card {
  flex: 1;
  height: 60px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.mockup-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  border-radius: 0 0 10px 10px;
}

.mockup-stat-card:nth-child(1)::after { background: var(--primary); width: 75%; }
.mockup-stat-card:nth-child(2)::after { background: var(--success); width: 60%; }
.mockup-stat-card:nth-child(3)::after { background: var(--info); width: 45%; }

.mockup-chart {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  min-height: 100px;
}

.mockup-chart-bars {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70%;
}

.mockup-bar {
  flex: 1;
  background: var(--primary-light);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.mockup-bar:nth-child(1) { height: 40%; }
.mockup-bar:nth-child(2) { height: 65%; }
.mockup-bar:nth-child(3) { height: 80%; background: var(--primary); opacity: 0.7; }
.mockup-bar:nth-child(4) { height: 55%; }
.mockup-bar:nth-child(5) { height: 90%; background: var(--primary); opacity: 0.8; }
.mockup-bar:nth-child(6) { height: 70%; }
.mockup-bar:nth-child(7) { height: 95%; background: var(--primary); }

.mockup-table {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 6px;
  background: var(--light-bg);
}

.mockup-row-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-row:nth-child(1) .mockup-row-dot { background: var(--success); }
.mockup-row:nth-child(2) .mockup-row-dot { background: var(--primary); }
.mockup-row:nth-child(3) .mockup-row-dot { background: var(--info); }

.mockup-row-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
}

.mockup-row:nth-child(1) .mockup-row-line { width: 70%; }
.mockup-row:nth-child(2) .mockup-row-line { width: 55%; }
.mockup-row:nth-child(3) .mockup-row-line { width: 85%; }

.mockup-row-badge {
  margin-left: auto;
  width: 50px;
  height: 18px;
  border-radius: 9px;
  flex-shrink: 0;
}

.mockup-row:nth-child(1) .mockup-row-badge { background: rgba(16, 185, 129, 0.15); }
.mockup-row:nth-child(2) .mockup-row-badge { background: rgba(247, 181, 0, 0.2); }
.mockup-row:nth-child(3) .mockup-row-badge { background: rgba(59, 130, 246, 0.15); }

/* =====================
   SOCIAL PROOF
===================== */
.stat-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
}

.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* =====================
   PRICING CARDS
===================== */
.card-plan {
  position: relative;
  transition: all var(--transition-base);
}

.card-plan.popular {
  border: 3px solid var(--primary) !important;
  box-shadow: 0 12px 48px rgba(247, 181, 0, 0.2) !important;
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--primary-gradient);
  color: var(--dark);
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(247, 181, 0, 0.35);
  animation: pulseGlow 2.5s infinite;
  font-size: 0.8rem;
  z-index: 2;
}

.risk-reversal {
  font-size: 0.85rem;
  color: var(--muted);
}

.risk-reversal i {
  color: var(--success);
}

/* =====================
   CTA SECTION
===================== */
.cta-card {
  background: linear-gradient(135deg, var(--dark) 0%, #1a3a5c 100%);
  color: #fff;
  border: none !important;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(247, 181, 0, 0.08);
}

.cta-card .text-muted-custom {
  color: rgba(255,255,255,0.7) !important;
}

/* =====================
   ALERTS
===================== */
.alert {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border: none;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
}

/* =====================
   FORMS
===================== */
.form-control,
.form-select {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  min-height: 48px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(247, 181, 0, 0.1);
  outline: none;
}

.form-label {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.invalid-feedback {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.is-invalid {
  border-color: var(--danger) !important;
}

/* =====================
   ACCORDION
===================== */
.accordion-item {
  border-radius: 12px !important;
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 700;
  border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(247, 181, 0, 0.15);
}

/* =====================
   LEGAL PAGES - CARD TITLES
===================== */
.card.shadow-sm > .card-body > h2.h5.fw-bold:first-child {
  background: #eef1f6;
  padding: 0.75rem 1rem;
  margin: -1rem -1rem 1rem -1rem;
  border-radius: 0.375rem 0.375rem 0 0;
}

/* =====================
   FOOTER
===================== */
.footer-modern {
  background: linear-gradient(180deg, #fff 0%, var(--light-bg) 100%);
  border-top: none;
  margin-top: 0;
  position: relative;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-contact a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--primary);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: 1rem;
}

.social-icon:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-bottom {
  background: var(--dark);
}

.footer-bottom p {
  color: rgba(255,255,255,0.6);
}

.badge-footer {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =====================
   SECTION LABELS & HEADERS
===================== */
.section-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.section-header {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =====================
   NAVBAR LOGO IMG
===================== */
.navbar-logo {
  transition: all var(--transition-base);
  filter: drop-shadow(0 2px 6px rgba(247, 181, 0, 0.25));
}

.navbar-brand:hover .navbar-logo {
  transform: rotate(-5deg) scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(247, 181, 0, 0.4));
}

/* =====================
   HERO V2 (DARK)
===================== */
.hero-v2 {
  background: linear-gradient(135deg, rgba(11, 34, 57, 0.94) 0%, rgba(26, 58, 92, 0.92) 100%),
              url('/assets/images/hero-security.jpg') center/cover no-repeat;
  background-attachment: fixed;
  padding: 6rem 0 5rem;
  overflow: hidden;
  position: relative;
  color: #fff;
}

.hero-v2 h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-v2 .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.hero-v2 .trust-item {
  color: rgba(255, 255, 255, 0.8);
}

.hero-v2 .trust-item i {
  color: var(--primary) !important;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--primary);
  margin-left: 4px;
  vertical-align: baseline;
  animation: blink 0.8s infinite;
}

.typing-word {
  color: var(--primary);
  display: inline;
  transition: opacity 0.4s ease;
}

.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all var(--transition-base);
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero floating mockup */
.hero-v2 .dashboard-mockup .mockup-window {
  animation: float 6s ease-in-out infinite;
}

/* =====================
   LOGO CAROUSEL
===================== */
.logo-carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.logo-carousel-wrapper::before,
.logo-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg), transparent);
}

.logo-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg), transparent);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: scrollLogos 30s linear infinite;
  width: max-content;
}

.logo-carousel-item {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
  opacity: 0.3;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.logo-carousel-item:hover {
  opacity: 0.7;
  color: var(--primary);
}

/* =====================
   FEATURE CARDS V2
===================== */
.card-feature-v2 {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: #fff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.card-feature-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card-feature-v2:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(247, 181, 0, 0.3);
}

.card-feature-v2:hover::before {
  transform: scaleX(1);
}

.card-feature-v2 .feature-icon .icon-wrapper {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.card-feature-v2:hover .feature-icon .icon-wrapper {
  background: var(--primary-gradient);
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.card-feature-v2:hover .feature-icon .icon-wrapper i {
  color: #fff !important;
}

/* =====================
   HOW IT WORKS (STEPS)
===================== */
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(247, 181, 0, 0.3);
  position: relative;
  z-index: 1;
}

.step-connector {
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--border-color));
  z-index: 0;
}

.step-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  background: #fff;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.step-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* =====================
   TESTIMONIAL CARDS
===================== */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(247, 181, 0, 0.3);
}

.testimonial-stars {
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* =====================
   ANIMATED COUNTERS
===================== */
.stat-counter {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =====================
   TRUST BADGES V2
===================== */
.trust-badge-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.trust-badge-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-glow);
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}

/* =====================
   GLASS CARD
===================== */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* =====================
   CTA V2 (dark image bg)
===================== */
.cta-v2 {
  background: linear-gradient(135deg, rgba(11, 34, 57, 0.92) 0%, rgba(26, 58, 92, 0.90) 100%),
              url('/assets/images/cta-bg.jpg') center/cover no-repeat;
  padding: 5rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-v2::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(247, 181, 0, 0.08);
  pointer-events: none;
}

/* =====================
   CONTACT PAGE
===================== */
.contact-hero {
  background: linear-gradient(160deg, #0b2239 0%, #122d4a 40%, #1a3a5c 100%);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-hero-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.contact-hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
  max-width: 540px;
}

.contact-hero-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-hero-decor-1 {
  width: 280px;
  height: 280px;
  top: -100px;
  right: 10%;
  background: rgba(247, 181, 0, 0.06);
}

.contact-hero-decor-2 {
  width: 160px;
  height: 160px;
  bottom: -60px;
  left: 8%;
  background: rgba(59, 130, 246, 0.05);
}

.contact-section {
  padding: 2.5rem 0 3.5rem;
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

/* ---- Form column ---- */
.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.contact-card-header {
  margin-bottom: 1.5rem;
}

.contact-card-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.contact-card-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-textarea {
  padding-left: 0.9rem !important;
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.login-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Consent checkbox */
.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 1rem;
  border-radius: 10px;
  background: #f8f9fb;
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  transition: border-color var(--transition-fast);
  user-select: none;
}

.contact-consent:hover {
  border-color: #d0d5dd;
}

.contact-consent-error {
  border-color: var(--danger);
  background: #fef2f2;
}

.contact-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-consent .login-checkmark {
  margin-top: 2px;
}

.contact-consent a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-consent a:hover {
  text-decoration: underline;
}

/* ---- Info column (right sidebar) ---- */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(247, 181, 0, 0.25);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--border-color);
}

.contact-info-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.contact-info-card p {
  font-size: 0.825rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.contact-info-card p strong {
  color: var(--dark);
}

/* Dark variant card */
.contact-info-card-dark {
  background: linear-gradient(160deg, #0b2239 0%, #1a3a5c 100%);
  border-color: transparent;
}

.contact-info-card-dark:hover {
  border-color: rgba(247, 181, 0, 0.35);
}

.contact-info-card-dark h3 {
  color: #fff;
}

.contact-info-card-dark p {
  color: rgba(255, 255, 255, 0.65);
}

.contact-info-card-dark p strong {
  color: #fff;
}

.contact-info-card-dark p a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-card-dark p a:hover {
  color: #fff;
}

/* Boutons dans les cards dark */
.btn-card-group {
  display: flex;
  gap: 0.5rem;
}

.btn-card-group > a {
  flex: 1;
  text-align: center;
  justify-content: center;
}

.btn-card-light {
  background: #fff;
  color: #0b2239;
  border: 1.5px solid #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-card-light:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-card-outline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-card-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.contact-info-icon-light {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(247, 181, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

/* ---- Contact responsive ---- */
@media (max-width: 991.98px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 2.5rem 0 2rem;
  }

  .contact-section {
    padding: 1.5rem 0 2.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-full {
    grid-column: auto;
  }

  .contact-info-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .contact-card {
    padding: 1.25rem;
  }

  .contact-hero-content h1 {
    font-size: 1.5rem;
  }

  .login-input,
  .login-select,
  .contact-textarea {
    font-size: 16px; /* Prevent iOS zoom */
  }
}

/* =====================
   LOGIN PAGE (split layout)
===================== */
.login-page {
  min-height: 100vh;
  background: var(--light-bg);
}

.login-split {
  display: flex;
  min-height: calc(100vh - 76px);
}

/* ---- Left brand panel ---- */
.login-brand {
  flex: 0 0 45%;
  max-width: 45%;
  background: linear-gradient(160deg, #0b2239 0%, #122d4a 40%, #1a3a5c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.login-brand-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.login-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 2.5rem;
}

.login-logo img {
  filter: brightness(0) invert(1);
}

.login-logo span {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.login-brand-text h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.login-brand-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.login-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(247, 181, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1rem;
}

.login-feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.login-feature span {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Decorative circles */
.login-brand-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.login-brand-decor-1 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -60px;
  background: rgba(247, 181, 0, 0.06);
}

.login-brand-decor-2 {
  width: 180px;
  height: 180px;
  top: -40px;
  right: 30%;
  background: rgba(247, 181, 0, 0.04);
}

.login-brand-decor-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: -30px;
  background: rgba(59, 130, 246, 0.06);
}

/* ---- Right form panel ---- */
.login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-form-wrapper {
  width: 100%;
  max-width: 420px;
}

.login-mobile-logo {
  display: none;
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-form-header {
  margin-bottom: 2rem;
}

.login-form-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.login-form-header p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

/* Form fields */
.login-field {
  margin-bottom: 1.25rem;
}

.login-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.login-input-wrap {
  position: relative;
}

.login-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #b0b8c4;
  font-size: 0.9rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.login-input {
  width: 100%;
  padding: 0.7rem 0.9rem 0.7rem 2.5rem;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--dark);
  background: #fff;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
  min-height: 46px;
}

.login-input::placeholder {
  color: #c0c7d0;
}

.login-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247, 181, 0, 0.1);
}

.login-input:focus ~ .login-input-icon,
.login-input-wrap:focus-within .login-input-icon {
  color: var(--primary);
}

.login-input.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.login-toggle-pw {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #b0b8c4;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.login-toggle-pw:hover {
  color: var(--dark);
}

.login-forgot {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.login-forgot:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Custom checkbox */
.login-remember {
  margin-bottom: 1.5rem;
}

.login-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.login-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.login-checkmark {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  background: #fff;
}

.login-checkbox input:checked + .login-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.login-checkbox input:checked + .login-checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

/* Submit button */
.login-submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: var(--dark);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}

.login-submit:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 181, 0, 0.35);
}

.login-submit:hover i {
  transform: translateX(4px);
}

.login-submit i {
  transition: transform var(--transition-fast);
}

.login-submit:active {
  transform: translateY(0);
}

.login-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Footer links */
.login-footer-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.login-footer-link a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.login-footer-link a:hover {
  text-decoration: underline;
}

.login-secure {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #b0b8c4;
  letter-spacing: 0.02em;
}

/* ---- Login page responsive ---- */
@media (max-width: 991.98px) {
  .login-brand {
    display: none;
  }

  .login-split {
    min-height: calc(100vh - 76px);
  }

  .login-mobile-logo {
    display: block;
  }

  .login-form-panel {
    padding: 1.5rem;
  }

  .login-form-header h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .login-form-header p {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .login-form-panel {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .login-form-header h2 {
    font-size: 1.35rem;
  }

  .login-input {
    font-size: 16px; /* Prevent iOS zoom */
  }
}

/* =====================
   AUTH PAGES (shared: forgot password, reset, verify email)
===================== */
.auth-hero {
  background: linear-gradient(160deg, #0b2239 0%, #122d4a 40%, #1a3a5c 100%);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.auth-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.auth-hero-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.auth-hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
  max-width: 540px;
}

.auth-section {
  padding: 2.5rem 0 3.5rem;
  background: var(--light-bg);
}

.auth-center {
  max-width: 460px;
  margin: 0 auto;
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
}

.auth-card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* Auth icon (circular badge at top of card) */
.auth-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.auth-icon-default {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
  color: #b45309;
}

.auth-icon-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
}

.auth-icon-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  color: #92400e;
}

.auth-icon-danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fca5a5 100%);
  color: #991b1b;
}

/* Auth card header */
.auth-card-header {
  margin-bottom: 1.5rem;
}

.auth-card-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.auth-card-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Auth card inner elements */
.auth-card .login-field {
  text-align: left;
}

.auth-card .login-submit {
  margin-top: 0.5rem;
}

.auth-divider {
  height: 1px;
  background: var(--border-color);
  margin: 1.5rem 0;
}

.auth-footer-actions {
  text-align: center;
}

.auth-footer-actions p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.auth-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  transition: all var(--transition-fast);
}

.auth-link-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

/* Tips box */
.auth-tips {
  background: #f8f9fb;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  text-align: left;
}

.auth-tips h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.auth-tips ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.auth-tips li {
  margin-bottom: 0.3rem;
}

/* Email providers */
.auth-email-providers {
  text-align: center;
  margin-top: 1rem;
}

.auth-email-providers > p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.email-providers {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.email-providers a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.email-providers a:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Code input for verification */
.auth-code-input {
  font-size: 1.75rem !important;
  letter-spacing: 10px;
  text-align: center;
  font-weight: 700;
  font-family: 'Inter', monospace;
  padding-left: 0.9rem !important;
}

/* Password requirements list */
.auth-requirements {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  text-align: left;
}

.auth-requirements li {
  margin-bottom: 0.25rem;
  color: var(--muted);
  transition: color 0.2s;
}

.auth-requirements li i {
  font-size: 6px;
  vertical-align: middle;
}

.auth-requirements .valid {
  color: var(--success);
}

.auth-requirements .invalid {
  color: var(--danger);
}

/* Password strength bar */
.password-strength {
  height: 4px;
  border-radius: 2px;
  margin-top: 8px;
  transition: all 0.3s;
  width: 0%;
}

/* ---- Auth pages responsive ---- */
@media (max-width: 767.98px) {
  .auth-hero {
    padding: 2.5rem 0 2rem;
  }

  .auth-section {
    padding: 1.5rem 0 2.5rem;
  }

  .auth-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .auth-card {
    padding: 1.25rem;
  }

  .auth-hero-content h1 {
    font-size: 1.5rem;
  }

  .auth-code-input {
    font-size: 1.5rem !important;
    letter-spacing: 6px;
  }
}

/* =====================
   TARIFS (inline → CSS)
===================== */
.badge-accent {
  background: #fbf6e6;
  color: #7a5200;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.badge-green {
  background: #eef9f1;
  color: #0a7a3b;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.billing-toggle .btn.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.billing-toggle .btn {
  border-radius: 10px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.2s;
}

.annual-total {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 4px;
}

.savings-badge {
  background: linear-gradient(135deg, #0a7a3b, #0d9f4c);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: 600;
}

/* =====================
   INSCRIPTION PAGE (modern layout)
===================== */
.signup-hero {
  background: linear-gradient(160deg, #0b2239 0%, #122d4a 40%, #1a3a5c 100%);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.signup-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.signup-hero-content h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.signup-hero-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 auto;
  max-width: 540px;
}

.signup-section {
  padding: 2.5rem 0 3.5rem;
  background: var(--light-bg);
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.signup-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.signup-card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.signup-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.signup-field-full {
  grid-column: 1 / -1;
}

.signup-help {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.signup-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

/* SIRET field with status indicator */
.signup-siret-wrap {
  position: relative;
}

.signup-siret-input {
  padding-right: 3rem !important;
}

.signup-siret-status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
}

/* Legal document blocks */
.signup-legal-separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.signup-separator-line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.signup-separator-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.signup-legal-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background: #f8f9fb;
  gap: 1rem;
  transition: border-color var(--transition-fast);
}

.signup-legal-block.border-success {
  border-color: var(--success) !important;
  background: #f0fdf4;
}

.signup-legal-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.signup-legal-left strong {
  font-size: 0.9rem;
}

.signup-legal-icon {
  font-size: 1.15rem;
  color: var(--muted);
  flex-shrink: 0;
}

.signup-legal-icon.text-success {
  color: var(--success) !important;
}

.signup-legal-btn {
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.signup-legal-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

/* Info sidebar */
.signup-info-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
}

/* ---- Inscription responsive ---- */
@media (max-width: 991.98px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .signup-info-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: static;
  }
}

@media (max-width: 767.98px) {
  .signup-hero {
    padding: 2.5rem 0 2rem;
  }

  .signup-section {
    padding: 1.5rem 0 2.5rem;
  }

  .signup-card {
    padding: 1.5rem;
  }

  .signup-form-grid {
    grid-template-columns: 1fr;
  }

  .signup-field-full {
    grid-column: auto;
  }

  .signup-info-col {
    grid-template-columns: 1fr;
  }

  .signup-legal-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .signup-legal-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .signup-card {
    padding: 1.25rem;
  }

  .signup-hero-content h1 {
    font-size: 1.5rem;
  }
}

/* =====================
   INSCRIPTION (legacy styles)
===================== */
.password-toggle {
  padding: 0.375rem;
  text-decoration: none;
  color: var(--muted);
}

.password-toggle:hover {
  color: var(--dark);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.sirene-info {
  border-radius: 10px;
  padding: 16px;
  margin-top: 12px;
  font-size: 0.95em;
}

.sirene-info.loading {
  background: #fff8e1;
  border: 2px solid #ffcc02;
  color: #8d6e00;
}

.sirene-info.actif {
  background: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
}

.sirene-info.ferme {
  background: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
}

.sirene-info.erreur {
  background: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
}

.sirene-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.sirene-header .status-icon { font-size: 1.4em; line-height: 1; }
.sirene-header .status-text { font-weight: 700; font-size: 1.1em; }

.sirene-header .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
}

.status-badge.badge-actif { background: #28a745; color: white; }
.status-badge.badge-ferme { background: #dc3545; color: white; }

.sirene-details { line-height: 1.6; }
.sirene-details > div { margin-bottom: 4px; }

.sirene-warning {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(220, 53, 69, 0.15);
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sirene-warning .warning-icon { font-size: 1.3em; flex-shrink: 0; }

.sirene-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.9em;
  opacity: 0.85;
}

/* =====================
   TARTEAUCITRON OVERRIDES
===================== */
#tarteaucitronAlertBig {
  background: var(--dark) !important;
  font-family: 'Inter', sans-serif !important;
}

#tarteaucitronPersonalize,
#tarteaucitronAllAllowed {
  background: var(--primary) !important;
  color: var(--dark) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

#tarteaucitronAllDenied {
  border-radius: 10px !important;
  font-weight: 600 !important;
}

/* =====================
   UTILITAIRES
===================== */
.text-accent {
  color: var(--primary);
}

.text-muted-custom {
  color: var(--muted);
}

.text-primary-custom {
  color: var(--primary);
}

.bg-primary-custom {
  background: var(--primary);
}

.bg-dark-custom {
  background: var(--dark);
}

.shadow-sm-custom {
  box-shadow: var(--shadow-sm);
}

.shadow-custom {
  box-shadow: var(--shadow-md);
}

/* =====================
   RESPONSIVE
===================== */

/* ---- Large desktop (992px+) ---- */
@media (min-width: 992px) {
  .hero-section {
    padding: 6rem 0 5rem;
  }

  .card-plan.popular {
    transform: scale(1.06);
  }
}

/* ---- Tablet (768px - 991px) ---- */
@media (max-width: 991.98px) {
  .navbar-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 0.75rem;
    gap: 0.5rem !important;
  }

  .navbar-actions .btn {
    width: 100%;
    text-align: center;
  }

  .navbar-nav {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .card-plan.popular {
    transform: none;
  }

  .mockup-window {
    transform: none;
  }

  .dashboard-mockup:hover .mockup-window {
    transform: none;
  }
}

/* ---- Tablet & mobile (< 768px) ---- */
@media (max-width: 767.98px) {
  .hero-section,
  .hero-v2 {
    padding: 3rem 0 2rem;
    text-align: center;
    background-attachment: scroll;
  }

  .hero-section .d-flex.flex-wrap,
  .hero-v2 .d-flex.flex-wrap {
    justify-content: center;
  }

  .hero-section .btn-lg,
  .hero-v2 .btn-lg {
    width: 100%;
  }

  .trust-badges {
    justify-content: center;
  }

  section.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer-modern {
    text-align: center;
  }

  .footer-modern .col-lg-4 {
    margin-bottom: 2rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.625rem 1.125rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* V2 responsive */
  .hero-v2 .dashboard-mockup .mockup-window {
    animation: none;
  }

  .section-wave-top::before,
  .section-wave-bottom::after {
    height: 40px;
    top: -39px;
  }
  .section-wave-bottom::after {
    bottom: -39px;
    top: auto;
  }

  .logo-carousel-track {
    gap: 2rem;
    animation-duration: 15s;
  }

  .logo-carousel-wrapper::before,
  .logo-carousel-wrapper::after {
    width: 40px;
  }

  .trust-badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 1.5rem;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .step-connector {
    display: none;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .stat-counter {
    font-size: 2rem;
  }

  .cta-v2 {
    padding: 3rem 0;
    text-align: center;
  }
}

/* ---- Small mobile (< 576px) ---- */
@media (max-width: 575.98px) {
  .hero-section {
    padding: 2rem 0 1.5rem;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .hero-section .lead {
    font-size: 0.95rem;
  }

  .card-body {
    padding: 1.25rem !important;
  }

  .card.p-4 {
    padding: 1.25rem !important;
  }

  .card.p-3 {
    padding: 1rem !important;
  }

  .mockup-body {
    min-height: 200px;
  }

  .mockup-stats {
    flex-direction: column;
  }

  .d-flex.gap-2 {
    flex-direction: column;
  }

  .d-flex.gap-2 .btn {
    width: 100%;
  }

  .table {
    font-size: 0.85rem;
  }

  .accordion-button {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .accordion-body {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .form-control,
  .form-select {
    font-size: 16px; /* Prevent iOS zoom on focus */
  }

  .alert {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }
}
