:root {
  --primary: #0066cc;
  --primary-dark: #004c99;
  --secondary: #00cc66;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #fff;
  --bg-light: #f5f7fa;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.text-bold {
  font-weight: 600;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
}
h4 {
  font-size: 1.25rem;
}
p {
  margin-bottom: 1rem;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}
ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
li {
  margin-bottom: 0.5rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
strong {
  font-weight: 700;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.logo strong {
  color: var(--primary);
}
.logo.logo--svg {
  display: inline-flex;
  align-items: center;
}
.logo.logo--svg svg {
  width: 190px;
  height: auto;
  display: block;
}
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--primary);
  text-decoration: none;
}
.has-submenu {
  position: relative;
}
.has-submenu:hover .submenu {
  display: block;
}
/* This rule is for the JS-controlled accordion on mobile and other cases */
.has-submenu.open .submenu {
  display: block;
}

/* On desktop-like devices, also show submenu on focus for accessibility */
@media (hover: hover) and (pointer: fine) {
  .has-submenu:focus-within .submenu {
    display: block;
  }
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem 0;
  list-style: none;
  padding-left: 0;
  z-index: 1001;
}
.submenu li {
  margin: 0;
}
.submenu a {
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
}
.submenu a:hover {
  background: var(--bg-light);
}
.cta-item {
  width: -moz-fit-content;
  width: fit-content;
}
.cta-link {
  background: var(--primary);
  color: var(--bg) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius);
}
.cta-link:hover {
  background: var(--primary-dark);
  color: var(--bg) !important;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
main {
  min-height: 70vh;
  padding-top: 3rem;
}
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 3rem;
}
.hero h1 {
  color: var(--bg);
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto 2rem;
}
.hero .btn-primary {
  font-size: 1.125rem;
  padding: 1.05rem 2.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.88));
  color: var(--primary);
  border-color: transparent;
  border-radius: calc(var(--radius) * 1.25);
  box-shadow: 0 20px 34px rgba(0, 33, 71, 0.3);
  letter-spacing: 0.02em;
}
.hero .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(230, 244, 255, 0.95));
  box-shadow: 0 24px 38px rgba(0, 33, 71, 0.34);
  color: var(--primary); /* Fix: Ensure text color is visible on hover */
}
.hero .btn-primary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.6);
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
}
.breadcrumb > ol,
.breadcrumb > ul {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: nowrap;
  align-items: center;
}
.breadcrumb > ol > li,
.breadcrumb > ul > li {
  display: flex;
  align-items: center;
}
.breadcrumb > ol > li + li::before,
.breadcrumb > ul > li + li::before {
  content: '›';
  color: var(--text-light);
  margin: 0 0.25rem;
}
.breadcrumb a {
  color: var(--text-light);
}
.breadcrumb a:hover {
  color: var(--primary);
}
.breadcrumb span {
  color: var(--text-light);
}
.toc {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.toc.sticky {
  position: sticky;
  top: 100px;
}
.toc h2,
.toc h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}
.toc ul {
  list-style: none;
  padding: 0;
}
.toc li {
  margin-bottom: 0.5rem;
}
.toc a {
  color: var(--text);
}
.toc a:hover {
  color: var(--primary);
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card h3 {
  margin-top: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.5rem;
  border: 1px solid var(--primary);
}
.badge-info {
  background: var(--primary);
}
.badge-warning {
  background: #ff9800;
}
.badge-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
}
.encart {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  margin: 2rem 0;
  border-radius: 4px;
}
.encart h2,
.encart h3,
.encart h4 {
  margin-top: 0;
  color: var(--primary);
}
.encart-warning {
  border-left-color: #ff9800;
}
.encart-success {
  border-left-color: var(--secondary);
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-block;
  background: var(--secondary);
  color: var(--bg);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 1px solid var(--secondary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: #00a352;
  border-color: #00a352;
  color: var(--bg);
  text-decoration: none;
}
.btn-primary-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary-outline:hover {
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.checkbox-group input[type='checkbox'] {
  width: auto;
  margin-top: 0.25rem;
}
/* Global styling for details/summary accordions */
details {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background-color var(--transition);
}

details:hover {
  background-color: var(--bg-light);
}

details summary {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none; /* Hide default marker */
  padding: 1rem;
}

details summary::-webkit-details-marker {
  display: none; /* Hide default marker for Safari */
}

details summary h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

details summary h4 i {
  color: var(--primary);
  font-size: 1.1em; /* Slightly larger icon */
}

/* Custom marker */
details summary::after {
  content: '\f078'; /* FontAwesome chevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  transition: transform 0.2s ease-in-out;
  font-size: 1.2rem;
}

details[open] > summary::after {
  transform: rotate(180deg);
}

details > ul,
details > ol,
details > p {
  margin-top: 0;
  padding: 0 1rem 1rem 2.5rem;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
}
th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text);
}
tr:hover {
  background: var(--bg-light);
}

/* Industrial Style Table */
.table-container {
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
  background-color: #34495e; /* Dark blue-grey */
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #2c3e50;
}

.comparison-table tbody tr {
  background-color: var(--bg);
  transition: background-color var(--transition);
}

.comparison-table tbody tr:nth-of-type(even) {
  background-color: var(--bg-light);
}

.comparison-table tbody tr:hover {
  background-color: #e0eaf1; /* A light blue for hover */
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--primary);
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin: 0.5rem 0.5rem 0.5rem 0;
  font-size: 0.9rem;
}
.verification-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin: 1rem 0;
}
.fiche-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}
.fiche-badge-group .badge {
  margin: 0;
}
.fiche-badge-group .verification-badge {
  margin: 0;
}
.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h3 {
  color: var(--bg);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li {
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.8);
}
.footer-col a:hover {
  color: var(--bg);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.footer-cta {
  margin-top: 1rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.active ul {
    flex-direction: column;
    gap: 0;
    padding-left: 1.5rem; /* Ajout d'un espacement à gauche */
  }
  .main-nav.active .has-submenu .submenu {
    display: none; /* Explicitly hide by default on mobile */
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
    margin: 0;
  }
  .main-nav.active .has-submenu.open .submenu {
    display: block; /* Explicitly show when open on mobile */
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .notifications {
    left: 10px;
    right: 10px;
    top: 10px;
  }
}
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.75rem;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.2rem;
}
.filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.operation-card {
  position: relative;
  padding-top: 3rem;
  padding-right: 2.75rem;
  min-height: 260px;
}
.operation-card .badge {
  position: absolute;
  top: 1.1rem;
  right: 1rem; /* Ajusté pour décaler vers la droite */
}

.operation-card h3 {
  margin-top: 10px; /* Ajouté pour l'espace sous le badge */
}
@media (max-width: 600px) {
  .operation-card {
    padding-top: 2.5rem;
    padding-right: 2rem;
    min-height: 0;
  }
  .operation-card .badge {
    top: 0.9rem;
    right: 1rem;
  }
}
@media print {
  .site-header,
  .site-footer,
  .toc,
  .filters,
  .btn-primary {
    display: none;
  }
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

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

.animate-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll top button */
.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* Active TOC link */
.toc a.active-toc {
  color: var(--primary);
  font-weight: 700;
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
}

/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg);
  color: var(--text);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  max-width: 320px;
  animation: slideIn 0.3s ease;
}
.notification-success {
  border-left-color: var(--secondary);
}
.notification-error {
  border-left-color: #f44336;
}
.notification-info {
  border-left-color: var(--primary);
}
.notification-warning {
  border-left-color: #ff9800;
}
.notification {
  position: relative;
}
.notification-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.notification-close:hover {
  color: var(--text);
}

