/* =============================================
   NÉVACHE ESCALADE - Custom CSS
   ============================================= */

/* Variables globales */
:root {
  --ne-header-height: 80px;
  --ne-transition: 0.25s ease;
}

/* ---- HEADER ---- */
.wp-block-template-part[data-type="header"] {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wp--preset--color--rock-dark);
  border-bottom: 3px solid var(--wp--preset--color--orange-fire);
  transition: background var(--ne-transition);
}

/* Navigation */
.wp-block-navigation a {
  color: var(--wp--preset--color--chalk) !important;
  text-decoration: none;
  transition: color var(--ne-transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.wp-block-navigation a:hover {
  color: var(--wp--preset--color--orange-fire) !important;
  border-bottom-color: var(--wp--preset--color--orange-fire);
}

/* ---- HERO ---- */
.hero-section {
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,26,24,0.85) 0%,
    rgba(42,74,110,0.65) 100%
  );
  z-index: 1;
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

/* ---- CARDS ACTIVITES ---- */
.activity-card {
  background: var(--wp--preset--color--rock-dark);
  color: var(--wp--preset--color--snow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.activity-card .card-tag {
  display: inline-block;
  background: var(--wp--preset--color--orange-fire);
  color: var(--wp--preset--color--snow);
  font-family: var(--wp--preset--font-family--barlow-condensed);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 1rem;
}

/* ---- SECTION BANDES ---- */
.section-dark {
  background: var(--wp--preset--color--rock-dark);
  color: var(--wp--preset--color--chalk);
}

.section-dark h2,
.section-dark h3 {
  color: var(--wp--preset--color--snow);
}

.section-accent {
  background: var(--wp--preset--color--orange-fire);
  color: var(--wp--preset--color--snow);
}

/* ---- BOUTONS ---- */
.wp-block-button__link {
  transition: all var(--ne-transition) !important;
  border-radius: 0 !important;
  cursor: pointer;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--wp--preset--color--snow) !important;
  border: 2px solid var(--wp--preset--color--snow) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--snow) !important;
  color: var(--wp--preset--color--rock-dark) !important;
}

/* ---- TARIFS ---- */
.tarif-block {
  border: 2px solid var(--wp--preset--color--orange-fire);
  padding: 2rem;
  text-align: center;
}

.tarif-price {
  font-family: var(--wp--preset--font-family--barlow-condensed);
  font-size: var(--wp--preset--font-size--huge);
  font-weight: 700;
  color: var(--wp--preset--color--orange-fire);
  line-height: 1;
}

/* ---- DIVIDER / SEPARATEURS ---- */
.wp-block-separator {
  border-color: var(--wp--preset--color--orange-fire) !important;
  border-width: 3px !important;
  max-width: 80px;
  margin: 0 !important;
}

/* ---- FORMULAIRE CONTACT ---- */
.wp-block-contact-form input,
.wp-block-contact-form textarea {
  border: 2px solid var(--wp--preset--color--stone);
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-family: var(--wp--preset--font-family--lato);
  transition: border-color var(--ne-transition);
}

.wp-block-contact-form input:focus,
.wp-block-contact-form textarea:focus {
  border-color: var(--wp--preset--color--orange-fire);
  outline: none;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--wp--preset--color--rock-dark);
  color: var(--wp--preset--color--stone);
  border-top: 3px solid var(--wp--preset--color--orange-fire);
}

.site-footer a {
  color: var(--wp--preset--color--chalk);
  text-decoration: none;
  transition: color var(--ne-transition);
}

.site-footer a:hover {
  color: var(--wp--preset--color--orange-fire);
}

/* ---- SOCIALS ---- */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--wp--preset--color--cliff-grey);
  color: var(--wp--preset--color--chalk) !important;
  text-decoration: none;
  transition: all var(--ne-transition);
}

.social-links a:hover {
  border-color: var(--wp--preset--color--orange-fire);
  background: var(--wp--preset--color--orange-fire);
  color: var(--wp--preset--color--snow) !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ---- COVER OVERLAYS ---- */
.wp-block-cover {
  min-height: 60vh;
}

.wp-block-cover .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}

/* ---- CHECKLIST ---- */
.wp-block-list li {
  padding-left: 0.5em;
}

.checkmark-list li::marker {
  content: "✓  ";
  color: var(--wp--preset--color--orange-fire);
  font-weight: 700;
}

/* Badge ANCV */
.ancv-badge img {
  max-width: 180px;
  height: auto;
}
