/* ==========================================
   PAGE INFOS PRATIQUES — ASSOCIATION BEAUFIEF
   Styles spécifiques à infos-pratiques.html
   Les styles globaux sont dans style.css
========================================== */


/* ==========================================
   HERO
========================================== */
.page-hero {
  position: relative;
  min-height: 240px;
  background: linear-gradient(135deg, #1e3a2f, #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;

  background: rgba(0,0,0,0.15);
}

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

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

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


/* ==========================================
   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;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
  margin-bottom: -2px;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
}

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

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

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

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

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

.tab-btn.active .tab-label {
  color: var(--jaune-moutarde);
}

.tab-btn.active .tab-sub {
  color: var(--jaune-moutarde);
  opacity: 0.8;
}


/* ==========================================
   PANELS
========================================== */
.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); }


/* ==========================================
   EN-TÊTE DE SECTION (icône + titre)
========================================== */
.ip-section-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 36px;
}

.ip-section-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4px;
}

.ip-section-title {
  font-family: var(--font-title);
  color: var(--terre-cuite);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.ip-section-sub {
  color: var(--gris);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}


/* ==========================================
   ÉTAPES D'INSCRIPTION
========================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.step-card {
  background: var(--blanc);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--jaune-moutarde);
  display: flex;
  gap: 16px;
}

.step-num {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: var(--jaune-moutarde);
  color: #1e3a2f;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content h3 {
  font-family: var(--font-title);
  color: var(--terre-cuite);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--gris);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 8px;
}

.step-content ul {
  padding-left: 16px;
}

.step-content li {
  color: var(--gris);
  font-size: 0.9rem;
  line-height: 1.8;
}

.step-content a {
  color: var(--terre-cuite);
  font-weight: 600;
}


/* ==========================================
   ALERTE AVERTISSEMENT
========================================== */
.alert-warning {
  background: rgba(192, 57, 43, 0.07);
  border-left: 4px solid #c0392b;
  padding: 14px 18px;
  border-radius: 10px;
  color: #c0392b;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ==========================================
   DÉLAIS DE RÉSERVATION
========================================== */
.delais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.delai-card {
  background: var(--blanc);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

.delai-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.delai-card h3 {
  font-family: var(--font-title);
  color: var(--jaune-moutarde);
  font-size: 1rem;
  margin-bottom: 8px;
}

.delai-card p {
  color: var(--gris);
  font-size: 0.9rem;
  line-height: 1.65;
}

.delai-card strong {
  color: var(--terre-cuite);
}


/* ==========================================
   TABLEAUX DES TARIFS
========================================== */
.tarif-bloc {
  margin-bottom: 50px;
}

.tarif-bloc:last-child {
  margin-bottom: 0;
}

.tarif-bloc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px 0;
}

.tarif-bloc-icon {
  font-size: 1.8rem;
}

.tarif-bloc-header h3 {
  font-family: var(--font-title);
  color: var(--terre-cuite);
  font-size: 1.5rem;
  margin: 0;
}

.tarifs-section-title {
  font-family: var(--font-title);
  color: var(--jaune-moutarde);
  font-size: 1.15rem;
  margin: 28px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--beige-lin);
  filter: brightness(0.85);
}

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

.price-header {
  display: flex;
  background: var(--jaune-moutarde);
  color: #1e3a2f;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}

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

.price-header .col:first-child,
.price-row .col:first-child {
  flex: 1.6;
  text-align: left;
  padding-left: 18px;
}

.price-row {
  display: flex;
  align-items: center;
  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);
}

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

.price-row .col:not(:first-child) {
  color: var(--terre-cuite);
  font-weight: 700;
  font-size: 0.9rem;
}

.note-tarif {
  background: rgba(216, 178, 74, 0.12);
  border-left: 4px solid var(--jaune-moutarde);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--gris);
  margin: 8px 0 20px 0;
  line-height: 1.8;
}

.note-tarif strong {
  color: var(--terre-cuite);
}


/* ==========================================
   HORAIRES — GRILLE
========================================== */
.horaires-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.horaire-card {
  background: var(--blanc);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--shadow);
}

.horaire-card.accent-card {
  border-top: 3px solid var(--jaune-moutarde);
}

.horaire-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.horaire-card-header span {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.horaire-card-header h3 {
  font-family: var(--font-title);
  color: var(--jaune-moutarde);
  font-size: 1rem;
  margin: 0;
  line-height: 1.3;
}

.horaire-card ul {
  padding-left: 0;
  list-style: none;
}

.horaire-card li {
  color: var(--gris);
  font-size: 0.92rem;
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
}

.horaire-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--terre-cuite);
  font-size: 0.8rem;
}


