/* --- 1. DÉFINITION DES POLICES --- */
@font-face {
  font-family: "ABC Diatype Mono";
  src: url("https://cdn.prod.website-files.com/64eccd375717312326d818c7/64ecf8bfd97020bc70e6b6e9_ABCDiatypeMono-Regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Untitled Serif";
  src: url("https://cdn.prod.website-files.com/64eccd375717312326d818c7/64ecf8dc072e0881b0ac7b6f_untitled-serif-regular-italic.woff2")
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


@font-face {
  font-family: "Untitled Serif";
  src: url("https://cdn.prod.website-files.com/64eccd375717312326d818c7/64ecf8dc336fbca7dcf04e63_untitled-serif-regular.woff2")
    format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* --- 2. VARIABLES GLOBALES (CSS Custom Properties) --- */
:root {
  /* Variables de #component (devenues globales) */
  --font-weight-regular: 400;
  --line-height-tight: 1.2;
  --line-height-normal: 1.35;
  --color-light-gray: #f6f3f1;
  --color-black: #000;


  --font-body: "ABC Diatype Mono", sans-serif;
  --font-titles: "Untitled Serif", "Times New Roman", serif;


  --h1-letter-spacing: -0.02em;
  --h1-line-height: var(--line-height-tight);
  --h1-font-size: 5rem;
  --h1-font-family: var(--font-titles);


  --body-letter-spacing: -0.02em;
  --body-font-weight: var(--font-weight-regular);
  --body-line-height: var(--line-height-normal);
  --body-font-size: 1.25rem;
  --body-font-family: var(--font-body);




  --color--off-black: #FCFAF9;
  --color--transparent: #0000;
  --color--card-fill: #1a1724;
  --color--grey: #9f9da3;
  --color--white: white;
  --size--15px: .875rem;
  --size--12px: .75rem;
  --size--10px: .625rem;
  --size--18px: 1.125rem;
}


/* --- 3. STYLES DE BASE ET RESETS --- */
* {
  box-sizing: border-box;
}


html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
  scroll-behavior: smooth;
}


body {
  margin: 0;
  min-height: 100%;
 
  /* Styles de base unifiés (depuis #component) */
  font-family: var(--font-body);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  color: var(--color-black);
 
  /* J'ai choisi une couleur de fond. Tu peux la changer pour var(--color-light-gray) ou #fff */
  background-color: var(--color--off-black, #fff); /* Utilise #FCFAF9 ou #fff par défaut */
}


p {
  margin-bottom: 0;
}


a {
  background-color: #ffffff00; /* transparent */
  text-decoration: none;
}


img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}


.w-embed:before, .w-embed:after {
  content: " ";
  grid-area: 1/1/2/2;
  display: table;
}


.w-embed:after {
  clear: both;
}


/* --- 4. STYLES SPÉCIFIQUES --- */


#component {
  /* Les styles de police/couleur sont maintenant sur le body */
  /* On ne garde que ce qui est spécifique à ce composant */
  text-align: center;
}


.site-wrapper { /* Renamed from .page-wrapper */
  contain: paint;
}


.hide {
  display: none !important;
}




/* --- 5. HEADER / NAVBAR --- */
.site-header {
  width: 100%;
  padding: 1.23rem 0;
  backdrop-filter: blur(11px);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1000;
}


.navbar {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo {
  all: unset;
  cursor: pointer;
  color: #000;
  font-size: 2.01rem;
  font-weight: 900;
}


.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 3rem;
}


.nav-links li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}


.nav-links li a:hover {
  color: #000;
}


.nav-controls-desktop .cta-button {
  text-decoration: none;
  color: #fff;
  background-color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}


.nav-controls-desktop .cta-button:hover {
  background-color: #333;
}


/* --- Menu Hamburger --- */
.hamburger {
  display: none; /* Caché par défaut sur desktop */
  cursor: pointer;
  position: relative;
}


.hamburger input {
  display: none;
}


.hamburger svg {
  height: 3em;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


.line {
  fill: none;
  stroke: #000;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
  transition: stroke-dasharray 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


.line-top-bottom {
  stroke-dasharray: 12 63;
}


.hamburger input:checked + svg {
  transform: rotate(-45deg);
}


.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42px;
}


/* --- Menu Déroulant --- */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  z-index: 1001;
  text-align: left;
  background-color: #fff;
  border-radius: 8px;
  width: max-content;
  min-width: 150px;
  padding: 5px 0;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  transform: translateY(-10px);
  box-shadow: 0 4px 6px #0000001a;
}


.hamburger input:checked ~ .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.dropdown-menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}


.dropdown-menu li {
  padding: 8px 15px;
  transition: background-color 0.3s, font-weight 0.3s;
}


.dropdown-menu li:hover {
  background-color: #0000000d;
}


.dropdown-menu a {
  color: #000;
  text-decoration: none;
  display: block;
  font-weight: 500;
}


.dropdown-menu a.cta-dropdown-link {
  color: #16A34A;
  font-weight: 800;
}




/* --- STYLES RESPONSIVES HEADER --- */
@media screen and (max-width: 767px) {
  /* --- Header/Nav Responsive --- */
  .site-header {
    padding: .3rem 0;
  }


  .nav-links,
  .nav-controls-desktop {
    display: none;
  }


  .hamburger {
    display: block;
  }


  .hamburger svg {
    height: 2.5em;
  }
}




/* --- 6. SECTION HERO --- */
.container-large {
  width: 100%;
  max-width: 85rem;
  margin-left: auto;
  margin-right: auto;
}


.padding-section-large {
  padding-top: 8rem;
  padding-bottom: 8rem;
}


.padding-global-content {
  padding-top: 0;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}


.hero-layout {
  grid-column-gap: 0rem;
  grid-row-gap: 0rem;
  text-align: center;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
}




.background_hider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #FCFAF9;
    width: 100%;
    height: 15rem;
}


.hero-text-area {
  max-width: 900px;
  margin: auto;
  margin-top: -6.4rem;
  text-align: center;
  position: relative; /* Très important pour positionner le pseudo-élément ET les suggestions */
  z-index: 2; /* S'assure que ton texte est au-dessus */
  padding: 2.8rem 2rem;
  border-radius: 70px;
  background: none;
 
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    z-index: -1;
   
    background: radial-gradient(ellipse at center,
                rgb(252, 250, 249) 56%,
                rgba(255, 255, 255, 0) 70%
    );
    transform: scale(1.3);
    opacity: 0.999;
  }
}


.hero-text-area img{
    width: 9rem;
    margin-bottom: 1rem;
}

