/* ==========================================
   PAGE ESPACE ADO — ASSOCIATION BEAUFIEF
   Styles spécifiques à ado.html
   Les styles globaux sont dans style.css
========================================== */


/* ==========================================
   HERO
========================================== */
.page-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #d8b24a, #5c6f5c 50%, #d8b24a);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/ado/vélo\ bois.webp') center/cover no-repeat;
  opacity: 0.25;
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  padding: 50px 0 40px;
  width: 100%;
}

.page-hero h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
}


/* ==========================================
   BARRE D'ONGLETS
========================================== */
.tabs-bar {
  background: var(--blanc);
  border-bottom: 2px solid var(--beige-lin);
  position: sticky;
  top: 0;
  z-index: 100;
}

.tabs-inner {
  display: flex;
  gap: 0;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 18px 32px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
  margin-bottom: -2px; /* Recouvre la border-bottom de tabs-bar */
  text-align: left;
}

.tab-btn:hover {
  background: var(--beige-lin);
}

.tab-btn.active {
  border-bottom-color: var(--vert-sauge);
  background: var(--blanc);
}

.tab-emoji {
  font-size: 1.3rem;
  line-height: 1;
}

.tab-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--texte);
}

.tab-age {
  font-size: 0.78rem;
  color: var(--gris);
  font-weight: 500;
}

.tab-btn.active .tab-label {
  color: var(--vert-sauge);
}

.tab-btn.active .tab-age {
  color: var(--vert-sauge);
  opacity: 0.8;
}


/* ==========================================
   PANELS (contenu des onglets)
========================================== */
.tab-panel--hidden {
  display: none;
}


/* ==========================================
   UTILITAIRES DE SECTION
========================================== */
.section-white { padding: 60px 0; background: var(--blanc); }
.section-beige  { padding: 60px 0; background: var(--beige-lin); }


/* ==========================================
   INTRO EN 2 COLONNES
========================================== */
.split-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}

.split-img {
  border-radius: 20px;
  overflow: hidden;
  max-height: 320px;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-text h3 {
  font-family: var(--font-title);
  font-size: 1.85rem;
  color: var(--terre-cuite);
  margin-bottom: 16px;
  line-height: 1.3;
}

.split-text p {
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 14px;
}

.split-text p:last-child {
  margin-bottom: 0;
}


/* ==========================================
   CARTES INFOS (horaires / activités)
========================================== */
.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.local-card {
  background: var(--blanc);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.local-card h3 {
  font-family: var(--font-title);
  color: var(--vert-sauge);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.local-card li {
  color: var(--gris);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.local-card ul {
  padding-left: 16px;
}


/* ==========================================
   ENCADRÉ RÉSERVATION / REJOINDRE
========================================== */
.resa-box {
  background: linear-gradient(135deg, #2e5240, #1e3a2f);
  border-radius: 20px;
  padding: 36px 40px;
  margin-top: 10px;
}

.resa-box h3 {
  font-family: var(--font-title);
  font-size: 1.45rem;
  color: var(--jaune-moutarde);
  margin-bottom: 12px;
}

.resa-box p {
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: 10px;
}

.resa-box ul {
  padding-left: 18px;
  margin: 10px 0 16px;
}

.resa-box li {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 5px;
}

.resa-box strong {
  color: var(--jaune-moutarde);
}

.resa-note {
  margin-top: 14px !important;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.75) !important;
}

.resa-note a {
  color: var(--jaune-moutarde);
  font-weight: 700;
}

.btn-yellow {
  display: inline-block;
  background: var(--jaune-moutarde);
  color: var(--texte);
  padding: 12px 26px;
  border-radius: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.2s;
  text-decoration: none;
}

.btn-yellow:hover {
  background: #c19b33;
  transform: translateY(-2px);
}


/* ==========================================
   BANDEAU FACEBOOK
========================================== */
.section-fb {
  padding: 22px 0;
  background: var(--beige-lin);
}

.fb-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.fb-inner p {
  color: var(--gris);
  margin: 0;
  font-size: 0.95rem;
}

.btn-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.92rem;
}


/* ==========================================
   TARIFS — COLONNE MILIEU MISE EN VALEUR
========================================== */
.pricing-section {
  padding: 60px 0;
}

.pricing-table {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 20px 0;
  width: 100%;
  background: var(--blanc);
}

.price-header {
  display: flex;
  background: var(--vert-sauge);
  color: var(--blanc);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}

.price-header .col,
.price-row .col {
  flex: 1;
  padding: 13px 10px;
  text-align: center;
}

.col-label {
  flex: 1.5 !important;
  text-align: left !important;
  padding-left: 20px !important;
}

.price-row .col-label {
  color: var(--gris);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Colonne "Journée complète" mise en avant */
.col-featured {
  background: var(--jaune-moutarde) !important;
  color: var(--texte) !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  position: relative;
}

.price-header .col-featured {
  font-size: 0.88rem !important;
}

.featured-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.3;
}

.price-row .col-featured {
  background: rgba(216,178,74,0.15) !important;
  color: #1e3a2f !important;
}

.price-row:nth-child(even) .col-featured {
  background: rgba(216,178,74,0.25) !important;
}

.price-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--beige-lin);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:nth-child(even) {
  background: rgba(246,240,230,0.4);
}

.note-tarif {
  margin-top: 14px;
  padding: 16px 20px;
  background: var(--beige-lin);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--gris);
  line-height: 1.75;
}


/* ==========================================
   SECTION UN PAS DANS L'AVENTURE
   Visuel gauche
========================================== */
.aventure-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.aventure-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(216,178,74,0.2), rgba(30,58,47,0.12));
  border: 3px solid rgba(216,178,74,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

.aventure-emoji {
  font-size: 5rem;
  line-height: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 3 cartes "Comment ça marche" */
.aventure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.aventure-card {
  background: var(--blanc);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--jaune-moutarde);
}

.aventure-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.aventure-card h4 {
  font-family: var(--font-title);
  color: var(--terre-cuite);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.aventure-card p {
  color: var(--gris);
  font-size: 0.92rem;
  line-height: 1.7;
}


/* ==========================================
   CAROUSEL
========================================== */
.carousel-section {
  padding: 60px 0;
  background: var(--beige-lin);
}

.carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.cslide {
  min-width: 380px;
  height: 260px;
  margin: 0 9px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  flex-shrink: 0;
  background: #222;
}

.cslide img,
.cslide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.cslide:hover img,
.cslide:hover video {
  transform: scale(1.04);
}

.cbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terre-cuite);
  transition: 0.2s;
  line-height: 1;
}

