/* ===========================================
   MARCO BIOTECH — style.css
   Palette : café brun profond + crème + vert mousse + or doux
   Typography : Cormorant Garamond (display) + Inter (corps)
   =========================================== */

/* ---- RESET & BASE ---- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-espresso:    #1C130D;
  --color-roast:       #3B2415;
  --color-caramel:     #8B5E3C;
  --color-gold:        #C99B5F;
  --color-cream:       #F5F0E8;
  --color-oat:         #EDE7D9;
  --color-moss:        #4A5C3B;
  --color-white:       #FFFFFF;
  --color-text:        #1C130D;
  --color-text-muted:  #7A6A5A;
  --color-cherry1:     #4A1b03;
  --color-cherry2 :    #711005;
  --color-coffret :    #E0BD9F;
  --color-vert :       #66725eb8;
  --color-espressoclair: #3d1e11; 
  --color-feuille :  #222d04;
  






  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.75rem;
  --fs-3xl:  2.25rem;
  --fs-4xl:  3rem;
  --fs-5xl:  4rem;
  --fs-6xl:  5.5rem;

  --lh-tight:  1.1;
  --lh-snug:   1.3;
  --lh-normal: 1.6;
  --lh-loose:  1.8;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(28,19,13,.08);
  --shadow-md:  0 4px 16px rgba(28,19,13,.12);
  --shadow-lg:  0 12px 40px rgba(28,19,13,.16);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 88px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  line-height: var(--lh-tight);
  color: var(--color-espresso);
}

h1 { font-size: clamp(var(--fs-4xl), 7vw, var(--fs-6xl)); font-weight: 300; }
h2 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl)); font-weight: 300; }
h3 { font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl)); font-weight: 400; }
h4 { font-size: var(--fs-xl); font-weight: 500; font-family: var(--ff-body); }
h5 { font-size: var(--fs-base); font-weight: 600; font-family: var(--ff-body); }

em {
  font-style: italic;
  color: var(--color-caramel);
}

strong { font-weight: 600; }

p { line-height: var(--lh-loose); color: var(--color-text-muted); }

.section-eyebrow {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-caramel);
  margin-bottom: var(--space-3);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-desc {
  margin-top: var(--space-4);
  font-size: var(--fs-lg);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-espresso);
  color: var(--color-cream);
}

.btn-primary:hover {
  background: var(--color-roast);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid rgba(245,240,232,.4);
}

.btn-ghost:hover {
  background: rgba(245,240,232,.1);
  border-color: var(--color-cream);
}

.btn-outline {
  background: transparent;
  color: var(--color-espresso);
  border: 1.5px solid var(--color-espresso);
}

.btn-outline:hover {
  background: var(--color-espresso);
  color: var(--color-cream);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 88px;
  background: var(--color-espresso);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.navbar.scrolled {
  background: var(--color-espresso);
  box-shadow: var(--shadow-sm);
  height: 68px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-8);
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 56px;
  width: auto;
  transition: height var(--transition);
}

.navbar.scrolled .logo img { height: 42px; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
  padding-left: 4rem;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(245,240,232,.6);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
  padding-bottom: 2px;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.nav-links > li:hover > a { color: var(--color-cream); }
.nav-links > li:hover > a::after { width: 100%; }

.navbar.scrolled .nav-links > li > a { color: var(--color-text-muted); }
.navbar.scrolled .nav-links > li:hover > a { color: var(--color-espresso); }

/* Chevron */
.nav-chevron {
  font-size: 8px;
  opacity: 0.4;
  transition: transform var(--transition);
  margin-top: 1px;
}
.nav-item-dropdown:hover .nav-chevron { transform: rotate(180deg); }

/* CTA */
.nav-cta {
  background: var(--color-espresso) !important;
  color: var(--color-cream) !important;
  padding: 7px 16px !important;
  border-radius: var(--radius-full);
  font-weight: 500 !important;
  border: 1px solid rgba(245,240,232,.1);
}
.navbar.scrolled .nav-cta {
  background: var(--color-espresso) !important;
  color: var(--color-cream) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--color-caramel) !important; }