.hero-heading {
  font-family: var(--h1-font-family);     /* "Untitled Serif" */
  font-size: var(--h1-font-size);       /* 5rem */
  font-weight: var(--font-weight-regular); /* 400 */
  line-height: var(--h1-line-height);     /* 1.2 */
  letter-spacing: var(--h1-letter-spacing); /* -0.02em */
  color: var(--color-black);
  margin: 0 0 2.5rem 0;
}


.hero-description {
  font-family: var(--font-body);             /* "ABC Diatype Mono" */
  font-size: var(--body-font-size);        /* 1.25rem */
  font-weight: var(--font-weight-regular); /* 400 */
  line-height: var(--line-height-normal);  /* 1.35 */
  letter-spacing: var(--body-letter-spacing); /* -0.02em */
  color: #333;
  max-width: 660px;
  margin: 0 auto 3.5rem;
}


.form-wrapper {
  display: flex;
  align-items: center;
  max-width: 600px; /* Largeur max */
  width: 99%; /* S'adapte aux petits écrans */
  margin:auto; /* Espace au-dessus, et centre horizontalement */
  background-color: #FFFFFF;
  border-radius: 50px; /* Arrondi complet */
 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.082);
  border: 1px solid rgba(0, 0, 0, 0.05); /* Bordure très subtile */
  overflow: visible; /* CHANGÉ : Doit être visible pour voir les suggestions en dessous */
 
  position: relative; /* Requis pour le z-index et l'animation */
  transition: all 0.3s ease;
 
  /* Ajout pour le positionnement des suggestions */
  z-index: 5;
}


.address-input {
  flex-grow: 1;
  min-width: 0;
  border: none;
  outline: none;
  -webkit-appearance: none;
  background: transparent;
 
  padding: 1.25rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #333;
  letter-spacing: var(--body-letter-spacing);
}


.address-input::placeholder {
  color: #999;
  opacity: 1;
}


.analyze-button {
  flex-shrink: 0;
  display: flex;        
  align-items: center;  
  justify-content: center;
  gap: 0.5rem;          
 
  border: none;
  outline: none;
  cursor: pointer;
  background-color: var(--color-black);
  color: var(--color--off-black);
  border-radius: 50px;
  padding: 0.9rem 1rem 0.9rem 1.4rem;
  margin: 0.3rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}


.icon {
  fill: currentColor;
  width: 1.2rem;
  height: 1.2rem;
}


.analyze-button:hover {
  background-color: #333;
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* --- STYLES POUR LE SPINNER DE CHARGEMENT --- */

/* 1. L'animation de rotation */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* 2. L'animation de la "comète" */
@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124;
  }
}

/* 3. Le style du SVG spinner */
.analyze-button .spinner {
  display: none; /* Caché par défaut */
  width: 1.5rem; /* Ajustez la taille au besoin */
  height: 1.5rem;
  animation: spin 0.8s linear infinite; /* Fait tourner le SVG */
  margin: 0; /* Assure le centrage */
}

.analyze-button .spinner .path {
  stroke: var(--color--off-black); 
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.analyze-button.is-loading {
  cursor: wait;
}

.analyze-button.is-loading .button-text-label,
.analyze-button.is-loading .button-text {
  display: none;
}

.analyze-button.is-loading .spinner {
  display: block;
}

.analyze-button .button-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FIN SPINNER --- */



.form-wrapper:focus-within {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-1.5px);
}


.address-input.invalid::placeholder {
  color: #D90429;
  opacity: 1;
}


.address-input.invalid {
  animation: shake 0.4s ease-in-out;
}


@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-2px); }
  40%, 80% { transform: translateX(2px); }
}


/* --- AUTOCOMPLÉTION --- */
.suggestions-container {
  display: none; /* Caché par défaut */
  position: absolute;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px; /* Moins arrondi que la pilule */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
 
  /* Positionnement juste sous le formulaire */
  top: calc(100% + 20px); /* 20px au-dessus du bas du form-wrapper */
  left: 0;
  right: 0;
 
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  z-index: 4; /* Juste en dessous du form-wrapper (z-index: 5) */
  text-align: left;
 
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE et Edge */


}


.suggestions-container.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


.suggestion-item {
  padding: 0.8rem 1.77rem; /* Même padding que l'input */
  font-family: var(--font-body);
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}


.suggestion-item:last-child {
  border-bottom: none;
  border-radius: 0 0 20px 20px;
}


.suggestion-item:first-child {
  /* Pour cacher le premier qui est sous l'input */
}


.suggestion-item:hover,
.suggestion-item.active { /* Pour la navigation au clavier */
  background-color: #f8f8f8;
}


.suggestion-item strong {
   font-weight: 600;
   color: #000;
}


.suggestion-item span {
    font-size: 0.9rem;
    color: #777;
    margin-left: 0.5rem;
}




/* --- ANIMATION RADAR CSS (AVEC DÉMARRAGE AU CENTRE) --- */


/* Animation 1: Le démarrage (0 -> -55deg). Ne se joue qu'une fois. */
@keyframes radarStartup {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-55deg); /* Va au point de départ de la boucle */
  }
}
/* Animation 2: La boucle (balayage aller-retour) */
@keyframes radarSweep {
  0% {
    transform: rotate(-55deg); /* Point de départ */
  }
  100% {
    transform: rotate(55deg);  /* Point d'arrivée */
  }
}
/* Applique les animations à l'image du radar */
.hero-background-image {
  transform: rotate(0deg); /* S'assure que l'état initial est bien 0deg */
 
  /* On chaîne deux animations :
     1. 'radarStartup': dure 1.94s, 1 fois.
     2. 'radarSweep': dure 3.88s, en boucle, alternée,
        MAIS avec un délai de 1.94s (elle attend la fin de la première).
  */
  animation: radarStartup 1.94425s ease-in-out 1,
             radarSweep 3.8885s ease-in-out 1.94425s infinite alternate;
}


.hero-content-area {
  justify-content: center;
  align-items: center;
  display: flex;
  margin-top: 3rem;
}




.hero-cards-container {
  z-index: -10;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 95.9375rem;
  max-height: 95.9375rem;
  display: flex;
  position: absolute;
}


.hero-background-wrapper {
  position: relative;
}


.hero-background-overlay {
  z-index: 1;
  position: absolute;
  inset: 0%;
}


.hero-background-image {
  aspect-ratio: 1;
  border-radius: 100vw;
  overflow: hidden;
  transform: rotate(0);
}


.hero-background-image.is-mobile {
  display: none;
}


