/* style.css - CS Audit360 Premium Theme */

:root {
  --bg-dark: #FFFFFF;
  --bg-darker: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 1);
  --primary: #059669;
  --primary-glow: rgba(5, 150, 105, 0.25);
  --secondary: #1E3A8A;
  --text-heading: #0F172A;
  --text-main: #334155;
  --text-muted: #64748B;
  --border-light: rgba(15, 23, 42, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(15, 23, 42, 0.08);
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #DC2626;
  --info: #7DD3FC;
  --focus-ring: #2563EB;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  padding-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;

  color: var(--text-heading);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.my-4 { margin-top: 2rem; margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* --- GLASSMORPHISM & UTILS --- */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.glassmorphism-dark {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-align: center;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.7);
  color: #FFFFFF;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  color: var(--text-main);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(0,0,0,0.3);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--text-main);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar .container.nav-content {
  max-width: 1320px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.brand-logo:hover {
  transform: translateY(-2px) scale(1.02);
}
.brand-logo img {
  height: 160px; /* Enlarged x4 as requested */
  width: auto;
  object-fit: contain;
  filter: none;
  margin: -55px 0; /* Negative margin to remove the transparent empty space and shrink navbar */
  mix-blend-mode: multiply; /* Makes any solid white background in the image completely transparent */
  clip-path: inset(30px 0 55px 0); /* Reduced from 55px top, but 55px bottom to hide frame overflow */
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* --- MOBILE MENU TOGGLE --- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-heading);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-cta-clone {
  display: none;
}

@media (max-width: 1240px) {
  .navbar .container.nav-content {
    padding: 0 1rem;
    gap: 1rem;
  }
  .nav-links {
    gap: 0.95rem;
  }
  .nav-links a {
    font-size: 0.88rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn {
    padding: 0 0.95rem;
    font-size: 0.84rem;
    height: 39px;
  }
  .btn-plaquette-nav {
    padding: 0 0.85rem;
    font-size: 0.84rem;
    height: 39px;
  }
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: none; /* Hide burger menu as requested */
  }
  
  .nav-content {
    flex-direction: column;
    align-items: center; /* Centered as requested */
    gap: 1rem;
  }

  .brand-logo {
    align-self: center; /* Centered as requested */
  }

  .brand-logo img {
    height: 90px;
    margin: -25px 0; /* Adjusted margins slightly */
    clip-path: inset(20px 0 20px 0); /* Reduced insets for both top and bottom to stop cropping */
  }

  .nav-links.desktop-only {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    position: static;
    width: 100%;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    z-index: auto;
  }

  .nav-links.desktop-only a {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
  }

  .nav-links.desktop-only a::after {
    display: none;
  }

  .nav-desktop-only {
    display: none !important;
  }

  .nav-links.desktop-only a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  .nav-actions {
    display: none !important; /* Removed as requested */
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  /* padding-top: 100px; removed to use global main padding */
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(0,229,255,0.05) 50%, rgba(255,255,255,0) 80%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 229, 255, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem; /* Réduit de 50% (4rem -> 2rem) */
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1rem; /* Réduit de 50% (2rem -> 1rem) */
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--border-light);
}

/* --- BANDEAU AUTORITÉ --- */
.authority-bandeau {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.brand-badges {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.badge-item:hover {
  color: var(--text-main);
}

.badge-icon {
  font-size: 1.5rem;
  background: rgba(0,0,0,0.05);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
}

/* --- SECTIONS --- */
.section {
  padding: 6rem 0;
}

main > .section:first-of-type,
main > .founder-hero-section:first-of-type {
  padding-top: 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* --- CARDS GRID --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(37,99,235,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* Light shadow instead of heavy dark shadow */
}

.card:hover::before {
  opacity: 1;
}

.card.highlighted {
  background: linear-gradient(180deg, rgba(37,99,235,0.1) 0%, var(--bg-card) 100%);
  border-color: rgba(37,99,235,0.3);
}

.card-icon {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,0,0,0.05);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.card-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.card-link:hover {
  color: var(--secondary);
  gap: 5px; /* Creates an arrow moving effect */
}

/* --- URGENCY BANNER --- */
.urgency-banner {
  margin: 2rem auto;
  padding: 3rem;
  max-width: 900px;
}

.pulse-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--danger);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.date-highlight {
  color: var(--warning);
  font-size: 1.2rem;
}

/* --- NEWS GRID --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.news-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-color: rgba(5, 150, 105, 0.3);
}

.news-img {
  height: 180px;
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  flex-shrink: 0;
}

.gradient-bg-1 { background: linear-gradient(45deg, #FF6B6B, #C0392B); }
.gradient-bg-2 { background: linear-gradient(45deg, #4facfe, #00f2fe); }
.gradient-bg-3 { background: linear-gradient(45deg, #43e97b, #38f9d7); }

.news-tag {
  background: rgba(255,255,255,0.9);
  color: var(--text-main);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.news-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.news-content h3,
.news-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem !important;
  color: var(--text-heading);
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8em;
  min-height: 2.8em;
}

.news-card:hover .news-content h3,
.news-card:hover .news-content h4 {
  color: var(--primary);
}

/* Snippet preview inside news cards (fixed height & aligned across all cards) */
.news-content .article-body,
.news-content > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  height: 4.65em; /* exactly 3 lines of preview */
  max-height: 4.65em;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Subtle gradient fade at the bottom of the card preview */
.news-content .article-body::after,
.news-content > p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.8em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--bg-card) 90%);
  pointer-events: none;
}

/* Flatten any nested formatting inside the card preview */
.news-content .article-body *,
.news-content > p * {
  display: inline !important;
  font-size: 0.92rem !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.55 !important;
}

.news-content .article-body br,
.news-content > p br {
  display: none !important;
}

.news-content .article-body ul,
.news-content .article-body ol,
.news-content > p ul,
.news-content > p ol {
  display: inline !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.news-content .article-body li,
.news-content > p li {
  display: inline !important;
  margin: 0 0.3rem 0 0 !important;
}

.news-content .article-body li::after,
.news-content > p li::after {
  content: " • ";
}

/* Hide rogue block siblings inside .news-content that might have spilled outside <p> */
.news-content > h2,
.news-content > h5,
.news-content > ul,
.news-content > ol {
  display: none !important;
}

/* Card footer pinned cleanly to bottom */
.news-content .flex-between {
  margin-top: auto !important;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Proper heading styles inside modal */
.modal-desc h2,
.modal-desc h5 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 1.5rem 0 0.75rem 0;
  line-height: 1.3;
}

.modal-desc h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin: 1.2rem 0 0.6rem 0;
  line-height: 1.3;
}

.modal-desc p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Modal unclamp and full formatting */
.modal-desc .article-body {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

.modal-desc .article-body::after {
  display: none !important;
}

.modal-desc .article-body * {
  display: revert !important;
  font-size: revert !important;
  font-weight: revert !important;
  color: revert !important;
  margin: revert !important;
  padding: revert !important;
  line-height: revert !important;
}

.modal-desc .article-body br {
  display: revert !important;
}

.modal-desc .article-body ul,
.modal-desc .article-body ol,
.modal-desc ul {
  display: revert !important;
  list-style: revert !important;
  margin: 0.75rem 0 1.25rem 1.5rem !important;
  color: var(--text-muted) !important;
}

.modal-desc .article-body li,
.modal-desc li {
  display: list-item !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.6 !important;
}

.modal-desc .article-body li::after {
  content: none !important;
}

.read-time {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  padding: 4rem;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-info h1,
.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.availability-widget {
  background: rgba(0,0,0,0.03);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.availability-widget h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.avail-month {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.avail-month > span:first-child { width: 90px; }
.avail-month > span:last-child { width: 60px; text-align: right; }

.progress-bar {
  flex-grow: 1;
  height: 8px;
  background: rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.fill {
  height: 100%;
  border-radius: 4px;
}

.bg-red { background-color: var(--warning); }
.bg-green { background-color: var(--success); }

/* --- FORM --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.half { flex: 1; }

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-dark);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  transition: all 0.2s;
  color: var(--text-main);
}

.radio-label:hover {
  background: rgba(0,0,0,0.05);
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.3);
  border-radius: 50%;
  margin-right: 15px;
  position: relative;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
}

.radio-label input[type="radio"]:checked {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--primary);
}

.radio-label:has(input[type="radio"]:checked) {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-darker);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  height: 160px; /* Enlarged x4 as requested */
  margin-top: -50px; /* Shrinks the empty space around the image */
  margin-bottom: -30px;
  object-fit: contain;
  mix-blend-mode: multiply; /* Hides white background box */
  clip-path: inset(30px 0 55px 0); /* Reduced from 50px to preserve logo curves */
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--text-main);
}

/* --- ANIMATIONS --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero {
    padding-bottom: 2rem; /* Reduced padding to fix spacing */
  }
  .hero-content {
    width: 100%;
    max-width: 100%; /* Ensure no overflow */
    padding: 0 0.5rem;
  }
  .hero-title { 
    font-size: 2rem; /* Reduced to avoid cropping */
    width: 100%;
    word-wrap: break-word;
  }
  .hero-subtitle {
     font-size: 1rem;
     width: 100%;
  }
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%; /* Full width buttons to avoid cropping */
    margin: 0 !important;
  }

  .contact-wrapper { grid-template-columns: 1fr; padding: 2rem; }
  .hero-cta-group { flex-direction: column; gap: 1rem; }
  .form-row { flex-direction: column; gap: 0; }
  
  /* Fix spacing and stacking on mobile */
  .hero-stats { 
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.2rem; 
    justify-content: space-between; 
    align-items: center;
    margin-top: 1rem; /* Reduced spacing */
    padding: 1rem 0; /* Reduced padding */
    width: 100%;
  }
  .stat-item {
    flex: 1;
    text-align: center;
  }
  .stat-value {
    font-size: 1.5rem; /* Reduced to avoid "360" cropping */
  }
  .stat-label {
    font-size: 0.55rem; /* Smaller labels */
    white-space: normal; /* Allow wrapping */
    line-height: 1.2;
  }
  .stat-divider { 
    display: block;
    height: 25px;
    width: 1px;
    background: var(--border-light);
  }
  .section { padding: 2.5rem 0; }

  .authority-bandeau {
    padding: 0.5rem 0; /* Further reduced spacing */
  }
  .brand-badges .badge-item:not(:first-child) {
    display: none; /* Restore missing item hiding */
  }
  .brand-badges {
    justify-content: center;
  }

  /* Increase padding to prevent header overlap and fix hidden title */
  .hero {
    min-height: auto !important;
    padding-top: 230px; /* Increased from 120px */
    padding-bottom: 0;
  }
  
  .timeline-item {
    flex-direction: row; /* Keep side-by-side on mobile */
    gap: 0.5rem; /* Even tighter gap */
    margin-bottom: 1.5rem;
  }
  .timeline-marker {
    min-width: 25px; /* Even more compact marker */
  }
  .timeline-icon {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
    border-width: 2px;
  }
  .timeline-connector {
    left: 11px; /* Center of 24px icon */
    top: 24px;
    bottom: -1.5rem;
  }
  .timeline-content {
    padding: 0 0 0 0.5rem; /* Minimal padding */
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .timeline-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
  }
  .timeline-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    width: 100%; /* Ensure text uses all space */
  }

  /* Founder Page Grid Fix - Side-by-side on mobile */
  .founder-grid-container {
    display: flex !important;
    flex-direction: row !important; /* Force photo next to name */
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 1rem 0 !important;
  }
  .founder-grid-container > div:first-child {
    flex: 2; /* Give more room to text */
  }
  .founder-img-container {
    flex: 1;
    min-width: 120px !important;
    max-width: 150px !important;
    height: 150px !important; /* Compact square on mobile */
    border-radius: 12px !important;
    border: 2px solid var(--border-light) !important;
  }
  .founder-img-container img {
    height: 100% !important;
    object-position: top center !important;
  }
  .founder-grid-container h1.hero-title {
    font-size: 1.8rem !important; /* Significantly reduced font size */
    margin-bottom: 0.5rem !important;
  }
  .founder-grid-container h2 {
    font-size: 1rem !important; /* Reduced subtitle font size */
    margin-bottom: 1rem !important;
  }
  .founder-grid-container blockquote {
    font-size: 0.95rem !important; /* Reduced quote size */
    padding: 1rem !important;
    margin-bottom: 0 !important;
  }
  .founder-grid-container .badge {
    padding: 0.3rem 0.6rem !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.3rem; }
  .process-timeline { padding-left: 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .btn-large { padding: 0.8rem 1.5rem; font-size: 1rem; width: 100%; }
}

/* --- FAQ Vision 360 --- */
.faq-navigation {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
  z-index: 10;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.faq-nav-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.faq-nav-link:hover {
  background: var(--primary);
  color: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 992px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.faq-silo-section {
  padding-bottom: 2rem;
  scroll-margin-top: 180px;
}
.faq-silo-title {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.faq-vision-360 {
  margin-bottom: 3rem;
}
.faq-vision-360 .q-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
.faq-vision-360 .q-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.faq-vision-360 .q-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-glow);
}
.faq-vision-360 .q-card:hover::before {
  opacity: 1;
}
.faq-vision-360 .q-title {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 1.6rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  line-height: 1.3;
}
.q-num {
  background: var(--secondary);
  color: white;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.faq-vision-360 .ans-merged {
  background: rgba(255, 255, 255, 0.5);
  border-left: 5px solid var(--primary);
  line-height: 1.8;
  color: var(--text-main);
  padding: 2.2rem 2rem 1.8rem;
  border-radius: 0 16px 16px 0;
  font-size: 1.05rem;
  position: relative;
  margin-top: auto;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .faq-vision-360 .q-card {
    padding: 1.2rem; /* Reduced padding for more text space */
    border-radius: 16px;
  }
  .faq-vision-360 .q-title {
    font-size: 1.15rem; /* Reduced font size */
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }
  .q-num {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
  }
  .faq-vision-360 .ans-merged {
    padding: 1.2rem; /* Reduced padding */
    font-size: 0.95rem; /* Reduced font size */
    line-height: 1.6;
  }
}
.ans-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  width: 100%;
  max-width: 850px;
  max-height: 90vh;
  border-radius: 24px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(40px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--glass-border);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
}

.modal-close:hover {
  background: var(--danger);
  color: white;
  transform: rotate(90deg);
}

.modal-header-img {
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.modal-body {
  padding: 3.5rem;
}

.modal-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.modal-title-text {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-heading);
}

.modal-desc {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 1.15rem;
  white-space: pre-line; /* Preserves <br> as newlines if we use textContent, or we can use innerHTML */
}

@media (max-width: 768px) {
  .modal-body { padding: 2rem; }
  .modal-title-text { font-size: 2rem; }
  .modal-header-img { height: 200px; }
}

/* --- PROCESS TIMELINE (Premium) --- */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-width: 60px;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
  z-index: 10;
  border: 3px solid rgba(255,255,255,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.timeline-connector {
  position: absolute;
  top: 50px;
  bottom: -2rem; /* Connects vertically to the next icon on mobile */
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), rgba(5, 150, 105, 0.1));
  z-index: 1;
}

.timeline-item:last-child .timeline-connector {
  display: none;
}

.timeline-content {
  flex: 1;
  padding: 1.8rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content h3,
.timeline-content h4 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.timeline-content p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Desktop layout: Horizontal Pipeline */
@media (min-width: 992px) {
  .process-timeline {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 1.5rem;
    text-align: center;
  }
  
  .timeline-marker {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  
  .timeline-connector {
    top: 23px; /* Center of the 50px icon vertically */
    left: 50%; /* Start from center horizontally */
    width: 100%; /* Stretch to next item's center */
    height: 3px;
    background: linear-gradient(to right, var(--primary), rgba(5, 150, 105, 0.2));
    bottom: auto; /* reset vertical stretch */
  }
}
/* --- BACK TO TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
  text-decoration: none;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1; /* Par défaut visible pour simplification si pas de JS complexe */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--secondary);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}

/* --- PRESTATIONS TIMELINE SECTION --- */
.timeline-section-wrapper {
  margin: 2rem 5%;
  padding: 4rem;
  border-radius: 24px;
}

@media (max-width: 900px) {
  .timeline-section-wrapper {
    margin: 1rem 1% !important;
    padding: 1.5rem 0.5rem !important; /* More space for mobile */
  }
  .timeline-section-wrapper .section-title {
    font-size: 1.45rem !important; /* Forces 2 lines max */
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }
  .timeline-section-wrapper .section-desc {
    font-size: 0.9rem !important; /* Forces 3 lines max */
    line-height: 1.4;
    margin-bottom: 2rem;
  }
  .timeline-section-wrapper .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* --- FOUNDER PAGE STYLES --- */
.founder-hero-section { padding-bottom: 2rem; }
.founder-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.founder-grid-container .hero-title { font-size: 3.2rem; margin-bottom: 1rem; }
.founder-lead {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2rem;
}
.founder-quote {
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  font-size: 1.3rem;
  color: var(--text-heading);
  font-style: italic;
  margin-bottom: 2rem;
  background: rgba(0,0,0,0.02);
  border-radius: 0 8px 8px 0;
}
.founder-img-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.founder-portrait {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .founder-grid-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .founder-grid-container .hero-title { font-size: 2.2rem; }
  .founder-lead { font-size: 1.1rem; }
  .founder-portrait { height: 350px; }
  .founder-hero-section .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* --- MOBILE UI FIXES (TRUNCATION & GAPS) --- */
@media (max-width: 992px) {
  main { padding-top: 210px !important; }
  .hero {
    min-height: auto !important;
    padding-top: 1.5rem !important;
    padding-bottom: 3rem !important;
  }
  .hero-title {
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
  }
  .hero-subtitle {
    font-size: 1.05rem !important;
    margin-bottom: 2rem !important;
  }
  .section-title {
    font-size: 1.8rem !important;
  }
}

/* =========================================================
   BOUTON NAVBAR & MODAL LECTURE DE LA PLAQUETTE A4
   ========================================================= */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border-radius: 8px;
}

.btn-plaquette-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 42px;
  padding: 0 1.1rem;
  background: #FFFFFF;
  color: var(--secondary);
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-plaquette-nav svg {
  width: 15px;
  height: 15px;
  stroke: var(--secondary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-plaquette-nav:hover {
  background: #F8FAFC;
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.12);
}

.btn-plaquette-nav:hover svg {
  transform: scale(1.08);
}

.btn-plaquette-nav:active {
  transform: translateY(0);
}

/* Modal lecture spécifique */
.plaquette-modal-container {
  max-width: 920px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem 3rem 3rem 3rem;
}

.plaquette-modal-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.plaquette-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary);
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

.plaquette-modal-title {
  font-size: 2rem;
  color: var(--secondary);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.plaquette-modal-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.6rem;
}

.plaquette-modal-hook {
  font-size: 0.95rem;
  color: var(--text-heading);
  font-weight: 600;
}

.plaquette-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 2.2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.plaquette-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.plaquette-kpi-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: 8px;
}

.plaquette-kpi-card:nth-child(2) {
  border-left-color: var(--secondary);
}

.plaquette-kpi-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.plaquette-kpi-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.plaquette-body-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.plaquette-col-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.6rem;
  margin-bottom: 1.2rem;
}

.plaquette-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.plaquette-card-item.highlight {
  background: #fcfdfe;
  border-color: #cbd5e1;
}

.plaquette-card-item.accent {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.plaquette-card-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.plaquette-card-item p,
.plaquette-card-item li {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
}

.plaquette-card-item ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.plaquette-card-item li {
  margin-bottom: 0.4rem;
}

.plaquette-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.plaquette-tag {
  background: #eff6ff;
  color: var(--secondary);
  border: 1px solid rgba(30, 58, 138, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.plaquette-modal-footer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .plaquette-modal-container {
    padding: 1.5rem;
  }
  .plaquette-kpi-grid,
  .plaquette-body-columns {
    grid-template-columns: 1fr;
  }
  .plaquette-modal-title {
    font-size: 1.5rem;
  }
  .plaquette-top-actions,
  .plaquette-modal-footer {
    flex-direction: column;
    text-align: center;
  }
}


