/* =========================================================
   1. COMMUN — CONTENU DE PAGE
   ========================================================= */

.hero-activites {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 80vh;
}

.envie-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 1.5vw;
}

.bloc-envie h2 {
  font-size: 1.8vw;
}

/* =========================
   STRUCTURE GÉNÉRALE
========================= */

.section-title {
  margin-top: 50px;
}

.section-title.section-title-small {
  margin-bottom: 55px;
}

.section-title.section-title-small h2,
.activites-section .section-title-small h2 {
  margin-bottom: 14px;
  font-size: 46px;
}

.activites-section .activity-category-block {
  margin-top: 70px;
}

.activity-category-block {
  margin-top: 10px;
}

.activites-section .team-container {
  margin-bottom: 0;
}

.activity-category-intro {
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
  color: #b08d57;
  font-weight: 500;
}

.activity-category-intro:before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #b08d57;
  margin: 0 auto 15px;
  opacity: 0.6;
}

.section-title.section-title-small .activity-category-intro {
  max-width: 720px;
  margin: 0 auto 0;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.78;
  text-align: center;
}

/* =========================
   HERO / FEATURED
========================= */

.activity-hero {
  position: relative;
}

.activity-hero-img {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.activity-hero-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.activity-hero:hover img {
  transform: scale(1.05);
}

.activity-hero-img .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.15)
  );
}

.activity-hero:hover .overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.2)
  );
}

.activity-hero-content {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 30px;
  color: #fff;
  z-index: 2;
}

.activity-hero-content h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  color: #fff;
}

.activity-hero-content h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.9);
}

.activity-hero-content p {
  text-align: center;
  max-width: 75%;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.activity-hero-content  {
background: rgba(0, 0, 0, 0.3);
  padding: 10px;
  border-radius: 10px;
}


.activity-hero-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  background: #b08d57;
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  line-height: 1;
}

/* =========================
   MENU CATÉGORIES
========================= */

.activity-nav-wrap {
  z-index: 20;
  background: #fff;
  padding: 15px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.activity-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.activity-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 30px;
  background: rgba(0,0,0,0.05);
  color: #222;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 14px;
}

.activity-nav a:hover {
  background: #b08d57;
  color: #fff;
}

.activity-nav a span {
  opacity: 0.6;
  font-size: 12px;
}

/* =========================
   CARTES ACTIVITÉS
========================= */

.team-box.activity-box,
.activity-box {
  position: relative;
  height: 100%;
}

.activity-box .team-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.activity-box .team-photo a {
  position: relative;
  display: block;
}

.activity-box .team-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.activity-box:hover .team-photo img {
  transform: scale(1.03);
}

.activity-box .team-photo .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
  transition: background 0.3s ease;
  z-index: 2;
}

.activity-box:hover .team-photo .overlay {
  background: rgba(0,0,0,0.28);
}

/* badges image */

.activity-image-tag,
.activity-badge {
  position: absolute;
  top: 16px;
  z-index: 5;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1;
}

.activity-image-tag {
  left: 16px;
}

.activity-badge {
  right: 16px;
  background: rgba(255,255,255,0.92);
  color: #222;
}

.tag-unique {
  background: #000;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}

.tag-couple {
  background: #b08d57;
  color: #fff;
}

.tag-family {
  background: #5a7d5a;
  color: #fff;
}

.tag-group {
  background: #1d3557;
  color: #fff;
}

.tag-beginner {
  background: rgba(255,255,255,0.9);
  color: #222;
}

/* barre infos */

.activity-info-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 14px 16px;
  min-height: 56px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3), transparent);
  color: #fff;
  font-size: 13px;
}

