/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #2d2d2d;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --teal: #3BBFBB;
  --teal-dark: #2da8a4;
  --teal-light: #edf8f8;
  --text: #2d2d2d;
  --text-muted: #777;
  --white: #fff;
  --sp: 80px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
  height: 68px;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-logo img { height: 38px; width: auto; }
.navbar-logo-text { display: flex; flex-direction: column; }
.navbar-logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}
.navbar-logo-subtitle {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.navbar-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--teal); }
.btn-white { background: #fff; color: var(--teal); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section { padding: var(--sp) 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.teal { color: var(--teal); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 820px;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.hero-content h1 em { font-style: normal; color: var(--teal); }
.hero-content .hero-sub {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0.9;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PAGE HERO (sous-pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 52vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.page-hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

/* ============================================================
   HOME – INTRO SECTION
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-text h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.intro-text p { margin-bottom: 14px; line-height: 1.8; }
.intro-text p strong { color: var(--teal); }
.intro-image img {
  width: 100%;
  object-fit: cover;
  max-height: 520px;
  border-radius: 2px;
}

/* ============================================================
   HOME – BIO / PARALLAX SECTION
   ============================================================ */
.bio-home {
  background: #f5f5f5;
  padding: var(--sp) 0;
}
.bio-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bio-home-img-wrap {
  overflow: hidden;
  border-radius: 2px;
}
.bio-home-img-wrap img {
  width: 100%;
  object-fit: cover;
  max-height: 540px;
  will-change: transform;
}
.bio-home-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.bio-home-text p { margin-bottom: 14px; line-height: 1.8; }
.bio-home-text .bio-actions { margin-top: 28px; }

/* ============================================================
   HOME – CTA CONSULTATIONS
   ============================================================ */
.cta-band {
  background: var(--teal-light);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.cta-band .cta-sub { color: var(--text-muted); margin-bottom: 28px; }
.cta-band .cta-note { margin-top: 14px; font-size: 0.85rem; color: var(--text-muted); }
.cta-band .cta-note a { color: var(--text-muted); text-decoration: underline; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.t-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.t-slide.active { opacity: 1; }
.t-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.t-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 700px;
}
.t-quote {
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 18px;
}
.t-quote::before { content: '\00AB\00A0'; }
.t-quote::after  { content: '\00A0\00BB'; }
.t-author {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.t-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.t-dot.active { background: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--teal);
  color: #fff;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 40px;
}
.footer-info h3,
.footer-form-col h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer-reply { font-size: 0.85rem; opacity: 0.8; margin-bottom: 22px; }
.footer-info p { font-size: 0.88rem; line-height: 1.9; opacity: 0.92; }
.footer-info a { text-decoration: underline; color: #fff; }
.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 9px 13px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.88rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}
.footer-form input::placeholder,
.footer-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.footer-form input:focus,
.footer-form textarea:focus { border-color: #fff; }
.footer-form textarea { height: 96px; resize: vertical; }
.footer-form button {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  padding: 9px 26px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  font-family: inherit;
}
.footer-form button:hover { background: rgba(255,255,255,0.28); }
.footer-form .msg-success {
  display: none;
  background: rgba(255,255,255,0.2);
  padding: 10px 14px;
  border-radius: 2px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.footer-form .msg-success.show { display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 20px;
  font-size: 0.78rem;
  opacity: 0.65;
  text-align: center;
}

/* ============================================================
   CONSULTATIONS – INTRO
   ============================================================ */
.consult-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px 40px;
}
.consult-intro p { margin-bottom: 14px; line-height: 1.8; }
.consult-intro p strong { color: var(--teal); }
.consult-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 32px 0 12px;
}
.consult-cta .visio-note { font-size: 0.85rem; color: var(--text-muted); }

/* Diplômes */
.diplomes-wrap {
  background: var(--teal-light);
  border-radius: 3px;
  padding: 32px 40px;
  margin: 20px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
.diplome-item {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}
.diplome-item img {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.diplome-item span { font-size: 0.82rem; font-weight: 600; line-height: 1.4; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 0;
}
.gallery img { width: 100%; height: 220px; object-fit: cover; }
.gallery img:first-child { grid-column: span 2; height: 300px; }

/* Parallax déroulé */
.parallax-block {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.parallax-block-bg {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.parallax-block-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
}
.parallax-block-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}
.parallax-block-inner h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 48px;
}
.step-card { margin-bottom: 40px; }
.step-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin-bottom: 14px;
}
.step-card h3 span { color: var(--teal); }
.step-card p { margin-bottom: 10px; line-height: 1.8; }
.step-card p strong { color: var(--teal); }
.step-card .tarif-line {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.step-card .tarif-line strong { color: var(--text); }

/* ============================================================
   NUTRITION DU TRAIL
   ============================================================ */
.trail-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px 36px;
}
.trail-intro p { margin-bottom: 14px; line-height: 1.8; }

/* Formules */
.formules-band {
  position: relative;
  padding: 80px 0;
  background-image: url('/images/trail-bg.jpg');
  background-size: cover;
  background-position: center;
}
.formules-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}
.formules-band .container { position: relative; z-index: 1; }
.formules-band h2 {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 44px;
}
.formules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}
.formule-card {
  background: #fff;
  border-radius: 3px;
  padding: 36px 28px;
  text-align: center;
}
.formule-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.formule-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.formule-card .f-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}
.formule-features {
  list-style: none;
  text-align: left;
  margin-bottom: 22px;
}
.formule-features li {
  padding: 6px 0 6px 18px;
  font-size: 0.88rem;
  border-bottom: 1px solid #f2f2f2;
  position: relative;
  line-height: 1.5;
}
.formule-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.formule-price {
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Étapes */
.etapes-section {
  padding: var(--sp) 0;
  background: #fff;
}
.etapes-section h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 44px;
}
.etapes-list {
  max-width: 700px;
  margin: 0 auto;
}
.etape-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.etape-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.etape-item p { padding-top: 7px; line-height: 1.7; }
.etape-item a { color: var(--teal); text-decoration: underline; }

/* Formule form */
.formule-form-band {
  background: var(--teal-light);
  padding: 64px 0;
}
.formule-form-band h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 32px;
}
.formule-form-wrap {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 3px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 0.93rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--teal); }
.form-success-msg {
  display: none;
  background: var(--teal-light);
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  padding: 11px 15px;
  border-radius: 2px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  text-align: center;
}
.form-success-msg.show { display: block; }
.form-submit { text-align: center; margin-top: 22px; }