.nav-cta-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(245,240,232,.1);
  border: 1px solid rgba(245,240,232,.15);
  color: var(--color-cream) !important;
  font-size: 22px;
  transition: background var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.nav-cta-icon:hover {
  background: rgba(245,240,232,.2) !important;
  border-color: rgba(245,240,232,.3) !important;
}

.navbar.scrolled .nav-cta-icon {
  background: rgba(28,19,13,.08);
  border-color: rgba(28,19,13,.15);
  color: var(--color-espresso) !important;
}

.nav-cta-icon::after { display: none !important; }
/* Langue */
.nav-lang a {
  font-size: 9px !important;
  color: rgba(245,240,232,.35) !important;
  letter-spacing: 0.1em;
}
.nav-lang a:hover { color: rgba(245,240,232,.7) !important; }

/* ---- NAVBAR SUR FOND CLAIR ---- */
.navbar--light .nav-links > li > a {
  color: var(--color-text-muted);
}s

.navbar--light .nav-links > li:hover > a {
  color: var(--color-espresso);
}

.navbar--light .burger span {
  background: var(--color-espresso);
}

.navbar--light .nav-cta {
  background: var(--color-espresso) !important;
  color: var(--color-cream) !important;
}

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.burger span {
  display: block;
  height: 1.5px;
  background: var(--color-cream);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger span:nth-child(1) { width: 24px; }
.burger span:nth-child(2) { width: 18px; }
.burger span:nth-child(3) { width: 24px; }

.navbar.scrolled .burger span { background: var(--color-espresso); }

.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 24px; }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ---- DROPDOWN 3 COLONNES ---- */
.dropdown-3col {
  display: flex;
  gap: 0;
  padding: var(--space-6) 0;
  min-width: 800px;
  right: -300px;
}

.dd-col {
  flex: 1;
  padding: 0 var(--space-6);
  border-right: 1px solid rgba(28,19,13,.07);
}

.dd-col:last-child { border-right: none; }

.dd-col-title {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-caramel);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(139,94,60,.15);
}

.dd-item-simple {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(28,19,13,.05);
}

.dd-item-simple:last-child { border-bottom: none; }

.dd-item-simple:hover { background: rgba(28,19,13,.03); }

.dd-item-simple .dd-thumb {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.dd-item-simple .dd-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-item-simple .dd-text strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-espresso);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dd-item-simple .dd-text span {
  font-size: 10.5px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.dd-item-simple:hover .dd-text strong { color: var(--color-caramel); }

.dd-col-soon {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(28,19,13,.3);
  font-style: italic;
  padding: var(--space-4) 0;
  line-height: var(--lh-loose);
}

.dd-col-desc {
  font-size: .72rem;
  color: rgba(28,19,13,.35);
  line-height: 1.6;
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
}

/* ---- DROPDOWN ---- */
.nav-item-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  transform: translateY(-6px) scaleY(0.94);
  transform-origin: top right;
  background: var(--color-oat);
  border-radius: var(--radius-md);
  padding: var(--space-2) 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 24px 48px rgba(28,19,13,.22);
  z-index: 101;
}

.nav-item-dropdown:hover .dropdown,
.nav-item-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scaleY(1);
}

/* Dropdown standard — autres onglets */
.dropdown li { width: 100%; }

.dropdown li a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 16px !important;
  font-size: var(--fs-base) !important;
  color: var(--color-text-muted) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  border-bottom: 1px solid rgba(28,19,13,.06);
  transition: background var(--transition) !important;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: rgba(28,19,13,.04) !important; }
.dropdown li a::after { display: none !important; }

.dd-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 11px;
  color: var(--color-oat);
  letter-spacing: 0.04em;
}

.dd-text { display: flex; flex-direction: column; }

.dd-text strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-espresso);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dd-text span {
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-top: 1px;
}

/* ---- DROPDOWN LARGE (produits) ---- */
.dropdown.dropdown-wide {
  width: 520px;
  padding: 0;
  display: flex;
  overflow: hidden;
}

