/* Luxkids adventures — feuille de style unique (reconstruction statique de l'export Webflow) */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face { font-family: "GT Walsheim Pro"; src: url("../fonts/gt-walsheim-pro-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Walsheim Pro"; src: url("../fonts/gt-walsheim-pro-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Walsheim Pro"; src: url("../fonts/gt-walsheim-pro-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Walsheim Pro"; src: url("../fonts/gt-walsheim-pro-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --grey: #3c434a;
  --green: #43b02a;
  --blue: #00a2ff;
  --orange: #ff6900;
  --orange-light: #f90;
  --forest: #090;
  --lime: #9c0;
  --pink: #c39;
  --red: red;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: #333;
  font-family: "GT Walsheim Pro", sans-serif;
  font-size: 14px;
  line-height: 20px;
}
img { max-width: 100%; height: auto; vertical-align: middle; display: inline-block; border: 0; }
a { background-color: transparent; }
h1, h3 { font-weight: bold; margin-bottom: 10px; }
h1 { font-size: 38px; line-height: 44px; margin-top: 20px; }
h3, .h3 { font-size: 24px; line-height: 30px; margin-top: 20px; }
h2.h3 { font-weight: bold; margin-bottom: 10px; }
p { margin: 0 0 10px; }
.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; }

/* ---------- Barre de progression ---------- */
.progressbar {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  width: 100%;
  height: 6px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Navigation ---------- */
.navbar {
  position: relative;
  z-index: 1000;
  padding: 20px 40px;
  border-bottom: 1px solid #000;
  font-weight: 700;
}
.container { max-width: 1440px; margin: 0 auto; }
.navbar .container::after { content: ""; display: table; clear: both; }
.brand { position: relative; float: left; display: block; text-decoration: none; }
.brand img { width: 280px; }
.nav-menu { position: relative; float: right; display: flex; align-items: center; margin-top: 20px; }
.menu-link {
  position: relative;
  display: inline-block;
  padding: 20px 0 20px 40px;
  color: var(--grey);
  font-size: 20px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .3s;
}
.menu-link:hover { color: var(--forest); }
.menu-link:focus-visible { color: var(--blue); }
.menu-link.is-current { color: var(--lime); }
.menu-btn {
  display: none;
  float: right;
  padding: 18px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn { position: relative; z-index: 2; }
.menu-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Burger : 3 traits (bleu court / violet long / bleu court) qui se transforment en croix */
.burger {
  --w: 60px;
  --h: calc(var(--w) / 10);
  --ease: cubic-bezier(.77, 0, .18, 1);
  position: relative;
  display: block;
  width: var(--w);
  height: calc(var(--w) * .512);
}
.burger span {
  position: absolute;
  right: 0;
  height: var(--h);
  transform-origin: 50% 50%;
  transition: transform .55s var(--ease), width .4s var(--ease), background-color .55s var(--ease), opacity .3s ease;
}
.burger .b1 { top: 0; width: calc(var(--w) * 2 / 3); background: var(--blue); }
.burger .b2 { top: calc(50% - var(--h) / 2); width: var(--w); background: #96f; }
.burger .b3 { bottom: 0; width: calc(var(--w) * 2 / 3); background: var(--blue); }
@media (hover: hover) {
  .menu-btn[aria-expanded="false"]:hover .burger .b1 { width: var(--w); }
  .menu-btn[aria-expanded="false"]:hover .burger .b3 { width: calc(var(--w) / 3); }
}
.menu-btn[aria-expanded="true"] .b1 { transform: translate(calc(var(--w) / -6), calc(var(--w) * .256 - var(--h) / 2)) rotate(45deg); }
.menu-btn[aria-expanded="true"] .b2 { transform: scaleX(0); opacity: 0; }
.menu-btn[aria-expanded="true"] .b3 { transform: translate(calc(var(--w) / -6), calc(var(--w) * -.256 + var(--h) / 2)) rotate(-45deg); background: #96f; }
.nav-menu-contact { display: none; }

/* ---------- Sections ---------- */
.section { margin-top: 72px; padding: 0 40px; }

/* Hero */
.grid-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 16px;
}
.hero-title { grid-area: 1 / 1 / 2 / 2; align-self: center; display: flex; align-items: flex-end; }
.big-title {
  width: 100%;
  margin-bottom: 0;
  color: var(--grey);
  font-size: 34px;
  font-weight: 500;
  line-height: 40px;
}
.span-red { color: var(--red); }
.span-dark-green { color: var(--forest); }
.span-blue { color: var(--blue); }
.span-orange { color: var(--orange-light); }
.span-light-green { color: var(--lime); }
.span-pink { color: var(--pink); }

/* Slider */
.slider {
  grid-area: 1 / 2 / 2 / 3;
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #ddd;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slide {
  position: absolute;
  inset: 0;
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.is-active { opacity: 1; }
.slide-bison { background-image: url("../images/slide-bison.webp"); }
.slide-padel { background-image: url("../images/slide-padel.webp"); }
.slide-buglomega { background-image: url("../images/slide-buglomega.webp"); background-position: 50% 100%; }
.slide-chargeur { background-image: url("../images/slide-chargeur.webp"); }
.slide-mobilier-scolaire { background-image: url("../images/slide-mobilier-scolaire.webp"); }
/* image recadrée : position recalculée pour garder exactement le cadrage d'origine (20% 10%, taille native) */
.slide-cloture { background-image: url("../images/slide-cloture.webp"); background-size: auto; background-position: calc(20% - 7.2px) calc(10% - 6.8px); }
.slide-bike { background-image: url("../images/slide-bike.webp"); }
.slider-arrow {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 3;
  width: 80px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-arrow svg { width: 40px; height: 40px; display: block; margin: auto; }

/* Produits */
.flex-wrap { display: flex; align-items: flex-end; } /* flex = marges non fusionnées, comme sur Webflow */
h2.intro, .intro { font-weight: 400; }
.span-choose, .intro.contact { color: var(--blue); }
.grid-work {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-bottom: 40px;
}
.category {
  position: relative;
  display: block;
  border: 24px solid var(--c);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.category.jeux { --c: var(--red); background-image: url("../images/cat-jeux-exterieur.webp"); }
.category.urbain { --c: var(--forest); background-image: url("../images/cat-mobilier-urbain.webp"); background-position: 100% 100%; }
.category.creche { --c: var(--blue); background-image: url("../images/cat-mobilier-creche.webp"); background-position: 100%; }
.category.scolaire { --c: var(--orange); background-image: url("../images/cat-mobilier-scolaire.webp"); background-position: 100%; }
.category.sport { --c: var(--lime); background-image: url("../images/cat-amenagement-sportif.webp"); background-position: 50% 0; }
.category.sols { --c: var(--pink); background-image: url("../images/cat-sols-amortissants.webp"); }

/* Volet coloré révélé au survol (ouverture 250 ms, fermeture 700 ms comme sur Webflow) */
.category-panel {
  position: relative;
  z-index: 2;
  height: 300px;
  padding: 16px 20px 30px 0;
  background: var(--c);
  opacity: 0;
  transition: opacity .7s ease-in-out;
}
.category-panel:hover,
.category-panel:focus-within,
.category-panel.is-open { opacity: 1; transition: opacity .25s ease; }
.text-intro-catalog { margin-bottom: 30px; color: #fff; font-size: 20px; }
.link-catalogue { display: flex; flex-direction: column; align-items: flex-start; margin-top: 8px; text-decoration: none; }
.link-catalogue:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.link-catalogue img { width: 40px; margin-bottom: 12px; }
.text-product { margin-bottom: 4px; color: #fff; font-size: 20px; font-weight: 400; }
.category-label {
  display: flex;
  align-items: center;
  height: 60px;
  padding-top: 20px;
  background: var(--c);
}
.title-category { margin-top: 0; color: #fff; font-size: 30px; }

/* Contact */
.section-contact { margin-top: 60px; padding: 0 40px 60px; }
.contact-container { max-width: 1440px; margin: 0 auto; }
.grid-contact {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  grid-template-rows: auto auto;
  column-gap: 100px;
  row-gap: 32px;
}
.separator { width: 80px; height: 4px; background: var(--green); }
.separator.blue { background: var(--blue); }
.contact-separator-1 { grid-area: 1 / 1 / 2 / 2; }
.contact-separator-2 { grid-area: 1 / 2 / 2 / 3; }
.contact-details { grid-area: 2 / 1 / 3 / 2; display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.contact-details > img { width: 240px; }
.contact-pitch { grid-area: 2 / 2 / 3 / 3; align-self: start; display: flex; align-items: center; }
.text-normal {
  margin-top: 1px;
  color: var(--grey);
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  text-decoration: none;
  transition: color .375s;
}
.text-normal:hover { color: var(--blue); }
.text-normal a { color: inherit; text-decoration: none; }
.link-adresse { margin-top: 30px; }
.link-email { margin-top: 20px; }

/* Footer */
.footer { height: 100px; padding: 0 40px; background: var(--blue); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding-top: 30px; }
.grid-footer {
  display: grid;
  grid-template-columns: 1fr .25fr .25fr .25fr;
  gap: 16px;
  align-items: center;
}
.text-footer { color: #fff; font-size: 16px; font-weight: 300; }
.text-footer a { color: #fff; text-decoration: none; }
.footer-copy { justify-self: start; }
.footer-legal, .footer-credit { justify-self: center; }
.footer-social { justify-self: end; }
.footer-social a { display: inline-block; }
.footer-social .fb { width: 30px; }
.footer-social .ig { width: 36px; }

/* Mentions légales */
.section-legals { margin-top: 90px; padding: 0 40px 90px; }
.legals { max-width: 1440px; margin: 0 auto; }
.paragraph-legals { margin-top: 20px; color: var(--grey); font-size: 18px; font-weight: 300; line-height: 24px; }

/* ---------- Tablette (≤ 991px) ---------- */
@media screen and (max-width: 991px) {
  .navbar .container { display: flex; justify-content: space-between; align-items: center; }
  .navbar .container::after { content: none; }
  .brand { float: none; }
  .brand img { max-width: 280px; }
  .menu-btn { display: block; float: none; }
  .brand { z-index: 2; }

  /* Menu plein écran : rideau translucide qui descend, liens en cascade */
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    float: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 40px 40px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .7s cubic-bezier(.77, 0, .18, 1) .15s, visibility 0s linear .85s;
  }
  .nav-menu.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .7s cubic-bezier(.77, 0, .18, 1), visibility 0s;
  }
  .nav-menu-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .menu-link {
    display: block;
    padding: 12px 0;
    font-size: 44px;
    line-height: 1;
    letter-spacing: .01em;
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .3s ease, transform .3s ease, color .3s;
  }
  .menu-link::after {
    content: "";
    display: block;
    width: 0;
    height: 5px;
    margin: 10px auto 0;
    background: var(--accent, var(--blue));
    transition: width .45s cubic-bezier(.77, 0, .18, 1);
  }
  .menu-link:nth-child(1) { --accent: var(--green); }
  .menu-link:nth-child(2) { --accent: var(--blue); }
  .menu-link:nth-child(3) { --accent: var(--orange); }
  .menu-link:hover, .menu-link:focus-visible, .menu-link.is-current { color: var(--grey); }
  .menu-link:hover::after, .menu-link:focus-visible::after, .menu-link.is-current::after { width: 60px; }
  .nav-menu.is-open .menu-link { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1), color .3s; }
  .nav-menu.is-open .menu-link:nth-child(1) { transition-delay: .3s, .3s, 0s; }
  .nav-menu.is-open .menu-link:nth-child(2) { transition-delay: .38s, .38s, 0s; }
  .nav-menu.is-open .menu-link:nth-child(3) { transition-delay: .46s, .46s, 0s; }

  .nav-menu-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    margin-top: 56px;
    font-size: 18px;
    font-weight: 400;
    opacity: 0;
    transition: opacity .3s ease;
  }
  .nav-menu-contact a { color: var(--grey); text-decoration: none; transition: color .3s; }
  .nav-menu-contact a:hover { color: var(--blue); }
  .nav-menu.is-open .nav-menu-contact { opacity: 1; transition: opacity .6s ease .6s; }
  body.menu-open { overflow: hidden; }

  .section { margin-top: 50px; }
  .grid-hero { grid-template-columns: 1fr; }
  .slider { grid-area: 2 / 1 / 3 / 2; height: 320px; }
  .big-title { padding-right: 100px; font-size: 30px; line-height: 36px; }

  .grid-contact { column-gap: 32px; }
  .contact-pitch { flex-direction: column; justify-self: start; }

  .grid-footer { grid-template-columns: .5fr .25fr .25fr .25fr; }
}

/* ---------- Mobile paysage (≤ 767px) ---------- */
@media screen and (max-width: 767px) {
  .navbar { padding-top: 10px; padding-bottom: 10px; }
  .brand img { max-width: 200px; }
  .menu-btn { padding-right: 0; }
  .burger { --w: 40px; }
  .nav-menu { padding-top: 90px; }
  .menu-link { font-size: 36px; }

  .big-title { font-size: 22px; line-height: 26px; }
  .slider { height: 260px; }
  .slider-arrow svg { width: 30px; height: 30px; }
  .slider-arrow.prev svg { margin-left: 10px; }
  .slider-arrow.next svg { margin-right: 10px; }
  .span-dark-green { line-height: 27px; }
  .intro { font-size: 22px; line-height: 26px; }

  .category, .category-panel { min-height: 300px; }

  .section-contact { margin-top: 40px; padding-bottom: 40px; }
  .text-normal { font-size: 22px; line-height: 26px; }
  .link-adresse { margin-top: 20px; }

  .text-footer { font-size: 12px; line-height: 16px; }

  .section-legals { margin-top: 72px; padding-bottom: 72px; }
}

/* ---------- Mobile portrait (≤ 479px) ---------- */
@media screen and (max-width: 479px) {
  .navbar { padding-left: 20px; padding-right: 20px; border-bottom-color: var(--grey); }
  .brand img { max-width: 160px; }
  .menu-btn { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
  .menu-link { font-size: 32px; }
  .nav-menu-contact { flex-direction: column; align-items: center; font-size: 16px; }

  .section { margin-top: 20px; padding: 0 20px; }
  .big-title { padding-right: 20px; }
  .slider { height: 200px; }
  .grid-work { grid-template-columns: 1fr; }
  .category, .category-panel { min-height: 200px; }

  .section-contact { padding-left: 20px; padding-right: 20px; }
  .grid-contact { grid-template-rows: auto auto auto auto; }
  .contact-details { grid-area: 2 / 1 / 3 / 3; }
  .contact-separator-2 { grid-area: 3 / 1 / 4 / 2; }
  .contact-pitch { grid-area: 4 / 1 / 5 / 3; flex-direction: row; justify-content: flex-start; align-self: center; justify-self: stretch; }

  .footer { display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 20px; }
  .footer-inner { flex: 1; padding-top: 0; }
  .footer-social { display: flex; }

  .section-legals { margin-top: 52px; padding: 0 20px 52px; }
}
