@charset "UTF-8";
:root {
  /* Blue Team (Default) */
  --color-primary: #00BFFF;
  --color-primary-dark: #008DCC;
  --color-bg-dark: #07070A;
  --color-bg-alt: #101018;
  --color-text-light: #E0E0E0;
  --color-text-medium: #A0A0A0;
  --color-text-faint: #606060; /* AJOUT : Pour le copyright du footer */
  --color-border: #333344;
  --color-red-team-primary: #FF3366;
  --color-red-team-dark: #CC2952;
}

/* Red Team (Theme-Red) - Thème global via le toggle */
body.theme-red {
  --color-primary: var(--color-red-team-primary);
  --color-primary-dark: var(--color-red-team-dark);
}

/* Reset */
/* CORRECTION CRITIQUE: Réinitialisation HTML et BODY pour supprimer les marges/paddings du navigateur */
html, body {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  /* Margin et padding retirés ici, car ils sont gérés de manière plus spécifique ci-dessus */
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  /* Assure que le body prend toute la largeur et empêche un scroll horizontal lié aux marges */
  width: 100%;
  overflow-x: hidden;
}

main {
  padding-top: 5rem;
  /* Ajustement de la hauteur minimale pour le footer "collant" (sticky footer) */
  min-height: calc(100vh - 10rem);
}

/* Ciblage de l'image dans la colonne de l'approche */
.approach-content .approach-text img.img-responsive {
  max-width: 80%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Styles pour la zone de sortie (terminal-output) */
.terminal-output {
  padding: 20px 15px;
  height: 350px;
  overflow-y: auto;
  font-size: 0.85em;
  line-height: 1.4;
}
.terminal-output pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.terminal-output {
  /* Styles pour les classes de sortie du terminal */
}
.terminal-output .info {
  color: #fff;
}
.terminal-output .scan {
  color: #61afef;
}
.terminal-output .test {
  color: #e5c07b;
}
.terminal-output .vuln {
  color: #e06c75;
  font-weight: bold;
}
.terminal-output .alert {
  color: #ff9933;
  font-weight: bold;
}
.terminal-output .explt {
  color: #c678dd;
}
.terminal-output .ttp-map {
  color: #56b6c2;
}
.terminal-output .result {
  color: #98c379;
  font-weight: bold;
}
.terminal-output .action {
  color: #e5c07b;
}
.terminal-output .end {
  color: #43b355;
  font-weight: bold;
}

/* Styles spécifiques à l'amélioration de la portée professionnelle */
@keyframes blink {
  50% {
    opacity: 0;
  }
}
#terminal-output::after {
  content: "_";
  animation: blink 1s step-end infinite;
}