/* Colonne gauche */
.dd-list {
  flex: 1;
  padding: var(--space-2) 0;
}

.dd-item {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid rgba(28,19,13,.07);
  transition: background 0.15s;
  text-decoration: none;
}
.dd-item:last-child { border-bottom: none; }
.dd-item:hover { background: rgba(28,19,13,.05); }
.dd-item:hover .dd-arrow { opacity: 1; transform: translateX(0); }

.dd-item--cta {
  border-top: 1px solid rgba(28,19,13,.1);
  margin-top: 4px;
  padding-top: 14px;
}

.dd-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dd-item-name {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-espresso);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dd-item--cta .dd-item-name { color: var(--color-caramel); }

.dd-arrow {
  font-size: 10px;
  color: var(--color-caramel);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.18s ease;
}

.dd-item--cta .dd-arrow { opacity: 1; transform: translateX(0); }

.dd-item-sub {
  font-family: var(--ff-body);
  font-size: 10.5px;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* Colonne droite — photo */
.dd-photo {
  width: 200px;
  flex-shrink: 0;
  background: var(--color-roast);
  position: relative;
  overflow: hidden;
}

.dd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.dd-photo-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
}

.dd-photo-label strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 18px;
  color: var(--color-cream);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.dd-photo-label span {
  font-family: var(--ff-body);
  font-size: 10px;
  color: rgba(245,240,232,.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 75svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 88px;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  background: var(--color-espresso);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(28,19,13,.55) 0%,
    rgba(28,19,13,.35) 50%,
    rgba(59,36,21,.6) 100%
  );
}

.hero-video-wrapper:not(:has(.hero-video[src])) {
  background: linear-gradient(135deg, var(--color-espresso) 0%, var(--color-roast) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8);
  max-width: 900px;
}

.hero-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-family: 'Antic Didone', serif;
  color: var(--color-cream);
  font-size: 3rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title em {
  color: var(--color-gold);
  font-style: italic;
}

.hero-sub {
  font-size: var(--fs-lg);
  color: rgba(245,240,232,.75);
  max-width: 560px;
  margin: 0 auto var(--space-8);
  line-height: var(--lh-loose);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(245,240,232,.6));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- STATS ---- */
.stats {
  background: var(--color-oat);
  padding: var(--space-16) 0 var(--space-24) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  border-right: 1px solid rgba(201,155,95,.4);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(var(--fs-3xl), 4vw, var(--fs-5xl));
  font-weight: 300;
  color: var(--color-espresso);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat-label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-snug);
}

/* ---- PARTNERS TICKER ---- */
.partners-ticker {
  background: var(--color-cream);
  padding: var(--space-4) 0;
  overflow: hidden;
  margin-top: var(--space-32);
}

.ticker-track {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: var(--space-6);
  animation: ticker-scroll 45s linear infinite;
}

.ticker-inner span {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-caramel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-inner span::after {
  content: '·';
  margin-left: var(--space-6);
  color: var(--color-gold);
  opacity: 0.5;
}
.ticker-inner span {
  display: flex;
  align-items: center;
  height: 48px;
}

.ticker-inner span img {
  height: 200px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 1;
  filter: none;
} 

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- PROCESS ---- */
.process {
  padding: var(--space-32) 0;
  background: var(--color-cream);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  align-items: stretch;
  position: relative;
  
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(to right, var(--color-oat), var(--color-caramel), var(--color-oat));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
  height: 100%;
  justify-content: space-between;
}

.process-step:nth-child(even) { grid-template-columns: unset; }
.process-step:nth-child(even) .step-image-wrap { order: unset; }
.process-step:nth-child(even) .step-content { order: unset; }

.step-image-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-oat);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.step-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.step-image-wrap:hover img { transform: scale(1.04); }

.step-num {
  display: block;
  font-family: 'Antic Didone', serif;
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 0.8px var(--color-caramel);
  line-height: 1;
  margin-bottom: var(--space-2);
  align-self: flex-start;
  text-align: center;
  width: 100%;
}

.step-content h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  width: 100%;
}

/* ---- COMPOSITION ---- */
.composition {
  padding: var(--space-32) 0;
  background: var(--color-white);
}

