/* ------------------------------------------------------ */
/* HERO À PROPOS — PREMIUM HUMAIN                         */
/* ------------------------------------------------------ */
/* 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);
    z-index: 9999; /* IMPORTANT */
  }

  #mobileMenu a {
    padding: 12px 0;
    font-size: 18px;
  }

  /* Quand le menu est ouvert */
  #mobileMenu.open {
    display: flex;
  }
}
.about-hero {
  position: relative;
  padding: 160px 0 140px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Image de fond floutée (à adapter avec ta vraie image) */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://transmed-connect.fr/serve.php?file=hero_apropos.png&type=image') center/cover no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
  z-index: 1;
}

/* Overlay dégradé pêche / glacier + bleu profond */
/* .about-hero::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.55);
  z-index: 2;
} */
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255, 180, 150, 0.28),
      rgba(180, 220, 255, 0.28)
    ),
    rgba(0, 40, 80, 0.50);

  z-index: 2;
}



.about-hero-content {
  position: relative;
  z-index: 3;
}

.about-hero-text {
  max-width: 640px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.about-hero h1 {
  font-size: 40px;
  font-weight: 750;
  line-height: 1.15;
  margin-bottom: 16px;
}

.about-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
  color: #e5ecf5;
}

.about-hero-cta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  align-items: center; /* CENTRAGE */
  justify-content: center; /* CENTRAGE */
  width: 100%;
}

/* ------------------------------------------------------ */
/* SECTIONS GÉNÉRIQUES                                    */
/* ------------------------------------------------------ */
/* Titres en bleu nuit premium */
.section-header h2,
.about-values h2,
.about-adn h2,
.about-mission h2,
.about-story h2,
.about-final-cta h2 {
  color: var(--brand-navy) !important;
}

.section-header {
  margin-bottom: 28px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--brand-navy);
}

.section-header p {
  margin-top: 10px;
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
}

.section-header.center {
  text-align: center;
}

.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

/* Liseré pêche sous les titres */
/* .section-header h2::after,
.about-values h2::after,
.about-adn h2::after,
.about-mission h2::after,
.about-story h2::after,
.about-final-cta h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffb8a4;
  margin-top: 10px;
  border-radius: 999px;
} */
 /* Liseré pêche sous les titres — version premium */
.section-header h2,
.about-values h2,
.about-adn h2,
.about-mission h2,
.about-story h2,
.about-final-cta h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px; /* espace entre le titre et le trait */
}

.section-header h2::after,
.about-values h2::after,
.about-adn h2::after,
.about-mission h2::after,
.about-story h2::after,
.about-final-cta h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #ffb8a4;
  border-radius: 999px;
}


/* ------------------------------------------------------ */
/* NOTRE MISSION                                           */
/* ------------------------------------------------------ */

.about-mission {
  padding: 80px 0;
  background: #fff7f3;
}

.about-mission-body {
  max-width: 780px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-mission-body p + p {
  margin-top: 14px;
}

/* ------------------------------------------------------ */
/* NOTRE ADN                                               */
/* ------------------------------------------------------ */

.about-adn {
  padding: 90px 0;
  background: #ffffff;
}

.about-adn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.adn-card {
  background: #f4f9ff;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  border-left: 4px solid #ffb8a4;
}

.adn-card h3 {
  font-size: 18px;
  font-weight: 650;
  color: var(--brand-navy, #002850);
  margin-bottom: 10px;
}

.adn-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------ */
/* NOTRE HISTOIRE                                          */
/* ------------------------------------------------------ */

.about-story {
  padding: 90px 0;
  background: radial-gradient(circle at top left, #fef4ef 0, #f5f7fb 40%, #f9fbff 100%);
}

.about-story-wrapper {
  max-width: 820px;
}

.about-story h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.about-story h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffb8a4;
  margin-top: 10px;
  border-radius: 999px;
}

.about-story p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-story p + p {
  margin-top: 12px;
}

.about-story-signature {
  margin-top: 18px;
  font-style: italic;
  color: #4b5563;
}

/* ------------------------------------------------------ */
/* NOS VALEURS                                             */
/* ------------------------------------------------------ */

.about-values {
  padding: 90px 0;
  background: #ffffff;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.value-card {
  background: #f9fbff;
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border-top: 3px solid #ffb8a4;
}

.value-card h3 {
  font-size: 17px;
  font-weight: 650;
  color: var(--brand-navy, #002850);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------------------ */
/* CTA FINAL                                               */
/* ------------------------------------------------------ */

.about-final-cta {
  padding: 90px 0;
  background: #fff7f3;
  text-align: center;
}

.about-final-cta h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.about-final-cta h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ffb8a4;
  margin: 10px auto 0;
  border-radius: 999px;
}

.about-final-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 10px auto 26px;
}

.about-final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------ */
/* BOUTONS (réutilise ton système existant)                */
/* ------------------------------------------------------ */

.btn-primary {
  padding: 13px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #00B4A0);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.35);
  transition: 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border, #d1d5db);
  background: #fff;
  font-weight: 500;
  color: var(--muted);
  transition: 0.2s ease;
}

.btn-secondary:hover {
  background: #f9fafb;
}

/* ------------------------------------------------------ */
/* RESPONSIVE                                              */
/* ------------------------------------------------------ */

@media (max-width: 900px) {

  .about-hero {
    padding: 140px 0 110px;
    margin-top: 120px !important;
  }

  .about-hero h1 {
    font-size: 32px;
  }

  .about-hero-subtitle {
    font-size: 16px;
  }

  .about-hero-cta {
    /* flex-direction: column;
    align-items: flex-start; */
    align-items: center !important;
    justify-content: center !important;
  }

  .about-adn-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 600px) {

  /* .about-hero {
    padding: 130px 0 90px;
  } */

  .about-hero h1 {
    font-size: 28px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }
}

/* 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);
  }
}
@media (max-width: 900px) {
  .about-hero {
    padding-top: 150px !important; 
    margin-top: 90px !important;
  }
}
@media (max-width: 500px) {
  .about-hero {
    padding-top: 130px !important;
    margin-top: 90px !important;
  }
}
@media (max-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo {
    height: 32px; /* réduit légèrement pour mobile */
  }

  .logo-title {
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
  }

  .burger {
    font-size: 26px;
    margin-left: auto;
  }
}
@media (max-width: 900px) {
  header.header {
    height: 90px;
    padding: 10px 0;
  }
}
/* Fix marge sous la navbar sur ABOUT */
.about-hero {
  margin-top: 90px;
}
