/* ===================================================================
   CamargAqua — design tokens & global styles
   =================================================================== */
:root {
  /* Palette — fond blush neutre, accent fuchsia techno */
  --bg:        #FAF0F4;        /* blush très légèrement rosé-cool */
  --bg-soft:   #F3E0EA;        /* rose doux pour respiration de sections */
  --bg-warm:   #EAC8D8;        /* rose moyen pour zones d'accent */
  --pearl:     #DDA8C4;
  --line:      #E0B0CC;        /* filets rose-fuchsia doux */

  --royal:     #1B2A6B;
  --royal-2:   #243580;
  --royal-3:   #0F1B4D;
  --ocean:     #3854A8;
  --ocean-2:   #6E84C4;

  --shrimp:        #D6007A;    /* fuchsia vif — accent principal */
  --shrimp-soft:   #E8409A;    /* fuchsia moyen */
  --shrimp-pale:   #FFD6EB;    /* fuchsia très pâle — backgrounds */
  --shrimp-deep:   #A8005E;    /* fuchsia profond — textes accent */

  --ink:       var(--royal);
  --muted:     #5A6680;
  --muted-2:   #8E96AE;

  /* Barlow Condensed = titres, DM Sans = corps */
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --sans:    "DM Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif:   "Barlow Condensed", "Arial Narrow", Arial, sans-serif; /* compat alias */
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1680px;
  --gutter: max(20px, 4vw);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--royal);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--shrimp); color: var(--bg); }

/* Hide all scrollbars */
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; -ms-overflow-style: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  /* Definitive mobile padding fix — includes iOS notch safe area */
  padding-left: max(var(--gutter), calc(env(safe-area-inset-left) + 20px));
  padding-right: max(var(--gutter), calc(env(safe-area-inset-right) + 20px));
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--royal); color: var(--bg);
  padding: 12px 18px; z-index: 100;
  border-radius: 0 0 6px 0;
  font-size: 14px; font-weight: 500;
}
.skip-link:focus { left: 0; }

/* ——— Type system ——— */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--shrimp-deep);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .num { color: var(--shrimp-deep); font-weight: 500; opacity: 0.7; }
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--shrimp);
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--royal);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-weight: 700; letter-spacing: 0.01em; }
h2 { font-weight: 300; font-size: clamp(48px, 5.8vw, 88px) !important; line-height: 1.05; }
h3 { font-weight: 600; }
h4 { font-weight: 600; letter-spacing: 0.02em; }
/* Italic accent words use Barlow Condensed Italic */
.it      { font-family: var(--display); font-style: italic; color: var(--shrimp); font-weight: 400; }
.it-blue { font-family: var(--display); font-style: italic; color: var(--ocean);  font-weight: 400; }
/* <em> dans les titres et citations = même style que .it */
h1 em, h2 em, h3 em, .t-quote em, .manifesto-text .quote em, .pf-text em {
  font-family: var(--display);
  font-style: italic;
  color: var(--shrimp);
  font-weight: 400;
}
p { text-wrap: pretty; font-family: var(--sans); }
.lede {
  font-family: var(--sans);
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--royal-2);
  font-weight: 400;
  font-style: normal;
}

/* ——— Top bar — fixed partout ——— */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
body { padding-top: 72px; } /* offset for fixed topbar on mobile */
@media (min-width: 901px) {
  body { padding-top: 100px; }
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; /* compact mobile-first */
  gap: 16px;
}
@media (min-width: 901px) {
  .topbar-inner { height: 100px; }
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { display: none; } /* circle icon removed */
.brand-name {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.04em;
  color: var(--royal);
  font-weight: 700;
  text-transform: uppercase;
}
.brand-name em { font-style: italic; color: var(--shrimp); font-weight: 400; text-transform: none; }
nav.primary { display: flex; gap: 36px; align-items: center; }
nav.primary a {
  font-size: 15px; color: var(--muted); font-weight: 600;
  letter-spacing: 0.02em;
  transition: color .2s ease;
  position: relative;
  padding: 6px 0;
}
nav.primary a:hover { color: var(--royal); }
nav.primary a.active { color: var(--royal); }
nav.primary a.active::after {
  content: ""; position: absolute; bottom: -2px; left: 0; width: 100%;
  height: 1px; background: var(--shrimp);
}
.topbar .cta {
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  color: var(--bg);
  background: var(--royal);
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s ease;
}
.topbar .cta:hover { background: var(--shrimp); color: var(--bg); }
.topbar .cta::after { content: "→"; font-family: var(--sans); font-size: 14px; }

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--royal);
  border-radius: 999px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--royal);
  position: relative;
  z-index: 101;
}
.menu-toggle:focus-visible {
  outline: 2px solid var(--shrimp-deep);
  outline-offset: 2px;
}
.menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-open { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  height: calc(100vh - 72px);
  background: var(--bg);
  z-index: 99;
  padding: 24px 22px;
  overflow-y: auto;
  border-top: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
  flex-direction: column;
  gap: 0;
}
body.menu-open .mobile-nav-overlay { display: flex; }
body.menu-open { overflow: hidden; }
.mobile-nav-overlay a {
  font-size: 24px;
  font-family: var(--serif);
  color: var(--royal);
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 50%, transparent);
  text-decoration: none;
  display: block;
  transition: color .2s ease, padding-left .2s ease;
}
.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active { color: var(--shrimp-deep); padding-left: 6px; }
.mobile-nav-overlay .mobile-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--royal);
  color: var(--bg);
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  align-self: flex-start;
}
.mobile-nav-overlay .mobile-cta::after { content: "→"; }