.composition-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
}

/* ---- Côtés gauche et droit ---- */
.composition-left,
.composition-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.composition-left .molecule-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  position: relative;
}

.composition-right .molecule-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  position: relative;
}

/* Traits horizontaux — barre verticale remplacée par ligne horizontale */
.composition-left .molecule-bar,
.composition-right .molecule-bar {
  flex-shrink: 0;
  width: var(--pct, 50%);
  max-width: 120px;
  height: 1px;
  border-radius: 0;
  background: var(--color-gold);
  opacity: .6;
  position: relative;
}

.composition-left .molecule-bar::after,
.composition-right .molecule-bar::after { display: none; }

/* Texte gauche aligné à droite */
.composition-left .molecule-info { text-align: right; }
.composition-right .molecule-info { text-align: left; }

.molecule-info strong {
  display: block;
  font-size: var(--fs-base);
  color: var(--color-espresso);
  margin-bottom: var(--space-1);
}

.molecule-info span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ---- Centre — grain ---- */
.composition-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grain-img {
  width: 280px;
  flex-shrink: 0;
}

.grain-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Trait du haut — caféine ---- */
.composition-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-8);
}

.composition-top-line {
  width: 1px;
  height: 60px;
  background: var(--color-gold);
  opacity: .6;
  margin-bottom: var(--space-4);
}

.composition-top .molecule-info strong {
  text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .composition-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .composition-left, .composition-right {
    display: none;
  }
  .composition-top { display: none; }
}

.molecules-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.molecule-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.molecule-bar {
  flex-shrink: 0;
  width: 4px;
  height: 48px;
  border-radius: 2px;
  background: var(--color-oat);
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}

.molecule-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--pct, 50%);
  background: linear-gradient(to top, var(--color-caramel), var(--color-gold));
  transition: height 1.2s ease;
}

.molecule-info strong {
  display: block;
  font-size: var(--fs-base);
  color: var(--color-espresso);
  margin-bottom: var(--space-1);
}

.molecule-info span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ---- CTA COFFEE SHOP ---- */
.cta-coffeeshop {
  background: var(--color-moss);
  padding: var(--space-16) 0;
}

.cta-coffeeshop-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta-text h2 {
  color: var(--color-cream);
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-3);
}

.cta-text p { color: rgba(245,240,232,.75); max-width: 500px; }

.cta-coffeeshop .btn-primary {
  background: var(--color-cream);
  color: var(--color-moss);
  flex-shrink: 0;
}

.cta-coffeeshop .btn-primary:hover { background: var(--color-oat); }

/* ---- PRODUCTS ---- */
.products {
  padding: var(--space-32) 0;
  background: var(--color-cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-oat);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-moss);
  color: var(--color-cream);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.product-badge--soon { background: var(--color-caramel); }

.product-info { padding: var(--space-6); }

.product-info h3 {
  font-size: var(--fs-3xl);
  font-weight: 300;
  margin-bottom: var(--space-1);
}

.product-dot { color: var(--color-gold); }

.product-type {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-caramel);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}

.product-tags li {
  font-size: var(--fs-xs);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--color-oat);
  color: var(--color-caramel);
  font-weight: 500;
}

/* ---- PLACEHOLDER IMAGES ---- */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-oat);
}

.placeholder-content {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.placeholder-icon {
  display: block;
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-2);
}

/* ---- COFFEE SHOPS ---- */
.coffeeshops {
  padding: var(--space-32) 0;
  background: var(--color-oat);
}

.coffeeshops-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.coffeeshop-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.coffeeshop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.coffeeshop-img { aspect-ratio: 1; }

.coffeeshop-info { padding: var(--space-4); }

.coffeeshop-info h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-espresso);
  margin-bottom: var(--space-1);
}

.coffeeshop-info p { font-size: var(--fs-sm); }

/* ---- FORMS ---- */
.partner-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

.partner-form-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.partner-form-header h3 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-espresso);
}

input, select, textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--color-oat);
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 3px rgba(139,94,60,.12);
}

