./* inter-300 - latin */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: white;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, black, rgb(57,78,102)) fixed;
  background-attachment: fixed; /* Fixe le fond lors du scroll */
  background-size: cover; /* Étire le fond sur toute la page */
  overflow-x: hidden;
}

:root {
  --nav-height: 80px;   /* Desktop */
}

@media (max-width: 992px) {
  :root {
    --nav-height: 40px; /* Tablette */
  }
}

@media (max-width: 576px) {
  :root {
    --nav-height: 20px; /* Mobile */
  }
}

main {
  flex: 1; /* Permet à la section principale de s'étendre et remplir l'espace restant */
}

.btn-light:visited {
  color: black !important; /* Remplacez par la couleur de texte souhaitée */
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local(''),
       url("/static/fonts/inter-v12-latin-300.9a3673fc28bf.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("/static/fonts/inter-v12-latin-300.f7d4838781cf.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* inter-400 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       url("/static/fonts/inter-v12-latin-regular.68c477c4c76b.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("/static/fonts/inter-v12-latin-regular.1eb0efb3ba28.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local(''),
       url("/static/fonts/inter-v12-latin-500.0627ec86dfad.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("/static/fonts/inter-v12-latin-500.746fa7b62b8f.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''),
       url("/static/fonts/inter-v12-latin-700.8d7a3f034881.woff2") format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url("/static/fonts/inter-v12-latin-700.ac0ed07d4f38.woff") format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

.linkedin-carousel {
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
  }
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  .carousel-item {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .carousel-item iframe {
    width: 100%;
    height: 600px;
  }
  .carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 100;
  }
  .carousel-prev { left: 10px; }
  .carousel-next { right: 10px; }

.hero-section {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 15vh;
}

/* Si la fenêtre est très basse (mobile paysage / petits smartphones) */
@media (max-height: 700px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 20px) !important;
  }
}

@media (max-height: 600px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 20px) !important;
  }
}

@media (max-height: 520px) {
  .hero-section {
    padding-top: calc(var(--nav-height) + 20px) !important;
  }
}

.fonctionnalites-section {
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.titre-section {
  color: rgb(1,169,144);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 3rem;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: stretch;            /* ⇦ étire toutes les cards à la même hauteur */
}

.card-fonctionnalite {
  background-color: #111;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  overflow: hidden;
  flex: 1 1 18%;                   /* ~5 cards par ligne */
  max-width: 18%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

/* --- IMAGES : même hauteur et recadrage --- */
.card-image {
  height: 180px;                   /* ⇦ hauteur fixe identique pour toutes */
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;               /* ⇦ recadre sans déformer */
  display: block;
}

/* (Optionnel) supprime ce sélecteur pour éviter les conflits de hauteur auto
.card-fonctionnalite img { ... }
*/

/* --- CONTENU : alignements propres --- */
.card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1rem 1.2rem;
  flex: 1;                         /* ⇦ prend tout l’espace restant pour égaliser les hauteurs */
}

.card-content h3 {
  color: rgba(235,165,53,1);
  font-size: 1.2rem;
  margin: 0.5rem 0 0.25rem;
}

.card-content p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.5;
  margin: 0;
  /* flex: 1;                       ⇦ décommente si tu veux forcer les paragraphes à occuper la même hauteur */
}

/* Responsive */
@media (max-width: 1024px) {
  .card-fonctionnalite { flex: 1 1 30%; max-width: 30%; }
}
@media (max-width: 768px) {
  .card-fonctionnalite {
    max-width: 90%;
    flex: 1 1 100%;
    margin: 0 auto;
  }
  .card-image { height: 160px; }   /* ⇦ image un peu moins haute sur mobile */
  .card-content { text-align: center; }
}

.target-section {
  background-color: #000;
  color: #fff;
  padding: 5rem 2rem;
}

.target-section .container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: rgb(1,169,144);
  margin-bottom: 2rem;
}

