/* <=================== Captcha Error ===================> */

#captcha-error {
  display: none;
  color: #e63946;
  background: #fff0f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* <=================== Modal Merci ===================> */

#merciModal .modal-content {
  max-width: 560px;
  text-align: center;
  padding: 50px 40px;
  border-radius: 20px;
  background: white;
  color: #333;
  position: relative;
}

.merci-close-btn {
  color: #999;
}

.merci-titre {
  color: #2D5A8E;
  font-size: 26px;
  margin-bottom: 15px;
}

.merci-p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.merci-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f0f5fc;
  border-left: 4px solid #2D5A8E;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 30px;
  text-align: left;
}

.merci-highlight-icon {
  font-size: 30px;
  flex-shrink: 0;
}

.merci-highlight-text {
  color: #2D5A8E;
  font-size: 14px;
  line-height: 1.6;
}

#merciModal .btn-cta-shine {
  display: inline-block;
  margin-top: 15px;
}

/* <=================== Hero ===================> */

.hero {
  display: flex;
  align-items: center;
  padding: 80px 0 80px 4%; 
  min-height: 70vh; 
  gap: 50px; 
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 50px;
}

.hero-content p {
  margin-bottom: 40px;
}

.hero-image {
  flex : 1;
  display: flex;
  justify-content: flex-end; 
}

.hero-image img {
  max-width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
  position: relative;

}

/* <=================== Avantage ===================> */

.avantages{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #d9d9d910;
}

.list-card{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.card{
  background-color: #115098;
  border-radius: 30px;
  width: 70vh;
  padding: 5px 1% 5px 1%;
  margin: 2%;
  position: relative;
  overflow: visible;
}

.card-avantage p {
  padding-left: 3%;
}

.card-avantage a{
  color: #CD7435;
  text-decoration: none;
  padding-left: 60%;
}

.card-avantage img{
  width: 20%;
  position: absolute;
  top: -20px;
  right: -15px;
}

.page-compta .card-avantage img {
  width: 13%;
  top: -15px;
  right: 0px;
}

.profile{
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* <===================  ===================> */

.section-grise{
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #d9d9d910;
}

/* <=================== Contact ===================> */

.contact-info{
  display: flex;
  flex-direction: row;
  align-items: center;
  
}

.contactC{
    background-color: #d9d9d910;
}

.card-info-list{
  width: 50%;
}

.card-info{
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: white;
  color: black;
  border-radius: 30px;
  width: 50vh;
  margin: 0 0 15px 10%;
  padding: 1%;
  gap: 15px;;
}

.card-info img {
  width: 15%;
  height: 15%;
}

.card-info div{
  display: flex;
  flex-direction: column;
  gap: 50px;

}

.form-contact {
  background-color: white;
  width: 100%;
  max-width: 500px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 30px; 
  padding: 40px; 
  box-sizing: border-box;
  margin: 0 auto 30px;

}

.logo-top {
  width: 70px;
  height: 70px;
  border-radius: 15px;
}

.input {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.input label {
  margin-bottom: 8px;
  color: black;
  font-size: small;
}

.group-input {
  display: flex;
  flex-direction: row;
  gap: 15px; 
}

.input-wrapper {
  position: relative; 
  display: flex;
  align-items: center;
}

.input-wrapper img {
  width: 20px; 
  position: absolute;
  left: 12px; 
  top: 50%; 
  transform: translateY(-50%);
  pointer-events: none;
}

.input-wrapper input,
.input-wrapper select{
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  font-size: 14px;
  background-color: white;
  color: black;
}



.input-wrapper select {
  -webkit-appearance: none;
  appearance: none;
}

.input-wrapper select option[value=""] {
  color: #9ca3af;
}

.input-wrapper textarea {
  width: 100%;
  padding: 12px; 
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
}

.form-contact button{
  display: block;
  margin: 0 auto;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 25px;
}

.checkbox-marketing {
  margin: 10px 0 5px;
}

.checkbox-marketing-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

.checkbox-marketing-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}

/* <=================== Vidéo demo ===================> */

.video-section {
  text-align: center;
  padding: 0 20px 30px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.section-grise{
  display: flex;
  flex-direction: column;
  align-items: center;
}


.video-grid {
  display: flex;
  flex-direction: column;
  gap: 60px; 
  width: 100%;
  max-width: 2400px;
  margin-bottom: 40px;
}

.video-row {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.video-item {
  width: 50%; 
  max-width: 600px; 
}


.card-video {
  background: #115098;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.10);
  border-radius: 20px; 
  border: 2px solid rgba(0, 0, 0, 0.33); 
  padding: 12px; 
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
}


.card-video video {
  width: 95%;
  border-radius: 12px; 
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #719DD4; 
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 15px; 
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  padding-left: 5px; 
  pointer-events: none; 
}


.video-item h3 {
  margin-top: 20px;
  font-size: 27px;
  font-weight: 700;
  color: white;
}


.video-section .btn-cta-shine {
  margin-top: 20px;
  font-size: 20px;
  padding: 16px 36px;
}


.modal {
  display: none; 
  position: fixed;
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); 
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
}

#btnEndVideo {
  display: none;
  position: absolute;
  top: 78%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 25px;
  white-space: nowrap;
}

.modal-content video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.5);
  outline: none;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: -10px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #219ebc;
}

