/* =====================================================================
   RK TANZANIE VOYAGE — CSS SPÉCIFIQUE À LA PAGE À PROPOS (about-us.php)
   Les composants partagés (topbar, navbar, sidebar, footer, modal,
   floating, :root, reset) sont dans css/common.css — pas dupliqués ici.
   ===================================================================== */

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* HERO */
.hero {
  background: var(--green-dark);
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1547970810-dc1eac37d174?w=1920&q=80")
    center/cover;
  opacity: 0.22;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px 60px;
  max-width: 860px;
  animation: fadeInUp 0.9s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff12;
  border: 1px solid #ffffff25;
  color: var(--gold);
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  width: fit-content;
  animation: float 3.5s ease-in-out infinite;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero p {
  color: #9fc9af;
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 560px;
}

/* BREADCRUMB */
.breadcrumb {
  background: var(--off-white);
  padding: 12px 40px;
  border-bottom: 1px solid #e8ede8;
}
.breadcrumb-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
}
.breadcrumb a {
  color: var(--green-mid);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--green-dark);
}

/* SECTIONS */
.section {
  padding: 76px 40px;
}
.section-bg {
  background: var(--off-white);
}
.section-dark {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1516426122078-c23e76319801?w=1920&q=80")
    center/cover;
  opacity: 0.13;
}
.section-dark-inner {
  position: relative;
  z-index: 2;
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-tag {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--green-mid);
  font-size: 14px;
  margin-bottom: 8px;
}
.section-tag-gold {
  color: var(--gold);
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  color: var(--text-dark);
  line-height: 1.25;
}
.section-title-white {
  color: #fff;
}
.section-title em {
  color: var(--green-mid);
  font-style: italic;
}
.section-title-white em {
  color: var(--gold);
}
.section-sub {
  font-size: 13.5px;
  color: var(--gray);
  margin-top: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  border: 1px solid #e8ede8;
  transition: all 0.3s;
}
.stat-card:hover {
  border-color: var(--green-mid);
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(45, 90, 61, 0.11);
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--green-mid);
  font-weight: 700;
}
.stat-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  line-height: 1.4;
}

/* ESPRIT */
.esprit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.esprit-imgs {
  position: relative;
  height: 400px;
}
.esprit-img-main {
  position: absolute;
  width: 72%;
  height: 330px;
  border-radius: 18px;
  overflow: hidden;
  top: 0;
  left: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.4s;
}
.esprit-img-main:hover {
  transform: scale(1.02);
}
.esprit-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.esprit-img-sm {
  position: absolute;
  width: 45%;
  height: 185px;
  border-radius: 14px;
  overflow: hidden;
  bottom: 0;
  right: 0;
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s;
}
.esprit-img-sm:hover {
  transform: scale(1.03);
}
.esprit-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.esprit-badge {
  position: absolute;
  bottom: 60px;
  left: -18px;
  background: var(--green-dark);
  color: var(--gold);
  padding: 12px 16px;
  border-radius: 11px;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 12.5px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  animation: float 4s ease-in-out infinite;
  line-height: 1.5;
}

/* VALEURS */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.valeur-card {
  padding: 24px 20px;
  background: #fff;
  border: 1px solid #e8ede8;
  border-radius: 14px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.valeur-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--green-mid);
  transition: width 0.35s;
}
.valeur-card:hover::after {
  width: 100%;
}
.valeur-card:hover {
  border-color: var(--green-mid);
  background: #f7fbf7;
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(45, 90, 61, 0.11);
}
.valeur-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  transition: all 0.3s;
}
.valeur-card:hover .valeur-icon {
  background: var(--green-mid);
  transform: rotate(8deg) scale(1.08);
}
.valeur-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}
.valeur-card p {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.65;
}

/* DESTINATIONS */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.dest-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 180px;
  cursor: pointer;
  transition: transform 0.35s;
}
.dest-card:hover {
  transform: scale(1.03);
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.dest-card:hover img {
  transform: scale(1.08);
}
.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 58, 42, 0.85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.dest-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.dest-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.team-img {
  border-radius: 18px;
  overflow: hidden;
  height: 340px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.team-img:hover img {
  transform: scale(1.04);
}
.team-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.team-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  background: #ffffff0d;
  border-radius: 11px;
  border: 1px solid #ffffff15;
  transition: all 0.3s;
}
.team-point:hover {
  background: #ffffff1a;
  border-color: var(--gold);
  transform: translateX(4px);
}
.team-pt-icon {
  width: 34px;
  height: 34px;
  background: var(--green-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.team-pt-text {
  font-size: 13px;
  color: #cce0cc;
  line-height: 1.6;
}

/* CTA */
.cta-banner {
  background: var(--green-mid);
  padding: 26px 40px;
}
.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-icon {
  font-size: 30px;
  margin-right: 14px;
  animation: float 3.5s ease-in-out infinite;
}
.cta-text h3 {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: 19px;
}
.cta-text p {
  color: #9fc9af;
  font-size: 13px;
  margin-top: 3px;
}
.btn-cta {
  background: var(--gold);
  color: var(--green-dark);
  padding: 11px 26px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s;
}
.btn-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* RESPONSIVE — spécifique À Propos (composants partagés dans common.css) */
@media (max-width: 900px) {
  .hero-content {
    padding: 55px 20px 40px;
  }
  .breadcrumb {
    padding: 10px 20px;
  }
  .section {
    padding: 48px 20px;
  }
  .esprit-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .esprit-imgs {
    height: 260px;
    margin-bottom: 20px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.95rem;
  }
  .valeurs-grid {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
}