/* Encadré de Synthèse des Résultats (Sous le Terminal) */
.sandbox-summary {
  margin-top: 30px;
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.sandbox-summary h4 {
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
  font-size: 1.2em;
  font-weight: 600;
}
.sandbox-summary .summary-list {
  list-style: none;
  padding-left: 0;
}
.sandbox-summary .summary-list li {
  padding: 5px 0;
}
.sandbox-summary .summary-list li i {
  margin-right: 10px;
}
.sandbox-summary .summary-list li .badge-cvss {
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
}

/* Couleurs Basées sur le Risque (pour le JS) */
.summary-default {
  background-color: #f7f7f7;
  border-color: #ccc;
  color: #333;
}

.summary-warning {
  background-color: #fff9e6;
  border-color: #ffc107;
  color: #856404;
}

.summary-critical {
  background-color: #ffe6e6;
  border-color: #dc3545;
  color: #721c24;
}
.summary-critical .badge-cvss {
  background-color: #dc3545;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* Typographie */
h1, h2, h3, h4 {
  font-family: "Roboto Mono", monospace;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  /* EFFET D'HALO */
  text-shadow: 0 0 5px rgba(0, 191, 255, 0.5), 0 0 10px rgba(0, 191, 255, 0.2);
  transition: text-shadow 0.3s;
}

/* Ajustement du text-shadow pour le thème Red Team */
body.theme-red h1, body.theme-red h2, body.theme-red h3, body.theme-red h4 {
  text-shadow: 0 0 5px rgba(255, 51, 102, 0.5), 0 0 10px rgba(255, 51, 102, 0.2);
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
}

/* Styles de Section Généraux */
.content-section {
  padding: 4rem 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.intro-text {
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0.5rem auto 2rem;
  color: var(--color-text-medium);
  text-align: center;
}

/* Bouton CTA (Générique) */
.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-bg-dark);
}

/* Styles pour les petites CTA */
.cta-small {
  margin-top: 3rem;
  text-align: center;
  border-top: 1px dashed var(--color-border);
  padding-top: 2rem;
}

.cta-small p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ==================================== */
/* 1. HEADER Structure (Optimisée) */
/* ==================================== */
header {
  /* Utilisation de la variable de fond avec opacité pour meilleure maintenance */
  background-color: var(--color-bg-dark-opacity, rgba(7, 7, 10, 0.95));
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  /* Ajout d'une ombre subtile pour détacher le header du contenu */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  will-change: transform; /* Hint pour améliorer la performance de la position fixed */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Utilisation de la variable globale pour la largeur max (recommandé) */
  max-width: var(--max-content-width, 1430px);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

/* ==================================== */
/* 2. Logo/Home Link Style */
/* ==================================== */
.logo-text {
  color: var(--color-light);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}
.logo-text:hover {
  color: var(--color-primary);
}

/* ==================================== */
/* 3. Navigation Links (Améliorée UX) */
/* ==================================== */
.menu-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--color-text-medium);
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, font-weight 0.3s ease; /* Ajout du poids pour l'état actif */
  /* Indicateur de page active/survol (trait subtil) */
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-link.active, .nav-link:hover, .nav-link:focus { /* Le focus est aussi ciblé pour l'accessibilité */
  color: var(--color-primary);
  outline: none; /* Supprimer l'outline par défaut, car l'indicateur est visible */
}
.nav-link.active::after, .nav-link:hover::after, .nav-link:focus::after {
  width: 100%;
}
.nav-link.active {
  font-weight: 600; /* Mettre légèrement en gras la page courante */
}

/* Style spécifique pour le bouton CTA (Contact) */
.cta-link {
  background-color: var(--color-primary);
  color: var(--color-dark-bg);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-left: 0.5rem;
  will-change: transform, box-shadow; /* Hint de performance */
  /* Amélioration UX : ombre et effet de relief */
  box-shadow: 0 4px 8px rgba(0, 191, 255, 0.2);
}
.cta-link:hover {
  background-color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 191, 255, 0.4); /* Ombre plus marquée */
}

/* ==================================== */
/* 4. Theme Switch (Conservé) */
/* ==================================== */
/* Switch de thème (Blue/Red Team) */
.theme-toggle-label {
  font-size: 0.8rem;
  color: var(--color-text-medium);
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  margin-left: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary-dark);
  transition: 0.4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--color-red-team-primary);
}

input:checked + .slider:before {
  transform: translateX(16px);
}

/* ==================================== */
/* 5. MENU MOBILE & Responsive */
/* ==================================== */
/* Masquer le bouton de bascule (Burger) par défaut sur les grands écrans */
.menu-toggle {
  display: none;
}

