/* ============================================================
   Hiking Escape – Feuille de style globale
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --green-dark:   #1a5c3a;
  --green-mid:    #2d7a52;
  --green-light:  #52b788;
  --accent:       #e76f51;
  --accent-dark:  #c1440e;
  --bg-light:     #f5f5f0;
  --bg-white:     #ffffff;
  --text-dark:    #1e2d1e;
  --text-mid:     #4a5568;
  --text-light:   #718096;
  --border:       #e2e8f0;
  --shadow:       0 4px 24px rgba(0,0,0,.10);
  --radius:       12px;
  --transition:   .3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Raleway', sans-serif;
  line-height: 1.2;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--green-dark);
  text-align: center;
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: .8rem auto 1.5rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231,111,81,.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--green-dark);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green-mid);
  color: #fff;
  border-color: var(--green-mid);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: var(--bg-white);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link { color: var(--text-dark); }
.navbar.scrolled .nav-logo { color: var(--green-dark); }

.nav-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .4px;
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--accent); }
.navbar.scrolled .nav-link.active { color: var(--accent); }

.nav-cta {
  padding: .5rem 1.3rem;
  font-size: .9rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--bg-white);
  padding: 1.5rem 2rem 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  color: var(--text-dark);
  font-size: 1.1rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .nav-link::after { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.5) 0%,
    rgba(10,40,10,.6) 60%,
    rgba(10,40,10,.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 1.5rem;
  max-width: 800px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.4rem;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: .45rem 1rem;
  border-radius: 50px;
  text-shadow: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-content p {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  opacity: .9;
  max-width: 540px;
  margin: 0 auto 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: .75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  opacity: .7;
  animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.2rem; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 5rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* ============================================================
   ABOUT STRIP (homepage)
   ============================================================ */
.about-strip {
  background: var(--green-dark);
  color: #fff;
  padding: 4rem 1.5rem;
}
.about-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: #fff;
}
.about-strip p { opacity: .85; line-height: 1.8; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.stat-card {
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green-light);
}
.stat-label { font-size: .85rem; opacity: .8; margin-top: .3rem; }

/* ============================================================
   CIRCUITS GRID (homepage preview + page circuits)
   ============================================================ */
.circuits-section { background: var(--bg-white); }
.circuits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}
.circuit-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.circuit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.15);
}
.circuit-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.circuit-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.circuit-card-img-placeholder i {
  font-size: 3.5rem;
  color: rgba(255,255,255,.4);
}
.circuit-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.circuit-badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .8rem;
}
.badge-easy   { background: #d4edda; color: #155724; }
.badge-medium { background: #fff3cd; color: #856404; }
.badge-hard   { background: #f8d7da; color: #721c24; }
.badge-sport  { background: #cce5ff; color: #004085; }

.circuit-body h3 {
  font-size: 1.1rem;
  margin-bottom: .7rem;
  color: var(--green-dark);
}
.circuit-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-mid);
  font-size: .87rem;
}
.circuit-meta span { display: flex; align-items: center; gap: .35rem; }
.circuit-meta i { color: var(--green-mid); }
.circuit-price {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  margin-top: auto;
  margin-bottom: 1rem;
}
.circuit-price span { font-size: .85rem; font-weight: 400; color: var(--text-mid); }

/* Filtres circuits */
.filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-mid);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--green-mid);
  background: var(--green-mid);
  color: #fff;
}

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials-section {
  background: var(--bg-light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: 'Raleway', sans-serif;
  font-size: 5rem;
  color: var(--green-light);
  opacity: .25;
  position: absolute;
  top: .5rem; left: 1rem;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: .95rem; color: var(--green-dark); }
.testimonial-stars { color: #f59e0b; font-size: .8rem; }

/* ============================================================
   ACTUALITÉS – CARDS
   ============================================================ */
.news-section { background: var(--bg-white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-white);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); }
.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.news-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-date {
  font-size: .78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .6rem;
}
.news-body h3 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: .7rem;
}
.news-body p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: .88rem;
  transition: gap var(--transition);
}
.news-link:hover { gap: .7rem; }

/* ============================================================
   À PROPOS
   ============================================================ */
.about-hero {
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(10,40,10,.75));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 1.5rem;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 1rem;
}
.page-hero-content p {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 550px;
  margin: 0 auto;
}

.about-content {
  background: var(--bg-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.value-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon i { color: var(--green-mid); font-size: 1.1rem; }
.value-text h4 { font-size: .95rem; color: var(--green-dark); margin-bottom: .2rem; }
.value-text p { font-size: .85rem; color: var(--text-mid); }

/* Équipe */
.team-section { background: var(--bg-light); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  color: #fff;
}
.team-card h3 { color: var(--green-dark); font-size: 1.1rem; margin-bottom: .3rem; }
.team-card p  { color: var(--text-mid); font-size: .88rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--bg-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.contact-info p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #e8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { color: var(--green-mid); font-size: 1.1rem; }
.contact-item-text h4 { font-size: .95rem; font-weight: 700; color: var(--green-dark); }
.contact-item-text p, .contact-item-text a {
  font-size: .9rem;
  color: var(--text-mid);
}
.contact-item-text a:hover { color: var(--green-mid); }

/* Formulaire */
.contact-form {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
  background: var(--bg-white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green-mid); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: .9rem; font-size: 1rem; }

/* ============================================================
   INSTAGRAM GRID
   ============================================================ */
.instagram-section {
  background: var(--bg-light);
}
.instagram-header {
  text-align: center;
  margin-bottom: 2rem;
}
.instagram-header .handle {
  color: var(--green-mid);
  font-weight: 700;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}
.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.insta-item:hover img { transform: scale(1.05); }

/* ============================================================
   PAGE HERO (page interne)
   ============================================================ */
.page-hero {
  padding-top: 70px;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: .8rem;
}
.cta-band p {
  opacity: .85;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo {
  margin-bottom: 1rem;
  color: #fff;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-social {
  display: flex;
  gap: .8rem;
  margin-top: 1.2rem;
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: background var(--transition);
}
.social-icon:hover { background: var(--accent); }

footer h4 {
  font-family: 'Raleway', sans-serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-light); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .circuits-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
