/* ------------------------------------------------------ */
/* HERO HUMAIN — VERSION PREMIUM AVEC IMAGE FLOUTÉE       */
/* ------------------------------------------------------ */

/* ------------------------------------------------------ */
/* NAVBAR FIXE PROPRE ET FONCTIONNELLE                    */
/* ------------------------------------------------------ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

/* Logo */
.logo {
  height: 38px;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  margin-left: 8px;
}

/* Menu desktop */
.nav-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

/* Bouton */
.btn-nav {
  padding: 8px 16px;
  background: var(--brand-navy);
  color: white;
  background: linear-gradient(135deg, var(--primary),#00B4A0);
  border-radius: 10px;
}

/* Burger */
.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* ------------------------------------------------------ */
/* VERSION MOBILE                                          */
/* ------------------------------------------------------ */

@media (max-width: 900px) {

  .burger {
    display: block;
  }

  /* Menu mobile caché par défaut */
  #mobileMenu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 100%;
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  #mobileMenu a {
    padding: 12px 0;
    font-size: 18px;
  }

  /* Quand le menu est ouvert */
  #mobileMenu.open {
    display: flex;
  }
}


.support-hero-human {
  position: relative;
  padding: 160px 0 140px;
  text-align: center;
  color: white;
  overflow: hidden;
  /* max-width: 640px; */
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

/* Image de fond floutée */
.support-hero-human::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://transmed-connect.fr/serve.php?file=hero_soutenez-nous.png&type=image') center/cover no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
  z-index: 1; 
}

/* Overlay premium bleu profond + gradient pêche/glacier */
.support-hero-human::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom right,
      rgba(255, 200, 180, 0.25),
      rgba(180, 220, 255, 0.25)
    ),
    rgba(0, 40, 80, 0.45);
  z-index: 2;
}

/* Contenu au-dessus */
.support-hero-human .hero-content {
  position: relative;
  z-index: 3;
}

.support-hero-human h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 15px;
}

.support-hero-human p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* ------------------------------------------------------ */
/* ENGAGEMENT HUMAIN                                      */
/* ------------------------------------------------------ */

.support-engagement {
  padding: 50px 0 !important;
  /* padding: 80px 0; */
  background: #fff7f3;
  text-align: center;
}

.support-engagement h2 {
  font-size: 32px;
  color: var(--brand-navy);
}

.support-engagement p {
  max-width: 750px;
  margin: 20px auto 0;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ------------------------------------------------------ */
/* LISERÉ PÊCHE                                            */
/* ------------------------------------------------------ */

.support-why h2::after,
.support-engagement h2::after,
.support-final-cta h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffb8a4;
  margin: 12px auto 0;
  border-radius: 4px;
}

/* ------------------------------------------------------ */
/* POURQUOI                                                */
/* ------------------------------------------------------ */

.support-why {
  padding: 50px 0 !important;
  /* padding: 100px 0; */
  background: linear-gradient(to bottom, #fff7f3 0%, white 40%);
  text-align: center;
}

.support-why p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ------------------------------------------------------ */
/* COMMENT SOUTENIR                                        */
/* ------------------------------------------------------ */

.support-how {
  /* padding: 100px 0; */
  padding: 50px 0 !important;
  background: white;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.support-card {
  background: #f4f9ff;
  padding: 28px 30px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid #ffb8a4;
}

.support-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.support-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------ */
/* FORMULAIRE                                              */
/* ------------------------------------------------------ */

.support-form {
  /* padding: 100px 0; */
  padding: 50px 0 !important;
  background: var(--bg-glacier);
}

.support-form h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-navy);
  text-align: center;
  margin-bottom: 40px;
}

