/* =========================================================
   BUGGY PACA — Landing one-page
   Design system + components
   ========================================================= */

:root {
  /* Brand */
  --green: #008f38;
  --green-600: #00a340;
  --green-700: #007a30;
  --green-900: #0d3b1f;

  /* Surfaces */
  --dark: #0d1f17;
  --dark-2: #122a1f;
  --cream: #f4ede0;
  --paper: #ffffff;
  --bg: #fafaf7;

  /* Text */
  --ink: #0f1410;
  --ink-2: #2a342e;
  --muted: #6b7b72;
  --muted-2: #9aa8a0;

  /* Lines */
  --line: #e6e4dd;
  --line-dark: rgba(255,255,255,.12);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 34px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13, 31, 23, .06);
  --shadow-md: 0 10px 30px rgba(13, 31, 23, .10);
  --shadow-lg: 0 24px 60px rgba(13, 31, 23, .18);
  --shadow-xl: 0 34px 80px rgba(13, 31, 23, .22);

  /* Typography */
  --f-display: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --header-h: 76px;
  --container: 1240px;
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
p  { margin: 0 0 1em; color: var(--ink-2); }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--green); color: #fff; }

/* =========================================================
   LAYOUT UTILS
   ========================================================= */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 1040px; }
.light { color: #fff !important; }
.hl {
  color: var(--green);
  position: relative;
}
.hl-light { color: #5ed87c; }

.section {
  padding: clamp(70px, 9vw, 130px) 0;
  position: relative;
}
.section--light { background: var(--bg); }
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--dark);
  color: #e8efe9;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c6d0c9; }

.section__head { max-width: 760px; margin: 0 0 56px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head .lede { font-size: 1.125rem; color: var(--muted); max-width: 640px; }
.section__head--center .lede { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--green);
  display: inline-block;
}
.eyebrow--light { color: #8fe6a8; }
.eyebrow--light::before { background: #8fe6a8; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  user-select: none;
  text-align: center;
}
.btn svg { flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 143, 56, .35), inset 0 -2px 0 rgba(0,0,0,.15);
}
.btn--primary:hover { background: var(--green-600); box-shadow: 0 12px 28px rgba(0,143,56,.45), inset 0 -2px 0 rgba(0,0,0,.15); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--ghost-light {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); }

.btn--xl { --h: 58px; padding: 0 28px; font-size: 1rem; }
.btn--compact { --h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
@media (max-width: 640px) {
  .btn--block-mobile { width: 100%; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
  min-height: var(--header-h);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.94);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(13,31,23,.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,143,56,.35);
}
.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.12));
  transition: transform .35s ease;
}
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.05); }
.brand--footer .brand__logo {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.45));
}
.brand__text {
  font-family: var(--f-display);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -.02em;
}
.brand__text strong { font-weight: 700; }
.brand__text em { font-style: normal; color: var(--green); font-weight: 700; }

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  flex: 1;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover { background: var(--bg); color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.btn-phone:hover { background: #000; transform: translateY(-1px); }
.btn-phone__icon {
  width: 34px; height: 34px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,143,56,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(0,143,56,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,143,56,0); }
}
.btn-phone__label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--f-display);
}
.btn-phone__label small {
  font-size: .65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
}
.btn-phone__label strong {
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: rgba(13, 31, 23, .96);
  backdrop-filter: blur(14px);
  color: #fff;
  padding: 28px 24px 40px;
  overflow-y: auto;
  animation: drawerIn .25s ease;
}
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-drawer nav a {
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-drawer nav a:last-of-type { border-bottom: 0; }
.mobile-drawer .btn { margin-top: 18px; }
.mobile-drawer .btn--ghost {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.mobile-drawer .btn--ghost:hover { border-color: #fff; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  animation: zoomIn 16s ease-out forwards;
}
@keyframes zoomIn { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,31,23,.45) 0%, rgba(13,31,23,.55) 45%, rgba(13,31,23,.85) 100%),
    linear-gradient(90deg, rgba(13,31,23,.65) 0%, rgba(13,31,23,.15) 60%, rgba(13,31,23,0) 100%);
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 120px;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #5ed87c;
  box-shadow: 0 0 0 0 rgba(94,216,124,.8);
  animation: pulse-green 1.8s ease-out infinite;
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(94,216,124,.8); }
  70%  { box-shadow: 0 0 0 10px rgba(94,216,124,0); }
  100% { box-shadow: 0 0 0 0 rgba(94,216,124,0); }
}