@media (max-width: 992px) {
  /* Afficher le bouton de bascule pour les écrans plus petits */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-light);
    z-index: 1001;
  }
  .menu-items {
    /* Masquer le menu sur mobile par défaut */
    display: none;
    /* Quand la classe .nav-open est ajoutée à <nav> ou au conteneur parent */
  }
  .nav-open .menu-items {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; /* Juste en dessous du header */
    left: 0;
    width: 100%;
    background-color: var(--color-bg-dark);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    padding: 1rem 0;
    gap: 0;
  }
  .nav-open .menu-items .nav-link {
    padding: 0.75rem 1.5rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border-faint);
    /* Supprimer l'effet ::after sur mobile pour une navigation verticale propre */
  }
  .nav-open .menu-items .nav-link::after {
    display: none;
  }
  /* Le Switch de thème doit être géré en fonction du besoin sur mobile */
  .theme-switch-wrapper {
    display: none; /* Cachez-le ou intégrez-le dans le menu mobile si souhaité */
  }
}
.hero {
  padding: 8rem 2rem;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
  /* Couleur de base du fond */
  background-color: var(--color-bg-dark);
  /* GRILLE ET GLOW */
  background-image: radial-gradient(circle at center, rgba(0, 191, 255, 0.05) 0%, rgba(7, 7, 10, 0) 60%), repeating-linear-gradient(0deg, #1A1A2A, #1A1A2A 1px, transparent 1px, transparent 60px), repeating-linear-gradient(90deg, #1A1A2A, #1A1A2A 1px, transparent 1px, transparent 60px);
  background-size: cover;
  background-repeat: repeat;
}

.hero h2 {
  font-size: 1.8rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-shadow: none;
}

.hero-cta-wrapper {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

/* Approach Section */
.approach-section {
  text-align: center;
}

.approach-content {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
}

.approach-text {
  max-width: 420px;
}

.approach-text h4 {
  color: var(--color-text-light);
  text-shadow: none;
}

.approach-motto {
  font-family: "Roboto Mono", monospace;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-top: 3rem;
}

/* Philosophy 4C Section */
.philosophy-4c {
  text-align: center;
}

.cards-4c-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.c-card {
  background-color: var(--color-bg-dark);
  padding: 1.5rem;
  border-left: 3px solid var(--color-primary);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.c-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Expertise Pillars Section */
.expertise-pillars {
  text-align: center;
}

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

.pillar-card {
  display: block;
  background-color: var(--color-bg-alt);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  transition: border-color 0.3s, transform 0.3s;
}

.pillar-card:hover {
  border-color: var(--color-primary);
  transform: scale(1.03);
}

.pillar-card h4 {
  margin-top: 0.5rem;
  color: var(--color-text-light);
  text-shadow: none;
}

/* Demos Section */
.demos-section {
  text-align: center;
}

.demo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.demo-card {
  display: block;
  background-color: var(--color-bg-dark);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.demo-card:hover {
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
  border-color: var(--color-primary);
}

.demo-card h4 {
  color: var(--color-primary);
  margin: 1rem 0 0.5rem;
  text-shadow: none;
}

.card-icon {
  display: block;
  margin-bottom: 0.5rem;
}

.disclaimer-text {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--color-text-medium);
  font-style: italic;
}

/* Global Red Team coloring (requires <main class="red-team-content">) */
main.red-team-content h1,
main.red-team-content h2,
main.red-team-content h3,
main.red-team-content h4,
main.red-team-content .logo-text,
main.red-team-content a {
  color: var(--color-red-team-primary) !important;
}

/* Rétablissement de l'halo rouge sur la page Red Team */
main.red-team-content h1,
main.red-team-content h2,
main.red-team-content h3,
main.red-team-content h4,
main.red-team-content .logo-text {
  text-shadow: 0 0 5px rgba(255, 51, 102, 0.5), 0 0 10px rgba(255, 51, 102, 0.2) !important;
}

/* Surcharge pour le bouton CTA de la page Red Team */
main.red-team-content .cta-button {
  background-color: var(--color-red-team-primary) !important;
  color: var(--color-bg-dark) !important;
}

main.red-team-content .cta-button:hover {
  background-color: var(--color-red-team-dark) !important;
}

/* Surcharge des éléments visuels */
main.red-team-content .c-card,
main.red-team-content .pillar-card {
  border-color: var(--color-red-team-primary) !important;
}

main.red-team-content .c-card {
  border-left: 3px solid var(--color-red-team-primary) !important;
}

main.red-team-content .pillar-card:hover {
  border-color: var(--color-red-team-primary) !important;
}

main.red-team-content .demo-card:hover {
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.5) !important;
  border-color: var(--color-red-team-primary) !important;
}

/* Styles spécifiques à la DISTINCTION (Pentest vs Red Team) */
.distinction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  padding: 2rem 0;
}

.distinction-grid .col-item {
  background-color: var(--color-bg-alt);
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.distinction-grid .col-item h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--color-text-light);
}

main.red-team-content .distinction-grid .col-item h3 {
  color: var(--color-red-team-primary) !important;
  text-shadow: none !important;
}

/* Styles spécifiques à la MÉTHODOLOGIE */
.methodology-steps {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 2rem 0;
  text-align: center;
  position: relative;
}

.methodology-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 0;
}

.red-team-content .methodology-steps::before {
  background-color: var(--color-red-team-dark);
  box-shadow: 0 0 10px var(--color-red-team-dark);
}

.step-card {
  background-color: var(--color-bg-dark);
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  flex: 1;
  z-index: 1;
}

