/* Police Inter chargée via <link> dans le <head> (plus rapide qu'un @import) */


:root {
  /* Couleurs globales */
  --global-color-white: #ffffff;
  --global-color-black: #1a1a1a;
  --global-color-background: rgb(255, 255, 255);
  --global-color-gray: #cecece;
  --global-color-dark-gray: #383838;
  --global-color-light-gray: #555;
  --global-color-dark: rgba(27, 27, 27, 0.95);
  --global-color-blue: rgb(5, 115, 188);
  ;


  /* Tailles de police responsives */
  --font-xs: clamp(0.8rem, 1vw, 0.9rem);
  --font-sm: clamp(0.935rem, 1.2vw, 1rem);
  --font-md: clamp(1rem, 1.5vw, 1.05rem);
  --font-lg: clamp(1.25rem, 2vw, 1.5rem);
  --font-xl: clamp(1.75rem, 3vw, 2.4rem);
  --font-xxl: clamp(2.5rem, 5vw, 3.2rem);
  --font-hero: clamp(3rem, 7vw, 3.8rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
html,
body {
  margin: 0;
  background-color: var(--global-color-background);
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  transition: background-color 0.5s ease;
  letter-spacing: -0.05em;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8rem 1rem;
}

.title {
  font-size: var(--font-xxl);
  font-weight: 500;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--global-color-white);
  color: var(--global-color-black);
  padding: 1rem 8rem;
  margin: 0rem auto;
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
    box-shadow: 0 2px 6px rgba(85, 85, 85, 0.1);
}

.nav-center a {
  color: var(--global-color-black);
  margin-right: 1.5rem;
  text-decoration: none;
  font-weight: 400;
  font-size: var(--font-sm);
}

.nav-left{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.nav-left .logo{
  width: 70px;
}

.nav-left p {
  color: var(--global-color-blue);
  font-size: 1.2rem;
}

.nav-right {
  display: flex;
  align-items: center;
}

.contact-button {
  position: relative;
  padding: 12px 16px;
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--global-color-white);
  background-color: var(--global-color-blue);
  border-radius: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  z-index: 1;
  transition: all 250ms ease-in-out;
}

/* HERO SECTION */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: 2rem;
    text-align: left;
    position: relative;
}


.hero-text {
    flex: 1;
}

.small-text {
    font-size: var(--font-sm);
    color: var(--global-color-dark-gray);
    opacity: .8;
}

h1 {
    font-size: var(--font-hero);
    margin-top: 10px;
    font-weight: 450;
        line-height: 1.2;

}

.description {
 font-size: var(--font-sm);
    color: var(--global-color-dark-gray);
    opacity: .8;
        margin: 20px 0;
    line-height: 1.5;
    
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 2rem;
}

.contact {
    text-decoration: none;
    color: var(--global-color-light-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-icon {
    font-size: 18px;
    color: var(--global-color-white);
    background-color: var(--global-color-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    vertical-align: middle;
}

.hero-image{
  width: 450px;
  position: relative;
}

.hero-image {
  position: relative; /* pour positionner l'image secondaire */
}


 .overlay-image {
  position: absolute;
  width: 300px; /* taille de l'image ronde */
  height: 200px;
  z-index: 3;
  margin-top: 2rem;
  border-radius: 28px; /* image ronde */
  top: 500px; /* déborde légèrement en bas */
  left:10px; /* déborde légèrement sur la droite */
  object-fit: cover; /* garde les proportions de l'image */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* optionnel, pour relief */
}


/* IMAGE */
.hero-image img {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
    height: 430px;
}

.section-trusted {
  text-align: center;
  color: var(--global-color-white);
  overflow: hidden;
  margin-top: 0rem;
}

.trusted-text {
  font-size: var(--font-sm);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.8;
  color: var(--global-color-dark-gray);
}

.logo-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* DÃ©gradÃ©s sur les cÃ´tÃ©s */
.logo-carousel-wrapper::before,
.logo-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--global-color-background) 0%, transparent 100%);
}

.logo-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--global-color-background) 0%, transparent 100%);
}

