/* ============================================
   KCB CONSULTING - Feuille de style principale
   Couleurs de la marque:
   - Bleu: #1a3a6c (primaire)
   - Bordeaux/Rouge: #8b1a1a (secondaire)
   - Vert: #2d8659 (accent)
   - Gris: #4a4a4a (neutre)
   ============================================ */

:root {
  --bleu: #1a3a6c;
  --bleu-clair: #2c5494;
  --bleu-fonce: #0f2342;
  --bordeaux: #8b1a1a;
  --bordeaux-clair: #b22828;
  --vert: #2d8659;
  --vert-clair: #3da872;
  --gris: #4a4a4a;
  --gris-clair: #e8e8e8;
  --gris-fonce: #2a2a2a;
  --blanc: #ffffff;
  --or: #c5a059;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gris);
  background-color: #f5f6fa;
}

/* ============================================
   EN-TETE / HEADER
   ============================================ */
.header {
  background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-fonce) 100%);
  color: var(--blanc);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.topbar {
  background: var(--bordeaux);
  padding: 6px 0;
  font-size: 13px;
  text-align: center;
}

.topbar a {
  color: var(--blanc);
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s;
}

.topbar a:hover {
  color: #ffd;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--blanc);
}

.logo-svg {
  width: 50px;
  height: 50px;
}

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

.logo-text h1 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text h1 .bleu {
  color: #4a9eff;
}

.logo-text p {
  font-size: 11px;
  color: var(--bordeaux-clair);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5px;
}

.nav-menu li a {
  color: var(--blanc);
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.3s;
  display: block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background: var(--bordeaux);
  color: var(--blanc);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--blanc);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, rgba(15, 35, 66, 0.92) 0%, rgba(26, 58, 108, 0.92) 100%),
    url('../images/hero-bg.jpg') center/cover;
  color: var(--blanc);
  padding: 100px 40px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h2 span {
  color: var(--vert-clair);
}

.hero p {
  font-size: 19px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--blanc);
}

.btn-primary:hover {
  background: var(--bordeaux-clair);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 26, 26, 0.4);
}

.btn-secondary {
  background: var(--vert);
  color: var(--blanc);
}

.btn-secondary:hover {
  background: var(--vert-clair);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(45, 134, 89, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 2px solid var(--blanc);
}

.btn-outline:hover {
  background: var(--blanc);
  color: var(--bleu);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

/* ============================================
   SECTIONS GENERALES
   ============================================ */
.section {
  padding: 70px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 34px;
  color: var(--bleu);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 17px;
  color: var(--gris);
  max-width: 700px;
  margin: 0 auto;
}

.section-title .underline {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--bordeaux), var(--vert));
  margin: 12px auto;
  border-radius: 2px;
}

/* Bandeaux de couleur */
.band-bleu { border-top: 4px solid var(--bleu); }
.band-vert { border-top: 4px solid var(--vert); }
.band-bordeaux { border-top: 4px solid var(--bordeaux); }

