:root {
  --black: #1d1d1f;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --light: #f5f5f7;
  --white: #fff;
  --line: #d2d2d7;
  --green: #1c5b43;
  --green-dark: #103b2c;
  --gold: #a8752d;
  --blue-link: #176c50;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-shell {
  width: min(calc(100% - 40px), 1024px); margin: auto;
  min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.nav-logo { display: flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 650; }
.nav-logo img { width: 31px; height: 31px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .78rem; }
.nav-links a { color: #333336; }
.nav-links a:hover { color: var(--green); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.2rem; }
.hero { padding: 76px 0 0; background: #fff; }
.hero-copy-wrap { width: min(calc(100% - 40px), 980px); margin: 0 auto; text-align: center; }
.kicker { margin: 0 0 14px; font-size: .96rem; font-weight: 650; color: var(--green); opacity: 0; transform: translateY(18px); animation: heroKickerReveal .65s ease-out .02s forwards; }
.hero h1 {
  margin: 0 auto;
  max-width: 1040px;
  font-size: clamp(3.35rem, 7.6vw, 6.5rem);
  line-height: 1.055;
  letter-spacing: -.052em;
  font-weight: 700;
}
.hero-title { overflow: visible; }
.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  will-change: transform, opacity, filter;
  animation: heroTitleReveal .92s cubic-bezier(.2,.9,.2,1) forwards;
}
.hero-title-line-top { animation-delay: .08s; }
.hero-title-line-bottom {
  display: inline-block;
  color: var(--green);
  margin-top: .22em;
  position: relative;
  animation-delay: .30s;
}
.hero-title-line-bottom::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -.08em;
  width: min(62%, 480px);
  height: .12em;
  border-radius: 999px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, rgba(26,105,72,0), rgba(26,105,72,.15), rgba(26,105,72,0));
  animation: heroUnderline .9s cubic-bezier(.2,.9,.2,1) .95s forwards;
}
.hero h1 span { display: inline-block; }
.hero-lead {
  max-width: 760px; margin: 28px auto 0; color: var(--muted);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.35; letter-spacing: -.02em;
}
.hero-actions { display: flex; justify-content: center; gap: 28px; margin-top: 28px; flex-wrap: wrap; }