.section-intro {
  text-align: center;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.target-item {
  background-color: #111;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}

.target-item:hover {
  background-color: #1a1a1a;
}

.target-item h3 {
  font-size: 1.1rem;
  color: rgb(235, 165, 53);
  margin-bottom: 0.5rem;
}


@media (max-width: 768px) {
  .target-grid {
    grid-template-columns: 1fr;
  }
}

.target-item p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

.accordion-faq details {
  background-color: #1b1b1b;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid #2a2a2a;
  transition: all 0.3s ease;
}

.accordion-faq details[open] {
  background-color: #232323;
}

.accordion-faq summary {
  font-weight:400;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  list-style: none;
}

.accordion-faq summary::-webkit-details-marker {
  display: none;
}

.accordion-faq summary:after {
  content: "＋";
  float: right;
  font-weight: bold;
  transition: transform 0.2s;
}

.accordion-faq details[open] summary:after {
  content: "−";
}

.accordion-faq p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.custom-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-checklist li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.custom-checklist .icon {
  flex-shrink: 0;
  margin-right: 0.75rem;
  margin-top: 0.2rem;
}

.custom-checklist .text {
  flex: 1;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #1b1b1b;
  border: 2px solid rgba(235, 165, 53, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  color: white;
  flex: 1 1 calc(25% - 1rem); /* 4 cards per row, minus gap */
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235, 165, 53, 1);
}

.pricing-card h3 {
  color: rgba(235, 165, 53, 1);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.pricing-card .sub {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 1rem;
}

.pricing-card ul{
  list-style: none;
  padding: 0;
  padding-top: 10px;
  margin: 0;
}

.pricing-card ul li{
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.pricing-card ul li:before{
  content: '✔️';
  color: #01A990;
  position: absolute;
  left: 0;
}

.price{
  text-align: center;
}

@media (max-width: 992px) {
  .pricing-card {
    flex: 1 1 calc(50% - 1rem); /* 2 per row on tablet */
  }
}

@media (max-width: 576px) {
  .pricing-card {
    flex: 1 1 100%; /* full width on mobile */
  }
}

.billing-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 100%;
}

.billing-label {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 280px;
  height: 60px;
  background: #ffffff11;
  border: 1px solid #ffffff33;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.2;
}

.billing-label .billing-option {
  width: 50%;
  text-align: center;
  z-index: 2;
}

.billing-label .billing-option small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
  margin-top: 2px;
}

.billing-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 8px);
  height: 52px;
  background-color: #01A990;
  border-radius: 30px;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Cache la checkbox */
.billing-checkbox {
  display: none;
}

/* Toggle slide */
.billing-checkbox:checked + .billing-label .billing-slider {
  left: calc(50% + 4px);
}

.btn-tilt-cta {
  display: block;
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  color: #F9F9F9 !important;
  background-color: rgba(235, 165, 53, 0.8); /* Vert Tilt */
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.8em;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: auto;
  margin-bottom: 12px;
}

.btn-tilt-cta:hover {
  background-color: rgba(235, 165, 53, 1);
}

.btn-tilt-green-cta {
  display: block;
  width: 100%;
  padding: 12px 20px;
  text-align: center;
  color: #F9F9F9 !important;
  background-color: #018b7e; /* Vert Tilt */
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.8em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-tilt-green-cta:hover {
  background-color: #01A990;
}

.blog-thumbnail {
  max-height: 250px;
  overflow: hidden;
  border-radius: 12px;
}

.blog-thumbnail img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.blog-articles {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Conteneur principal */
form {
  background-color: #111;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Labels */
form label {
  color: #ccc;
  font-weight: 500;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  display: block;
}

/* Inputs et textarea */
form input,
form textarea {
  background-color: #222;
  color: #eee;
  border: 1px solid #333;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border 0.3s;
}

form input:focus,
form textarea:focus {
  border: 1px solid rgb(1, 169, 144);
  outline: none;
}

/* Checkbox */
.form-check-label {
  color: #aaa;
  font-size: 0.95rem;
}

/* Bouton CTA */
form input[type="submit"] {
  background-color: rgba(235, 165, 53, 1);
  border: none;
  color: #000;
  padding: 0.75rem 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

form input[type="submit"]:hover {
  background-color: #ffd38a;
  cursor: pointer;
}

/* Responsive ajusté */
@media (max-width: 768px) {
  form {
    padding: 1rem;
  }

  form input,
  form textarea {
    font-size: 1rem;
  }

  form input[type="submit"] {
    width: 100%;
    padding: 1rem;
  }
}

input:invalid {
  border-color: red;
}
/* NAV WRAPPER */
.tilt-nav {
  width: 100%;
  height: 70px;
  background: black;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 9998;
}

.nav-container {
  width: 95%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.nav-logo img {
  height: 42px;
  max-width: 140px;
}

/* DESKTOP LINKS */
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.25s;
}

.nav-links a:hover {
  color: rgb(1,169,144);
}

/* Desktop CTA */
.nav-cta {
  border: 1px solid white;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  transition: 0.25s;
}

.nav-cta:hover {
  background: white;
  color: black;
}

/* BURGER ICON */
.burger {
  width: 32px;
  height: 24px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
}

.burger span {
  height: 3px;
  background: white;
  width: 100%;
  border-radius: 3px;
  transition: 0.25s;
}

/* Burger active state */
.burger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* FULLSCREEN MENU */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.fullscreen-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-content ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.menu-content ul li {
  margin: 20px 0;
}

.menu-content a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  transition: 0.25s;
}

.menu-content a:hover {
  color: rgb(1,169,144);
}

.menu-cta {
  margin-top: 40px;
  display: inline-block;
  border: 1px solid white;
  padding: 10px 22px;
  border-radius: 6px;
}

/* On masque menu + bouton desktop en mobile */
@media (max-width: 992px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 480px) {
  body, html {
    overflow-x: hidden !important;
  }

  .tilt-nav, 
  .nav-container, 
  .fullscreen-menu {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

.close-menu {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: white;
  cursor: pointer;
  z-index: 10002;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.close-menu:hover {
  opacity: 1;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* 🔥 FORCE le centrage horizontal */
  align-items: center;      /* Centrage vertical si une ligne */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 900px;         /* 🔥 Empêche l’ensemble de s’étaler trop */
  gap: 80px;
}

/* Responsive */
@media (max-width: 800px) {
  .hero-badges {
    flex-direction: column;
    gap: 40px;
    max-width: 100%;        /* Sur mobile on laisse respirer */
  }
}

/* Chaque bloc */
.badge-block {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-img-large {
  max-width: 240px;
  margin-bottom: 46px;
}

.badge-img-small {
  height: 150px;
  width: auto;
  margin-bottom: 16px;
}

.badge-text {
  color: #dddddd;
  font-size: 0.9rem;
  line-height: 1.5;
}