.activity-info-bar > div {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.activity-info-bar .info-left {
  left: 16px;
}

.activity-info-bar .info-center {
  left: 50%;
  transform: translate(-50%, -50%);
}

.activity-info-bar .info-right {
  right: 16px;
}

.activity-info-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.activity-info-bar .info-left span,
.activity-info-bar .info-right span {
  font-size: 14px;
  font-weight: 800;
  opacity: 0.95;
  background: rgba(255,255,255,0.12);
  padding: 6px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.activity-info-bar .price {
  font-size: 16px;
  font-weight: 800;
}

.activity-info-bar i {
  font-size: 13px;
}

/* texte carte */

.activity-box .team-info {
  display: flex;
  flex-direction: column;

}








.activity-box .team-info h3 a {
  color: inherit;
  text-decoration: none;
}

.team-info h3,
.team-info h4 {
  margin-bottom: 10px;
}

.activity-box .team-info h3 {
  min-height: 52px;
}

.activity-subtitle {
  min-height: 42px;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
  margin-bottom: 8px;
  font-style: italic;
}

.team-info p {
  min-height: 90px;
}

.activity-highlights-list {
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.activity-highlights-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 85%;
  margin: 0 auto 10px;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  line-height: 1.6;
}

.activity-highlights-list li::before {
  content: "✓";
  color: #b08d57;
  font-size: 13px;
  opacity: 0.8;
}

.activity-tags {
  margin-top: 8px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.activity-tags span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(0,0,0,0.05);
  color: #333;
  font-size: 11px;
  line-height: 1;
}

.tag {
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.tag-primary {
  background: #000;
  color: #fff;
}

.tag-soft {
  background: #f2f2f2;
  color: #333;
}

.activity-tag-main {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #b08d57;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.activity-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  margin: 20px auto 0 !important;
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(0,0,0,0.05);
  color: #222;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  align-self: center;
  transition: all 0.3s ease;
}

.activity-link:hover {
  background: #b08d57;
  color: #fff;
  transform: translateY(-1px);
}

.activity-box .team-info .activity-link::before,
.activity-box .team-info .activity-link::after,
.activity-card .discover-link::before,
.activity-card .discover-link::after {
  content: none !important;
  display: none !important;
}

.activity-card .discover-link {
  display: flex;
  width: fit-content;
  margin: 18px auto 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* carte featured */

.activity-box.is-featured {
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.activity-box.is-featured .team-photo {
  box-shadow: inset 0 0 0 1px rgba(176,141,87,0.35);
}

.activity-box.is-featured .team-photo .overlay {
  background: rgba(0,0,0,0.14);
}

.activity-box.is-featured .activity-badge {
  background: #b08d57;
  color: #fff;
}

.activity-box.is-featured .team-info h3 {
  color: #111;
}

.featured-price {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}

.smaller {
  font-size: 60%;
}

.moibtn {
  background: var(--main-color);
  color: #fff;
  height: 50px;
  line-height: 54px;
  padding: 0 20px;
  position: relative;
  display: inline-block;
  margin-top: 50px;
  margin-right: 10px;
  font-family: var(--secondary-font);
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  transition: all .3s ease-in-out;
}

/* =========================
   RESPONSIVE — CONTENU
========================= */

@media (max-width: 768px) {
  .activity-hero-img img {
    height: 260px;
  }

  .activity-hero-content {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .activity-hero-content h3 {
    font-size: 20px;
  }

  .activity-hero-content p {
    max-width: 100%;
    font-size: 14px;
  }

  .activity-info-bar {
    min-height: 60px;
    padding: 10px 8px;
  }

  .activity-info-bar .info-left {
    left: 10px;
  }

  .activity-info-bar .info-right {
    right: 10px;
  }

  .activity-info-bar .info-left span,
  .activity-info-bar .info-right span {
    background: rgba(255,255,255,0.08);
    padding: 4px 7px;
    font-size: 11px;
  }

  .activity-info-bar .price {
    font-size: 13px;
  }

  .activity-box .team-photo img {
    height: 230px;
  }

  .team-info p {
    min-height: auto;
  }

  .activity-category-block .row > div {
    margin-bottom: 24px;
  }

  .activity-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 6px 6px;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .activity-nav::-webkit-scrollbar {
    display: none;
  }

  .activity-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 13px;
    padding: 9px 14px;
  }

  .activity-image-tag,
  .activity-badge {
    font-size: 10px;
    padding: 6px 10px;
  }
}



