/* ===== Parc de Loisirs de la Colmont — style.css ===== */

:root {
  --green: #1F6B3A;
  --green-dark: #123D21;
  --amber: #E39A34;
  --blue: #1E88B8;
  --ink: #16241C;
  --ink-soft: #3D4B42;
  --cream: #FAF7EF;
  --cream-dark: #EFE8D6;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 36, 24, 0.12);
  --shadow-sm: 0 4px 14px rgba(18, 36, 24, 0.08);
  --header-h: 88px;
}

* { 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: 1180px; 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(--amber); color: #2B1B04; box-shadow: 0 8px 20px rgba(227, 154, 52, 0.4); }
.btn-primary:hover { background: #d68c26; }
.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.75); 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; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ===== 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(250, 247, 239, 0.85); backdrop-filter: blur(10px);
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
  border-bottom: 1px solid rgba(18,36,24,0.05);
}
.site-header.scrolled { background: rgba(250, 247, 239, 0.97); box-shadow: var(--shadow-sm); height: 68px; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }

.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand .b1 { font-family: 'Baloo 2', sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.brand .b2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--green-dark); letter-spacing: 0.02em; }

.main-nav > ul { display: flex; gap: 26px; align-items: center; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  font-weight: 600; font-size: 0.94rem; color: var(--ink-soft); position: relative; padding: 10px 0; display: inline-block;
}
.main-nav > ul > li > a::after {
  content: ''; position: absolute; left: 0; bottom: 4px; width: 0; height: 2px; background: var(--green); transition: width .2s ease;
}
.main-nav > ul > li > a:hover { color: var(--ink); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li.active > a::after { width: 100%; }
.main-nav > ul > li.active > a { color: var(--green-dark); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -14px; min-width: 240px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.dropdown li a:hover { background: var(--cream-dark); color: var(--ink); }

.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); }

/* ===== Status banner ===== */
.status-bar {
  background: var(--green-dark); color: #fff; text-align: center; font-size: 0.85rem;
  padding: 8px 16px; font-weight: 600; letter-spacing: 0.02em;
}
.status-bar a { text-decoration: underline; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero.hero-tall { min-height: 92vh; }
.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(10,25,16,.6) 0%, rgba(10,25,16,.35) 45%, rgba(10,25,16,.78) 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: #C9F2C9; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 18px; text-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.hero-lead { font-size: 1.1rem; max-width: 560px; margin-bottom: 30px; color: #F5FBF2; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero { min-height: 52vh; }
.page-hero .hero-content { padding-top: calc(var(--header-h) + 20px); }

/* ===== 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: #BEE8C6; }
.info-item div { display: flex; flex-direction: column; gap: 2px; }
.info-item strong { font-size: 0.96rem; }
.info-item span { font-size: 0.85rem; color: #D4EFD8; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--cream-dark); }
.section-dark { background: var(--green-dark); color: #EFF7EE; }
.section-dark .section-title { color: #fff; }
.section-dark .section-lead { color: #CFE7D2; }

.section-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; font-size: 0.8rem; color: var(--green-dark); margin-bottom: 12px; }
.section-dark .section-eyebrow { color: var(--amber); }
.section-eyebrow.center { text-align: center; }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; max-width: 700px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 44px; }
.section-lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Activity grid (home/activites) ===== */
.activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.activity-card {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 260px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; align-items: flex-end;
}
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.activity-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.activity-card:hover img { transform: scale(1.06); }
.activity-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,30,20,0.05) 30%, rgba(10,20,14,0.85) 100%); }
.activity-card-body { position: relative; z-index: 1; padding: 22px; color: #fff; }
.activity-card-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(255,255,255,0.18); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; backdrop-filter: blur(3px); }
.activity-card h3 { font-size: 1.25rem; }
.activity-card p { font-size: 0.85rem; color: #E5EFE3; margin-top: 4px; }

/* ===== Cards / feature grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); border-top: 5px solid var(--green); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: var(--ink-soft); }
.feature-card .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; }

/* ===== Tarifs table ===== */
.tarifs-block { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.tarifs-block h3 { font-size: 1.15rem; color: var(--green-dark); margin-bottom: 18px; }
.tarifs-table { width: 100%; border-collapse: collapse; }
.tarifs-table th, .tarifs-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--cream-dark); font-size: 0.94rem; }
.tarifs-table th { font-family: 'Baloo 2', sans-serif; color: var(--green-dark); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.tarifs-table td.price { font-weight: 700; color: var(--blue); text-align: right; white-space: nowrap; }
.tarifs-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 16px; }

/* ===== Check list ===== */
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 0.95rem; color: var(--ink-soft); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); opacity: 0.15; }
.check-list li::after { content: '✓'; position: absolute; left: 2.5px; top: 2px; font-size: 0.7rem; font-weight: 700; color: var(--green-dark); }

/* ===== Gallery ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery-grid .gallery-item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ===== Two-column split ===== */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }

/* ===== Contact ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-list { margin: 24px 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.97rem; }
.contact-list svg { color: var(--green-dark); flex-shrink: 0; margin-top: 2px; }
.contact-list a:hover { color: var(--green-dark); }
.social-links { display: flex; gap: 12px; margin-bottom: 28px; }
.social-links a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); transition: background .2s ease, color .2s ease, transform .2s ease; }
.social-links a:hover { background: var(--green); color: #fff; transform: translateY(-3px); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 1.25rem; margin-bottom: 20px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.form-row input, .form-row textarea, .form-row select {
  font-family: inherit; font-size: 0.96rem; padding: 12px 14px; border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); resize: vertical; transition: border-color .2s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--green); }
.form-hint { font-size: 0.8rem; color: var(--ink-soft); opacity: 0.75; margin-top: 12px; }

/* ===== Partners ===== */
.partners-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px; }
.partners-grid img { height: 60px; width: auto; object-fit: contain; filter: grayscale(30%); opacity: 0.88; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.partners-grid img:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-2px); }
.partners-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.partners-tags span { background: #fff; box-shadow: var(--shadow-sm); border-radius: 999px; padding: 8px 18px; font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #D9E5DD; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col p, .footer-col a { font-size: 0.88rem; color: #A9BDB1; display: block; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-brand { font-family: 'Baloo 2', sans-serif; font-weight: 800; color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; text-align: center; font-size: 0.82rem; color: #83988B; }

/* ===== 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 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Breadcrumb-ish tag row ===== */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tag-row span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 12px; border-radius: 999px; background: var(--cream-dark); color: var(--ink-soft); }

/* ===== 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; bottom: 0;
    background: var(--cream); box-shadow: var(--shadow); padding: 20px 24px; overflow-y: auto;
  }
  .main-nav.open > ul { flex-direction: column; gap: 4px; align-items: stretch; }
  .main-nav.open > ul > li > a { padding: 12px 0; }
  .has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    padding: 0 0 0 14px; display: none; background: transparent;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 8px 0; }

  .info-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .gallery-item:nth-child(5n+1) { grid-column: span 1; grid-row: span 1; }
}

@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; }
  .contact-form { padding: 22px; }
  .partners-grid img { height: 44px; }
}