@keyframes heroKickerReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroTitleReveal {
  0% { opacity: 0; transform: translateY(40px); filter: blur(10px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes heroUnderline {
  from { transform: translateX(-50%) scaleX(0); opacity: 0; }
  to { transform: translateX(-50%) scaleX(1); opacity: 1; }
}

.link-cta { color: var(--blue-link); font-size: 1.05rem; font-weight: 520; }
.link-cta span { font-size: 1.35rem; vertical-align: -.05em; margin-left: 3px; }
.link-cta:hover { text-decoration: underline; }
.hero-product {
  width: min(calc(100% - 24px), 1440px); margin: 70px auto 12px;
  padding: 54px 40px 56px; background: var(--light); border-radius: 30px; text-align: center; overflow: hidden;
}
.hero-product-copy p { margin: 0 0 8px; font-size: 1rem; font-weight: 650; color: var(--green); }
.hero-product-copy h2 { margin: 0 auto 38px; font-size: clamp(2.1rem, 4.8vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; max-width: 850px; }
.hero-image-frame {
  width: min(58vw, 610px); aspect-ratio: 1; margin: 0 auto; border-radius: 26px; overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.12); background: #d8d8d8;
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.company-section { padding: 126px 20px 112px; background: #f5f5f7; }
.company-shell { width: min(100%, 1080px); margin: 0 auto; display: grid; grid-template-columns: .92fr 1.08fr; gap: 90px; align-items: start; }
.company-heading h2 { margin: 0; font-size: clamp(2.8rem, 5.4vw, 5rem); line-height: 1.01; letter-spacing: -.052em; }
.company-copy { padding-top: 34px; }
.company-copy p { margin: 0 0 22px; color: var(--muted); font-size: clamp(1.08rem, 1.9vw, 1.34rem); line-height: 1.46; letter-spacing: -.015em; }
.company-metrics { width: min(100%, 1180px); margin: 72px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.company-metrics div { min-height: 150px; padding: 26px; border-radius: 24px; background: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.company-metrics strong { color: var(--green); font-size: 2rem; letter-spacing: -.035em; }
.company-metrics span { margin-top: 7px; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.intro-panel { padding: 118px 20px 62px; background: #fff; }
.content-narrow { width: min(100%, 980px); margin: 0 auto; }
.content-narrow.center { text-align: center; }
.content-narrow h2, .split-copy h2, .contact-heading h2 {
  margin: 0; font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.055em;
}
.section-lead { max-width: 790px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.36; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.product-grid-section { padding: 0 12px 12px; background: #fff; }
.product-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1080px; margin: 0 auto; }
.product-tile {
  min-height: 820px; padding: 58px 48px 0; border-radius: 28px; overflow: hidden; position: relative;
  background: var(--light); text-align: center;
}
.tile-copy { max-width: 650px; margin: 0 auto; position: relative; z-index: 3; padding-bottom: 18px; }
.tile-eyebrow { margin: 0 0 8px; font-size: .94rem; font-weight: 650; color: var(--green); }
.tile-copy h3 { margin: 0; font-size: clamp(2.45rem, 4.8vw, 4.6rem); line-height: 1.02; letter-spacing: -.05em; }
.tile-copy p:last-child { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: 1.08rem; line-height: 1.42; }
.tile-photo-wrap {
  position: absolute;
  width: min(62%, 520px);
  aspect-ratio: 1;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  background: #fff;
}
.tile-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tile-photo-pack { background: #fff; padding: 0; }
.tile-dark .tile-photo-wrap { box-shadow: 0 22px 60px rgba(0,0,0,.3); }
.tile-dark { background: #111; color: #fff; }
.tile-dark .tile-eyebrow { color: #9acbb8; }
.tile-dark .tile-copy p:last-child { color: #a1a1a6; }
.tile-sand { background: #edf2ef; }
.tile-individual { background: #f3efe7; }
.tile-pizza { background: #f7f4ef; }
.pack-visual {
  position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%);
  width: min(78%, 570px); height: 260px; border-radius: 36px;
  border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08);
  box-shadow: 0 26px 70px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.08);
  display: grid; place-items: center; overflow: hidden;
}
.tile-sand .pack-visual, .tile-individual .pack-visual { border-color: rgba(29,29,31,.12); background: rgba(255,255,255,.7); box-shadow: 0 24px 60px rgba(0,0,0,.09); }
.pack-visual::before {
  content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 28px;
}
.tile-sand .pack-visual::before, .tile-individual .pack-visual::before { border-color: rgba(29,29,31,.1); }
.pack-label { width: 63%; min-height: 120px; display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.pack-label strong { font-size: 1.32rem; letter-spacing: .08em; }
.pack-label small { color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.pack-round { width: 390px; height: 390px; border-radius: 50%; bottom: -30px; }
.pack-round::before { border-radius: 50%; }
.pack-round .pack-label { width: 54%; min-height: 105px; }


@media (min-width: 980px) {
  .product-grid-section { padding: 0 20px 20px; }
  .product-tile { min-height: 840px; }
  .tile-copy { max-width: 720px; padding-bottom: 28px; }
  .tile-photo-wrap { width: min(50%, 500px); bottom: -46px; }
}

.split-section { padding: 130px 20px; background: #000; color: #fff; }
.split-inner { width: min(100%, 1140px); margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.split-copy .kicker { color: #9acbb8; }
.split-copy p:last-child { color: #a1a1a6; font-size: 1.24rem; line-height: 1.4; max-width: 550px; }
.spec-list { border-top: 1px solid #424245; }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid #424245; font-size: 1.05rem; }
.spec-row span { color: #a1a1a6; }
.spec-row strong { font-weight: 650; }
.pro-section { padding: 125px 20px; background: var(--light); }
.market-grid { width: min(100%, 1180px); margin: 66px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.market-grid article { min-height: 280px; padding: 30px; border-radius: 24px; background: #fff; }
.market-grid span { color: var(--green); font-size: .82rem; font-weight: 700; }
.market-grid h3 { margin: 46px 0 12px; font-size: 1.55rem; letter-spacing: -.025em; }
.market-grid p { margin: 0; color: var(--muted); font-size: .96rem; }
.manifesto { padding: 140px 20px; background: #fff; }
.manifesto-inner { width: min(100%, 900px); margin: 0 auto; text-align: center; }
.manifesto-inner img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 30px; }
.manifesto-inner h2 { margin: 0; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.055em; }
.manifesto-inner p { max-width: 750px; margin: 28px auto 0; color: var(--muted); font-size: 1.28rem; line-height: 1.4; }
.contact-section { padding: 120px 20px; background: var(--light); }
.contact-heading { width: min(100%, 920px); margin: 0 auto 50px; text-align: center; }
.contact-heading p:last-child { color: var(--muted); font-size: 1.18rem; max-width: 780px; margin: 22px auto 0; }
.contact-heading p:last-child a { color: var(--green); text-decoration: underline; }
.contact-form { width: min(100%, 900px); margin: 0 auto; padding: 42px; border-radius: 28px; background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
label { font-size: .82rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--text); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(28,91,67,.1); }
textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.submit-button { min-height: 48px; padding: 0 24px; border: 0; border-radius: 980px; background: var(--green); color: #fff; font-size: .96rem; font-weight: 600; cursor: pointer; }
.submit-button:hover { background: var(--green-dark); }
.form-status { min-height: 22px; margin-top: 10px; font-size: .9rem; font-weight: 600; }
.form-status.success { color: var(--green); }
.form-status.error { color: #a1251b; }
.legal-note { color: var(--muted); font-size: .74rem; margin: 14px 0 0; }
footer { background: #f5f5f7; color: #6e6e73; padding: 28px 20px; border-top: 1px solid #d2d2d7; }
.footer-inner { width: min(100%, 980px); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 12px 30px; align-items: center; font-size: .76rem; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.footer-links { grid-column: 2; display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid #c7c7cc;
  border-radius: 999px;
  color: #515154;
  background: rgba(255,255,255,.72);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.back-to-top:hover {
  color: var(--green) !important;
  border-color: var(--green);
  background: #fff;
  text-decoration: none !important;
}
/* shared admin/privacy styling */
.container { width: min(calc(100% - 40px), 1100px); margin: 0 auto; }
.section { padding: 80px 0; }
.privacy-card { max-width: 850px; background: #fff; padding: 40px; border-radius: 24px; border: 1px solid var(--line); }
.privacy-card h1 { font-size: 3rem; letter-spacing: -.04em; }
.privacy-card h2 { margin-top: 32px; }
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 18px; border-radius: 980px; border: 1px solid var(--line); background: #fff; font-weight: 600; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-secondary { background: #fff; color: var(--text); }
.brand, .brand-header { display: flex; align-items: center; gap: 9px; font-weight: 650; }
.brand-mark-image { width: 40px; height: 40px; object-fit: contain; }
.brand small { display: block; font-size: .66rem; color: var(--green); }
.eyebrow { color: var(--green); font-weight: 650; font-size: .9rem; }
.admin-shell { min-height: 100vh; padding: 50px 0; background: #f5f5f7; }
.admin-card { max-width: 1100px; margin: 0 auto; background: white; padding: 32px; border: 1px solid var(--line); border-radius: 24px; }
.admin-login { max-width: 460px; margin: 8vh auto; }
.admin-logo-link { display: inline-flex; margin-bottom: 20px; }
.admin-logo { width: 190px; height: auto; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { color: var(--green); }
.admin-empty { padding: 28px 0; color: var(--muted); text-align: center; }
@media (max-width: 960px) {
  .company-shell { grid-template-columns: 1fr; gap: 34px; }
  .company-copy { padding-top: 0; }
  .company-metrics { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-tile { min-height: 700px; }
  .split-inner { grid-template-columns: 1fr; gap: 50px; }
  .market-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .company-section { padding: 90px 20px 78px; }
  .company-metrics { grid-template-columns: 1fr; margin-top: 48px; }
  .company-metrics div { min-height: 130px; }
  .nav-shell { min-height: 52px; }
  .nav-logo span { display: none; }
  .nav-links { display: none; position: absolute; left: 12px; right: 12px; top: 58px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 14px 34px rgba(0,0,0,.13); flex-direction: column; align-items: flex-start; gap: 16px; font-size: .92rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding-top: 54px; }
  .hero-product { margin-top: 52px; padding: 42px 20px; border-radius: 22px; }
  .hero-image-frame { width: min(84vw, 500px); }
  .intro-panel { padding-top: 90px; }
  .product-tile { min-height: 650px; padding: 42px 24px 0; border-radius: 22px; }
  .tile-photo-wrap { width: min(76%, 440px); bottom: -30px; }
  .pack-visual { width: 82%; height: 220px; bottom: 44px; }
  .pack-round { width: 300px; height: 300px; bottom: -10px; }
  .split-section, .pro-section, .manifesto, .contact-section { padding: 90px 20px; }
  .market-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .contact-form { padding: 26px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; flex-wrap: wrap; }
}


/* ---------------------------------------------------------
   V10 — Image slides on scroll (independent from Firebase)
   --------------------------------------------------------- */
.slide-visual {
  opacity: 0;
  transition:
    opacity .9s cubic-bezier(.22,.61,.36,1),
    transform 1.05s cubic-bezier(.22,.61,.36,1),
    filter .9s ease;
  will-change: opacity, transform, filter;
  filter: blur(3px);
}

/* Product tile image wrappers are absolutely centered, so keep translateX(-50%) */
.tile-photo-wrap.slide-visual.slide-from-left {
  transform: translateX(calc(-50% - 150px)) scale(.94);
}
.tile-photo-wrap.slide-visual.slide-from-right {
  transform: translateX(calc(-50% + 150px)) scale(.94);
}
.tile-photo-wrap.slide-visual.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateX(-50%) scale(1);
}

/* Hero image uses normal centering, not translateX(-50%) */
.hero-image-frame.slide-visual.slide-from-bottom {
  transform: translateY(90px) scale(.94);
}
.hero-image-frame.slide-visual.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* Supporting sections gently slide up, but the main effect remains on images */
.scroll-section-reveal {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity .8s ease, transform .95s cubic-bezier(.22,.61,.36,1);
}
.scroll-section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .tile-photo-wrap.slide-visual.slide-from-left {
    transform: translateX(calc(-50% - 70px)) scale(.96);
  }
  .tile-photo-wrap.slide-visual.slide-from-right {
    transform: translateX(calc(-50% + 70px)) scale(.96);
  }
  .hero-image-frame.slide-visual.slide-from-bottom {
    transform: translateY(60px) scale(.96);
  }
}

/* If the device requests less motion, keep a short fade/slide rather than removing the effect entirely. */
@media (prefers-reduced-motion: reduce) {
  .slide-visual,
  .scroll-section-reveal {
    transition-duration: .35s !important;
    filter: none !important;
  }
  .tile-photo-wrap.slide-visual.slide-from-left {
    transform: translateX(calc(-50% - 24px)) scale(.99);
  }
  .tile-photo-wrap.slide-visual.slide-from-right {
    transform: translateX(calc(-50% + 24px)) scale(.99);
  }
  .hero-image-frame.slide-visual.slide-from-bottom,
  .scroll-section-reveal {
    transform: translateY(20px) scale(.99);
  }
  .tile-photo-wrap.slide-visual.is-visible {
    transform: translateX(-50%) scale(1);
  }
  .hero-image-frame.slide-visual.is-visible,
  .scroll-section-reveal.is-visible {
    transform: translateY(0) scale(1);
  }
}

/* ---------------------------------------------------------
   V14 — Mobile: images always centered inside product cards
   --------------------------------------------------------- */
@media (max-width: 720px) {
  .product-tile {
    overflow: hidden;
  }

  .tile-photo-wrap {
    left: 50%;
    right: auto;
    width: calc(100% - 32px);
    max-width: 520px;
    margin: 0;
  }

  /* On mobile, preserve the slide effect but make it vertical,
     so the image never drifts left or right while appearing. */
  .tile-photo-wrap.slide-visual.slide-from-left,
  .tile-photo-wrap.slide-visual.slide-from-right {
    transform: translateX(-50%) translateY(58px) scale(.97);
  }

  .tile-photo-wrap.slide-visual.is-visible {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .tile-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-image-frame {
    margin-left: auto;
    margin-right: auto;
  }
}


/* V18: espace net entre texte et visuel dans les cartes produits */
@media (min-width: 980px) {
  .product-tile .tile-copy { min-height: 250px; }
  .product-tile.tile-dark .tile-copy { min-height: 270px; }
  .product-tile .tile-photo-wrap { top: auto; }
}