.hero-spacing-element {
  width: 30vw;
  max-width: 30rem;
  height: 30vw;
  max-height: 30rem;
}




/* --- STYLES RESPONSIVES HERO --- */
@media screen and (max-width: 767px) {
  /* --- Hero Responsive (Tablette) --- */
  .hero-text-area {
    max-width: 100%;    /* CORRIGÉ: 100vw était le problème */
    margin-top: -6rem;  /* Moins de marge négative */
    padding: 2rem 1rem; /* Moins de padding */
  }


  .hero-text-area::before {
    transform: scale(1.05); /* RÉDUIT: 1.3 était beaucoup trop large */
    border-radius: 40px;
  }


  .hero-heading {
    font-size: 3.5rem;
    margin-bottom: 1.4rem; /* Moins d'espace */
  }
 
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.9rem; /* Moins d'espace */
  }
 


  .form-wrapper {
     max-width: 100%; /* Permet au formulaire de s'adapter */
     transform: scale(1.15);
  }


  .address-input {
    padding: 1rem 1.25rem; /* Moins de padding interne */
    padding-right: 3px;
    font-size: .7rem;
  }
 
  .analyze-button .button-text {
    display: none;
  }
  .analyze-button {
    width: 70px;
    height: 40px;
     padding: 0; /* Padding réduit */
     gap: 0;
     font-size: 0.6rem;
     margin: 0.2rem;
     display: flex;
    align-items: center;
    justify-content: center;
  }


  /* --- Autocomplétion Responsive --- */
  .suggestions-container {
    width: 100%;
    left: 0;
    top: calc(100% + 15px); /* Ajusté pour mobile */
    padding-top: 20px;
  }
  .suggestion-item {
    padding: 0.8rem 1.25rem; /* Padding mobile */
    font-size: 0.77rem;
  }
  .suggestion-item span {
    font-size: .95em; /* Plus petit */
  }


  .hero-background-image.is-desktop {
    display: none;
  }
  .hero-background-image.is-mobile {
    display: block;
  }
}


@media screen and (max-width: 479px) {
  h1,
  .hero-heading {
    font-size: 2.5rem;
    line-height: 1.2;
  }
 
  .hero-text-area {
    margin-top: -5.5rem;
    padding: 1.5rem 0.5rem;
  }


  .background_hider{
    display: none;
  }
 
  .hero-text-area::before {
    transform: scale(1.2);
    border-radius: 30px;
  }


  .hero-description {
    font-size: 1rem;
  }
 
  .padding-global-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .padding-section-large {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}




/* --- 7. STYLES VULNERABILITY CARDS --- */
.vulnerability-card {
    z-index: 1;
    grid-column-gap: .625rem;
    grid-row-gap: .625rem;
    font-size: var(--size--10px);
    text-align: left;
    background-color: #ffffffe6;
    border: 1px solid #ffffff26;
    border-radius: .625rem;
    flex-flow: column;
    max-width: 16rem;
    max-height: 3.5rem; /* Réduit pour mieux voir l'animation */
    padding: .75rem;
    line-height: 1.4;
    display: flex;
    position: absolute;
    bottom: 0%;
    left: 0%;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.7s ease-out, max-height 0.7s ease-out; /* Ajouté max-height */
}


.vulnerability-card.is-open {
    opacity: 1;
    transform: translateY(0);
    max-height: 20rem; /* Assez haut pour contenir tout le contenu */
}


/* MODIFICATION IMPORTANTE : Remplacer display: none par ça */
.vulnerability-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease-out 0.3s, max-height 0.7s ease-out 0.2s; /* Délais pour synchronisation */
}


.vulnerability-card.is-open .vulnerability-details {
    opacity: 1;
    max-height: 100px; /* Ajuste selon ton contenu */
}




.vulnerability-card.card-pos-6 { /* Anciennement card-python-cisco */
    bottom: 35%;
    left: 8%;
    right: auto;
}


.vulnerability-card.card-pos-4 { /* Anciennement card-cpp */
    bottom: 26%;
    left: 23%;
    right: auto;
}


.vulnerability-card.card-pos-5 { /* Anciennement card-typescript */
    grid-column-gap: .625rem;
    grid-row-gap: .625rem;
    bottom: 17%;
    left: 15%;
    right: auto;
}


.vulnerability-card.card-pos-2 { /* Anciennement card-javascript */
    bottom: 32%;
    left: 72%;
}


.vulnerability-card.card-pos-3 { /* Anciennement card-dotnet */
    margin-right: .5rem;
    bottom: 16%;
    left: 76%;
}


.vulnerability-card.card-pos-1 { /* Anciennement card-python */
    bottom: 23%;
    left: 51%;
}


.card-icon-embed {
  justify-content: center;
  align-items: center;
  width: 1rem;
  min-width: 1rem;
  max-width: 1rem;
  height: 1rem;
  min-height: 1rem;
  max-height: 1rem;
  display: flex;
}


.card-info-row {
  justify-content: space-between;
  align-items: center;
  display: flex;
}


.card-title-area {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  /* font-family: var(--font--secondary); */ /* Police Ppmori non chargée */
  color: rgb(0, 0, 0);
  font-size: var(--size--12px);
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  display: flex;
}


.card-action-button {
  grid-column-gap: .25rem;
  grid-row-gap: .25rem;
  color: rgba(0, 0, 0, 0.4);
  font-size: var(--size--10px);
  justify-content: flex-start;
  align-items: center;
  display: flex;
}


.card-arrow-icon {
  justify-content: center;
  align-items: center;
  width: .5rem;
  min-width: .5rem;
  max-width: .5rem;
  height: .5rem;
  min-height: .5rem;
  max-height: .5rem;
  display: flex;
}




.card_text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1d0e0e;
  margin-top: 4.4px;
}


/* --- STYLES RESPONSIVES VULNERABILITY CARDS --- */
@media screen and (max-width: 1024px) {
  /* 6. Ajuster les positions (on peut reprendre celles de 767px) */
  .vulnerability-card.card-pos-6 { bottom: 46%; left: 3%; }
  .vulnerability-card.card-pos-4 { bottom: 32%; left: 10%; }
  .vulnerability-card.card-pos-5 { bottom: 17%; left: 5%; }
 
  .vulnerability-card.card-pos-2 { bottom: 42%; left: 64%; }
  .vulnerability-card.card-pos-3 { bottom: 14%; left: 67%; }
  .vulnerability-card.card-pos-1 { bottom: 28%; left: 48%; }
}