/* ============================================
   CARTES DE SERVICES / FORMATIONS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--blanc);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
  padding: 25px;
  color: var(--blanc);
  text-align: center;
}

.card-header.bleu { background: linear-gradient(135deg, var(--bleu), var(--bleu-clair)); }
.card-header.bordeaux { background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-clair)); }
.card-header.vert { background: linear-gradient(135deg, var(--vert), var(--vert-clair)); }
.card-header.gris { background: linear-gradient(135deg, var(--gris-fonce), var(--gris)); }

.card-icon {
  font-size: 50px;
  margin-bottom: 12px;
}

.card-header h3 {
  font-size: 20px;
  font-weight: 700;
}

.card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body p {
  color: var(--gris);
  margin-bottom: 15px;
  flex: 1;
}

.card-body ul {
  list-style: none;
  margin-bottom: 20px;
}

.card-body ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--gris);
  font-size: 14px;
}

.card-body ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vert);
  font-weight: bold;
}

.card-footer {
  padding: 0 25px 25px;
  margin-top: auto;
}

.card-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--bordeaux);
  margin-bottom: 12px;
}

.card-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--gris);
}

/* ============================================
   MODAL POUR DETAILS
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--blanc);
  border-radius: 14px;
  max-width: 750px;
  width: 100%;
  margin: auto;
  overflow: hidden;
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 25px 30px;
  color: var(--blanc);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header.bleu { background: linear-gradient(135deg, var(--bleu), var(--bleu-clair)); }
.modal-header.bordeaux { background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-clair)); }
.modal-header.vert { background: linear-gradient(135deg, var(--vert), var(--vert-clair)); }
.modal-header.gris { background: linear-gradient(135deg, var(--gris-fonce), var(--gris)); }

.modal-header h3 {
  font-size: 24px;
  font-weight: 700;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--blanc);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.modal-body {
  padding: 30px;
}

.modal-body h4 {
  color: var(--bleu);
  font-size: 18px;
  margin: 20px 0 10px;
}

.modal-body p {
  color: var(--gris);
  margin-bottom: 12px;
}

.modal-body ul {
  list-style: none;
  margin: 10px 0 20px;
}

.modal-body ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gris);
}

.modal-body ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--vert);
  font-weight: bold;
  font-size: 18px;
}

.modal-price-box {
  background: #f0f5ff;
  border-left: 4px solid var(--bordeaux);
  padding: 18px;
  border-radius: 8px;
  margin: 20px 0;
}

.modal-price-box .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--bordeaux);
}

.modal-price-box .price-label {
  font-size: 14px;
  color: var(--gris);
}

.modal-cta {
  text-align: center;
  margin-top: 20px;
}

/* ============================================
   A PROPOS
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  color: var(--bleu);
  font-size: 26px;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
  color: var(--gris);
}

.about-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-img img {
  width: 100%;
  display: block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--blanc);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-item .icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.value-item h4 {
  color: var(--bleu);
  font-size: 18px;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 14px;
  color: var(--gris);
}

/* Statistiques */
.stats {
  background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-fonce) 100%);
  color: var(--blanc);
  padding: 50px 40px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 800;
  color: var(--vert-clair);
}

.stat-item p {
  font-size: 16px;
  opacity: 0.9;
}

/* ============================================
   PAGE CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--blanc);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
  color: var(--bleu);
  margin-bottom: 20px;
  font-size: 22px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item .icon {
  font-size: 24px;
  background: linear-gradient(135deg, var(--bleu), var(--bleu-clair));
  color: var(--blanc);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .info h4 {
  font-size: 16px;
  color: var(--bleu);
  margin-bottom: 3px;
}

.contact-item .info p,
.contact-item .info a {
  color: var(--gris);
  text-decoration: none;
  font-size: 15px;
}

.contact-item .info a:hover {
  color: var(--bordeaux);
}

.contact-form {
  background: var(--blanc);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--bleu);
  font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gris-clair);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bleu-clair);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-message {
  padding: 14px;
  border-radius: 8px;
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: #e0f5ea;
  color: var(--vert);
  border: 1px solid var(--vert);
}

.form-message.error {
  background: #fde0e0;
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
}

.map-embed {
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.map-embed iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* ============================================
   FORUM
   ============================================ */
.forum-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.forum-main {
  background: var(--blanc);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.forum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.forum-header h3 {
  color: var(--bleu);
  font-size: 24px;
}

.forum-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 6px 16px;
  border: 2px solid var(--gris-clair);
  background: var(--blanc);
  border-radius: 50px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--gris);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--bleu);
  color: var(--blanc);
  border-color: var(--bleu);
}

.forum-topic {
  border: 1px solid var(--gris-clair);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s;
  cursor: pointer;
}

.forum-topic:hover {
  border-color: var(--bleu-clair);
  box-shadow: 0 4px 12px rgba(26, 58, 108, 0.1);
}

.forum-topic-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.forum-topic-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.forum-topic-title .topic-icon {
  background: linear-gradient(135deg, var(--bleu), var(--bleu-clair));
  color: var(--blanc);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.forum-topic-title h4 {
  color: var(--bleu);
  font-size: 17px;
  margin-bottom: 2px;
}

.forum-topic-title .topic-meta {
  font-size: 12px;
  color: #888;
}

.forum-topic-tag {
  background: #e8f0ff;
  color: var(--bleu);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

.forum-topic-preview {
  color: var(--gris);
  font-size: 14px;
  margin-bottom: 10px;
}

.forum-topic-footer {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #888;
}

.forum-topic-footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.forum-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: var(--blanc);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-card h4 {
  color: var(--bleu);
  margin-bottom: 15px;
  font-size: 17px;
  border-bottom: 2px solid var(--gris-clair);
  padding-bottom: 10px;
}

.category-list {
  list-style: none;
}

.category-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  color: var(--gris);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.category-list a:hover {
  color: var(--bordeaux);
}

.category-list .count {
  background: var(--bleu);
  color: var(--blanc);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 600;
}

.recent-activity {
  font-size: 13px;
}

.recent-activity .activity-item {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.recent-activity .activity-item:last-child {
  border-bottom: none;
}

.recent-activity .activity-item a {
  color: var(--bleu);
  text-decoration: none;
  font-weight: 500;
}

.recent-activity .activity-item .time {
  color: #aaa;
  font-size: 11px;
}

/* Modal nouveau sujet */
.new-topic-form .form-group {
  margin-bottom: 15px;
}

/* ============================================
   BULLE DE TCHAT
   ============================================ */
.chat-bubble {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1500;
}

.chat-toggle-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-clair));
  color: var(--blanc);
  border: none;
  cursor: pointer;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(139, 26, 26, 0.4);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: chatPulse 2s infinite;
}

