/* ===== Lezoux Aventure — style.css ===== */

:root {
  --green-dark: #1D3D24;
  --green: #2F6B3A;
  --green-mid: #3F8449;
  --green-light: #E7F0E1;
  --gold: #D9A62E;
  --gold-dark: #B98A1E;
  --water: #2F7DA3;
  --water-dark: #235E7B;
  --cream: #F8F5EA;
  --cream-dark: #EFE7D2;
  --ink: #23271E;
  --ink-soft: #58594C;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(29, 61, 36, 0.14);
  --shadow-sm: 0 4px 14px rgba(29, 61, 36, 0.10);
  --header-h: 84px;

  --c-jaune: #F2C94C;
  --c-orange: #F2994A;
  --c-vert: #8BC34A;
  --c-kaki: #8A7B3F;
  --c-bleu: #29B6F6;
  --c-violet: #AB47BC;
  --c-rouge: #E53935;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #fff;
  padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: #3A2A05; box-shadow: 0 8px 20px rgba(217, 166, 46, 0.4); }
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline { background: transparent; border-color: var(--green); color: var(--green-dark); }
.btn-outline:hover { background: var(--green); color: #fff; }

.btn-outline-light {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: #fff; color: var(--ink); }

.btn-ghost { background: var(--cream-dark); color: var(--ink); padding: 10px 18px; font-size: 0.92rem; }
.btn-ghost:hover { background: var(--green); color: #fff; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(248, 245, 234, 0.75);
  backdrop-filter: blur(10px);
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header.scrolled {
  background: rgba(248, 245, 234, 0.97);
  box-shadow: var(--shadow-sm);
  height: 68px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand img { height: 58px; width: auto; transition: height .25s ease; }
.site-header.scrolled .brand img { height: 46px; }

.main-nav ul { display: flex; gap: 24px; flex-wrap: wrap; }
.main-nav a { font-weight: 600; font-size: 0.94rem; color: var(--ink-soft); position: relative; padding: 6px 0; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--green); transition: width .2s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--green-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone svg { color: var(--green-dark); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,28,15,.55) 0%, rgba(12,28,15,.35) 45%, rgba(12,28,15,.82) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: var(--header-h); max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; font-size: 0.85rem; color: #F2DFA0; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); margin-bottom: 20px; text-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.hero-lead { font-size: 1.12rem; max-width: 580px; margin-bottom: 30px; color: #F5F7EF; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(217,166,46,0.16); border: 1px solid rgba(217,166,46,0.5);
  color: #F2DFA0; padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 600;
  margin-bottom: 22px;
}

/* ===== Info strip ===== */
.info-strip { background: var(--green-dark); color: #fff; padding: 26px 0; }
.info-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-item { display: flex; align-items: flex-start; gap: 12px; }
.info-item svg { flex-shrink: 0; margin-top: 2px; color: #C7DFC0; }
.info-item div { display: flex; flex-direction: column; gap: 2px; }
.info-item strong { font-size: 0.98rem; }
.info-item span { font-size: 0.86rem; color: #D8EAD2; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--cream-dark); }
.section-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.82rem; color: var(--water-dark); margin-bottom: 12px; }
.section-eyebrow.center { text-align: center; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; max-width: 720px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 660px; margin-bottom: 44px; }
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  color: #fff; text-align: center;
  background-size: cover; background-position: center;
  position: relative;
}
.page-hero::before { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,35,18,0.82), rgba(15,35,18,0.92)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 10px; }
.page-hero p { color: #E4EFDD; font-size: 1.02rem; max-width: 600px; margin: 0 auto; }

/* ===== Parcours grid ===== */
.parcours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-bottom: 20px; }
.parcours-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  border-top: 6px solid var(--green);
}
.parcours-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.parcours-card img { width: 100%; height: 170px; object-fit: cover; }
.parcours-card-body { padding: 22px; }
.parcours-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--cream-dark); color: var(--ink-soft); margin-bottom: 10px; }
.parcours-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.parcours-card p { font-size: 0.9rem; color: var(--ink-soft); }

.pc-jaune  { border-top-color: var(--c-jaune); }
.pc-orange { border-top-color: var(--c-orange); }
.pc-vert   { border-top-color: var(--c-vert); }
.pc-kaki   { border-top-color: var(--c-kaki); }
.pc-bleu   { border-top-color: var(--c-bleu); }
.pc-violet { border-top-color: var(--c-violet); }
.pc-rouge  { border-top-color: var(--c-rouge); }

/* ===== Horaires ===== */
.horaires-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.horaires-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.horaires-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 4px; }
.horaires-card .period-dates { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 16px; }
.horaires-card ul { display: flex; flex-direction: column; gap: 10px; }
.horaires-card li { font-size: 0.9rem; color: var(--ink-soft); padding-left: 18px; position: relative; }
.horaires-card li::before { content: '•'; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pricing-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.pricing-card .pricing-tag { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--water-dark); margin-bottom: 8px; display: block; }
.pricing-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pricing-card .price { font-family: 'Baloo 2', sans-serif; font-size: 1.9rem; color: var(--green-dark); font-weight: 700; }
.pricing-card .price-group { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 12px; }
.pricing-card p { font-size: 0.88rem; color: var(--ink-soft); }