@media screen and (max-width: 767px) {
  .vulnerability-card > .vulnerability-details {
    display: none;
  }
  .card-info-row {
    flex-direction: column;      /* Met le titre et le lien l'un sous l'autre */
    align-items: flex-start;   /* Aligne les deux à gauche */
    justify-content: flex-start;
    gap: 0.1rem; /* Espace entre le titre et le lien "Plus d'infos" */
  }


  /* 3. Ajuster la carte (plus besoin de l'animation de hauteur compliquée) */
  .vulnerability-card {
    max-width: 10rem; /* Garde la carte petite */
    padding: 0.5rem;
    font-size: 0.6rem;
    max-height: 4rem;
  }


  .vulnerability-card.is-open {
    max-height: 4rem; /* Même hauteur, plus besoin de 'grandir' */
  }


  /* 4. Annuler l'animation de 'vulnerability-details' (maintenant inutile) */
  /* Ceci s'assure que le titre et le lien "Plus d'infos" sont bien visibles */
  .vulnerability-details,
  .vulnerability-card.is-open .vulnerability-details {
    opacity: 1;
    max-height: none;
    overflow: visible;
    transition: none;
  }
 
  /* 5. Garder les styles de police/icône petits */
  .card-title-area {
    font-size: 0.65rem;
    grid-column-gap: .3rem;
  }
  .card-icon-embed {
    width: 0.7rem;
    min-width: 0.7rem;
    max-width: 0.7rem;
    height: 0.7rem;
    min-height: 0.7rem;
    max-height: 0.7rem;
  }
  .card-action-button {
    font-size: 0.6rem;
    /* (il est maintenant sous le titre) */
  }
  .card-arrow-icon {
    width: .35rem;
    min-width: .35rem;
    max-width: .35rem;
    height: .35rem;
    min-height: .35rem;
    max-height: .35rem;
  }
 
  /* 6. Ajuster les positions (légèrement) */
  .vulnerability-card.card-pos-6 { bottom: 45%; left: 7%; }
  .vulnerability-card.card-pos-4 { bottom: 30%; left: 15%; }
  .vulnerability-card.card-pos-5 { bottom: 17%; left: 5%; }
 
  .vulnerability-card.card-pos-2 { bottom: 37%; left: 68%; }
  .vulnerability-card.card-pos-3 { bottom: 19%; left: 77%; }
  .vulnerability-card.card-pos-1 { bottom: 24%; left: 35%; }
}


@media screen and (max-width: 479px) {
  .vulnerability-card {
    max-width: 8.5rem;
    padding: 0.3rem;
    font-size: 0.5rem;
    max-height: 3.5rem; /* Hauteur fixe encore plus petite */
  }
 
  .vulnerability-card.is-open {
    max-height: 3.5rem; /* Même hauteur */
  }


  .card-title-area {
    font-size: 0.55rem;
    grid-column-gap: .2rem;
  }


  .card-icon-embed {
    width: 0.6rem;
    min-width: 0.6rem;
    max-width: 0.6rem;
    height: 0.6rem;
    min-height: 0.6rem;
    max-height: 0.6rem;
  }


  .card-action-button {
    font-size: 0.5rem;
  }


  .card-arrow-icon {
    width: .3rem;
    min-width: .3rem;
    max-width: .3rem;
    height: .3rem;
    min-height: .3rem;
    max-height: .3rem;
  }


  .vulnerability-card.card-pos-6 { bottom: 45%; left: 5%; right: auto; }
  .vulnerability-card.card-pos-4 { bottom: 33.5%; left: 23%; right: auto; }
  .vulnerability-card.card-pos-5 { bottom: 20%; left: 7%; right: auto; }
 
  .vulnerability-card.card-pos-2 { bottom: 37.5%; left: auto; right: 7.7%; }
  .vulnerability-card.card-pos-3 { bottom: 12%; left: auto; right: 10%; }
  .vulnerability-card.card-pos-1 { bottom: 24%; left: auto; right: 33%; }
}




/* --- 9. STYLES PREVIEW BOX --- */
#report-preview-box {
    display: none; /* Caché par défaut */
    opacity: 0;
    /* Centré horizontalement + animation verticale */
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;


    position: absolute;
    z-index: 10;
    left: 50%;
    width: 90%; /* Plus sûr pour le responsive */
    max-width: 900px; /* Aligné avec hero-text-area */
    margin: 0; /* SUPPRIMÉ : margin: 2rem auto; */
   
    background-color: var(--color--off-black, #FCFAF9);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;    text-align: left;
    padding: 2rem;
}


#report-preview-box.is-visible {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(-20px); /* Animation d'apparition */
}


/* Bouton de fermeture */
#close-preview-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.5rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}
#close-preview-btn:hover {
    background: rgba(0,0,0,0.1);
    color: #000;
}


.preview-content h3 {
    font-family: var(--font-titles);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    text-align: center;
}
.preview-content h3 span {
    color: #212424b4;
}


.preview-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}


.bento-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}


.bento-item.main-stat {
    background: #f0fdf4; /* Vert très clair */
    border-color: rgba(22, 163, 74, 0.2);
}


.bento-item.problem-stat {
    grid-column: 1 / -1; /* Prend toute la largeur */
    background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.3); /* NOUVEAU: Bordure rouge */
}


.bento-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}


.bento-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
}


.bento-item.problem-stat .bento-value {
    color: #dc2626; /* Orange foncé */
}


.bento-item.main-stat .bento-value {
    color: #15803d; /* Vert foncé */
    font-size: 2rem; /* Plus gros */
}


.bento-item p {
    font-size: 1rem;
    color: #333;
    margin-top: 0.75rem;
    line-height: 1.4;
}


.is-blurred {
    filter: blur(5px);
    user-select: none;
    opacity: 0.7;
    display: inline-block; /* Nécessaire pour que le blur s'applique bien */
}


.bento-item p .is-blurred {
     padding: 0 0.5em;
     background: #e0e0e0;
     border-radius: 4px;
}


.blurred-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}


.blurred-section h4 {
    font-family: var(--font-titles);
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
}


.fake-table, .fake-graph {
    width: 100%;
    height: 100px;
    background-color: #f0f0f0;
    border-radius: 8px;
    background-position: center;
    background-repeat: no-repeat;
}


/* Images SVG en ligne pour les aperçus floutés */
.fake-table {
    background-image: url("data:image/svg+xml,%3Csvg width='300' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='a' width='100' height='20' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 10h100' stroke='%23cccccc' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='300' height='100' fill='%23f7f7f7'/%3E%3Crect width='300' height='20' fill='%23e0e0e0'/%3E%3Crect width='300' height='100' fill='url(%23a)'/%3E%3C/svg%3E");
    margin-bottom: 1rem;
}