.hero__title {
  color: #fff;
  max-width: 900px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero__title .hl { color: #5ed87c; }

.hero__subtitle {
  max-width: 620px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: #dfe8e1;
  line-height: 1.55;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: .92rem;
  color: #d8e3dc;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg { color: #5ed87c; }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 44px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.55);
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(14px); opacity: .3; }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: var(--dark);
  color: #fff;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.stat strong {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #5ed87c;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat span {
  font-size: .9rem;
  color: #b4c2b9;
  line-height: 1.3;
}

/* =========================================================
   FEATURES
   ========================================================= */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(0,143,56,.08);
  color: var(--green);
  margin-bottom: 20px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; }

/* =========================================================
   STORY / TIMELINE
   ========================================================= */
.story {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0,143,56,.14), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(0,143,56,.08), transparent 55%),
    var(--dark);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(94,216,124,.4), rgba(94,216,124,.4), transparent);
}
.timeline li {
  position: relative;
  padding: 0 6px;
}
.timeline__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: var(--dark-2);
  border: 2px solid rgba(94,216,124,.35);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.timeline li:hover .timeline__num {
  background: var(--green);
  border-color: var(--green);
}
.timeline h3 { color: #fff; margin-bottom: 6px; }
.timeline p { color: #b4c2b9; font-size: .95rem; }

/* =========================================================
   FORMULES
   ========================================================= */
.formulas { gap: 22px; }

.formula {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.formula:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.formula--featured {
  border: 1.5px solid var(--green);
  box-shadow: 0 22px 60px rgba(0,143,56,.22);
}
.formula--option { background: linear-gradient(180deg, #ffffff, #fafaf7); }

.formula__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.formula__price strong {
  font-family: var(--f-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -.02em;
  line-height: 1;
}
.formula__price span {
  font-size: .88rem;
  color: var(--muted);
  font-weight: 500;
}
.formula__price--muted strong { color: var(--ink); font-size: 1.3rem; }

.formula__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.formula__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.formula:hover .formula__media img { transform: scale(1.05); }

.formula__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.formula__tag--hot {
  background: var(--green);
  color: #fff;
}

.formula__body {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.formula h3 { margin-bottom: 10px; }
.formula__lede { color: var(--muted); margin-bottom: 18px; }
.list {
  margin: 0 0 22px;
}
.list li {
  position: relative;
  padding-left: 26px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: .95rem;
}
.list li:first-child { border-top: 0; }
.list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12 5 5L20 7' stroke='black' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12 5 5L20 7' stroke='black' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.formula .btn { margin-top: auto; }

.formulas__note {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .92rem;
}
.formulas__note svg { color: var(--green); flex: 0 0 auto; }

/* =========================================================
   USE CASES
   ========================================================= */
.usecase {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.usecase__emoji {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.usecase h3 { margin-bottom: 6px; }
.usecase p { color: var(--muted); margin: 0; font-size: .95rem; }

/* =========================================================
   SPLIT (Domaine)
   ========================================================= */
.section--split { padding: 0; background: var(--bg); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 640px;
}
.split__media {
  position: relative;
  overflow: hidden;
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split__content {
  padding: clamp(60px, 7vw, 110px) clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}
.split__pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.split__pillars > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.split__pillars strong {
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--ink);
}
.split__pillars span {
  font-size: .9rem;
  color: var(--muted);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: var(--green);
  color: #fff;
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 200px at 10% 50%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(800px 200px at 90% 50%, rgba(0,0,0,.22), transparent 60%);
  pointer-events: none;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.cta-band__kicker {
  font-size: .88rem;
  letter-spacing: .04em;
  opacity: .85;
  margin-bottom: 4px;
}
.cta-band h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin: 0;
}
.cta-band .btn--primary {
  background: #fff;
  color: var(--green);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
.cta-band .btn--primary:hover { background: #f4f4f4; color: var(--green-700); }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--line);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews {
  margin-top: 8px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review blockquote { flex: 1; }
.review__stars {
  color: #f4b400;
  letter-spacing: 2px;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.review blockquote {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.review figcaption {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted);
}
.reviews__note {
  margin-top: 26px;
  text-align: center;
  font-size: .82rem;
  color: var(--muted-2);
  font-style: italic;
}

/* =========================================================
   ACCESS
   ========================================================= */
.access {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}
.access__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.access__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 20px;
}
.access__card h3 {
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 10px;
}
.access__card p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.access__card--primary {
  background: var(--dark);
  border-color: transparent;
  color: #fff;
}
.access__card--primary h3 { color: #8fe6a8; }
.access__card--primary p { color: #cfd8d1; }

.access__map {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}
.access__map iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  min-height: 420px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { padding-bottom: clamp(70px, 9vw, 130px); }
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] {
  border-color: var(--green);
  box-shadow: 0 10px 30px rgba(0,143,56,.08);
}
.faq summary {
  padding: 18px 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green);
  transition: transform .25s ease;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; transform: rotate(0deg); }
.faq details p {
  padding: 0 0 20px;
  color: var(--ink-2);
  margin: 0;
}
.faq details p a { color: var(--green); font-weight: 600; }

/* =========================================================
   FINAL
   ========================================================= */
.section--final {
  background:
    radial-gradient(circle at 20% 20%, rgba(0,143,56,.25), transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0,143,56,.12), transparent 55%),
    var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section--final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/buggy-paca-panorama-buggy-ciel-provence.jpg");
  background-size: cover;
  background-position: center;
  opacity: .08;
  filter: grayscale(40%);
  pointer-events: none;
}
.section--final .wrap { position: relative; }
.section--final h2 { color: #fff; margin-bottom: 16px; }
.section--final p { color: #cfd8d1; max-width: 480px; }

.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.final-grid__copy { padding-top: 8px; }

.final-reassure {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .92rem;
  color: #cfd8d1;
}
.final-reassure li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.final-reassure svg { color: #5ed87c; }

/* Form */
.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-xl);
}
.form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 22px;
}
.form-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.form-card label span {
  font-family: var(--f-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .02em;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0,143,56,.12);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-card .btn { margin-top: 6px; position: relative; }
.form-note {
  font-size: .78rem;
  color: var(--muted);
  margin: 14px 0 0;
  text-align: center;
}

/* Honeypot : caché aux humains, visible aux bots */
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* États du bouton submit */
#contactSubmit .btn-spinner {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: spin .9s linear infinite;
  transition: opacity .2s ease;
}
#contactSubmit.is-loading .btn-label { opacity: 0; }
#contactSubmit.is-loading .btn-spinner { opacity: 1; }
#contactSubmit:disabled { cursor: progress; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Messages de retour */
.form-message {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: .92rem;
  line-height: 1.45;
  border-left: 4px solid;
  animation: fadeIn .25s ease;
}
.form-message--success {
  background: #e8f6ee;
  color: #0d3b1f;
  border-left-color: var(--green);
}
.form-message--error {
  background: #fdecea;
  color: #7a1d14;
  border-left-color: #d33b2c;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0a1510;
  color: #c6d0c9;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid h4 {
  color: #fff;
  font-size: .82rem;
  margin-bottom: 16px;
}
.brand--footer { color: #fff; margin-bottom: 16px; }
.brand--footer .brand__text strong { color: #fff; }
.footer-tagline { color: #98a8a0; font-size: .92rem; max-width: 360px; }
.footer-list { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer-list a:hover { color: #fff; }
.footer-list small { color: #7a8a82; }
.footer-list--nav a:hover { color: #5ed87c; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font-size: .9rem;
  transition: background .2s ease;
}
.social:hover { background: rgba(255,255,255,.12); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: .82rem;
  color: #7a8a82;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   FLOATING MOBILE PHONE
   ========================================================= */
.float-phone {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,143,56,.45);
  z-index: 80;
  animation: pulse 2.2s ease-out infinite;
}
.float-phone::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0,143,56,.35);
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring {
  0%   { transform: scale(.8); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .site-nav { display: none; }
}

@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--cards { grid-template-columns: repeat(2, 1fr); }
  .formulas { grid-template-columns: 1fr !important; }
  .formula--featured { transform: none; }
  .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 320px; }
  .access { grid-template-columns: 1fr; }
  .access__info { grid-template-columns: 1fr 1fr; }
  .final-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .btn-phone__label small { display: none; }
  .btn-phone { padding: 6px 12px 6px 6px; }
  .btn-phone__icon { width: 30px; height: 30px; }
  .btn-phone__label strong { font-size: .88rem; }
  .header-actions .btn--compact { display: none; }

  .hero { min-height: 88vh; }
  .hero__inner { padding: 100px 20px 100px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__trust { gap: 6px 16px; font-size: .82rem; }
  .hero__scroll { display: none; }

  .grid--3 { grid-template-columns: 1fr; }
  .grid--cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 4px; }
  .timeline { grid-template-columns: 1fr; }
  .split__pillars { grid-template-columns: 1fr; }
  .access__info { grid-template-columns: 1fr; }
  .cta-band__inner { text-align: center; justify-content: center; }
  .cta-band h3 { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }

  .float-phone { display: grid; }
  body { padding-bottom: 84px; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 720px) {
  .brand__logo { width: 42px; height: 42px; }
}

@media (max-width: 400px) {
  .brand__text { font-size: 1.05rem; }
  .brand__logo { width: 38px; height: 38px; }
  .btn-phone__label { display: none; }
  .btn-phone { padding: 0; }
  .btn-phone__icon { width: 38px; height: 38px; }
}
