/* ============================================
   LANDING PAGES - CSS COMPLET
   ============================================ */

:root {
  --primary: #2196f3;
  --primary-dark: #1976d2;
  --secondary: #192744;
  --accent: #4caf50;
  --accent-light: #e8f5e9;
  --warning: #ffc107;
  --danger: #ef5350;
  --light: #f8fafc;
  --dark: #1a1a2e;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar-landing {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0;
}

.navbar-landing > .container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
}

.navbar-landing .navbar-brand img {
  height: 45px;
}

.navbar-landing .navbar-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 2rem;
}

.navbar-landing ul.navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.navbar-landing ul.navbar-nav li {
  list-style: none;
}

.navbar-landing ul.navbar-nav li a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: block;
}

.navbar-landing ul.navbar-nav li a:hover {
  color: var(--primary);
  background: rgba(33,150,243,0.08);
}

.navbar-landing .navbar-actions {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.btn-nav-outline {
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-nav-outline:hover {
  background: var(--secondary);
  color: #fff;
}

.btn-nav-primary {
  padding: 0.6rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 2px solid var(--primary);
}

.btn-nav-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33,150,243,0.3);
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

@media (max-width: 991px) {
  .navbar-landing .navbar-toggler {
    display: block !important;
  }
  .navbar-landing .navbar-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column !important;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 1rem;
  }
  .navbar-landing .navbar-menu.open {
    display: flex !important;
    flex-direction: column !important;
  }
  .navbar-landing ul.navbar-nav {
    flex-direction: column !important;
    width: 100%;
  }
  .navbar-landing ul.navbar-nav li a {
    padding: 0.75rem 1rem;
  }
  .navbar-landing .navbar-actions {
    width: 100%;
    flex-direction: column !important;
  }
  .navbar-landing .btn-nav-outline, 
  .navbar-landing .btn-nav-primary {
    text-align: center;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .navbar-landing .navbar-toggler {
    display: none !important;
  }
  .navbar-landing .navbar-menu {
    display: flex !important;
    flex-direction: row !important;
  }
  .navbar-landing ul.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
  }
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.text-gradient {
  background: linear-gradient(90deg, var(--accent), #8bc34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ============================================
   HERO PILLAR PAGES
   ============================================ */
.pillar-hero {
  min-height: 85vh;
  background: linear-gradient(135deg, #192744 0%, #2d4a6f 50%, #1a3a5c 100%);
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  color: #fff;
  position: relative;
}

.pillar-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.pillar-hero .container {
  position: relative;
  z-index: 1;
}

/* Utilise le grid Bootstrap, on ajoute juste l'alignement */
.pillar-hero .row {
  align-items: center;
}

.pillar-hero .col-lg-6 {
  /* Bootstrap gère les colonnes */
}

.pillar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,175,80,0.2);
  border: 1px solid rgba(76,175,80,0.4);
  color: #8bc34a;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pillar-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

.pillar-hero .lead {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.7;
}

.btn-cta-green {
  background: linear-gradient(135deg, var(--accent), #66bb6a);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(76,175,80,0.4);
}

.btn-cta-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(76,175,80,0.5);
  color: #fff;
}

.pillar-img-placeholder {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  min-height: 350px;
  text-align: center;
  padding: 2rem;
}

.pillar-img-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.pillar-img-placeholder p {
  margin: 0;
  color: var(--primary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.pillar-features {
  padding: 5rem 0;
  background: #fff;
}

.pillar-features h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 3rem;
}

/* Bootstrap gère le grid avec row g-4 */
.pillar-features .row.g-4 {
  /* Utilise les classes Bootstrap */
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-icon.blue { background: #e3f2fd; color: var(--primary); }
.feature-icon.green { background: #e8f5e9; color: var(--accent); }
.feature-icon.orange { background: #fff3e0; color: #ff9800; }
.feature-icon.purple { background: #f3e5f5; color: #9c27b0; }
.feature-icon.red { background: #ffebee; color: var(--danger); }
.feature-icon.teal { background: #e0f2f1; color: #009688; }

.feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 0.75rem 0;
}

.feature-card p {
  color: #64748b;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Bootstrap gère le responsive avec col-md-6 col-lg-4 */

/* ============================================
   COMPARISON TABLE
   ============================================ */
.pillar-comparison {
  padding: 5rem 0;
  background: var(--light);
}

.pillar-comparison h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 3rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.comparison-table th.highlight {
  background: var(--accent);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--secondary);
}

.comparison-table td.highlight {
  background: rgba(76,175,80,0.08);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(33,150,243,0.03);
}

.comparison-table tr:hover td.highlight {
  background: rgba(76,175,80,0.12);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.pillar-how {
  padding: 5rem 0;
}

.pillar-how h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 3rem;
}

/* Bootstrap gère la grille */
.pillar-how .row {
  --bs-gutter-x: 2rem;
}

.how-step {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  height: 100%;
}

.step-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1.25rem;
}

.how-step h4 {
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 0.75rem 0;
}

.how-step p {
  color: #64748b;
  margin: 0;
  font-size: 0.95rem;
}

/* Bootstrap gère le responsive */

/* ============================================
   WORKFLOW STEPS
   ============================================ */
.workflow-steps {
  margin-top: 2rem;
}

.workflow-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.pillar-cta {
  background: linear-gradient(135deg, var(--accent), #66bb6a);
  color: #fff;
  padding: 5rem 0;
}

.pillar-cta h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
}

.pillar-cta p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin: 0 0 2rem 0;
}

.btn-cta-white {
  background: #fff;
  color: var(--accent);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  color: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-landing {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

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

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-links h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 1.25rem 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
}

/* ============================================
   RESPONSIVE HERO
   ============================================ */
@media (max-width: 991px) {
  .pillar-hero {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .pillar-hero h1 {
    font-size: 2.25rem;
  }
  .pillar-hero .lead {
    font-size: 1.05rem;
  }
  .pillar-img-placeholder {
    min-height: 280px;
    margin-top: 2rem;
  }
}

@media (max-width: 575px) {
  .pillar-hero h1 {
    font-size: 1.85rem;
  }
  .btn-cta-green {
    width: 100%;
    justify-content: center;
  }
}