.fake-graph {
     background-image: url("data:image/svg+xml,%3Csvg width='300' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100h300' stroke='%23e0e0e0' stroke-width='1'/%3E%3Cpath d='M0 75h300' stroke='%23e0e0e0' stroke-width='1' stroke-dasharray='2,2'/%3E%3Cpath d='M0 50h300' stroke='%23e0e0e0' stroke-width='1' stroke-dasharray='2,2'/%3E%3Cpath d='M0 25h300' stroke='%23e0e0e0' stroke-width='1' stroke-dasharray='2,2'/%3E%3Cpath d='M20 80 Q 50 20, 80 60 T 140 70 T 200 40 T 260 60, 280 30' stroke='%23cccccc' stroke-width='3' fill='none'/%3E%3C/svg%3E");
}




.preview-cta.is-overlay {
    position: absolute;
    z-index: 10; /* S'assure qu'il est au-dessus du contenu flouté */


   
    /* Centrage parfait (horizontal + vertical) */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.15); /* Centré + 15% plus gros */
   
    /* Styles du bouton (repris de .preview-cta) */
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.5rem 2.2rem; /* Padding augmenté */
    border-radius: 35px;
    background: #85EBBC;
    background: linear-gradient(90deg, rgba(133, 235, 188, 0.93) 0%, rgba(59, 228, 119, 0.93) 100%);
    color: #ffffff;
    transition: all 0.3s ease;
    white-space: nowrap; /* Empêche le texte de sauter à la ligne */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15); /* Ombre pour "pop" */
}
.preview-cta.is-overlay:hover {
    background-position: 100%;
    background-size: 222%;
    transform: translate(-50%, -50%) scale(1.20); /* Effet de zoom au survol */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}


/* 3. Centrer le lien restant dans le footer */
.preview-footer {
    display: flex;
    justify-content: center; /* MODIFIÉ (était space-between) */
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    gap: 1rem;
}






/* --- Responsive pour le Preview Box (MOBILE) --- */
@media screen and (max-width: 767px) {
    #report-preview-box {
        padding: 1.5rem 1rem;
        margin: 1rem auto;
        width: 95%;
        max-width: 95%;
        left: 50%;
        transform: translateX(-50%) translateY(0);
    }
    #report-preview-box.is-visible {
        transform: translateX(-50%) translateY(-20px);
    }


    .preview-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }


    /* Grille du haut (3 colonnes) */
    .preview-bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem; /* Espacement compact */
        margin-bottom: 1.5rem;
    }
   
    .bento-item {
        padding: 0.75rem 0.5rem; /* Padding compact */
    }


    .bento-label {
        font-size: 0.7rem; /* Très petit */
        margin-bottom: 0.33rem;
        line-height: 1.1;
    }
   
    .bento-value {
        font-size: .9rem; /* Standard */
        line-height: 1.1;
    }
   
    .bento-item.main-stat .bento-value {
        font-size: 1.15rem; /* Un peu plus gros */
    }


    /* Problématique (pleine largeur) */
    .bento-item.problem-stat {
        grid-column: 1 / -1; /* Pleine largeur */
        margin-top: 1rem;
        padding: 1rem;
    }
   
    .bento-item.problem-stat .bento-value {
        font-size: 1.1rem; /* Titre réduit */
        line-height: 1.3;
    }
   
    .bento-item p {
        font-size: 0.77rem; /* Texte réduit */
    }


    /* Section floutée (2 colonnes côte à côte) */
    .blurred-section {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 colonnes */
        grid-template-rows: auto 1fr;   /* 2 lignes (titres, contenu) */
        gap: 0.75rem 1rem; /* Espace vertical, Espace horizontal */
        padding: 1.5rem 1rem;
        margin-bottom: 2.4rem;
        position: relative; /* Pour le bouton */
    }


    /* Placement explicite des titres et contenus */
    .blurred-section h4 {
        text-align: center;
        margin: 0;
        font-size: 1.05rem;
        line-height: 1.2;
    }


    .blurred-section h4:nth-of-type(1) {
        grid-column: 1; /* Colonne 1 */
        grid-row: 1;    /* Ligne 1 */
    }
   
    .blurred-section .fake-table {
        grid-column: 1; /* Colonne 1 */
        grid-row: 2;    /* Ligne 2 */
        margin: 0;
        height: 60px;
    }
   
    .blurred-section h4:nth-of-type(2) {
        grid-column: 2; /* Colonne 2 */
        grid-row: 1;    /* Ligne 1 */
    }
   
    .blurred-section .fake-graph {
        grid-column: 2; /* Colonne 2 */
        grid-row: 2;    /* Ligne 2 */
        margin: 0;
        height: 60px;
 
    }


    /* Bouton superposé (ajusté pour mobile) */
    .preview-cta.is-overlay {
        margin-top: 6.6rem;
        transform: translate(-50%, -50%) scale(1); /* Taille normale */
        padding: .82rem 1.2rem;
        font-size: 0.9rem;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    }
    .preview-cta.is-overlay:hover {
        transform: translate(-50%, -50%) scale(1.05);
    }
}






/* --- 10. SECTION DÉTAILS DU RAPPORT --- */




#report-details-section {
  padding-top: 0;
}
/* Titres de section (général) */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


h2.section-title {
    font-family: var(--font-titles);
    font-size: 3rem; /* Plus petit que le H1 */
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-tight);
    letter-spacing: var(--h1-letter-spacing);
    color: var(--color-black);
    margin: 0 0 1.2rem 0;
}


p.section-subtitle {
    max-width: 606px;
    margin: auto;
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #333;
    line-height: var(--line-height-normal);
}


/* Grille de la section */
.details-layout-grid {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 2fr 3fr; /* <-- NOUVELLE VALEUR */
  gap: 2.5rem;
  align-items: center;
}


/* Colonne de Gauche (Aperçu) */
.details-left-column {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ajoute une perspective pour un effet 3D subtil si on veut */
    perspective: 777px;
}


.fake-report-card {
    margin-top: .777rem;
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Effet 3D subtil au survol */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.fake-report-card:hover {
    transform: rotateY(-3deg) rotateX(2deg) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}




.report-header {
    padding: 1rem 1.5rem;
    background: #111111f7;
    border-bottom: 1px solid #333;
}


.report-badge {
    display: inline-block;
    background: #333;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}


.report-header h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}


.report-body {
    padding: 1.5rem;
    padding-bottom: .37rem;
}


.report-main-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}


.stat-item {
    flex: 1;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}


