/* ============================================================
   BASE SPORTS NATURE — STYLES PARTAGÉS
   Variables, reset, header/nav, footer, animations.
   Chargé sur toutes les pages, avant la feuille de style de page.
============================================================ */

:root {
  --c-stone:   #1c2420;
  --c-moss:    #3a5c44;
  --c-seafoam: #b8d4c0;
  --c-slate:   #4a5568;
  --c-sand:    #f0ebe0;
  --c-cream:   #faf8f4;
  --c-white:   #ffffff;
  --c-accent:  #c74a18;
  --f-display: 'Poppins', system-ui, sans-serif;
  --f-body:    'DM Sans', system-ui, sans-serif;
  --radius: 4px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); background: var(--c-cream); color: var(--c-stone); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: var(--radius); }
p.activity-resa {
    background-color: #c74a18;
    padding: 5px 10px;
    display: inline-block;
    color: #ffffff!important;
    margin-top: 10px;
}
.scrolled img.logo-site {
    filter: invert(1);
}
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--c-stone); color: var(--c-white);
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-weight: 500; z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Visible uniquement pour les lecteurs d'écran (RGAA 6.3, 11.x) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   HEADER / NAV
============================================================ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
header.scrolled {
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.logo-site {
    height: 50px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--f-display); font-weight: 900; font-size: 1.1rem;
  color: var(--c-white); transition: color var(--transition); letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); transition: color var(--transition);
}
header.scrolled .logo-name { color: var(--c-stone); }
header.scrolled .logo-sub  { color: var(--c-slate); }

nav { display: flex; align-items: center; gap: 2.5rem; }
nav a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.9);
  position: relative; transition: color var(--transition);
}
nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--c-accent);
  transition: width var(--transition);
}
nav a:hover::after { width: 100%; }
nav a[aria-current="page"]::after { width: 100%; }
header.scrolled nav a { color: var(--c-stone); }
.nav-cta {
  background: var(--c-accent); color: var(--c-white) !important;
  padding: 0.55rem 1.3rem; border-radius: var(--radius);
  font-size: 0.8rem !important; font-weight: 500 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: #b8421a; }
.nav-cta::after { display: none !important; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 2px; background: var(--c-white);
  transition: background var(--transition), transform 0.3s;
}
header.scrolled .burger span { background: var(--c-stone); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--c-stone);
  z-index: 199; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--f-display); font-size: 2rem; font-weight: 700;
  color: var(--c-white); opacity: 0.85; letter-spacing: -0.02em;
}
.mobile-menu a:hover { opacity: 1; color: var(--c-seafoam); }

/* Bouton "Réserver" dans le menu mobile */
.mobile-menu .nav-cta-mobile {
  background: var(--c-accent); color: var(--c-white);
  padding: 0.7rem 1.5rem; border-radius: var(--radius);
  margin-top: 0.5rem; font-size: 1.2rem; opacity: 1;
}