.step-card h4 {
  margin-top: 0;
  font-size: 1.3rem;
}

/* Styles spécifiques à l'EXPERTISE TECHNIQUE */
.expertise-tech-section .intro-text {
  margin-bottom: 3rem;
}

.expertise-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem 2rem;
}

.expertise-list li {
  padding: 0.5rem 0;
  font-size: 1.1rem;
  color: var(--color-text-light);
  border-bottom: 1px dashed var(--color-border);
}

.expertise-list li i {
  margin-right: 10px;
  color: var(--color-primary);
}

main.red-team-content .expertise-list li i {
  color: var(--color-red-team-primary) !important;
}

footer {
  /* Règle full-width, nécessaire pour garantir que le fond prend 100% */
  width: 100%;
  position: relative;
  background-color: var(--color-bg-alt);
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-medium);
}

.footer-content {
  /* Utilisation de GRID pour la structure */
  display: grid;
  /* La première colonne (identité) prend 1.5 fois plus de place */
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 30px;
  /* Alignement du contenu du footer sur la largeur de la navigation */
  max-width: 1430px;
  margin: 0 auto 1.5rem; /* Marge sous le contenu Grid principal ajustée */
  padding: 0 1.5rem; /* Espace de sécurité pour les petits écrans */
  text-align: left;
}

.footer-col {
  min-width: 150px;
  margin-bottom: 0;
}

/* Style de l'identité et du slogan */
.footer-col .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-col .tagline-strong {
  /* Optimisation Slogan */
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  font-weight: 500;
  font-style: italic;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(51, 51, 68, 0.5);
}

/* Style pour les coordonnées (si elles sont présentes) */
.contact-info {
  font-size: 0.95rem;
  color: var(--color-text-medium);
  margin-bottom: 0.5rem;
}

.contact-info i {
  /* Optimisation Icônes */
  font-size: 1.1rem;
  margin-right: 8px;
  color: var(--color-primary);
}

/* Style de base des colonnes */
.footer-col h4 {
  /* Optimisation Titres */
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a, .footer-col p {
  display: block;
  color: var(--color-text-medium);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--color-primary);
  /* Optimisation Hover avec soulignement */
  text-decoration: underline 1px;
  text-underline-offset: 4px;
}

/* Styles pour le bas de page */
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  /* MODIFICATION CRITIQUE : Padding vertical ultra-réduit */
  padding: 0.25rem 1.5rem;
  border-top: none;
  color: var(--color-text-faint);
  /* Ajout de la neutralisation des marges des enfants pour un contrôle total */
}
.footer-bottom > * {
  margin: 0;
}