@media (max-width: 900px) {
  nav.primary { display: none !important; } /* hide desktop nav, replaced by mobile-nav-overlay */
  .menu-toggle { display: inline-flex; }
  .topbar .cta { display: none; }
}

/* ——— Hero single-stat card ——— */
.hero-single-stat {
  background: rgba(250,233,226,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: clamp(32px, 4vw, 52px) clamp(28px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}
.hss-eyebrow {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--shrimp-deep); font-weight: 600; margin-bottom: 16px;
}
.hss-num {
  font-family: var(--serif);
  font-size: clamp(80px, 10vw, 136px);
  font-weight: 300;
  color: var(--royal);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.hss-unit {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--shrimp-deep);
  font-style: normal;
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.hss-rule { width: 36px; height: 2px; background: var(--shrimp); margin: 20px 0; }
.hss-label {
  font-size: 13px; color: var(--muted);
  line-height: 1.7;
  max-width: 22ch;
}
@media (max-width: 900px) {
  .hero-single-stat { padding: 24px 20px; }
  .hss-num { font-size: clamp(56px, 12vw, 80px); }
  .hss-unit { font-size: 18px; }
}

/* ——— Section frame — réduit de ~35% ——— */
section { position: relative; padding: clamp(36px, 5vw, 72px) 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(44px, 5.5vw, 72px); }
.section-head .head-meta { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
}

/* ——— Page hero ——— */
.page-hero {
  position: relative;
  padding: clamp(36px, 5vw, 80px) 0 clamp(24px, 4vw, 48px);
  overflow: hidden;
}
/* Hero avec image en fond — texte superposé, overlay discret */
.page-hero-bg {
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(36px, 5vw, 64px);
  /* G — shimmer eau sur toutes les pages */
  animation: page-hero-shimmer 16s ease-in-out infinite;
  will-change: filter;
}
@keyframes page-hero-shimmer {
  0%   { filter: brightness(1.00) saturate(1.00); }
  35%  { filter: brightness(0.97) saturate(1.04) blur(0.2px); }
  70%  { filter: brightness(1.02) saturate(0.97); }
  100% { filter: brightness(1.00) saturate(1.00); }
}
.page-hero-bg .breadcrumb,
.page-hero-bg .eyebrow { opacity: 0.85; }
.page-hero-bg h1 { text-shadow: 0 1px 10px rgba(250,233,226,0.5); }
.page-hero-bg h1 .it {
  background: none;
  color: var(--shrimp);
  padding: 0;
  box-decoration-break: unset;
  -webkit-box-decoration-break: unset;
}
.page-hero .breadcrumb {
  font-size: 13px; color: var(--muted);
  margin-bottom: 24px;
}
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--royal); }
.page-hero .breadcrumb .sep { margin: 0 10px; color: var(--shrimp); }
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.page-hero .lede { margin-top: 20px; max-width: 60ch; font-size: clamp(17px, 1.8vw, 22px); }
.page-hero-image {
  margin-top: 24px;
  height: clamp(200px, 28vw, 380px);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--royal-3);
  /* Pleine largeur relative au wrap — aligné avec le contenu */
  width: 100%;
}
.page-hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}