.stat-item span {
    font-size: 0.85rem;
    color: #555;
    display: block;
    margin-bottom: 0.25rem;
}


.stat-item strong {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    line-height: 1;
}
.stat-item strong small {
    font-size: 1rem;
    color: #777;
}
.stat-item strong.risk-high {
    color: #d82929e5; /* Rouge */
}


.report-fake-graph {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 100px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 1rem;
    background: #fafafa;
    margin-bottom: 1.5rem;
}


.report-fake-graph .bar {
    flex: 1;
    background: #d1d5db; /* Gris */
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}
.report-fake-graph .bar:last-child {
    background: #d11b24f3; /* Vert */
}



.report-content-list h5 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #000;
}



.report-content-list ul {
    list-style: none;
    padding: .1rem 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.64rem;
}

@media screen and (max-width: 767px) {

  .report-content-list ul {
      gap: .4rem;
      padding: .1rem 0 .3rem 0;
  }
}


.report-content-list li {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #333;
    display: flex;
    gap: 0.5rem;
}


.report-content-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #16a34a; /* Vert */
}

.report-content-list li span {
  text-align: left;
  margin-top: -.7px;
}


.report-footer {
    padding: .33rem 1.5rem;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    border-top: .1px solid #e0e0e015; /* Ligne de séparation */
}


@media screen and (max-width: 767px) {
.fake-report-card {
  margin-top: -10px;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.08);
}


.report-header {
    padding: 0.75rem 1.25rem; /* Moins de padding */
}
.report-header h4 {
    font-size: 0.9rem; /* Titre plus petit */
}


.report-badge {
    font-size: 0.7rem; /* Badge plus petit */
    padding: 0.2rem 0.4rem;
}


.report-body {
    padding: 1rem; /* Moins de padding */
}


.report-main-stats {
    margin-bottom: 1rem;
    gap: 0.75rem; /* Espace réduit entre les stats */
}


.stat-item {
    padding: 0.75rem; /* Moins de padding */
}


.stat-item strong {
    font-size: 1.5rem; /* Police du score BIEN plus petite */
}
.stat-item strong small {
    font-size: 0.8rem;
}
.stat-item span {
    font-size: 0.8rem; /* Label (Score/Niveau) plus petit */
}


.report-fake-graph {
    height: 80px; /* Graphe moins haut */
    margin-bottom: 1rem;
    padding: 0.75rem;
}


.report-content-list h5 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.report-content-list li {
    font-size: 0.8rem; /* Texte de la liste plus petit */
    gap: 0.4rem;
    margin-top: 3px;
}
.report-content-list li svg {
    width: 14px; /* Icône plus petite */
    height: 14px;
}


.report-footer {
    padding: 0.4rem 1rem; /* Footer moins haut */
    font-size: 0.8rem;
}
}


/* Colonne de Droite (Avantages) */
.details-right-column {
    /* Le contenu est aligné en haut par défaut */
    text-align: left;
}


.advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid; /* Changé de flex à grid */
  grid-template-columns: 1fr 1fr; /* Ajouté : crée 2 colonnes */
  gap: 3.5rem 2.5rem;
}


.advantage-item {
  display: flex;
  flex-direction: row; /* Ajouté : pour empiler l'icône et le texte */
  align-items: flex-start;
  gap: 1.2rem;
}


.advantage-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f0fdf4; /* Vert très clair */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #16a34a; /* Vert */
    border: 1px solid #bbf7d0;
}


.advantage-icon svg {
    width: 24px;
    height: 24px;
}


.advantage-text p {
    font-family: var(--font-titles);
    font-size: 1rem;
    color: #242424CC;
    margin: 0;
    line-height: 1.33;
    letter-spacing: var(--body-letter-spacing);
}


.advantage-text p:first-child {
    font-size:1.2rem ;
    font-weight: 600;
    letter-spacing: +0.02rem;
    margin-bottom: 0.7rem;
    color: #070707d2;
}


.advantage-text p.solution {
    color: #242424CC;
    font-family: var(--font-body);
}


.advantage-text p.solution strong {
    color: #15803d; /* Vert foncé */
}


@media screen and (max-width: 767px) {
  .advantage-list {
    margin: 1.5rem 0;
    grid-template-columns: 1fr; /* Revient à une seule colonne sur mobile */
    gap: 1.7rem;
  }
}




/* --- STYLES RESPONSIVES SECTION DETAILS --- */
@media screen and (max-width: 767px) {
  h2.section-title {
      font-size: 2.5rem;
  }


  .details-layout-grid {
      grid-template-columns: 1fr; /* Une seule colonne */
      gap: 1rem;
  }


  .details-right-column {
      order: 2; /* Met le texte après l'image */
      gap: 1.5rem;
  }
   
  .details-left-column {
      order: 1;
  }


  .fake-report-card:hover {
      transform: none; /* Annule l'effet 3D sur mobile */
  }
}














#checkout{
    margin-top: -11rem;
    position: relative;
}

.checkout-heading{
	margin-bottom: 13rem;
	display: flex;
	flex-direction: column;
}

.h2sec3{
    width: 100vw;
    color: var(--color-black);
    font-size: 3rem;
		font-family: var(--font-titles);
    text-align: center; /* Assure que le texte est centré sur mobile */

    background-image: url(/static/images/cropped-line.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2rem 0; /* Augmente la hauteur du background */

}

.checkout-subtitle{
	margin-top: -4rem;
	color: #333333;
}


@media (max-width: 768px) {
	
	#checkout{
			margin-top: -9.9rem;
	}
	

	.h2sec3 {
		font-size: 2.2rem;
		padding: 5px 10px; 
		background-size: 100% 100%;
	}

	.checkout-subtitle {
			margin-top: -1.23rem;
      padding: 3px 13px;
	}

	.checkout-heading {
		margin-bottom: 3.2rem;
	}

}