input.error, select.error, textarea.error { border-color: #C0392B; }

textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-3);
}

.partner-form, .tech-form, #mainContactForm {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-success {
  text-align: center;
  padding: var(--space-8);
  background: rgba(74,92,59,.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(74,92,59,.2);
}

.form-success span {
  display: block;
  font-size: var(--fs-3xl);
  color: var(--color-moss);
  margin-bottom: var(--space-3);
}

.form-success p {
  font-size: var(--fs-lg);
  color: var(--color-espresso);
}

/* ---- TECHNOLOGY ---- */
.technology {
  padding: var(--space-32) 0;
  background: var(--color-espresso);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: var(--space-16);
  align-items: start;
}

.tech-content .section-eyebrow { color: var(--color-gold); }
.tech-content h2 { color: var(--color-cream); }
.tech-content p { color: rgba(245,240,232,.7); margin-bottom: var(--space-6); }

.tech-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.tech-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(245,240,232,.85);
  font-size: var(--fs-sm);
}

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201,155,95,.2);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.tech-form-toggle h4 { color: var(--color-cream); font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.tech-form-toggle p { color: rgba(245,240,232,.55); font-size: var(--fs-sm); }

.tech-form-wrap {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.tech-form-wrap h4 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-6);
  color: var(--color-espresso);
}

/* ---- STORY ---- */
.story {
  padding: var(--space-32) 0;
  background: var(--color-cream);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto var(--space-24);
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-12);
  padding-left: var(--space-8);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-8));
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid var(--color-cream);
  box-shadow: 0 0 0 2px var(--color-gold);
}

.timeline-date {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 300;
  color: var(--color-caramel);
  margin-bottom: var(--space-2);
}

.timeline-content h4 { margin-bottom: var(--space-2); color: var(--color-espresso); }

.values-section { margin-bottom: var(--space-24); }

.values-section h3 {
  font-size: var(--fs-3xl);
  text-align: center;
  margin-bottom: var(--space-12);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.value-card img,
.value-placeholder-img {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
  object-fit: cover;
  width: 100%;
}

.value-placeholder-img { background: var(--color-oat); display: flex; align-items: center; justify-content: center; }
.value-card h4 { margin-bottom: var(--space-3); color: var(--color-espresso); }

.team-section { margin-bottom: var(--space-24); }

.team-section h3 {
  font-size: var(--fs-3xl);
  text-align: center;
  margin-bottom: var(--space-12);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.team-member { text-align: center; }

.team-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-4);
  width: 140px;
  height: 140px;
  border: 3px solid var(--color-oat);
}

.team-member h5 { font-size: var(--fs-base); color: var(--color-espresso); margin-bottom: var(--space-1); }
.team-member p { font-size: var(--fs-sm); }

.press-section h3 {
  font-size: var(--fs-3xl);
  text-align: center;
  margin-bottom: var(--space-12);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.press-item {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--color-gold);
}

.press-quote {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--color-espresso);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-4);
}

.press-source {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-caramel);
  text-transform: uppercase;
}

/* ---- CONTACT ---- */
.contact {
  padding: var(--space-32) 0;
  background: var(--color-oat);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.jobs-section h3 { font-size: var(--fs-3xl); margin-bottom: var(--space-8); }

.job-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  gap: var(--space-4);
}

.job-header h4 { font-size: var(--fs-base); color: var(--color-espresso); margin-bottom: var(--space-1); }

.job-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-caramel);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.job-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-oat);
  border: none;
  cursor: pointer;
  font-size: var(--fs-xl);
  color: var(--color-caramel);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.job-toggle:hover { background: var(--color-espresso); color: var(--color-cream); }
.job-toggle[aria-expanded="true"] { background: var(--color-espresso); color: var(--color-cream); transform: rotate(45deg); }

.job-body {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-oat);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.jobs-open-call {
  font-size: var(--fs-sm);
  color: var(--color-caramel);
  font-style: italic;
  margin-top: var(--space-4);
}

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 { font-size: var(--fs-3xl); margin-bottom: var(--space-8); }