.cbtn:hover {
  background: var(--jaune-moutarde);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.cbtn-prev { left: 12px; }
.cbtn-next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.cdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  padding: 0;
}

.cdot.active {
  background: var(--terre-cuite);
  transform: scale(1.35);
}


/* ==========================================
   BANDEAU 3 JOURS D'ESSAI GRATUIT
========================================== */
.essai-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, #2e5240, #231e3a);
  border-radius: 24px;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}

.essai-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(216,178,74,0.10);
}

.essai-badge {
  font-size: 4rem;
  flex-shrink: 0;
  animation: float 4s ease-in-out infinite;
}

.essai-content h3 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  color: var(--jaune-moutarde);
  margin-bottom: 10px;
}

.essai-content p {
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 560px;
}

.essai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.essai-tag {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .essai-banner { flex-direction: column; padding: 28px 22px; text-align: center; }
  .essai-tags   { justify-content: center; }
}

@media (max-width: 850px) {
  .split-intro       { grid-template-columns: 1fr; gap: 28px; }
  .local-grid        { grid-template-columns: 1fr; }
  .aventure-grid     { grid-template-columns: 1fr; }
  .page-hero h2      { font-size: 2.1rem; }
  .split-img         { max-height: 240px; }
  .aventure-visual   { min-height: 160px; }
  .aventure-circle   { width: 160px; height: 160px; }
  .aventure-emoji    { font-size: 3.5rem; }
}

/* ==========================================
   RESPONSIVE — MOBILE (≤ 600px)
========================================== */
@media (max-width: 600px) {
  .tab-btn           { padding: 14px 18px; }
  .tab-label         { font-size: 0.9rem; }
  .cslide            { min-width: 280px; height: 190px; }
  .resa-box          { padding: 26px 22px; }
  .pricing-table     { font-size: 0.82rem; }
  .price-header .col,
  .price-row .col    { padding: 10px 6px; }
  .col-label         { padding-left: 12px !important; }
  .aventure-grid     { grid-template-columns: 1fr; }
  .fb-inner          { flex-direction: column; text-align: center; }
}