/* ——— Pillars ——— */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar { background: var(--bg); padding: 44px 36px; transition: background .25s ease; border-radius: 6px; }
.pillar:hover { background: var(--bg-soft); }
.pillar .num { font-family: var(--serif); font-style: normal; font-size: 28px; color: var(--shrimp); font-weight: 400; }
.pillar h3 { font-size: 28px; margin: 18px 0 14px; font-weight: 500; }
.pillar p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ——— Stats ——— */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-soft);
  border-radius: 6px;
  padding: 32px 24px;
}
.stat-card.pink { background: var(--shrimp-pale); }
.stat-card .v {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1; color: var(--royal); font-weight: 400;
}
.stat-card .v .u { font-size: 0.4em; color: var(--shrimp-deep); margin-left: 4px; font-style: normal; }
.stat-card .l { font-size: 13px; color: var(--muted); margin-top: 14px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ——— Buttons ——— */
.btn {
  font-family: var(--sans); font-size: 14px; letter-spacing: 0.01em;
  font-weight: 500;
  padding: 16px 28px;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all .25s ease;
  border: 1px solid var(--royal);
  border-radius: 999px;
  color: var(--royal);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}
.btn::after { content: "→"; font-family: var(--sans); font-size: 14px; }
.btn:hover { background: var(--royal); color: var(--bg); }
.btn-primary {
  background: var(--shrimp);
  color: var(--bg);
  border-color: var(--shrimp);
}
.btn-primary:hover { background: var(--shrimp-deep); border-color: var(--shrimp-deep); color: var(--bg); }
.btn-ghost-light {
  border-color: rgba(245, 244, 240, 0.4);
  color: var(--bg);
}
.btn-ghost-light:hover { background: var(--shrimp); border-color: var(--shrimp); color: var(--bg); }

/* ——— CTA strip ——— */
.cta-strip {
  background: var(--shrimp);
  color: var(--bg);
  padding: clamp(48px, 6vw, 88px) 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 280px at 90% -20%, rgba(255, 255, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-strip .wrap {
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 48px; align-items: end; position: relative;
}
.cta-strip h2 { color: var(--bg); font-size: clamp(36px, 4.4vw, 56px); font-weight: 300; }
.cta-strip h2 em { font-style: normal; color: var(--royal); font-weight: 400; }
.cta-strip .actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
.cta-strip .btn { border-color: var(--bg); color: var(--bg); }
.cta-strip .btn:hover { background: var(--bg); color: var(--shrimp); border-color: var(--bg); }
.cta-strip .btn-primary { background: var(--royal); border-color: var(--royal); color: var(--bg); }
.cta-strip .btn-primary:hover { background: var(--royal-3); border-color: var(--royal-3); color: var(--bg); }
@media (max-width: 820px) {
  .cta-strip .wrap { grid-template-columns: 1fr; }
  .cta-strip .actions { justify-content: flex-start; }
}

/* ——— Footer ——— */
footer.foot {
  background: var(--royal-3);
  color: rgba(245, 244, 240, 0.7);
  padding: 80px 0 36px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245, 244, 240, 0.12);
}
.foot .brand-name { color: #F5F4F0; }
.foot .brand-mark { border-color: rgba(245, 244, 240, 0.6); background: transparent; }
.foot .col h5 {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--shrimp);
  margin: 0 0 18px; font-weight: 500;
}
.foot .col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot .col a { font-size: 14px; color: rgba(245, 244, 240, 0.85); }
.foot .col a:hover { color: var(--shrimp); }
.foot .tagline {
  font-family: var(--serif); font-style: normal;
  font-size: 19px; color: rgba(245, 244, 240, 0.8);
  max-width: 32ch; margin-top: 24px;
  line-height: 1.5;
}
.foot .tagline em { font-style: normal; color: var(--shrimp); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245, 244, 240, 0.45);
}
.foot-bottom span .dot { color: var(--shrimp); margin: 0 8px; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}

/* ——— Tag pill ——— */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--shrimp-pale);
  color: var(--shrimp-deep);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.02em;
  font-weight: 500;
}
.tag.royal { background: var(--royal); color: var(--bg); }

/* ——— Image utilities ——— */
.img-frame { position: relative; overflow: hidden; background: var(--bg-soft); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

hr.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ——— Form (contact) ——— */
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; color: var(--shrimp-deep); font-weight: 500; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 15px; color: var(--royal);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color .2s ease;
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--shrimp-deep);
}
.field textarea { resize: vertical; min-height: 110px; font-family: var(--sans); }

.form-status {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  display: none;
}
.form-status.ok { display: block; background: var(--shrimp-pale); color: var(--shrimp-deep); }
.form-status.err { display: block; background: #fde2e2; color: #8b1a1a; }

/* ——— Scroll reveal animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ——— Section dividers ——— */
.section-sep {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, var(--shrimp) 0%, var(--line) 40%, transparent 100%);
  margin: 0;
}