/* ---- CONCEPT ---- */
.concept-section {
  padding: var(--space-32) 0;
  background: var(--color-cream);
}

.concept-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: 0 var(--space-6);
}

/* --- Colonne photo --- */
.concept-photo {
  position: relative;
  flex: 1;
}

.concept-photo-img {
  width: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.concept-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-caramel);
  background: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.callout-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}

.callout-top    { top: 8%;   right: -8%; }
.callout-mid    { top: 46%;  left: -12%; }
.callout-bottom { bottom: 6%; right: -6%; }

/* --- Colonne texte --- */
.concept-text {
  flex: 1;
}

.concept-text h2 {
  margin-bottom: var(--space-4);
}

.concept-text > p {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-4);
}

/* --- Rectangle offre --- */
.concept-box {
  margin-top: var(--space-8);
  padding: var(--space-8);
  border: 1px solid var(--color-oat);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.concept-box-title {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-caramel);
  margin-bottom: var(--space-6);
  text-align: center;
}

/* --- Steps type Capillum : rectangles fins, numéro + texte --- */
.concept-steps {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-8);
}

.concept-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-oat);
}

.concept-step:last-child {
  border-bottom: none;
}

.concept-step-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-oat);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-caramel);
}

.concept-step-icon svg {
  width: 22px;
  height: 22px;
}

.concept-step-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.concept-step-text strong {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-espresso);
}

.concept-step-text span {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-normal);
}

/* ---- WHY ---- */
.why-section {
  padding: var(--space-32) 0;
  background: var(--color-cream);
}

.why-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.why-grid {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 var(--space-6) !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--space-6) !important;
}

.why-card {
  min-width: 0;
}

.why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-caramel);
}

.why-icon svg {
  width: 46px;
  height: 46px;
}

.why-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.why-card p {
  font-size: var(--fs-sm);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer prix + CTA --- */
.concept-box-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-oat);
}

.concept-price {
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 300;
  color: var(--color-caramel);
  margin: 0;
}

.concept-price span {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  display: block;
  margin-top: 2px;
}

.btn-oil {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-cream);
  background: linear-gradient(135deg, var(--color-caramel) 0%, var(--color-gold) 100%);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(139,94,60,.35);
}

.btn-oil:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(139,94,60,.45);
}

@media (max-width: 480px) {
  .concept-box-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .btn-oil {
    width: 100%;
    justify-content: center;
  }
}

/* --- Bandeau défilant --- */
.marquee {
  margin-top: var(--space-16);
  overflow: hidden;
  background: var(--color-espresso);
  padding: var(--space-4) 0;
  border-radius: var(--radius-md);
}

.marquee-track {
  display: flex;
  gap: var(--space-4);
  white-space: nowrap;
  animation: scroll-marquee 20s linear infinite;
}  

.ticker-inner span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
}

.ticker-inner span svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-caramel);
}

/* ---- MAP PARTENAIRES ---- */
.map-section {
  padding: var(--space-32) 0;
  background: var(--color-oat);
}

#partners-map {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

/* Personnalisation des popups Leaflet pour matcher la charte */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.leaflet-popup-content {
  font-family: var(--ff-body);
  margin: var(--space-3) var(--space-4);
}

.popup-shop-name {
  font-weight: 600;
  color: var(--color-espresso);
  font-size: var(--fs-base);
  margin-bottom: 4px;
  display: block;
}

.popup-shop-address {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.leaflet-popup-tip { background: var(--color-white); }



/* ---- FOOTER ---- */
.footer {
  background: var(--color-espresso);
  color: var(--color-cream);
  padding: var(--space-24) 0 var(--space-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(245,240,232,.1);
}

.footer-brand .logo-mark {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-brand .logo-dot { color: var(--color-gold); }

.footer-brand p {
  color: rgba(245,240,232,.5);
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
  margin: var(--space-4) 0 var(--space-6);
}

.footer-socials { display: flex; gap: var(--space-4); }

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,240,232,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,240,232,.6);
  transition: all var(--transition);
}

.footer-socials a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201,155,95,.1);
}