.pricing-block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px; margin-bottom: 24px; }
.pricing-block-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.pricing-block h3 { font-size: 1.25rem; color: var(--green-dark); }
.pricing-tag-pill { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px; background: var(--cream-dark); color: var(--water-dark); }
.pricing-desc { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 18px; }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--cream-dark); font-size: 0.94rem; }
.pricing-table th { font-family: 'Baloo 2', sans-serif; color: var(--green-dark); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-table td:last-child { font-weight: 700; text-align: right; color: var(--water-dark); }

.pricing-note { font-size: 0.85rem; color: var(--ink-soft); background: var(--cream); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 14px; }

.payment-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.payment-row img { height: 34px; width: auto; border-radius: 6px; }

/* ===== Plan ===== */
.plan-wrap { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.plan-wrap img { border-radius: var(--radius-sm); }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ===== Event cards ===== */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.event-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event-card:hover img { transform: scale(1.08); }
.event-card-label {
  position: absolute; inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(15,35,18,0.85), transparent);
  color: #fff;
}
.event-card-label h3 { font-size: 1.15rem; }

/* ===== Laser fight ===== */
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 20px; }
.mode-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border-left: 5px solid var(--water); }
.mode-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--water-dark); }
.mode-card p { font-size: 0.92rem; color: var(--ink-soft); }

.laser-tarifs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

/* ===== Jeu de piste ===== */
.piste-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-bottom: 32px; }
.piste-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.piste-age { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); margin-bottom: 12px; }
.piste-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.piste-card p { font-size: 0.9rem; color: var(--ink-soft); }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { margin: 24px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.98rem; }
.contact-list svg { color: var(--green-dark); flex-shrink: 0; margin-top: 2px; }
.contact-list a:hover { color: var(--green-dark); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; margin-top: 28px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.reserve-card {
  background: var(--green-dark); color: #fff;
  border-radius: var(--radius); padding: 40px;
  text-align: center;
}
.reserve-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.reserve-card p { color: #D8EAD2; margin-bottom: 22px; }
.reserve-phone { font-family: 'Baloo 2', sans-serif; font-size: 2rem; color: var(--gold); display: block; margin-bottom: 22px; }

/* ===== Partner strip ===== */
.partner-strip { background: var(--cream-dark); padding: 20px 0; }
.partner-strip .container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center; font-size: 0.86rem; color: var(--ink-soft); }
.partner-strip a { font-weight: 600; color: var(--water-dark); }
.partner-strip a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #D6D2C4; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-logo { height: 50px; width: auto; opacity: 0.95; }
.footer-contact { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 0.88rem; }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff;
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--gold); color: #23271E; }
.footer-inner p { font-size: 0.82rem; color: #9A9686; }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--green); color: #fff;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 400;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-dark); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }
  .main-nav.open {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--cream); box-shadow: var(--shadow); padding: 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open ul { flex-direction: column; gap: 18px; }
  .info-strip-grid { grid-template-columns: 1fr 1fr; }
  .horaires-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .info-strip-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .pricing-block { padding: 22px; }
  .reserve-card { padding: 28px; }
}