.checkout-layout{
  margin-top: -10rem;
  display: grid;
  grid-template-columns: 2.5fr 2.4fr;
  gap: 2.5rem;
  align-items: center;
}@media (max-width: 768px) {
  .checkout-layout {
    margin-top: -5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .checkout-layout {
    margin-top: -2rem;
    gap: 1rem;
  }
}


.gauche{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}@media (max-width: 768px) {
	.gauche {
		order: 2;
		gap: .88rem;
	}
}




.checkout-reassurance {
	width: 88%;
}

.reassurance-title {
	font-family: var(--font-titles);
	font-size: 2.4rem;
	font-weight: var(--font-weight-regular);
	line-height: var(--line-height-tight);
	text-align: center;
	margin-bottom: 4rem;
}

.reassurance-list {
	list-style: none;
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-template-columns: repeat(2, 1fr);
	gap: 1.23rem;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.reassurance-list li {
	text-align: center;
	position: relative;
	overflow: hidden;
	padding: 20px 10px;
}

.stat-number {
	display: block;
	font-size: 7.7rem;
	font-weight: 300;
	color: #1a1a1a;
	letter-spacing: -7px;
	line-height: 0.85;
	margin-bottom: 15px;
	height: 105px;
	position: relative;
	padding-top: 5px;
}

.stat-label {
	font-size: .9rem;
	color: #777777;
	font-weight: 400;
	line-height: 1.4;
	max-width: 280px;
	margin: 0 auto;
	letter-spacing: 0.2px;
}

@media (max-width: 768px) {
	.checkout-reassurance {
			padding: 10px -5px;
	}

	.reassurance-title {
    font-size: 1.9rem;
		margin-bottom: 1.777rem;
	}


	.reassurance-list {
			gap: .82rem;
      grid-template-columns: 1fr;
    }

  .reassurance-list li{
    padding: 10px;
  }
  .reassurance-list li:nth-child(2){
    margin-top: -1.2rem;
  }

	.stat-number {
			font-size: 65px;
			height: 60px;
			margin-bottom: .6rem;
	}

	.stat-label {
			font-size: 12px;
	}
}



.container_testimonial_wrapper{
	min-height: 12rem;
	margin-top: 1rem;
  margin-left: auto;
}
.container_testimonial {
	position: relative;
	max-width: 700px;
	width: 95%;
	height: fit-content;
}

.card-stack {
	position: absolute;
	inset: 0;
	background: white;
	border-radius: 1rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-stack:nth-child(1) {
	transform: translateY(1rem) scale(.9777);
	opacity: 0.4;
}

.card-stack:nth-child(2) {
	transform: translateY(0.5rem) scale(.9888);
	opacity: 0.6;
}

.main-card {
	position: relative;
	background: white;
	border-radius: 1rem;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	padding: 1rem;
	transition: opacity 0.3s, transform 0.3s;
}

.main-card.fade-out {
	opacity: 0;
	transform: scale(0.95);
}

.testimonial-text {
	margin-left: .5rem;
	text-align: left;
	color: #3e3e3ef3;
	font-size: 1rem;
	margin-bottom: .222rem;
}

.author-info {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.avatar {
	width: 3rem;
	height: 3rem;
	margin-bottom: -.7rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
	transition: background-color 0.3s;
}

.avatar-img {
	color: white;
	font-size: 1rem;
	font-weight: 600;
}

.author-details {
	margin-left: .2rem;
	display: flex;
	flex-direction: column;
}

.author-name {
	text-align: left;
	color: #111827;
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.2rem;
}

.author-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #6b7280;
	font-size: 0.875rem;
}

.country-icon {
	display: flex;
	align-items: center;
	gap: 0.2rem;
}

.progress-indicators {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
}

.indicator {
	height: 0.3rem;
	border-radius: 9999px;
	transition: all 0.3s;
	background-color: #d1d5db;
}

.indicator.active {
	width: 2rem;
	background-color: #111111ee;
}

.indicator:not(.active) {
	width: 0.375rem;
}


@media (max-width: 768px) {

	.container_testimonial_wrapper{
		min-height: 13rem;
	}

	.container_testimonial{
		width: 100%;
	}

	.testimonial-text{
		font-size: .842rem;
	}

	.indicator{
		margin-top: 5px;
	}

}



/* --- 11. STYLES CHECKOUT CARD --- */

.checkout-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 2rem; /* Espace au-dessus */
    max-width: 32rem;
}
.progress__container {
    width: 100%;
    max-width: 28rem;
    margin: 20px auto;
    background: #eee;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.progress__bar {
    width: 0%;
    height: 100%;
    background: #C7F4CD;
    transition: width 0.5s ease;
}
.checkout-card {
    width: 100%;
    max-width: 600px; /* Limite la largeur de la carte */
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem 2.5rem;
    text-align: left; /* Aligne le texte à gauche */
}



.head_checkout{
    text-align: center;
    margin-bottom: 2.8rem;
}
.head_checkout h3 {
    font-family: var(--font-titles);
    font-size: 1.75rem;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.head_checkout p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .head_checkout p{
    font-size: .9rem;
  }
}


.inputContainer {
    margin-bottom: 20px;
  }

  /* Ajoutez ceci à votre fichier styles.css */
#payment-form .inputContainer:first-child {
    position: relative;
}
  
.form__input {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 5px;
    font-size: 14px;
    background-color: transparent;
    border: none;
    outline: none;
  }
  


.inputLabel {
    font-size: 1rem;
    color: rgb(47, 75, 87);
    transition: transform 0.3s ease, color 0.3s ease;
  }

  


.inputUnderline {
    width: 95%;
    height: 1.23px;
    background-color: #29292993;
  }

  #card_underline{
    margin-top: 7px;
    height: 1px;
  }

.inputUnderline.error {
    background-color: red;
}
.form__input.invalid::placeholder {
  color: #dd1234a8;
  opacity: 1;
}

/* Styles pour les champs de formulaire avec autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px white inset !important; /* Fond blanc */
    -webkit-text-fill-color: #333 !important; /* Couleur du texte */
    transition: background-color 5000s ease-in-out 0s; /* Désactive l'animation du fond */
}


#checkout-suggestions-container {
    position: absolute;
    top: 105%;
    left: -2px;
    right: 0;
    z-index: 100;
    width: 96%;
    border-radius: 6px;
    /* Le reste du style (.suggestions-container, .suggestion-item) 
      que vous avez déjà pour le champ "hero" s'appliquera ici.
    */
}





#card-element {
  padding: 1rem 1.3rem 5px .1rem;
}

/* Assure que le bouton de paiement prend toute la largeur */
.Btn {
  width: 97%;
  margin: 3rem auto 1.2rem auto;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(15, 15, 15);
  border: none;
  border-radius: 32px;
  color: white;
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 
              0 5px 10px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
  transition-property: all;
}