/* ——— Section chapter label ——— */
.chapter-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
  border-top: 2px solid var(--shrimp-pale);
  padding-top: 28px;
}
.chapter-label .ch-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--shrimp-deep);
  font-style: normal;
  opacity: 0.7;
}
.chapter-label .ch-title {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ——— Hero stat cards (2×2 grid) ——— */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-stat {
  background: rgba(250,233,226,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 20px 16px;
  border-radius: 8px;
  border-bottom: 2px solid var(--shrimp-pale);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  cursor: default;
}
.hero-stat:hover {
  transform: translateY(-3px);
  border-color: var(--shrimp);
  background: rgba(250,233,226,0.98);
}
.hero-stat.accent {
  background: var(--shrimp);
  border-color: var(--shrimp-deep);
}
.hero-stat.accent:hover { background: var(--shrimp-deep); border-color: var(--shrimp-deep); }
.hero-stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 40px);
  color: var(--royal);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat-num .u {
  font-size: 0.42em;
  color: var(--shrimp-deep);
  margin-left: 3px;
  font-style: normal;
}
.hero-stat.accent .hero-stat-num { color: var(--royal-3); }
.hero-stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-stat.accent .hero-stat-label { color: rgba(15,27,77,0.65); }
@media (max-width: 900px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-stat { padding: 14px 16px; }
  .hero-stat-num { font-size: 24px; }
}

/* ——— Terroir / manifesto nouvelle version ——— */
.terroir-block {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto;
}
.terroir-block .t-quote {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--royal);
  letter-spacing: -0.02em;
  font-style: normal;
}
.terroir-block .t-quote em { color: var(--shrimp-deep); font-style: normal; }
.terroir-block .t-sub {
  margin: 28px auto 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}
.terroir-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}
.terroir-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--royal);
  font-weight: 500;
  background: transparent;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.terroir-pill:hover {
  background: var(--shrimp-pale);
  border-color: var(--shrimp);
  color: var(--shrimp-deep);
  transform: translateY(-2px);
}
.terroir-pill svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--shrimp-deep);
  transition: color .2s ease;
}
.terroir-pano {
  margin-top: clamp(48px, 6vw, 80px);
  height: clamp(180px, 22vw, 300px);
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}
.terroir-pano img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 60%;
}

/* ——— Opportunité / marché section ——— */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.market-card {
  padding: 40px 32px;
  border-radius: 8px;
  background: var(--bg);
  border-top: 3px solid var(--shrimp-pale);
  transition: border-color .25s ease, transform .25s ease;
}
.market-card:hover {
  border-color: var(--shrimp);
  transform: translateY(-3px);
}
.market-card.featured {
  background: var(--royal-3);
  border-color: var(--shrimp);
  color: var(--bg);
}
.market-card .mc-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: var(--royal);
  letter-spacing: -0.03em;
}
.market-card .mc-num .mc-unit {
  font-size: 0.38em;
  color: var(--shrimp-deep);
  margin-left: 4px;
  font-style: normal;
}
.market-card.featured .mc-num { color: var(--bg); }
.market-card.featured .mc-num .mc-unit { color: var(--shrimp); }
.market-card .mc-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--royal);
  margin: 20px 0 10px;
}
.market-card.featured .mc-label { color: var(--bg); }
.market-card .mc-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.market-card.featured .mc-desc { color: rgba(250,233,226,0.7); }
@media (max-width: 900px) {
  .market-grid { grid-template-columns: 1fr; }
}

/* ——— RAS technique section ——— */
.ras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.ras-steps { display: grid; gap: 0; }
.ras-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.ras-step:first-child { padding-top: 0; }
.ras-step:last-child { border-bottom: 0; }
.ras-step-num {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--shrimp);
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  padding-top: 2px;
}
.ras-step-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--royal);
  margin: 0 0 6px;
}
.ras-step-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.ras-params {
  background: var(--royal-3);
  border-radius: 8px;
  padding: 36px 32px;
  color: var(--bg);
}
.ras-params h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shrimp);
  margin: 0 0 24px;
  font-weight: 500;
}
.ras-param-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(250,233,226,0.12);
}
.ras-param-row:last-child { border-bottom: 0; }
.ras-param-row .rp-name { font-size: 13px; color: rgba(250,233,226,0.65); }
.ras-param-row .rp-val {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--bg);
  font-weight: 400;
}
.ras-param-row .rp-val .rp-u { font-size: 0.55em; color: var(--shrimp); margin-left: 4px; font-style: normal; }
@media (max-width: 820px) {
  .ras-grid { grid-template-columns: 1fr; }
}