@keyframes chatPulse {
  0% { box-shadow: 0 6px 20px rgba(139, 26, 26, 0.4), 0 0 0 0 rgba(139, 26, 26, 0.3); }
  70% { box-shadow: 0 6px 20px rgba(139, 26, 26, 0.4), 0 0 0 15px rgba(139, 26, 26, 0); }
  100% { box-shadow: 0 6px 20px rgba(139, 26, 26, 0.4), 0 0 0 0 rgba(139, 26, 26, 0); }
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
}

.chat-toggle-btn .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--vert);
  color: var(--blanc);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--blanc);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 50px);
  background: var(--blanc);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  height: 480px;
}

.chat-window.active {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, var(--bleu), var(--bleu-clair));
  color: var(--blanc);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header .avatar {
  width: 42px;
  height: 42px;
  background: var(--blanc);
  color: var(--bleu);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.chat-header .chat-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.chat-header .chat-info .status {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-header .status .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
}

.chat-header .chat-close {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--blanc);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f0f2f5;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  animation: msgFade 0.3s ease;
}

@keyframes msgFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
  background: var(--blanc);
  color: var(--gris);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--bleu), var(--bleu-clair));
  color: var(--blanc);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-quick-replies {
  padding: 10px 15px;
  background: #f0f2f5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #e0e0e0;
}

.quick-reply-btn {
  background: var(--blanc);
  border: 1px solid var(--bleu-clair);
  color: var(--bleu);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-reply-btn:hover {
  background: var(--bleu);
  color: var(--blanc);
}

.chat-input-area {
  padding: 12px;
  background: var(--blanc);
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--gris-clair);
  border-radius: 50px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.chat-input-area input:focus {
  border-color: var(--bleu-clair);
}

.chat-input-area button {
  background: var(--bordeaux);
  color: var(--blanc);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.3s;
}

.chat-input-area button:hover {
  background: var(--bordeaux-clair);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gris-fonce);
  color: #c0c0c0;
  padding: 50px 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--blanc);
  font-size: 18px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--vert);
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  margin-bottom: 10px;
  color: #b0b0b0;
}

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

.footer-col ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--vert-clair);
  padding-left: 5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-logo h3 {
  color: var(--blanc);
  font-size: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--bordeaux);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--vert-clair);
  text-decoration: none;
}

/* ============================================
   PAGE HEADER (sous-pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu) 100%);
  color: var(--blanc);
  padding: 50px 40px;
  text-align: center;
}

.page-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.9;
}

.breadcrumb {
  font-size: 13px;
  margin-top: 15px;
  opacity: 0.8;
}

.breadcrumb a {
  color: var(--vert-clair);
  text-decoration: none;
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--vert);
  color: var(--blanc);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  z-index: 3000;
  font-weight: 600;
  display: none;
  animation: notifSlide 0.3s ease;
}

@keyframes notifSlide {
  from { transform: translateX(120%); }
  to { transform: translateX(0); }
}

.notification.show {
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .navbar {
    padding: 10px 20px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bleu-fonce);
    flex-direction: column;
    padding: 10px;
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 20px;
    border-radius: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 50px 20px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .about-grid,
  .contact-grid,
  .forum-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .chat-window {
    width: 320px;
    height: 440px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 24px;
  }

  .stat-item h3 {
    font-size: 36px;
  }

  .chat-bubble {
    bottom: 15px;
    right: 15px;
  }

  .chat-window {
    width: calc(100vw - 30px);
    right: -5px;
  }
}