/* Conteneur de notifications empilées */
.notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .scroll-top-btn,
  .cta-link,
  .mobile-menu-toggle,
  .notification {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card,
  .encart {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Amélioration des formulaires */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

input[type='email']:invalid:not(:placeholder-shown) {
  border-color: #f44336;
}

input[type='email']:valid:not(:placeholder-shown) {
  border-color: var(--secondary);
}

/* Style for selected gender label */
.gender-input:checked + .gender-label {
  background-color: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

/* Bouton copy pour code blocks */
.copy-btn:hover {
  background: rgba(0, 0, 0, 0.7) !important;
}

/* Améliorations accessibilité */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Loading states */
.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* New styles for refactored JavaScript features */

.toc h2.collapsible {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toc h2.collapsible::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.toc h2.collapsible.active::after {
  transform: rotate(45deg);
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.code-wrapper {
  position: relative;
  margin: 1.5rem 0;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.copy-btn:hover {
  opacity: 1;
}

input.invalid,
textarea.invalid {
  border-color: #f44336 !important;
}

.notifications-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
}

.notification {
  background: var(--bg);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 350px;
  animation: slideIn 0.4s ease-out;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notification.hiding {
  animation: slideOut 0.4s ease-in forwards;
}

.notification-close {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
  }

  .notification {
    left: 10px !important;
    right: 10px !important;
    top: 10px !important;
  }

  .toc.sticky {
    position: relative !important;
    top: auto !important;
  }
}

/* Dark mode support (optionnel) */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e0e0e0;
    --text-light: #b0b0b0;
    --bg: #1a1a1a;
    --bg-light: #2a2a2a;
    --border: #404040;
  }

  .site-header {
    border-bottom-color: var(--border);
  }

  .card,
  .encart {
    background: var(--bg-light);
    border-color: var(--border);
  }

  .site-footer {
    background: var(--bg-light);
    color: var(--text-light);
    border-top: 1px solid var(--border);
  }
  .footer-col h3 {
    color: var(--text);
  }
  .footer-col a {
    color: var(--text-light);
  }
  .footer-col a:hover {
    color: var(--primary);
  }
  .footer-bottom {
    color: var(--text-light);
    border-top-color: var(--border);
  }
}

/* Smooth hover effects */
.card,
.btn,
a,
button {
  transition: all var(--transition);
}

/* Enhanced card hover */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
}

/* Better table responsive */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Improved loading performance */
img {
  content-visibility: auto;
}

/* Selection styling */
::selection {
  background: var(--primary);
  color: white;
}

::-moz-selection {
  background: var(--primary);
  color: white;
}

/* Chevrons for dropdown menus */
.menu-chevron {
  margin-left: 0.5rem;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.has-submenu.open > a .menu-chevron {
  transform: rotate(180deg);
}

/* Respect des préférences utilisateur (réduction animations) */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Layout for pages with sticky TOC */
.container-with-toc {
  display: block;
}

@media (min-width: 992px) {
  .container-with-toc {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
  }
  .container-with-toc > .toc {
    grid-column: 1;
  }
  .container-with-toc > .main-content-for-toc {
    grid-column: 2;
    min-width: 0;
  }
  .container-with-toc > :not(.toc, .main-content-for-toc) {
    grid-column: 1 / -1;
  }
}

/* Chevrons for dropdown menus */
.menu-chevron {
  margin-left: 0.5rem;
  font-size: 0.8em;
  display: inline-block; /* Prevent layout shift */
  transition: transform 0.3s ease;
}

.has-submenu.open > a .menu-chevron {
  transform: rotate(180deg);
}

/* Multi-Step Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  visibility: hidden;
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.modal-overlay.visible .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.modal-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.progress-step {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  transition: background 0.3s ease;
}

.progress-step.active {
  background: var(--primary);
}

.form-step {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.form-step.active {
  display: block;
}

.form-step label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.form-step input,
.form-step textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.form-step textarea {
  min-height: 120px;
  resize: vertical;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.form-navigation .btn-secondary,
.form-navigation .btn-primary,
.form-navigation .btn-primary-outline,
.form-navigation .btn-default {
  padding: 0.6rem 1.2rem;
}

.btn-default {
  background-color: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-default:hover {
  background-color: var(--border);
  color: var(--text);
  text-decoration: none;
}

.form-step .error-message {
  color: #f44336;
  font-size: 0.9em;
  margin-top: 5px;
  display: none;
}

.form-step input.invalid,
.form-step textarea.invalid {
  border-color: #f44336 !important;
}

@media (max-width: 576px) {
  .modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }
  .form-navigation {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }
  .form-navigation button {
    width: 100%;
  }
}

.form-navigation:has(:last-child:first-child) {
  justify-content: flex-end;
}

.btn-primary-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary-outline:hover {
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
}

/* FORMULAIRE 3 : FORMULAIRE SIMPLE (Bas de page index.html) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Styles pour la grille de la page contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
  }
}
/* Schema display styles */
.schema-display {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
}

.schema-display figure {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin: 0;
}

.schema-display img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.schema-display figcaption {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    font-style: italic;
}

@media (max-width: 768px) {
  .schema-display img {
    padding: 0;
  }
}

/* Styles pour la liste des étapes sur la page éligibilité */
.process-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.process-step {
  display: flex;
  align-items: center; /* Centrer verticalement */
  gap: 1.5rem;
  position: relative; /* For positioning the arrow */
  padding-bottom: 2.5rem; /* Make space for the arrow */
}

.process-step:last-child {
  padding-bottom: 0; /* No space needed after the last step */
}

.process-step:not(:last-child)::after {
  content: '\f078'; /* FontAwesome chevron-down icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900; /* Solid style */
  color: var(--primary);
  opacity: 0.6;
  font-size: 1.5rem;
  position: absolute;
  bottom: 0;
  left: 20px; /* Center of the 40px number circle */
  transform: translateX(-50%);
}

.process-step-number {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Styles pour la liste ordonnée "erreurs" */
#erreurs ol {
  list-style: none;
  counter-reset: erreurs-counter;
  padding-left: 0;
  margin-top: 2rem;
}

#erreurs ol > li {
  counter-increment: erreurs-counter;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

#erreurs ol > li::before {
  content: counter(erreurs-counter);
  background-color: var(--primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

/* Styling for expandable criteria sections */
#criteres details {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background-color var(--transition);
}

#criteres details:hover {
  background-color: var(--bg-light);
}

#criteres summary {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none; /* Hide default marker */
  padding: 1rem;
}

#criteres summary::-webkit-details-marker {
  display: none; /* Hide default marker for Safari */
}