/* ——— Produit — nouvelle version ——— */
.produit-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  min-height: clamp(380px, 48vw, 600px);
}
.produit-hero-img {
  position: relative;
  overflow: hidden;
}
.produit-hero-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.produit-hero-copy {
  background: var(--royal-3);
  padding: clamp(32px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.produit-hero-copy h2 {
  color: var(--bg);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
}
.produit-hero-copy h2 em { color: var(--shrimp); font-style: normal; }
.produit-hero-copy p { font-size: 15px; line-height: 1.7; color: rgba(250,233,226,0.75); margin: 0; }
.produit-attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}
.produit-attr {
  background: var(--bg);
  padding: 24px 22px;
  transition: background .2s ease;
}
.produit-attr:hover { background: var(--shrimp-pale); }
.produit-attr .pa-k { font-size: 11px; color: var(--shrimp-deep); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.produit-attr .pa-v { font-family: var(--serif); font-size: 22px; color: var(--royal); font-weight: 400; margin-bottom: 4px; }
.produit-attr .pa-d { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 820px) {
  .produit-hero-grid { grid-template-columns: 1fr; }
  .produit-hero-img { height: 260px; position: relative; }
  .produit-attrs { grid-template-columns: 1fr 1fr; }
}

/* ——— Enhanced nav & icon hovers ——— */
.brand-mark {
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.brand:hover .brand-mark {
  border-color: var(--shrimp);
  background: var(--shrimp-pale);
  transform: scale(1.08);
}
.brand-mark::after { transition: transform .3s ease, background .3s ease; }
.brand:hover .brand-mark::after {
  background: var(--shrimp-deep);
  transform: scale(1.3);
}

nav.primary a::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--shrimp);
  border-radius: 2px;
  transition: width .3s cubic-bezier(0.16,1,0.3,1);
}
nav.primary a:hover::before { width: 100%; }

/* ——— Card hover colour shifts ——— */
.tu-cell {
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.tu-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15,27,77,0.08);
}
.tu-cell.featured:hover { background: var(--shrimp-soft); }

.pillar {
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.pillar:hover {
  background: var(--shrimp-pale) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201,127,112,0.12);
}
.pillar:hover .num { color: var(--shrimp-deep); }

.stat-card {
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15,27,77,0.07);
  background: var(--bg-warm);
}
.stat-card.pink:hover { background: var(--shrimp-soft); }

/* ——— Process steps (produit) ——— */
.process-steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
  border-radius: 6px;
  padding-left: 0;
}
.process-step:first-child { padding-top: 0; }
.process-step:last-child { border-bottom: 0; }
.process-step:hover .ps-num { color: var(--shrimp-deep); transform: scale(1.1); }
.ps-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--shrimp-pale);
  line-height: 1;
  letter-spacing: -0.02em;
  font-style: normal;
  transition: color .3s ease, transform .3s ease;
  padding-top: 4px;
  align-self: start;
}
.ps-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--royal);
  margin: 0 0 5px;
}
.ps-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 820px) {
  .process-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .ps-num { font-size: 36px; }
}

/* ——— Product cards (fraîche / vivante) ——— */
.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.product-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .4s cubic-bezier(0.16,1,0.3,1), box-shadow .4s ease;
  background: var(--bg);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(201,127,112,0.20);
}
.product-card-img {
  height: clamp(200px, 24vw, 320px);
  position: relative;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(0.16,1,0.3,1), filter .4s ease;
  filter: saturate(0.95);
}
.product-card:hover .product-card-img img { transform: scale(1.06); filter: saturate(1.05); }
.product-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,27,77,0.55) 100%);
}
.product-card-info {
  padding: 24px 28px;
  background: var(--bg);
  border-top: 2px solid var(--shrimp-pale);
  transition: border-color .3s ease;
}
.product-card:hover .product-card-info { border-color: var(--shrimp); }
.product-card-info .pc-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shrimp-deep);
  margin-bottom: 8px;
}
.product-card-info h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--royal);
  margin: 0 0 16px;
}
.product-card-specs {
  display: grid;
  gap: 8px;
}
.pc-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.pc-spec:last-child { border-bottom: 0; }
.pc-spec .pcs-k { color: var(--muted); }
.pc-spec .pcs-v { color: var(--royal); font-weight: 500; }
@media (max-width: 820px) {
  .product-cards { grid-template-columns: 1fr; }
}

/* ——— Floating pulse on hero CTA ——— */
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.btn-primary {
  position: relative;
  overflow: visible;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: var(--shrimp);
  opacity: 0;
  transition: opacity .2s ease;
}
.btn-primary:hover::before { opacity: 0; }

/* ——— Animated underline on section eyebrows ——— */
.eyebrow {
  position: relative;
  display: inline-flex;
}

/* ——— Link hover colour on tu-cell ——— */
.tu-cell a {
  position: relative;
  color: var(--royal);
  transition: color .25s ease, gap .2s ease, letter-spacing .25s ease;
}
.tu-cell:hover a { color: var(--shrimp-deep); letter-spacing: 0.01em; }