/* Bande de logos animÃ©e */
.logo-carousel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  white-space: nowrap;
}

/* Track contenant les logos */
.logo-track {
  display: flex;
  gap: 4rem;
  padding-right: 4rem; /* boucle parfaitement continue */
  animation: scrollLogos 90s linear infinite; /* 10 répétitions des logos (au lieu de 100) → même vitesse */
}

/* Chaque logo */
.logo-track img {
  height: 48px;
  object-fit: contain;
  /* dÃ©saturation */
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}


/* Animation scroll infini */
@keyframes scrollLogos {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}


.offers-up-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f8f9fc;
}

.offers-cards {
  margin-top: -2rem;
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.offer-card {
  display: block;
  width: 400px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.offer-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.offer-card h3 {
  margin: 30px 10px 5px;
  font-size: 1.4rem;
  font-weight: 500;
}

.offer-card p {
  margin: 20px 10px 20px;
  font-size: 0.95rem;
  color: #555;
}




.feature-tag {
  font-size: var(--font-xs);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--global-color-dark-gray);
  opacity: .6;
  margin-bottom: 1rem;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    text-align: left;
}

.about-content {
    flex: 1;
}

.about-title{
    font-size: var(--font-xxl);
  font-weight: 500;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}
.about-text {
    font-size: var(--font-sm);
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: 450px;
    border-radius: 15px;
    object-fit: cover;
}


.key-numbers {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    padding: 50px 20px;
    background: #f8f9fc;
    flex-wrap: wrap;
    text-align: center;
    margin-top: -2rem;
}

.number-card {
    flex: 1;
    min-width: 180px;
}

.number-card h3 {
    font-size: var(--font-xxl);
    font-weight: 500;
    color: var(--global-color-blue);
    margin-bottom: 5px;
}

.number-card p {
    font-size: 14px;
    color: #555;
}


.horizontal-carousel {
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 350px; /* hauteur fixe selon tes médias */
  margin-top: 3rem;
  margin-bottom: 6rem;
  align-items: center;
  justify-content: flex-start;
}

/* Ligne horizontale */
.row {
  display: flex;
  gap: 20px;
  padding-right: 20px; /* boucle parfaitement continue */
  animation: scrollX 80s linear infinite;
}

/* Images & vidéos */
.row img, .row video {
  width: 350px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Animation défilement horizontal */
@keyframes scrollX {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% car contenu doublé */
}

/* Dégradés gauche/droite pour effet fondu */
.horizontal-carousel::before,
.horizontal-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.horizontal-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--global-color-background), transparent);
}

.horizontal-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--global-color-background), transparent);
}





.section-title{
  margin-bottom: 8rem;
}

.service-item:not(:first-child) {
    padding-top: 150px;
}

#formation-entreprise{
  padding-top: 0;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}


.service-item.reverse {
    flex-direction: row-reverse;
    text-align: left;
    margin-right: auto;
}

.service-image img {
    width: 100%;
    width: 500px;
    height: 400px;
    border-radius: 24px;
    object-fit: cover;
}

.service-text {
    flex: 1;
    text-align: left;
}

.service-number {
    background: var(--global-color-blue);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 25px;
}

.service-text h3 {
    font-size: var(--font-xl);
    font-weight: 400;
    margin-bottom: 10px;
}

.service-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.offre-visio {
    background: #f8f9fc;
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 24px;
    border: solid 1.5px #dfdfdf;
    color: var(--global-color-black);
        max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    text-align: left;
    margin-top: 8rem;
}

.offre-container {
    margin: 0 auto;
}

.offre-visio h2 {
    font-size: var(--font-xl);
}

.offre-intro {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.7;
}