.support-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px 45px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.support-form-wrapper .open-modal {
  display: inline-block;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #d3d7df;
  font-size: 16px;
  color: var(--text-secondary);
  background: #fff;
  transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa3b2;
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-navy);
  outline: none;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.privacy-note {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 10px 0 25px;
  line-height: 1.5;
  text-align: left;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit .btn-primary {
  padding: 14px 28px;
  font-size: 17px;
  border-radius: 14px;
}

/* ------------------------------------------------------ */
/* CTA FINAL                                               */
/* ------------------------------------------------------ */

.support-final-cta {
  /* padding: 100px 0; */
  padding: 50px 0 !important;
  background: #fff7f3;
  text-align: center;
}

.support-final-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* ------------------------------------------------------ */
/* RESPONSIVE GLOBAL                                       */
/* ------------------------------------------------------ */

@media (max-width: 900px) {

  /* HERO */
  .support-hero-human {
    margin-top: 90px !important; /* égal à la hauteur du header */
    padding: 120px 0 110px;
  }

  .support-hero-human::before {
    filter: blur(5px);
    transform: scale(1.12);
  }

  .support-hero-human::after {
    background:
      linear-gradient(
        to bottom right,
        rgba(255, 200, 180, 0.22),
        rgba(180, 220, 255, 0.22)
      ),
      rgba(0, 40, 80, 0.55);
  }

  .support-hero-human h1 {
    font-size: 34px;
    line-height: 1.25;
    padding: 0 20px;
  }

  .support-hero-human p {
    font-size: 18px;
    padding: 0 20px;
  }

  /* GRID */
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {

  .support-hero-human {
    padding: 100px 0 90px;
    margin-top: 90px !important;
  }

  .support-hero-human h1 {
    font-size: 30px;
  }

  .support-hero-human p {
    font-size: 16px;
  }
}
/* FIX HERO COUPÉ PAR LA NAVBAR */
/* @media (max-width: 900px) {
  .support-hero-human {
    padding-top: 160px !important;  */
    /* Ajuste selon la hauteur réelle de ta navbar */
  /* }
} */

/* @media (max-width: 500px) {
  .support-hero-human {
    padding-top: 180px !important;  */
    /* Version très petit mobile */
  /* }
} */
@media (max-width: 768px) {
  section:not(.support-hero-human) {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}
/* Fix navbar overlapping hero */
.support-hero-human {
  margin-top: 90px; /* hauteur réelle de ta navbar */
}

@media (max-width: 900px) {
  .support-hero-human {
    margin-top: 110px;
  }
}

@media (max-width: 500px) {
  .support-hero-human {
    margin-top: 120px;
  }
}

nav {
  z-index: 9999;
}

/* Bouton principal */
.open-modal {
  background: #00b8c8;
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}
.open-modal:hover {
  background: #009eac;
}

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Modale */
.modal-content {
  background: white;
  width: 90%;
  max-width: 520px;
  padding: 40px;
  border-radius: 22px;
  position: relative;
  animation: fadeZoom 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Fermeture */
.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
}

/* Formulaire */
.modal-content form label {
  display: block;
  margin-top: 18px;
  font-weight: 600;
  color: #0a192f;
}

.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #d9e2ec;
  font-size: 15px;
}

.modal-content textarea {
  height: 120px;
  resize: none;
}

/* CTA */
.cta-submit {
  margin-top: 24px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary),#00B4A0);
  color: white;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.cta-submit:hover {
  background: #009eac;
}

/* Animation */
@keyframes fadeZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* .support-final-cta {
  text-align: center;
}
.support-final-cta .open-modal .btn-primary{
  margin: 0 auto;
  display: inline-block;
}
.support-final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
} */

.support-hero-human {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 380px; /* indispensable */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image de fond floutée */
.support-hero-human::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/serve.php?file=hero_soutenez-nous.png&type=image') center/cover no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
  z-index: 1;
}

/* Overlay premium */
.support-hero-human::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom right,
      rgba(255, 200, 180, 0.25),
      rgba(180, 220, 255, 0.25)
    ),
    rgba(0, 40, 80, 0.45);
  z-index: 2;
}

/* Contenu */
.support-hero-human .hero-content,
.support-hero-human h1,
.support-hero-human p {
  position: relative;
  z-index: 3;
  text-align: center;
}
/* Effet saut premium */
.jump-logo {
  display: inline-block;
  animation: logoJump 2.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes logoJump {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-6px);
  }
  35% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  65% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}
/* Fix marge sous la navbar sur SOUTENEZ-NOUS */
.support-hero-human {
  margin-top: 90px;
}