/* ——— Team cards ——— */
.team-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: clamp(320px, 34vw, 420px);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: default;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(15,27,77,0.18);
}
.team-card-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 15%;
  mix-blend-mode: multiply;   /* fond blanc → transparent sur la couleur de carte */
  display: block;
  transition: transform .6s ease;
}
/* Mobile : recadrage sur le visage, supprime le fond blanc */
@media (max-width: 900px) {
  .team-card-photo img {
    object-fit: cover;
    object-position: center 10%;
    mix-blend-mode: normal;
  }
}
.team-card:hover .team-card-photo img { transform: scale(1.05); }
.team-card-initials {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 56px;
  color: var(--royal);
  background: var(--bg-warm);
}
.team-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  padding: 52px 24px 26px;
  background: linear-gradient(to top, rgba(15,27,77,0.88) 0%, rgba(15,27,77,0.5) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card-role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shrimp);
}
.team-card-name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  margin: 0;
  color: #F5F4F0;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.team-card-sep {
  width: 24px;
  height: 1px;
  background: var(--shrimp);
  margin: 4px 0;
  opacity: 0.6;
}
.team-card-desc {
  font-size: 13px;
  color: rgba(245,244,240,0.55);
  line-height: 1.55;
  margin: 0;
}

/* ——— Responsive grid utilities ——— */
.grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-investor { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-4col { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-3col { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 540px) {
  .grid-4col { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-3col { grid-template-columns: 1fr; gap: 14px; }
  .grid-2col { grid-template-columns: 1fr; gap: 14px; }
  .grid-investor { grid-template-columns: 1fr; gap: 14px; }
}

/* ——— Global mobile overflow guard ——— */
section, header, footer, main {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ——— Mobile padding — définitif ——— */
@media (max-width: 640px) {
  :root {
    --gutter: 24px; /* minimum 24px garanti sur mobile */
  }
  .wrap {
    /* Force la priorité sur iOS avec safe-area */
    padding-left: max(24px, calc(env(safe-area-inset-left, 0px) + 20px)) !important;
    padding-right: max(24px, calc(env(safe-area-inset-right, 0px) + 20px)) !important;
  }
  section { padding: clamp(28px, 6vw, 52px) 0; }

  .home-hero h1 {
    font-size: clamp(32px, 8.5vw, 52px);
    letter-spacing: -0.018em;
  }
  .home-hero .lede {
    font-size: 15px;
    max-width: 100%;
  }
  .home-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hero-stat-num { font-size: 22px; }

  .terroir-pills { gap: 8px; }
  .terroir-pill { font-size: 12px; padding: 8px 14px; }

  .pf-grid { grid-template-columns: 1fr !important; }
  .anchor-grid { grid-template-columns: 1fr !important; }
  .ras-grid { grid-template-columns: 1fr !important; }

  .product-cards { grid-template-columns: 1fr !important; }

  .cta-final { margin: 0 !important; border-radius: 0 !important; }
  .cta-final-grid { grid-template-columns: 1fr !important; }
  .cta-final .actions { justify-content: flex-start !important; }

  .section-head { grid-template-columns: 1fr !important; gap: 16px !important; }
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }

  .pillars { grid-template-columns: 1fr !important; }
  .stats { grid-template-columns: 1fr 1fr !important; }
  .specs { grid-template-columns: 1fr 1fr !important; }
  .engagements { grid-template-columns: 1fr !important; }

  .page-hero h1 { font-size: clamp(36px, 9vw, 56px); }
  .page-hero .lede { font-size: 16px; }

  .process-step { grid-template-columns: 48px 1fr; gap: 12px; }
  .ps-num { font-size: 32px; }

  .ras-steps { gap: 0; }
  .ras-param-row .rp-val { font-size: 16px; }

  /* CTA inline blocks on mobile */
  [style*="grid-template-columns: 1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Opportunité market cards */
  .market-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 12px 12px; }
  .hero-stat-num { font-size: 19px; }
  .hero-stat-label { font-size: 10px; }
}

/* ——— Render image placeholders ——— */
.render-placeholder { pointer-events: none; }
img:not([src=""]):not([src*="onerror"]) + .render-placeholder,
img[complete] + .render-placeholder { display: none !important; }

@media (max-width: 820px) {
  [style*="grid-template-columns:1.15fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════
   MOBILE — corrections exhaustives 640px
═══════════════════════════════════════════ */
@media (max-width: 640px) {

  /* ——— Grids inline manquants (variants sans espace après :) ——— */
  [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1.4fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1.15fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1.05fr 0.95fr"],
  [style*="grid-template-columns: 1.05fr 0.95fr"] {
    grid-template-columns: 1fr !important;
  }

  /* ——— RAS 4-col → 2-col ——— */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  /* ——— Carte géographique : empile, cache le SVG ——— */
  [style*="grid-template-columns: 1fr 1.1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1.1fr"] > div:last-child {
    display: none !important;
  }

  /* ——— J+0 timeline : 1 colonne verticale ——— */
  [style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 12px !important;
  }
  /* Cache la ligne horizontale de connexion */
  [style*="position: absolute"][style*="height: 1px"][style*="linear-gradient"] {
    display: none !important;
  }
  /* J+0 étapes : aligner à gauche sur mobile */
  [style*="grid-template-columns: repeat(5, 1fr)"] > div {
    align-items: flex-start !important;
    text-align: left !important;
  }
  [style*="grid-template-columns: repeat(5, 1fr)"] > div > div:first-child {
    margin-bottom: 10px !important;
  }

  /* ——— J+0 barre comparaison → empile ——— */
  [style*="justify-content: space-between"][style*="flex-wrap: wrap"][style*="border-radius: 10px"] {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  [style*="justify-content: space-between"][style*="flex-wrap: wrap"][style*="border-radius: 10px"] > [style*="font-size: 22px"] {
    display: none !important;
  }

  /* ——— Opportunité marché : carousel horizontal ——— */
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"] {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
  }
  [style*="grid-template-columns:1fr 1fr 1fr"] > div,
  [style*="grid-template-columns: 1fr 1fr 1fr"] > div {
    flex: 0 0 70vw !important;
    min-width: 0 !important;
    scroll-snap-align: start !important;
    padding: 28px 22px !important;
  }

  /* ——— Team cards : carousel horizontal ——— */
  .grid-3col {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    gap: 14px !important;
    padding-bottom: 12px !important;
  }
  .grid-3col > .team-card {
    flex: 0 0 70vw !important;
    min-width: 0 !important;
    height: clamp(220px, 62vw, 300px) !important;
    scroll-snap-align: start !important;
  }

  /* ——— Avancement : carousel horizontal ——— */
  .grid-4col {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
  }
  .grid-4col > div {
    flex: 0 0 76vw !important;
    min-width: 0 !important;
    scroll-snap-align: start !important;
  }

  /* ——— Section heads : empile toujours ——— */
  .section-head {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .head-meta { max-width: 100% !important; }
  .lede { font-size: 16px !important; }

  /* ——— Typographie ——— */
  h1 { font-size: clamp(38px, 9.5vw, 60px) !important; line-height: 1.05 !important; }
  h2 { font-size: clamp(42px, 11vw, 64px) !important; }
  h3 { font-size: clamp(24px, 6.5vw, 34px) !important; }

  /* ——— Hero principal — compact sur mobile ——— */
  .home-hero {
    min-height: auto !important;
  }
  .wrap.home-hero-inner {
    padding-top: clamp(20px, 4vh, 36px) !important;
    padding-bottom: clamp(20px, 4vh, 36px) !important;
    justify-content: flex-start !important;
  }

  /* ——— Page hero ——— */
  .page-hero { min-height: 52vw !important; }
  .page-hero-bg h1 { font-size: clamp(28px, 8vw, 44px) !important; }

  /* ——— CTA banner ——— */
  [style*="background: var(--shrimp)"][style*="border-radius: 6px"] {
    grid-template-columns: 1fr !important;
    padding: 32px 24px !important;
  }
  [style*="background: var(--shrimp)"][style*="border-radius: 6px"] > div:last-child {
    justify-content: flex-start !important;
  }

  /* ——— Footer ——— */
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }

  /* ——— Stat cards ——— */
  .stat-card .v { font-size: clamp(36px, 9vw, 52px) !important; }

  /* ——— Sections padding ——— */
  section { padding-top: clamp(32px, 7vw, 56px) !important; padding-bottom: clamp(32px, 7vw, 56px) !important; }
}

/* ——— Mobile slider — converted by JS ——— */
@media (max-width: 900px) {
  .mobile-slider {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    gap: 12px !important;
    padding-bottom: 4px;
    /* hide scrollbar */
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .mobile-slider::-webkit-scrollbar { display: none; }
  .mobile-slider > * {
    scroll-snap-align: start;
    flex-shrink: 0 !important;
    width: 78vw !important;
    max-width: 280px !important;
    min-height: unset;
  }
}

/* ——— Horizontal sliders (mobile) ——— */
.slider-wrap {
  position: relative;
}
/* Fade gradient showing more content on the right */
.slider-wrap::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 20px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--slider-bg, var(--bg)));
  pointer-events: none;
  z-index: 2;
}
.slider-x {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  gap: 12px;
  padding-bottom: 20px;
  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-x::-webkit-scrollbar { display: none; }
.slider-x > * {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 78vw;
  max-width: 300px;
}
/* Dots indicator */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.slider-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--shrimp-pale);
  transition: background .2s ease, width .2s ease;
  cursor: pointer;
}
.slider-dots span.active {
  background: var(--shrimp-deep);
  width: 20px;
  border-radius: 3px;
}
/* Swipe hint text — hidden */
.slider-hint { display: none !important; }


/* ——— Disable touch hover effects (no bounce on tap) ——— */
@media (hover: none) and (pointer: coarse) {
  .pillar, .stat-card, .tu-cell, .product-card,
  .eng, .hero-stat, .market-card, .terroir-pill,
  .ras-step, .produit-attr, .process-step {
    transform: none !important;
    box-shadow: none !important;
  }
  /* Keep background transitions but no translate */
  * { transition-property: background, color, border-color, opacity !important; }
}

/* ——— Timeline J+0 : défilement automatique avec ligne directrice ——— */
@media (max-width: 640px) {
  /* Ligne de connexion desktop = cachée */
  [style*="position: absolute"][style*="height: 1px"] { display: none !important; }

  /* Conteneur : flex row animé (pas de scroll manuel) */
  .timeline-steps {
    display: flex !important;
    flex-direction: row !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    gap: 0 !important;
    width: max-content !important;
    grid-template-columns: unset !important;
    position: static !important;
    /* Animation ping-pong automatique */
    -webkit-animation: tl-autoplay 16s ease-in-out 1.2s infinite alternate;
    animation:         tl-autoplay 16s ease-in-out 1.2s infinite alternate;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  /* Chaque étape = vignette 65vw */
  .timeline-steps > div {
    width: 65vw !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 12px !important;
  }

  /* Ligne continue passant par les icônes */
  .timeline-steps > div::before {
    content: '' !important;
    position: absolute !important;
    top: 14px !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: var(--shrimp) !important;
    z-index: 0 !important;
  }
  .timeline-steps > div:first-child::before { left: 50% !important; }
  .timeline-steps > div:last-child::before  { right: 50% !important; }

  /* Icône flotte au-dessus de la ligne */
  .timeline-steps > div > div:first-child {
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 12px !important;
    flex-shrink: 0 !important;
  }
}

/* Ping-pong : aller jusqu'à la dernière étape, retour */
@-webkit-keyframes tl-autoplay {
  from { -webkit-transform: translateX(0) translateZ(0); }
  to   { -webkit-transform: translateX(calc(-4 * 65vw)) translateZ(0); }
}
@keyframes tl-autoplay {
  from { transform: translateX(0) translateZ(0); }
  to   { transform: translateX(calc(-4 * 65vw)) translateZ(0); }
}

/* ═══ 1 — Révélation hero h1 mot par mot ═══ */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  margin-right: 0.28em;   /* espace entre les mots */
}
.word-wrap:last-child { margin-right: 0; }
.word {
  display: inline-block;
  animation: word-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes word-rise {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}


/* ═══ 4 — Watermark géant ═══ */
.section-wm {
  position: absolute;
  right: -2vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: clamp(100px, 20vw, 280px);
  font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  pointer-events: none; user-select: none;
  z-index: 0;
  color: var(--royal); opacity: 0.045;
  white-space: nowrap;
}
.section-wm.light { color: #F5F4F0; opacity: 0.08; }

/* ═══ 6 — H2 clip-path reveal ═══ */
h2.clip-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
h2.clip-reveal.clip-in { clip-path: inset(0 0% 0 0); }

/* ═══ 7 — Boutons magnétiques ═══ */
.btn-primary, .topbar .cta {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ——— F — Ambiance lumineuse flottante ——— */
body::before {
  content: '';
  position: fixed;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(214, 0, 122, 0.06) 0%,
    rgba(214, 0, 122, 0.02) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  top: -10vmax; left: -10vmax;
  animation: ambient-drift 20s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes ambient-drift {
  0%   { transform: translate(0%,   0%)   scale(1);    opacity: 0.6; }
  33%  { transform: translate(55%,  20%)  scale(1.25); opacity: 1;   }
  66%  { transform: translate(30%,  70%)  scale(0.9);  opacity: 0.7; }
  100% { transform: translate(70%,  40%)  scale(1.15); opacity: 0.9; }
}

/* C — Transition douce pour tilt 3D des cartes */
.team-card, .stat-card, .pillar, .market-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ——— Reduced motion ——— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
</content>
</invoke>