.offre-details {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.offre-details li {
    font-size: 1.1rem;
    margin: 10px 0;
    padding-left: 0px;
    position: relative;
}

.offre-details i{
  padding-right: 10px;
    color: var(--global-color-blue);

}

.offre-visio img{
      width: 100%;
    max-width: 500px;
    border-radius: 24px;
    object-fit: cover;
}


.testimonial-section{
  margin-top: 2rem;
}


.testimonial-title{
  margin-bottom: 4rem;
}


.testimonial-carousel {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.carousel-slide {
  display: none;
  transition: all 250ms ease-in-out;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: right;
}

.carousel-slide video {
  width: 100%;
  max-width: 500px;
  height: 400px;
  border-radius: 20px;
  margin-bottom: 20px;
  object-fit: cover;
}

.progress-bar-container {
  position: relative;
  height: 4px;
  background-color: #eee;
  width: 100%;
  margin: 0 auto;
  max-width: 100px;
  margin-top: 0.5rem;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--global-color-blue);
  transition: width 0.1s linear;
}


blockquote {
  font-size: var(--font-lg);
  font-style: italic;
  max-width: 700px;
  margin: auto;
  margin-bottom: 2rem;
}

.name {
  font-weight: bold;
  margin-top: 10px;
}

.name span {
  font-weight: normal;
  color: gray;
  display: block;
  margin-bottom: 2rem;
}

.small-testimonials {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.small-testimonials > div {
  flex: 1 1 calc(33.333% - 20px); /* max 3 par ligne */
  max-width: calc(33.333% - 20px);
}


.testimonial-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--global-color-blue);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  max-height: 80px; /* limite la hauteur */
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
 display: -webkit-box;
  -webkit-line-clamp: 3; /* nombre de lignes max visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-text.expanded {
  max-height: 500px; /* assez grand pour montrer tout le texte */
    -webkit-line-clamp: unset;
  white-space: normal;
}

.see-more {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--global-color-blue);
  cursor: pointer;
  font-weight: bold;
}

.author {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  margin-top: 20px;
}

.author img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.author span {
  font-size: 0.9rem;
  color: #555;
}





.faq-section {
    max-width: 800px;
    margin-top: -4rem;
}

.faq-section h2{
  margin-bottom: 4rem;
}


.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 25px 0;
    transition: all 250ms ease-in-out;
}

.faq-item:hover{
  color: var(--global-color-blue);
}


.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 400;
}

.faq-toggle {
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    cursor: pointer;
    color: var(--global-color-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--global-color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    font-size: 1rem;
    line-height: 1.5;
    padding-right: 10px;
    text-align: left;
    font-style: italic;
    color: var(--global-color-dark-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}


/* Formulaire contact - Style moderne */
.contact-form {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: 'Inter', sans-serif;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0rem;
  color: #333333;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e90ff;
  box-shadow: 0 0 0 3px rgba(30,144,255,0.2);
}

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

.contact-form button {
  border: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.025rem;
}


#form-result {
  text-align: center;
  margin-top: 1rem;
  font-weight: 500;
  color: green;
}

/* Responsive */
@media (max-width: 600px) {
  .contact-form {
    padding: 1.5rem;
    gap: 1rem;
  }
}



/* FOOTER GLOBAL */
.site-footer {
  background: #f8f9fc;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 6rem;
  text-align: left;
  color: var(--global-color-black);
}

.site-footer a:hover{
  text-decoration: underline;
}

/* CONTAINER PRINCIPAL */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

/* BLOC GAUCHE : LOGO + TAGLINE */

.footer-logo {
  color: var(--global-color-blue);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-logo .logo{
  width: 70px;
}

.footer-tagline {
  line-height: 1.6;
  max-width: 300px;
  color: var(--global-color-black);
  opacity: .6;
}

/* BLOC CENTRE : LIENS */
.footer-links {
  display: flex;
  gap: 3rem;
}


.footer-links a {
  color: var(--global-color-black);
  opacity: .6;
  text-decoration: none;
  transition: color 0.2s ease;
}


/* BLOC DROIT : CONTACT + RÃ‰SEAUX + CTA */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: var(--global-color-black);
  opacity: .6;
  font-size: 1.4rem;
  transition: opacity 0.2s ease;
}


/* LIENS LÃ‰GAUX */
.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
}

.footer-legal a {
  color: #888888;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* COPYRIGHT */
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}