/* ============================================================
   QUI SUIS-JE
   ============================================================ */
.bio-section { padding: var(--sp) 0; }
.bio-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}
.bio-sidebar {
  position: sticky;
  top: 86px;
  text-align: center;
}
.bio-round {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--teal);
  margin: 0 auto 18px;
}
.bio-name { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.bio-title { font-size: 0.78rem; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.bio-body p { margin-bottom: 16px; line-height: 1.85; }
.bio-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
}
.bio-col h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 14px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--teal);
}
.bio-col ul { list-style: none; }
.bio-col ul li {
  font-size: 0.88rem;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}

/* Trail 360 */
.trail360-band {
  background: var(--teal-light);
  padding: 64px 0;
  text-align: center;
}
.trail360-band h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.trail360-band .t360-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.trail360-band .t360-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.08em;
}
.trail360-link {
  display: inline-block;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transition: transform 0.3s, box-shadow 0.3s;
  max-width: 420px;
  width: 100%;
}
.trail360-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.trail360-link img { width: 100%; display: block; }
.trail360-text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  :root { --sp: 52px; }
  .navbar-inner { padding: 0 20px; }
  .navbar-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 199;
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav li { width: 100%; }
  .navbar-nav a {
    display: block;
    padding: 11px 24px;
    border-bottom: none;
  }
  .navbar-burger { display: flex; }

  .intro-grid,
  .bio-home-grid,
  .footer-grid,
  .formules-grid { grid-template-columns: 1fr; gap: 28px; }

  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio-sidebar { position: static; }
  .bio-cols { grid-template-columns: 1fr; gap: 24px; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; height: 200px; }
  .gallery img { height: 150px; }

  .container { padding: 0 20px; }
  .parallax-block-bg { background-attachment: scroll; }
  .diplomes-wrap { margin: 20px; padding: 24px 20px; }
  .consult-intro { padding: 48px 20px 28px; }
  .trail-intro { padding: 48px 20px 28px; }
  .formule-form-wrap { padding: 28px 20px; }
  .parallax-block-inner { padding: 52px 20px; }
}

@media (max-width: 500px) {
  .hero-content h1 { font-size: 2.4rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .testimonials { height: 480px; }
}