.footer-socials svg { width: 18px; height: 18px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-col h5 {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,.4);
  margin-bottom: var(--space-5);
  font-family: var(--ff-body);
}

.footer-col li { margin-bottom: var(--space-3); }

.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(245,240,232,.6);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--color-cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(245,240,232,.3);
  line-height: 1;
}

/* ---- MODALS ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,19,13,.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  animation: fadeIn 0.2s ease;
}

.modal-overlay[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-oat);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close:hover { background: var(--color-espresso); color: var(--color-cream); }

.modal-box h2 { font-size: var(--fs-3xl); margin-bottom: var(--space-6); }

.modal-box p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
}

.faq-list details {
  border-bottom: 1px solid var(--color-oat);
  padding: var(--space-4) 0;
}

.faq-list summary {
  font-weight: 500;
  cursor: pointer;
  color: var(--color-espresso);
  font-size: var(--fs-base);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list summary::after {
  content: '+';
  font-size: var(--fs-xl);
  color: var(--color-caramel);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-list details[open] summary::after { content: '−'; }

.faq-list details p { margin-top: var(--space-3); color: var(--color-text-muted); }

/* ===================================================
   RESPONSIVE
   =================================================== */

/* --- Tablet (≤ 1024px) --- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(201,155,95,.2); }

  .composition-layout { grid-template-columns: 1fr; }
  .grain-circle { max-width: 300px; margin: 0 auto; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid .product-card:last-child { grid-column: 1 / -1; max-width: 400px; margin: 0 auto; }

  .coffeeshops-grid { grid-template-columns: repeat(2, 1fr); }

  .tech-layout { grid-template-columns: 1fr; }
  .tech-form-wrap { max-width: 600px; }

  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid .value-card:last-child { grid-column: 1 / -1; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .press-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }

  .process-steps { grid-template-columns: repeat(2, 1fr); }

  .cta-coffeeshop-inner { flex-direction: column; text-align: center; }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .burger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(245,240,232,.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) 0 var(--space-8);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
    margin-left: 0;
    padding-left: 0;
  }

  .nav-links.open { transform: translateY(0); }

  .nav-links li { width: 100%; }

  .nav-links > li > a {
    display: block;
    padding: var(--space-4) var(--space-8);
    color: var(--color-espresso) !important;
    font-size: var(--fs-sm);
    border-bottom: 1px solid var(--color-oat);
  }

  .nav-item-dropdown:hover .dropdown { display: none; }
  .nav-lang { display: none; }

  .nav-cta {
    margin: var(--space-4) var(--space-8) 0;
    border-radius: var(--radius-full) !important;
    text-align: center;
  }

  .nav-inner { padding: 0 var(--space-4); }

  .hero { padding-top: 60px; }
  .hero-title { font-size: clamp(var(--fs-3xl), 10vw, var(--fs-4xl)); }
  .hero-actions { flex-direction: column; align-items: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .stat-item { border-right: none; padding: var(--space-4); }

  .process-steps { grid-template-columns: repeat(2, 1fr); }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid .product-card:last-child { grid-column: auto; max-width: 100%; }

  .coffeeshops-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }
  .values-grid .value-card:last-child { grid-column: auto; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-nav .footer-col:last-child { grid-column: 1 / -1; }

  .footer-bottom { flex-direction: column; gap: var(--space-2); text-align: center; }

  .partner-form-wrap { padding: var(--space-6); }
  .contact-form-wrap { padding: var(--space-6); }

  .modal-box { padding: var(--space-6); }

  .section-header { margin-bottom: var(--space-12); }

  .cta-text h2 { font-size: var(--fs-2xl); }
}

/* --- Small mobile (≤ 480px) --- */
@media (max-width: 480px) {
  .coffeeshops-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-nav .footer-col:last-child { grid-column: auto; }
}

/* ---- Respect prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .ticker-inner { animation: none; }
}

u {
  text-decoration: none;
  background: linear-gradient(to bottom, transparent 60%, rgba(201,155,95,.3) 60%);
  padding-bottom: 2px;


}

#valeurs {
  scroll-margin-top: 150px;
}