/* <=================== Comparaison Table ===================> */

.comparaison-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 5%;
}

.comparaison-section h2 {
  color: white;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 45px;
  text-align: center;
}

.comparaison-table {
  width: 100%;
  max-width: 1100px;
  margin-bottom: 50px;
}

.comparaison-header,
.comparaison-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.6fr;
}


/* ---- Header tableau ---- */

.comparaison-header .col-feature {
  background: transparent;
  border: none;
}

.comparaison-header .col-classique {
  padding: 16px 20px;
  text-align: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #D9D9D9;
  background-color: #55575962;
  border-radius: 12px 0 0 0;
  border-left: 2px solid rgba(0, 0, 0, 0.33);
  border-right: 2px solid rgba(0, 0, 0, 0.33);
  border-top: 2px solid rgba(0, 0, 0, 0.33);
}

.comparaison-header .col-asso {
  padding: 16px 20px;
  text-align: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  background-color: #3bc9b8;
  border-radius: 0 12px 0 0;
  border: none;
}

/* ---- ligne tableau ---- */

.col-feature {
  padding: 20px 18px;
  background-color: #115098;
  color: white;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid rgba(0, 0, 0, 0.33);
}

.comparaison-row:nth-child(2) .col-feature {
  border-top: 2px solid rgba(0, 0, 0, 0.33);
  border-radius: 12px 0 0 0;
}

.comparaison-row:last-of-type .col-feature {
  border-bottom: 2px solid rgba(0, 0, 0, 0.33);
  border-radius: 0 0 0 12px;
}

.comparaison-row:nth-child(2) .col-classique {
  border-top: 2px solid rgba(0, 0, 0, 0.33);
}

.comparaison-row:nth-child(2) .col-asso{
  border-top: 2px solid #3bc9b8;
}

.col-classique {
  padding: 20px 20px;
  background-color: #55575962;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(0, 0, 0, 0.33);
  border-right: 2px solid rgba(0, 0, 0, 0.33);
}

.comparaison-row:last-of-type .col-classique {
  border-bottom: 2px solid rgba(0, 0, 0, 0.33);
}

.col-asso {
  padding: 20px 20px;
  background-color: rgba(59, 201, 184, 0.06);
  border-left: 2px solid #3bc9b8;
  border-right: 2px solid #3bc9b8;
  font-size: 17px;
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparaison-row:last-of-type .col-asso {
  border-bottom: 2px solid #3bc9b8;
  border-radius: 0 0 12px 0;
}

.icon-non {
  font-size: 20px;
  flex-shrink: 0;
}

.icon-oui {
  font-size: 20px;
  flex-shrink: 0;
}

.comparaison-section .btn-cta-shine {
  font-size: 18px;
  padding: 16px 40px;
}

.section-pret {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #d9d9d910;
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 1000px;
  margin: 50px auto;
}

/* <=================== Responsive ===================> */


@media (max-width: 1050px) {
  .hero {
    flex-direction: column;
    padding: 40px 5%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 35px;
  }

  .hero-image {
    justify-content: flex-end;
    margin-right: -35%;
  }

  .hero-image img {
    width: 70vw;
    max-width: none;
    border-radius: 12px 0 0 12px;
  }

  .list-card {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    margin: 20px 0;
    padding: 10px;
  }

  .card-avantage img {
    position: absolute;
    top: -25px;
    right: -5px;
    width: 75px;
    height: 75px;
  }

  .contact-info {
    flex-direction: column;
  }

  .form-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-contact form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .group-input {
    flex-direction: column;
    width: 100%;
  }

  .input {
    width: 100%;
  }

  .card-info-list, .form-contact  {
    width: 90%;
    max-width: 100%;
   
  }

  .card-info {
    width: 90%;
    margin: 10px auto;
  }

  .card-info img {
    width: 10%;
  }

  .video-row {
    flex-direction: column;
    align-items: center;
  }

  .video-item {
    width: 90%;
  }

  .comparaison-header,
  .comparaison-row {
    grid-template-columns: 0.8fr 1.2fr 1.2fr;
  }

  .col-feature,
  .col-classique,
  .col-asso {
    padding: 14px 12px;
    font-size: 13px;
    gap: 8px;
  }

  .comparaison-header > div {
    padding: 12px 12px;
    font-size: 14px;
  }

  .comparaison-section h2 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .group-input {
    flex-direction: column;
    gap: 0;
  }
  
  .card-avantage a {
    padding-left: 0;
    display: block;
    text-align: center;
    margin-top: 15px;
  }
}

@media (min-width: 1500px) {
  .hero {
    gap: 100px;
    max-width: 1500px;
    margin: 0 0 0 8%;

  }

  .hero-image img {
    max-width: 550px;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 58px;
  }

  .card-avantage img{
    width: 15%;
    position: absolute;
    top: -20px;
    right: -15px;
  }
}