#criteres summary h4 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#criteres summary h4 i {
  color: var(--primary);
  font-size: 1.1em; /* Slightly larger icon */
}

/* Custom marker */
#criteres summary::after {
  content: '\f078'; /* FontAwesome chevron-down */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary);
  transition: transform 0.2s ease-in-out;
  font-size: 1.2rem;
}

#criteres details[open] > summary::after {
  transform: rotate(180deg);
}

#criteres details > ul {
  margin-top: 0;
  padding: 0 1rem 1rem 2.5rem;
}

/* == Refactoring index.html == */

/* Utilities */
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

/* CTA (Call To Action) */
.cta-container {
  text-align: center;
  margin-top: 2rem;
}

.cta-banner__form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.cta-banner__privacy-note {
  font-size: 0.9em;
  color: #666;
  margin: 1.5rem 0;
}

/* Form specific */
.form-error {
  display: none;
  color: #f44336; /* Changed to a more standard red */
  font-size: 0.9em;
  margin-top: 5px;
}

.form-success {
  background-color: #0066cc;
  color: #FFFFFF;
  font-size: 1.1rem;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

/* Modifiers */
.btn-primary--full-width {
  width: 100%;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: background-color var(--transition);
}

/* == Refactoring /air-comprime/ pages == */

.fiche-badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.fiche-synthese__titre {
  margin-top: 0;
}

.fiche-synthese__liste {
  padding-left: 1.2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.card-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.status-badge {
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.9em;
  border: 1px solid transparent;
}

.status-badge--active {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.status-badge--inactive {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.case-study {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0.75rem 0 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-light);
}

.case-study__roi {
  margin-top: 1rem;
  padding: 0.75rem;
}

.case-study__roi p {
    margin: 0;
}

.intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.fiche-synthese__message {
    margin: 0;
    font-size: 1.1rem;
}

.gap-2 {
    gap: 2rem;
}

.my-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.image-container {
    text-align: center;
    margin: 2rem 0;
}

.image-container__image {
    width: min(100%, 700px);
    height: auto;
    border: 1px solid #ccc;
    border-radius: var(--radius);
}

.card--disabled {
    opacity: 0.6;
}

.card__title--disabled {
    text-decoration: line-through;
}

.card__link--disabled {
    pointer-events: none;
    color: inherit;
}

.encart--padded {
    padding: 1rem;
}

.mt-1 {
    margin-top: 1rem;
}

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

.encart--deleted {
    border: 2px solid #c00;
    background-color: #fdd;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.encart__title--danger {
    color: #c00;
    margin-top: 0;
}

.my-3 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

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

.small-text {
    font-size: 0.9rem;
    color: #555;
}

.mt-1-5 {
    margin-top: 1.5rem;
}

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

.small-text {
    font-size: 0.9rem;
    color: #555;
}

.mt-1 {
    margin-top: 1rem;
}

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

.small-text {
    font-size: 0.9rem;
    color: #555;
}

.mt-1 {
    margin-top: 1rem;
}

.faq-item:hover {
  background-color: var(--bg-light);
}
.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}
.faq-question::after {
  content: '\f078'; /* FontAwesome chevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary);
  transition: transform 0.2s ease-in-out;
  font-size: 1.2rem;
}
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 1rem 1rem 1rem;
  color: var(--text-light);
}
.faq-item.active .faq-answer,
.faq-item[open] .faq-answer {
  display: block;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer p:last-child {
  margin-bottom: 0;
}


/* Inline-style replacements */
.content-text {
  display: block;
}
.content-text--intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.content-text--mt-sm {
  margin-top: 1rem;
}
.content-text--mt-lg {
  margin-top: 1.5rem;
}
.content-text--mb-md {
  margin-bottom: 1.5rem;
}
.content-text--no-margin {
  margin: 0;
}
.content-text--italic {
  font-style: italic;
}
.content-text--center {
  text-align: center;
}
.content-text--muted {
  color: #666;
}
.content-text--small {
  font-size: 0.9em;
}

.content-heading {
  font-weight: inherit;
}
.content-heading--center {
  text-align: center;
}
.content-heading--no-margin {
  margin-top: 0;
}
.content-heading--strike {
  text-decoration: line-through;
}

.encart--my-md {
  margin: 2rem 0;
}
.encart--my-lg {
  margin: 3rem 0;
}
.encart--mt-md {
  margin-top: 2rem;
}
.encart--mt-lg {
  margin-top: 3rem;
}
.encart--center {
  text-align: center;
}

.faq-search {
  margin: 2rem 0;
}
.faq-search__input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.list {
  padding-left: 1.2rem;
}
.list--unstyled {
  list-style: none;
  padding-left: 0;
}
.list--mt-sm {
  margin-top: 1rem;
}
.list--indent {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}
.list--loose {
  line-height: 1.8;
}

.formula-text {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.testimonial-card {
  margin-top: 1.5rem;
  padding: 1rem;
  border-left: 3px solid var(--secondary);
  background-color: var(--bg-light);
}
.testimonial-card__quote {
  margin: 0;
  font-style: italic;
}
.testimonial-card__author {
  margin-top: 0.5rem;
  text-align: right;
  font-weight: 600;
  color: var(--text-light);
}

.cta-section {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}
.cta-section--mt-lg {
  margin-top: 3rem;
}
.cta-section--my-xl {
  margin: 4rem 0;
}

.price-flow {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.price-flow__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.price-flow__item {
  border: 1px solid var(--border);
  padding: 1rem;
  background: #ffffff;
}
.price-flow__item--result {
  background: var(--secondary);
  color: #ffffff;
}
.price-flow__label {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
}
.price-flow__label--muted {
  opacity: 0.8;
}
.price-flow__value {
  font-weight: 700;
}
.price-flow__value--result {
  font-size: 1.2rem;
}
.price-flow__symbol {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.page-section--mt-lg {
  margin-top: 3rem;
}
.page-section--mt-xl {
  margin-top: 4rem;
}
.page-section--my-xl {
  margin: 4rem 0;
}

.main-nav__separator {
  border-top: 1px solid var(--border);
}

.contact-form__error {
  display: none;
  color: red;
  font-size: 0.9em;
  margin-top: 5px;
}
.contact-form__gender {
  margin-top: 10px;
}
.contact-form__gender-label {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 10px;
}
.contact-form__time-row {
  display: flex;
  gap: 1rem;
}
.contact-form__time-input {
  width: 100%;
}
.contact-form__consent {
  font-size: 0.9em;
  color: #666666;
  margin: 1.5rem 0;
}

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

.modal-overlay--hidden {
  display: none;
}
.modal-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.cta-banner {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 3rem;
  text-align: center;
}

.related-links {
    margin-top: 1.5rem;
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Logo proposals showcase */
.logo-proposals {
  padding: 4rem 0;
  background: var(--bg-light);
}

.logo-proposals h2 {
  margin-bottom: 0.5rem;
}

.logo-proposals p {
  max-width: 720px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.logo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.logo-card__label {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.logo-card svg,
.logo-card img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.mt-4 {
  margin-top: 4rem;
}

.pt-2 {
  padding-top: 2rem;
}

.pillar-content {
  border-top: 1px solid #e0e0e0;
}

.pillar-content__title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.text-primary {
  color: #0056b3;
}

.my-4 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

/* ── Hero stats bar ── */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.hero-stat__number {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat__plus {
  font-size: 1.4rem;
}
.hero-stat__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hero-stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.28);
  flex-shrink: 0;
}

/* ── Trust badges (près du formulaire) ── */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.75rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.trust-badge i {
  color: var(--secondary);
  font-size: 0.9rem;
}

@media (max-width: 680px) {
  .hero-stat-divider { display: none; }
  .hero-stat { padding: 0.6rem 1.25rem; }
  .hero-stat__number { font-size: 1.6rem; }
}

/* ===========================================
   CONTACT PAGE — Conversion redesign
   =========================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  margin: 1.5rem 0 3rem;
}

/* Left: dark trust panel */
.contact-left {
  background: linear-gradient(160deg, #0a1628 0%, #0d2044 100%);
  padding: 2.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.contact-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 22px,
    rgba(255,255,255,0.018) 22px,
    rgba(255,255,255,0.018) 23px
  );
  pointer-events: none;
}
.contact-left__tagline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.contact-left h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 0;
  line-height: 1.3;
}
.contact-left__intro {
  color: rgba(255,255,255,0.72);
  margin-top: 0.5rem;
  font-size: 0.93rem;
  line-height: 1.65;
}
.contact-left__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}
.contact-left__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem;
  line-height: 1.5;
}
.contact-left__benefits li i {
  color: var(--secondary);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.contact-left__stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-left__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.contact-left__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  display: block;
  margin-top: 0.3rem;
}
.contact-left__email {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.contact-left__email i {
  color: var(--secondary);
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-left__email a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.contact-left__email a:hover { color: var(--secondary); }
.contact-left__email span {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
}

/* Right: form panel */
.contact-right {
  background: var(--bg);
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Trust pills above form */
.contact-trust-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.contact-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.contact-trust-strip span i {
  color: var(--secondary);
  font-size: 0.7rem;
}

/* Form card: elevated, accented */
.contact-form-card {
  border: 1px solid var(--border) !important;
  border-top: 4px solid var(--primary) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 4px 24px rgba(0, 102, 204, 0.1) !important;
  padding: 1.75rem !important;
  flex: 1;
}
.contact-form-card__header h2 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  margin-top: 0;
  color: var(--primary-dark);
}
.contact-form-card__header p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* Input focus: blue ring */
.contact-form-card .form-group input:focus,
.contact-form-card .form-group textarea:focus,
.contact-form-card .form-group select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1) !important;
  outline: none;
}

/* Submit: green, prominent */
.contact-form-card #submit {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0.875rem 1.5rem !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}
.contact-form-card #submit:hover {
  background: #00aa55 !important;
  box-shadow: 0 4px 18px rgba(0, 204, 102, 0.38) !important;
  transform: translateY(-1px);
}
.contact-form-card #submit:active {
  transform: translateY(0);
}

/* RGPD footer note */
.contact-form-footer {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.contact-form-footer i {
  color: var(--secondary);
  margin-top: 1px;
  flex-shrink: 0;
}
.contact-form-footer a { color: var(--primary); }

/* Responsive */
@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
  }
  .contact-left { padding: 2rem 1.5rem; }
  .contact-left__stats { gap: 1.5rem; }
  .contact-right { padding: 1.5rem; }
}

/* Contact left: 4 stats en grille 2x2 */
.contact-left__stats {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

/* Bloc secteurs dans le panneau gauche */
.contact-left__encarts {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-left__encarts-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-left__encarts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-left__encarts li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.contact-left__encarts a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s, border-color 0.2s;
}
.contact-left__encarts a:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}