/* MEDIA QUERIES pour le responsive (Grid) */
@media (max-width: 992px) {
  .footer-content {
    /* Passage à deux colonnes pour les tablettes */
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .footer-content {
    /* Passage à une seule colonne pour les téléphones */
    grid-template-columns: 1fr;
    text-align: center;
  }
}
/* Fichier _responsive.scss Corrigé */
@media (max-width: 768px) {
  .menu-items {
    gap: 1rem;
  }
  h2 {
    font-size: 2rem;
  }
  .approach-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .cards-4c-grid, .pillars-grid, .demo-cards-grid {
    /* Ces sections passent correctement en colonne unique sur mobile */
    grid-template-columns: 1fr;
  }
  /* Responsive Red Team Page */
  .distinction-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .methodology-steps {
    flex-direction: column;
    gap: 2rem;
  }
  .methodology-steps::before {
    content: none;
  }
}
/* ==================================== */
/* 1. GRILLE ET CARTES DE SOLUTIONS */
/* ==================================== */
.solutions-grid {
  padding-top: 50px;
  padding-bottom: 80px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.solution-card {
  background-color: var(--color-dark-bg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(var(--color-primary-rgb), 0.15);
}
.solution-card h3 {
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.solution-card p {
  color: var(--color-text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 80px;
}

/* Style de l'icône de chaque carte */
.card-icon-wrapper {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-icon-wrapper i {
  filter: drop-shadow(0 0 5px rgba(var(--color-primary-rgb), 0.3));
}

.cta-card-link {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  transition: color 0.3s ease;
}
.cta-card-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}
.cta-card-link:hover {
  color: var(--color-secondary);
}
.cta-card-link:hover i {
  transform: translateX(5px);
}

/* ==================================== */
/* 2. BADGES DE STATUT (R&D) */
/* ==================================== */
.solution-badge {
  font-size: 0.7rem;
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  vertical-align: middle;
}

.badge-beta-privee {
  background-color: #f7b731;
  box-shadow: 0 0 5px rgba(247, 183, 49, 0.4);
}

.badge-rd-avancee {
  background-color: #1abc9c;
  box-shadow: 0 0 5px rgba(26, 188, 156, 0.4);
}

.badge-rd {
  background-color: #95a5a6;
  box-shadow: 0 0 5px rgba(149, 165, 166, 0.4);
}

.note-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-medium);
  margin-top: 2rem;
}

.approach-red-team {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.approach-grid-2c {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  min-height: 400px;
}

.approach-grid-2c::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image: url("../images/attaque.png");
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.25;
}

.approach-text {
  /* Utilisation de Flexbox pour centrer tous les enfants */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Limiter la largeur et centrer le bloc lui-même dans sa colonne */
  width: 1440px;
  margin: 0 auto;
  max-width: 100%;
}
.approach-text h4, .approach-text p {
  width: 100%;
  text-align: center;
}
.approach-text .feature-list-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}
.approach-text .feature-item {
  text-align: left;
  margin-bottom: 0.75rem;
  max-width: 300px;
}

.approach-visual {
  display: none;
}

@media (max-width: 768px) {
  .approach-grid-2c::before {
    display: none;
  }
  .approach-grid-2c {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .approach-text {
    align-items: center;
    margin: 0 auto;
  }
}
/* --- Styles spécifiques à la page Contact --- */
.section-form {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.grid-2c-contact {
  display: grid;
  /* Deux colonnes : le formulaire est un peu plus large (ex: 60%) que les infos (ex: 40%) */
  grid-template-columns: 3fr 2fr;
  gap: 4rem; /* Espace entre les deux colonnes */
  align-items: start; /* Aligner les blocs en haut */
}

/* --- Styles du Formulaire (Colonne 1) --- */
.contact-form-wrapper {
  padding-right: 2rem;
}
.contact-form-wrapper h2 {
  margin-bottom: 1.5rem;
}

.main-contact-form .form-group {
  margin-bottom: 1.5rem;
}
.main-contact-form .form-group label {
  display: block; /* S'assure que le label prend toute la largeur */
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark); /* Utilisez votre couleur de texte foncée */
}
.main-contact-form .form-group {
  /* Styles pour tous les inputs (text, email, select) et textarea */
}
.main-contact-form .form-group input[type=text],
.main-contact-form .form-group input[type=email],
.main-contact-form .form-group select,
.main-contact-form .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border); /* Utilisez votre couleur de bordure par défaut */
  border-radius: var(--border-radius-sm);
  font-size: 1rem;
  box-sizing: border-box; /* IMPORTANT pour que le padding n'augmente pas la largeur */
  transition: border-color 0.3s;
}
.main-contact-form .form-group input[type=text]:focus,
.main-contact-form .form-group input[type=email]:focus,
.main-contact-form .form-group select:focus,
.main-contact-form .form-group textarea:focus {
  border-color: var(--color-primary); /* Couleur principale au focus */
  outline: none;
}
.main-contact-form .form-group {
  /* Style pour les messages d'erreur de Django */
}
.main-contact-form .form-group .form-error {
  color: var(--color-error); /* Utilisez une couleur pour les erreurs */
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.main-contact-form .cta-button {
  width: auto; /* Le bouton ne prend pas toute la largeur */
  margin-top: 1rem;
  /* Assurez-vous que le style de cta-button est cohérent avec le reste du site */
}

/* --- Styles des Informations Complémentaires (Colonne 2) --- */
.contact-info h2 {
  margin-bottom: 1.5rem;
  color: var(--color-primary); /* Mettre en avant le titre d'infos */
}
.contact-info .info-block {
  margin-bottom: 2rem;
}
.contact-info .info-block h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-heading); /* Couleur de titre */
}
.contact-info .info-block p {
  margin-bottom: 0.5rem;
}
.contact-info .info-block .contact-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.contact-info .info-block .contact-link:hover {
  text-decoration: underline;
}