/* ==========================================
   BUS BOX
========================================== */
.bus-box {
  background: linear-gradient(135deg, #2e5240, #1e3a2f);
  border-radius: 20px;
  padding: 36px 40px;
}

.bus-infos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bus-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bus-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.bus-item strong {
  display: block;
  color: var(--jaune-moutarde);
  font-family: var(--font-title);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.bus-item p {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}


/* ==========================================
   REPAS — SPLIT
========================================== */
.repas-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

.repas-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.repas-text p {
  color: var(--gris);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 1rem;
}


/* ==========================================
   DOCUMENTS — CARTES
========================================== */
.docs-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.doc-card {
  background: var(--blanc);
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--jaune-moutarde);
  transition: transform 0.2s;
}

.doc-card:hover {
  transform: translateY(-4px);
}

.doc-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}

.doc-card h3 {
  font-family: var(--font-title);
  color: var(--terre-cuite);
  font-size: 1rem;
  margin-bottom: 8px;
}

.doc-card p {
  color: var(--gris);
  font-size: 0.88rem;
  line-height: 1.65;
}


/* ==========================================
   CORRECTION BOUTON PRIMAIRE
========================================== */
.btn-primary,
a.btn-primary,
.btn-primary:hover,
a.btn-primary:hover {
  color: var(--blanc) !important;
  text-decoration: none !important;
}


/* ==========================================
   RESPONSIVE — TABLETTES (≤ 1000px)
========================================== */
@media (max-width: 1000px) {
  .steps-grid   { grid-template-columns: 1fr; }
  .delais-grid  { grid-template-columns: repeat(2, 1fr); }
  .horaires-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-cards   { grid-template-columns: repeat(2, 1fr); }
  .bus-infos    { grid-template-columns: repeat(2, 1fr); }
  .repas-split  { grid-template-columns: 1fr; }
  .repas-visual { min-height: 0; }
}


/* ==========================================
   RESPONSIVE — MOBILE (≤ 768px)
========================================== */
@media (max-width: 768px) {
  .page-hero h2 { font-size: 2rem; }
  .section-white, .section-beige { padding: 40px 0; }
  .ip-section-title { font-size: 1.5rem; }
  .bus-box { padding: 24px 20px; }
}


/* ==========================================
   RESPONSIVE — PETIT MOBILE (≤ 600px)
========================================== */
@media (max-width: 600px) {
  .tab-btn      { padding: 12px 16px; }
  .tab-label    { font-size: 0.88rem; }
  .delais-grid  { grid-template-columns: 1fr; }
  .horaires-grid { grid-template-columns: 1fr; }
  .docs-cards   { grid-template-columns: repeat(2, 1fr); }
  .bus-infos    { grid-template-columns: 1fr; }
  .step-card    { flex-direction: column; }
  .ip-section-header { flex-direction: column; gap: 8px; }

  .price-header .col,
  .price-row .col {
    font-size: 0.78rem;
    padding: 10px 6px;
  }

  .price-header .col:first-child,
  .price-row .col:first-child {
    padding-left: 10px;
  }
}


/* ==========================================
   RESPONSIVE — TRÈS PETIT MOBILE (≤ 400px)
========================================== */
@media (max-width: 400px) {
  .page-hero h2 { font-size: 1.6rem; }
  .docs-cards   { grid-template-columns: 1fr; }
  .pricing-table { font-size: 0.75rem; }
}

/* ==========================================
   GRILLE DES DOCUMENTS
   (fusionné depuis documents.css)
========================================== */
.page-content {
  padding: 60px 0;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.doc {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  transition: 0.3s;
}

.doc:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.doc strong {
  color: var(--vert-sauge);
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.doc p {
  font-size: 0.9rem;
  color: var(--gris);
  margin: 0;
}

.doc-link {
  font-weight: 800;
  color: var(--terre-cuite);
  white-space: nowrap;
  padding: 8px 15px;
  background: var(--beige-lin);
  border-radius: 8px;
  transition: 0.2s;
}

.doc-link:hover {
  background: var(--jaune-moutarde);
  color: var(--texte);
}

/* Lien "voir page contact" dans la highlight-box */
.highlight-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--terre-cuite);
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.highlight-link:hover {
  color: var(--jaune-moutarde);
}

/* ==========================================
   RESPONSIVE DOCUMENTS
========================================== */
@media (max-width: 1000px) {
  .doc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .doc {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .doc-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .doc { padding: 14px; }
  .doc strong { font-size: 1rem; }
  .doc p { font-size: 0.85rem; }
  .doc-link { padding: 10px 14px; font-size: 0.9rem; }
}