.submit-button-text{
  font-size: 1.2345rem;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.svgIcon {
  width: 16px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.svgIcon path {
  fill: white;
  transition: fill 0.3s ease;
}

.Btn::before {
  width: 100%;
  height: 130px;
  position: absolute;
  content: "";
  background-color: #ffffff;
  border-radius: 50%;
  left: -100%;
  top: 0;
  transition-duration: .3s;
}

.Btn:hover {
  transform: translateY(-2px);
}

.Btn:hover::before {
  transition-duration: .3s;
  transform: translate(100%,-50%);
  border-radius: 0;
}

.Btn:hover .submit-button-text {
  color: #16A34A;
}

.Btn:hover .svgIcon path {
  fill: #16A34A;
}

.Btn:active {
  transform: translateY(1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 
              0 2px 5px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition-duration: .1s;
}


/* Style pour le spinner DANS le bouton de paiement */
#Btnspinner {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
}

.Btn.is-loading {
    cursor: wait;
}

.Btn.is-loading .button-text-label {
    display: none;
}

.Btn.is-loading #Btnspinner {
    display: block;
    margin: 0 auto; /* Centre le spinner */
}

/* Style pour les messages d'erreur */
#payment-message {
    font-family: var(--font-body);
    color: #dc2626; /* Rouge d'erreur */
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}



#stripe_img{
    max-width: 100%;
    margin: 2.4rem auto .55rem auto;
    width: 73%;
    display: block;
}

@media (max-width: 768px) {
  #stripe_img{
    width: 88%;
  }
}



.popup {
  display: none;
  position: relative; 
  z-index: 1000;
  width: 82vw;
  max-width: 370px;
  background: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  text-align: center;
  padding: 20px;
}

.close {
  position: absolute;
  top: 5px;
  right: 5px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.171);
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  border: none;
  color: rgb(155, 28, 28);
  font-weight: 500;
  cursor: pointer;
}
.popup-content div{
  font-size: .87rem;
  font-weight: 500;
}
.popup-content div p{
  margin-top: .7rem;
  font-size: .82rem;
  color: #7c887e;
  font-weight: 400;
}

.overlay {
  /* display: none; */ /* Gardé par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Légèrement plus sombre */
  z-index: 999;
  
  /* NOUVEAU : Pour centrer le contenu (spinner ou popup) */
  display: none; /* Remplacera l'ancien display: none */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* MODIFIÉ : .overlay.active gère l'affichage */
.popup.active {
  display: block; /* Gardé pour la compatibilité */
}
.overlay.active {
  display: flex; /* MODIFIÉ : utilise flex pour centrer */
}


.image {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  background-color: #e2feee;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  animation: animate .6s linear alternate-reverse infinite;
  transition: .6s ease;
}

.image svg {
  color: #0afa2a;
  width: 2rem;
  height: 2rem;
}


/* --- NOUVEAUX STYLES POUR LE LOADING OVERLAY --- */
#loading-state {
    display: none; /* Géré par JS */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-body);
    z-index: 1001; /* Au-dessus de tout */
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

#loading-state p {
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- STYLES POUR LE POPUP D'ERREUR --- */
.popup.is-error .image {
    background-color: #fef2f2; /* Rouge clair */
    animation: none; /* Pas d'animation de pulsation */
}

.popup.is-error .image svg {
     /* Remplace l'icône de succès par un 'X' */
    content: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6L6 18M6 6l12 12' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color: #dc2626; /* Rouge */
    width: 2rem;
    height: 2rem;
}

.popup.is-error h2 {
    color: #dc2626 !important; /* Rouge */
}




.faq-section-wrapper {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100vw;
}
.faq-section {
    padding: 5rem 1.2rem 3.777rem;
    box-sizing: border-box;
    background-color: #000000;
    color: white;
    position: relative;
    width: 100%;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7.77rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.titreetc {
    max-width: 100%;
}

.faq-title {
    width: auto;
    white-space: nowrap; /* Force le texte à rester sur une seule ligne */
    font-size: clamp(2rem, 5vw, 3rem); /* Taille responsive */
    color: white;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.faq-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgb(255, 255, 255);
    margin-bottom: 2rem;
    max-width: 97%;
}


.faq-link {
    color: #C0F3C9;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-link:hover {
    opacity: 0.8;
}

.faq-link svg {
    margin-left: 0.5rem;
    margin-bottom: 0.1rem;
    transition: transform 0.3s ease;
}

.faq-link:hover svg {
    transform: translateX(4px);
}

.faq-questions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: clamp(.95rem, 2vw, 1.25rem);
    font-weight: 600;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #C0F3C9;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #C0F3C9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 1.5rem;
    text-align: center;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    padding-top: 0.5rem;
    max-height: 0;
    overflow: hidden;
    text-align: left;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-item[open] .faq-answer {
    max-height: 500px; /* Valeur suffisamment grande */
    padding-top: 1rem;
}

.faq-decoration-right {
    position: absolute;
    width: 150px;
    height: auto;
    top: 0;
    right: 0;
    z-index: 0;
    opacity: 0.3;
}

.faq-decoration-left {
    position: absolute;
    width: 150px;
    height: auto;
    bottom: 0;
    left: 0;
    z-index: 0;
    opacity: 0.3;
}

/* Media Queries pour le responsive */
@media (min-width: 768px) {
    .faq-section {
        padding: 6rem 3rem 3.777rem;
    }
    
    .faq-container {
        grid-template-columns: 1.5fr 2fr;
    }
    
    .faq-decoration-right,
    .faq-decoration-left {
        width: 250px;
    }
}

@media (min-width: 1024px) {
    .faq-section {
        padding: 8rem 4rem 5rem;
    }
    
    .faq-decoration-right,
    .faq-decoration-left {
        width: 300px;
    }
}



@media (max-width: 767px) {
    .faq-section-wrapper {
        margin: 0; /* Supprimer les marges négatives sur mobile */
    }
    .faq-container {
        gap: 2.2rem;
    }

    .titreetc {
        margin-bottom: 2rem;
        text-align: center;
    }

    .faq-link {
        font-size: 0.85rem;
    }

    .faq-answer, .faq-question {
        text-align: left;
    }
    .faq-question {
        font-size: 1rem;
    }
    .faq-answer {
        font-size: 0.88rem;
    }
}














.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto;
    padding: 2.4rem 7px 1.5rem 7px;
    color: #333;
    width: 77%;
}

.heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7.77px;
}

.heading img{
    width: 77px;
}


.site-footer p {
    font-size: 0.6rem;
    line-height: 1.2;
    color: #666666ea;
}


.copyright {
    text-align: center;
    padding: 15px;
    font-size: 0.8rem;
    color: #666;
    border-top: .7px solid #4745451f;
}


@media (max-width: 767px) {
    .site-footer {
        margin: 1.3rem 0 .9rem 0; 
        padding: 0;
        width: 100%;
    }
    .about p{
        font-size: .51rem;
        line-height: .9;
    }

    .copyright {
        font-size: 0.7rem;
    }
}