/* --- Responsive Design (Passage à une seule colonne sur petits écrans) --- */
@media (max-width: 992px) {
  .grid-2c-contact {
    /* Passage à une seule colonne sur les tablettes et mobiles */
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-form-wrapper {
    padding-right: 0; /* Pas de padding à droite sur mobile */
  }
}
/* --- Style pour les messages Django (messages.success/error) --- */
.messages-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.messages-list li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
}
.messages-list .success {
  background-color: var(--color-success-light); /* Couleur verte très claire */
  color: var(--color-success-dark); /* Couleur verte foncée */
  border: 1px solid var(--color-success-dark);
}
.messages-list .error {
  background-color: var(--color-error-light); /* Couleur rouge très claire */
  color: var(--color-error-dark); /* Couleur rouge foncée */
  border: 1px solid var(--color-error-dark);
}
.messages-list {
  /* Ajoutez .info, .warning si vous utilisez ces tags */
}

/* Fichier: _mentions_legales.scss */
/* Le sélecteur de base est maintenant très spécifique */
.mentions-legales-container {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  padding-top: 100px;
  /* Tous les styles sont maintenant imbriqués dans .mentions-legales-container */
}
.mentions-legales-container h1 {
  border-bottom: 3px solid #ccc;
  margin-top: 0;
}
.mentions-legales-container h4 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  margin-top: 25px;
  font-size: 1.15em;
}
.mentions-legales-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.95em;
}
.mentions-legales-container th, .mentions-legales-container td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
.mentions-legales-container th {
  width: 40%;
  font-weight: bold;
}
.mentions-legales-container p {
  margin-bottom: 15px;
}
.mentions-legales-container ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.mentions-legales-container ul li {
  margin-bottom: 5px;
}
.mentions-legales-container a {
  color: #0056b3;
  text-decoration: none;
}
.mentions-legales-container a:hover {
  text-decoration: underline;
}
.mentions-legales-container .note {
  font-size: 0.9em;
  color: #666;
  margin-top: -10px;
  margin-bottom: 20px;
  font-style: italic;
}

/* Fichier: _politique_confidentialite.scss */
/* Le sélecteur de base est très spécifique pour l'isolation */
.confidentialite-container {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  padding-top: 100px; /* Pousse le contenu sous la barre de navigation (ajuster cette valeur si besoin) */
}
.confidentialite-container .date-mise-a-jour {
  font-style: italic;
  font-size: 0.9em;
  margin-bottom: 25px;
  color: #666;
}
.confidentialite-container h1 {
  border-bottom: 3px solid #ccc;
  margin-top: 0;
}
.confidentialite-container {
  /* Sous-titres de section */
}
.confidentialite-container h4 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  margin-top: 25px;
  font-size: 1.15em;
}
.confidentialite-container {
  /* Styles des tableaux (Responsable du Traitement / Données Collectées) */
}
.confidentialite-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.95em;
}
.confidentialite-container th, .confidentialite-container td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
.confidentialite-container th {
  width: 30%; /* Laisse plus d'espace pour le contenu à droite */
  font-weight: bold;
}
.confidentialite-container {
  /* Styles des listes */
}
.confidentialite-container ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.confidentialite-container ul li {
  margin-bottom: 8px;
}
.confidentialite-container {
  /* Styles des liens */
}
.confidentialite-container a {
  color: #0056b3;
  text-decoration: none;
}
.confidentialite-container a:hover {
  text-decoration: underline;
}

/* Fichier: _charte_confiance.scss */
.charte-container {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  padding-top: 100px; /* Ajustement pour la barre de navigation */
}
.charte-container .introduction {
  font-style: italic;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555;
}
.charte-container h1 {
  border-bottom: 3px solid #0056b3;
  margin-top: 0;
}
.charte-container {
  /* Sous-titres de section */
}
.charte-container h4 {
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  margin-top: 35px;
  font-size: 1.2em;
}
.charte-container {
  /* Styles des tableaux */
}
.charte-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.95em;
}
.charte-container th, .charte-container td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
.charte-container th {
  width: 35%;
  font-weight: bold;
}
.charte-container {
  /* Styles des listes */
}
.charte-container ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.charte-container ul li {
  margin-bottom: 10px;
}

/*# sourceMappingURL=style.css.map */