/* ============================================================
   BREADCRUMB (pages secondaires)
============================================================ */
.breadcrumb {
  position: absolute; top: 6rem; left: 4rem; z-index: 2;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb span { opacity: 0.4; }

/* ============================================================
   BOUTONS PARTAGÉS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--c-accent); color: var(--c-white); border-color: var(--c-accent); }
.btn-primary:hover { background: #b8421a; border-color: #b8421a; }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--c-white); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   ICÔNES FINES (remplacent les émoticônes)
============================================================ */
.icon {
  width: 1em; height: 1em;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
============================================================ */
.price-pill .pill-price {
  font-weight:600!important;
}
/* ============================================================
   FOOTER
============================================================ */
.new-footer { font-family: var(--f-body); background: var(--c-sand); color: var(--c-slate); border-top: 1px solid rgba(28,36,32,0.08); }
.nf-statement { position: relative; padding: 6.5rem 8rem; overflow: hidden; border-bottom: 1px solid rgba(28,36,32,0.08); min-height: 320px; display: flex; align-items: center; }
.nf-statement-bg { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(240,235,224,0.97) 32%, rgba(240,235,224,0.74) 100%), url('../images/kayak-mer.jpg'); background-size: cover; background-position: center 50%; }
.nf-statement-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; z-index: 10; }
.nf-headline { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--c-stone); max-width: 640px; text-wrap: balance; }
.nf-headline em { font-style: italic; color: var(--c-moss); }
.nf-resa { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; flex-shrink: 0; }
.nf-resa-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-slate); }
.nf-resa-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--c-accent); color: #fff; font-size: 0.88rem; font-weight: 500; padding: 0.8rem 1.75rem; border-radius: 100px; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.nf-resa-btn:hover { background: #b8421a; transform: translateY(-2px); }
.nf-resa-btn svg { width: 14px; height: 14px; }
.nf-contacts { padding: 3rem 4rem; display: flex; align-items: center; flex-wrap: wrap; row-gap: 1.5rem; border-bottom: 1px solid rgba(28,36,32,0.08); }
.nf-contact-item { display: flex; align-items: center; gap: 0.85rem; padding-right: 2.75rem; margin-right: 2.75rem; border-right: 1px solid rgba(28,36,32,0.1); }
.nf-contact-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.nf-contact-ico { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(58,92,68,0.28); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nf-contact-ico svg { width: 14px; height: 14px; stroke: var(--c-moss); fill: none; stroke-width: 2; stroke-linecap: round; }
.nf-contact-detail { display: flex; flex-direction: column; }
.nf-contact-type { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-slate); margin-bottom: 0.15rem; }
.nf-contact-value { font-size: 0.88rem; color: var(--c-stone); font-weight: 500; text-decoration: none; transition: color 0.2s; }
.nf-contact-value:hover { color: var(--c-accent); }
.new-footer nav[aria-label="Activités"] { display: block; } /* neutralise le display:none du nav (header) en mobile */
.nf-links { padding: 2.25rem 4rem 2.75rem; display: flex; gap: 0.6rem; flex-wrap: wrap; list-style: none; border-bottom: 1px solid rgba(28,36,32,0.08); }
.nf-tag { font-size: 0.75rem; color: var(--c-slate); border: 1px solid rgba(28,36,32,0.14); border-radius: 100px; padding: 0.35rem 0.9rem; text-decoration: none; transition: color 0.2s, border-color 0.2s, background 0.2s; white-space: nowrap; }
.nf-tag:hover { color: var(--c-stone); border-color: rgba(58,92,68,0.5); background: rgba(58,92,68,0.06); }
.nf-bottom { padding: 2rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.nf-bottom-left { display: flex; align-items: center; gap: 1.25rem; }
.nf-logo-mark { font-family: var(--f-display); font-weight: 900; font-size: 1rem; color: var(--c-stone); letter-spacing: -0.01em; }
.nf-divider-v { width: 1px; height: 14px; background: rgba(28,36,32,0.15); flex-shrink: 0; }
.nf-copy { font-size: 0.75rem; color: var(--c-slate); }
.nf-nav { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; }
.nf-nav a { font-size: 0.78rem; color: var(--c-slate); text-decoration: none; transition: color 0.2s; }
.nf-nav a:hover { color: var(--c-stone); }
.nf-nav a[aria-disabled="true"] { cursor: not-allowed; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

h1, h2, h3, h4, .logo-name { letter-spacing: -0.02em; }

/* ============================================================
   RESPONSIVE — HEADER / FOOTER (partagé)
============================================================ */
@media (max-width: 768px) {
  nav { display: none; }
  .burger { display: flex; }
  .breadcrumb { left: 1.5rem; top: 5rem; }

  .nf-statement { padding: 3.5rem 1.5rem 2.5rem; }
  .nf-statement-inner { flex-direction: column; align-items: flex-start; gap: 2rem; z-index: 10; }
  .nf-resa { align-items: flex-start; }
  .nf-contacts { padding: 2rem 1.5rem; gap: 1.25rem; }
  .nf-contact-item { border-right: none; padding-right: 0; margin-right: 0; }
  .nf-links { padding: 1.5rem; }
  .nf-bottom { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
  .nf-nav { gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media (prefers-contrast: more) {
  :root { --c-moss: #1a3d24; --c-accent: #9e2e08; --c-slate: #2a2a2a; }
}
