/* ==========================================================================
   Trescarte — Home page
   Palette : vert #00713E · bordeaux #821F2A · jaune #E9C838 · noir/blanc
   Polices : Poppins (titres, Google Fonts) · Inter (texte courant)
   Repères mesurés sur la maquette (référence 1920px de large)
   ========================================================================== */

:root {
  --green: #00713E;
  --green-dark: #00542F;
  --maroon: #821F2A;
  --yellow: #E9C838;
  --black: #171712;
  --white: #FFFFFF;
  --cream: #F4EDDD;
  --ink-soft: #2E2E28;
  --border-soft: rgba(20, 20, 15, 0.08);

  --font-display: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", "Poppins", sans-serif;

  --container-w: 1920px;
  --gutter: clamp(20px, 3.9vw, 75px);
  --radius-lg: clamp(14px, 1.25vw, 24px);
  --radius-xl: clamp(18px, 1.7vw, 32px);
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  margin: 0 0 0.5em;
  color: var(--green);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; line-height: 1.6; color: var(--ink-soft); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(48px, 5vw, 96px) 0; }

.section-title {
  font-size: clamp(30px, 3.6vw, 66px);
}
.section-title.center { text-align: center; }

.title-divider {
  display: block;
  width: clamp(90px, 8vw, 150px);
  height: auto;
  margin: 0 auto clamp(36px, 4vw, 72px);
}

.section-lead {
  max-width: 640px;
  font-size: clamp(15px, 1.05vw, 20px);
}
.section-lead.center { margin: 0 auto clamp(40px, 4.5vw, 64px); text-align: center; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: var(--white);
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: clamp(12px, 1vw, 17px) clamp(20px, 1.8vw, 32px);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14px, 0.95vw, 18px);
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 113, 62, 0.28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 18px);
  transition: gap .18s ease, color .18s ease;
}
.text-link:hover { gap: 12px; color: var(--green); font-weight: 700; }

.cta-center { text-align: center; margin-top: clamp(28px, 3vw, 48px); }

/* ==========================================================================
   HERO + HEADER (overlay)
   ========================================================================== */

.hero-wrap {
  position: relative;
  z-index: 50;
  width: 100%;
  line-height: 0;
}

.hero-img {
  width: 100%;
  aspect-ratio: 1920 / 1098;
  object-fit: cover;
  object-position: center 40%;
}

/* Monogramme "T" en filigrane discret dans les héros de page --------------- */
.hero-watermark {
  position: absolute;
  right: clamp(14px, 1.8vw, 30px);
  bottom: clamp(14px, 1.8vw, 30px);
  width: clamp(110px, 9vw, 180px);
  height: auto;
  opacity: 0.16;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
@media (max-width: 720px) {
  .hero-watermark { display: none; }
}
.hero-watermark--left { right: auto; left: clamp(14px, 1.8vw, 30px); }
.hero-watermark--dark { filter: none; opacity: 0.1; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: box-shadow .25s ease, backdrop-filter .25s ease;
  line-height: normal; /* .hero-wrap impose line-height:0 → les liens du menu perdaient leur hauteur */
}

.site-header.is-scrolled {
  position: fixed;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
}

.header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: clamp(14px, 2vw, 30px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  height: clamp(52px, 6vw, 108px);
  width: auto;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--green);
  border-radius: var(--radius-pill);
  padding: clamp(6px, 0.55vw, 11px);
}

.main-nav > ul > li > a {
  display: block;
  padding: clamp(9px, 0.9vw, 17px) clamp(14px, 1.35vw, 26px);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(12.5px, 1.05vw, 20px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: background .18s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 15px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 2.55vw, 49px);
  height: clamp(30px, 2.55vw, 49px);
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  flex-shrink: 0;
  transition: background .18s ease, transform .18s ease;
}
.icon-btn svg { width: 46%; height: 46%; }
.icon-btn:hover { background: var(--green-dark); transform: translateY(-2px); }

.icon-btn-light {
  background: var(--green);
}
.icon-btn-light:hover { background: var(--green-dark); transform: translateY(-2px); }

/* Méga-menu "Produits" ------------------------------------------------------ */

.nav-has-mega { position: static; }

.nav-mega-trigger {
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.nav-mega-caret {
  font-size: 0.65em;
  line-height: 1;
  transition: transform .2s ease;
}
.nav-has-mega:hover .nav-mega-caret,
.nav-has-mega.is-open .nav-mega-caret {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(1180px, 94vw);
  margin-top: clamp(14px, 1.6vw, 22px);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
  padding: clamp(26px, 2.4vw, 44px) clamp(26px, 2.6vw, 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}

/* Plus de « pont » invisible : il était ancré au bas de l'en-tête et ouvrait le menu
   quand la souris passait à la frontière blanc/vert. La continuité du survol est
   assurée par une courte temporisation à la fermeture (main.js). */
.nav-has-mega::after { content: none; }

.nav-has-mega:hover .mega-menu,
.nav-has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 36px);
}

.mega-col-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: var(--cream);
  overflow: hidden;
  margin-bottom: clamp(12px, 1.2vw, 18px);
}
.mega-col-thumb { position: relative; }
.mega-col-thumb img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 90%;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(-6px 6px 10px rgba(0,0,0,0.16));
}
.mega-col-thumb-soon {
  background: var(--cream);
}
.mega-col-thumb-soon span {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14px;
}

.mega-col-title a {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(13.5px, 0.95vw, 16px);
  color: var(--black);
  margin-bottom: 10px;
}
.mega-col-title a:hover { color: var(--green); }

.mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mega-col ul li a {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.mega-col ul li a:hover {
  color: var(--green);
  text-decoration: underline;
}
.mega-col-soon {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0;
}

.mega-menu-foot {
  margin-top: clamp(20px, 2vw, 32px);
  padding-top: clamp(16px, 1.6vw, 24px);
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}

/* Petit menu déroulant "Nos marques" ---------------------------------------- */

.nav-has-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex !important; align-items: center; gap: 6px; }
.nav-dropdown-caret { font-size: 0.65em; line-height: 1; transition: transform .2s ease; }
.nav-has-dropdown:hover .nav-dropdown-caret,
.nav-has-dropdown.is-open .nav-dropdown-caret { transform: rotate(180deg); }

/* Pont invisible : comble l'espace entre le déclencheur et le panneau pour que
   le survol reste continu quand la souris descend vers le menu. */
.nav-has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: clamp(14px, 1.6vw, 22px);
  z-index: 199;
  pointer-events: none; /* inactif tant que le menu est fermé, sinon cette zone invisible ouvre le menu */
}
.nav-has-dropdown:hover::after,
.nav-has-dropdown.is-open::after { pointer-events: auto; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  margin-top: clamp(14px, 1.6vw, 22px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 200;
}
.nav-has-dropdown:hover .dropdown-menu,
.nav-has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dropdown-menu ul li a {
  display: block;
  padding: 11px 18px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.dropdown-menu ul li a:hover { background: var(--cream); color: var(--green); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--black);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ribbon ----------------------------------------------------------------- */

/* Le héros ne crée plus de contexte d'empilement ici : le ruban passe au-dessus de la vidéo,
   tandis que le header (100) et le méga-menu (200) restent au-dessus du ruban. */
.hero-wrap:has(+ .ribbon-wrap) { z-index: auto; }
.ribbon-wrap {
  position: relative;
  z-index: 60;
  overflow: visible;
  margin-top: clamp(24px, 3vw, 58px);
  margin-bottom: clamp(-90px, -4.5vw, -40px);
}

.ribbon {
  position: relative;
  background: var(--green-dark);
  transform: rotate(-4deg) scale(1.05);
  padding: clamp(10px, 1.3vw, 24px) 0;
  overflow: hidden;
  display: flex;
}

.ribbon-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  animation: scroll-left 34s linear infinite;
  white-space: nowrap;
}

.ribbon-track span {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: capitalize;
  letter-spacing: 0.05em;
  color: var(--white);
  font-size: clamp(20px, 1.9vw, 36px);
  padding: 0 18px;
}
.ribbon-track .dot {
  color: var(--yellow);
  padding: 0 22px;
  font-weight: 400;
}

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

@media (prefers-reduced-motion: reduce) {
  .ribbon-track, .produits-track { animation: none; }
}

/* ==========================================================================
   HISTOIRE
   ========================================================================== */

.histoire {
  padding-top: clamp(90px, 9vw, 168px);
}

.histoire-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 78px);
  align-items: center;
}

.histoire-text h2 {
  font-size: clamp(24px, 3.05vw, 56px);
  max-width: 560px;
}

.histoire-media {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 1.5vw, 28px);
}
.histoire-media img {
  width: clamp(210px, 21vw, 380px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   CHIFFRES / TUILES
   ========================================================================== */

.chiffres { padding-top: clamp(24px, 3vw, 44px); padding-bottom: clamp(24px, 3vw, 44px); }

.tiles-row {
  display: grid;
  gap: clamp(12px, 2.4vw, 46px);
  margin-bottom: clamp(12px, 2.4vw, 46px);
}
.tiles-row-3 { grid-template-columns: 1.9fr 1fr 2.13fr; }
.tiles-row-4 { grid-template-columns: 0.81fr 1.43fr 1fr 1.73fr; }

/* Slide-in reveal on scroll: top row from the right, bottom row from the left */
.tiles-row-3,
.tiles-row-4 {
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 0.8, 0.24, 1), opacity 0.9s ease;
  will-change: transform, opacity;
}
.tiles-row-3 { transform: translateX(9vw); }
.tiles-row-4 { transform: translateX(-9vw); transition-delay: 0.12s; }
.tiles-row-3.in-view,
.tiles-row-4.in-view {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .tiles-row-3,
  .tiles-row-4 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(120px, 8.5vw, 165px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-color p {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 46px);
  line-height: 1.2;
  text-align: center;
  padding: 16px;
}
.tile-maroon { background: var(--maroon); }
.tile-green { background: var(--green); }
.tile-yellow { background: var(--yellow); }
.tile-yellow p { color: var(--white); }

.tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.tile-photo { background: var(--cream); }

.tile-caption { align-items: center; justify-content: center; }
.tile-caption-text {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.3vw, 42px);
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

/* ==========================================================================
   GAMME COMPLETE
   ========================================================================== */

.produits-track-wrap {
  display: flex;
  gap: clamp(18px, 2vw, 38px);
  overflow: hidden;
  width: auto; /* auto + marges négatives = bord à bord des deux côtés */
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}

.produits-track {
  display: flex;
  gap: clamp(18px, 2vw, 38px);
  flex-shrink: 0;
  width: max-content;
  animation: scroll-left 42s linear infinite;
}

.produits-track-wrap:hover .produits-track {
  animation-play-state: paused;
}

.produit-card {
  flex: 0 0 auto;
  width: clamp(210px, 21vw, 380px);
}

.produit-card h3 {
  color: var(--black);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 21px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-top: clamp(14px, 1.4vw, 24px);
}
.produit-card p { font-size: clamp(13.5px, 0.85vw, 16px); }

.produit-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.produit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  pointer-events: none;
  user-select: none;
}
.produit-card:hover .produit-img img { transform: scale(1.06); }

/* ==========================================================================
   BANDEAU CERTIFICATIONS
   ========================================================================== */

.certif-strip {
  background: var(--maroon);
  padding: clamp(32px, 3.4vw, 64px) 0;
}
.certif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.certif-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(10px, 1.1vw, 20px);
  color: var(--white);
}
.certif-item img {
  width: auto;
  height: clamp(34px, 3vw, 56px);
  max-width: clamp(34px, 3vw, 56px);
  object-fit: contain;
  flex-shrink: 0;
}
.certif-item span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.4;
}

/* ==========================================================================
   MARQUES ICONIQUES
   ========================================================================== */

.marques-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2vw, 34px);
}

.marque-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.marque-bg {
  display: block;
  width: 100%;
  height: auto;
}

.marque-content {
  position: absolute;
  inset: 0;
  width: 50%;
  padding: clamp(22px, 2.6vw, 46px) clamp(20px, 2.2vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.marque-logo {
  height: clamp(48px, 4.5vw, 84px);
  width: auto;
  margin-bottom: clamp(10px, 1.2vw, 20px);
  object-fit: contain;
  object-position: left;
}

.marque-content h3 {
  color: var(--black);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 26px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.4em;
}
.marque-content p { font-size: clamp(13.5px, 0.9vw, 17px); margin-bottom: 0; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.newsletter {
  background: var(--green);
  padding: clamp(40px, 5vw, 96px) 0;
  overflow-x: clip;
}

.newsletter-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 64px) clamp(28px, 5vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 56px);
  overflow: visible;
}

.newsletter-text { max-width: 480px; position: relative; z-index: 2; }
.newsletter-text h2 { font-size: clamp(26px, 2.6vw, 48px); margin-bottom: 0.3em; white-space: nowrap; }
.newsletter-text p { margin: 0; font-size: clamp(15px, 1vw, 19px); }

.newsletter-form { position: relative; z-index: 2; width: 100%; max-width: 460px; }

.newsletter-field {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
}
.newsletter-field input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 18px);
  padding: clamp(12px, 1.1vw, 20px) clamp(16px, 1.4vw, 26px);
  background: #E9E7E1;
  border-radius: var(--radius-pill);
  color: var(--black);
  min-width: 0;
}
.newsletter-field input::placeholder { color: #7c7c72; }
.newsletter-field .btn { flex-shrink: 0; }

.newsletter-fineprint {
  font-size: clamp(11.5px, 0.75vw, 14px);
  color: #8b8b82;
  margin: clamp(10px, 1vw, 16px) 0 0;
}

.newsletter-deco {
  position: absolute;
  right: clamp(-60px, -3vw, -20px);
  top: clamp(-70px, -5vw, -30px);
  width: clamp(210px, 19vw, 380px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}

/* Formulaire de contact (remplace l'ancien bloc newsletter) ----------------- */
.contact-card { align-items: flex-start; }
.contact-text { padding-top: clamp(4px, 0.6vw, 10px); }
.contact-text h2 { white-space: normal; }

.contact-form { max-width: 480px; }
.contact-form-row {
  display: flex;
  gap: clamp(8px, 1vw, 16px);
}
.contact-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: clamp(10px, 1.1vw, 18px);
}
.contact-field label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7c7c72;
}
.contact-field input,
.contact-field textarea {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 17px);
  padding: clamp(11px, 1vw, 16px) clamp(14px, 1.2vw, 20px);
  background: #E9E7E1;
  border-radius: var(--radius-lg);
  color: var(--black);
  width: 100%;
}
.contact-field textarea { min-height: 90px; resize: vertical; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: #7c7c72; }

.contact-form-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

@media (max-width: 560px) {
  .contact-form-row { flex-direction: column; gap: 0; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer { background: var(--green); color: var(--white); position: relative; overflow: hidden; }

.footer-watermark {
  position: absolute;
  right: clamp(-70px, -5vw, 0px);
  bottom: clamp(-70px, -6vw, -20px);
  width: clamp(220px, 22vw, 420px);
  height: auto;
  opacity: 0.07;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(40px, 5.5vw, 106px) var(--gutter) clamp(40px, 5vw, 96px);
}

.footer-social {
  display: flex;
  gap: clamp(8px, 0.9vw, 14px);
  margin-top: clamp(14px, 1.4vw, 22px);
  margin-bottom: clamp(14px, 1.4vw, 22px);
}
.footer-social .icon-btn {
  width: clamp(32px, 2.4vw, 42px);
  height: clamp(32px, 2.4vw, 42px);
  background: rgba(255,255,255,0.14);
  color: var(--white);
}
.footer-social .icon-btn:hover { background: rgba(255,255,255,0.28); transform: translateY(-2px); }

.footer-logo {
  height: clamp(40px, 3.6vw, 68px);
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: clamp(10px, 1vw, 18px);
}
.footer-brand p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(11.5px, 0.75vw, 14px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  padding-top: clamp(8px, 0.9vw, 16px);
  border-top: 1px solid rgba(255,255,255,0.25);
}

.footer-site h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(15px, 1vw, 19px);
  margin-bottom: 0.3em;
}
.footer-site-type {
  color: rgba(255,255,255,0.6);
  font-size: clamp(12.5px, 0.85vw, 16px);
  margin-bottom: clamp(12px, 1.4vw, 24px);
}
.footer-site p {
  color: rgba(255,255,255,0.92);
  font-size: clamp(13.5px, 0.9vw, 17px);
  margin: 0 0 clamp(8px, 0.9vw, 16px);
}
.footer-site a:hover { text-decoration: underline; }

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

@media (max-width: 1080px) {
  .tiles-row-3 { grid-template-columns: 1fr; }
  .tiles-row-4 { grid-template-columns: repeat(2, 1fr); }
  .certif-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 12px; }
  .main-nav > ul > li > a { font-size: 14px; padding: 10px 14px; }
}

@media (max-width: 880px) {
  .histoire-grid { grid-template-columns: 1fr; }
  .histoire-media { order: -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .histoire-media img { width: 100%; }
  .marques-grid { grid-template-columns: 1fr; }
  .marque-card { display: flex; flex-direction: column; background: #F6F0E3; }
  /* la moitié gauche de l'image est vide (texte en surimpression sur ordinateur) : on recadre sur les produits */
  .marque-bg { aspect-ratio: 1.3 / 1; object-fit: cover; object-position: 100% 50%; }
  .marque-content {
    position: static;
    width: 100%;
    padding: 22px 22px 28px;
  }
  .marque-card-mdd,
  .marque-card-mdd-banner {
    aspect-ratio: auto;
    min-height: 0;
  }
  .marque-content-mdd { padding: 26px 22px 30px; }
  .newsletter-card { flex-direction: column; align-items: flex-start; padding: 36px 26px; }
  .newsletter-deco { width: 150px; top: -20px; }
  .ribbon { transform: rotate(-3deg) scale(1.08); }
}

@media (max-width: 1000px) {
  .nav-has-mega::after,
  .nav-has-dropdown::after { display: none; }
  .site-header.is-scrolled { position: sticky; }
  .main-nav {
    position: fixed;
    inset: 84px 16px auto auto;
    width: min(440px, calc(100% - 32px));
    background-color: var(--white);
    background-image: url("../img/logo-trescarte-monogram-faint.png");
    background-repeat: no-repeat;
    background-position: right -16px bottom -12px;
    background-size: 140px auto;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    padding: 10px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav > ul {
    flex-direction: column;
    background: none;
    align-items: stretch;
    gap: 2px;
  }
  .main-nav > ul > li > a { color: var(--green); padding: 12px 16px; }
  .main-nav > ul > li > a:hover { background: var(--cream); }
  .menu-toggle { display: flex; }

  /* l'arrondi « pilule » du menu bureau rognait les liens : on le retire en mobile */
  .main-nav > ul { overflow-y: auto; max-height: calc(100vh - 110px); border-radius: 0; padding: 0; }

  .nav-mega-trigger { justify-content: space-between; }
  .nav-has-mega:hover:not(.is-open) .mega-menu { opacity: 0; visibility: hidden; pointer-events: none; }
  .nav-has-mega.is-open .nav-mega-trigger { background: var(--cream); }
  .mega-menu {
    position: static;
    width: auto;
    margin: 4px 0 8px;
    transform: none;
    box-shadow: none;
    border-radius: 12px;
    background: var(--cream);
    padding: 0 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }
  .nav-has-mega.is-open .mega-menu {
    max-height: 2000px;
    pointer-events: auto;
    transform: none;
  }
  .mega-menu-inner { grid-template-columns: 1fr; gap: 22px; padding: 14px 0 4px; }
  .mega-menu-foot { padding: 14px 0 18px; margin-top: 0; }
  .mega-col-thumb { display: none; }
  .mega-col-title a { color: var(--green); font-size: 15px; }
  .mega-col ul li a { font-size: 14px; color: var(--ink); }
  .mega-menu-foot { text-align: left; }

  .nav-dropdown-trigger { justify-content: space-between; }
  .nav-has-dropdown:hover:not(.is-open) .dropdown-menu { opacity: 0; visibility: hidden; pointer-events: none; }
  .nav-has-dropdown.is-open .nav-dropdown-trigger { background: var(--cream); }
  .dropdown-menu {
    position: static;
    width: auto;
    min-width: 0;
    margin: 4px 0 8px;
    transform: none;
    box-shadow: none;
    border-radius: 12px;
    background: var(--cream);
    padding: 0 6px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }
  .nav-has-dropdown.is-open .dropdown-menu {
    max-height: 400px;
    pointer-events: auto;
    transform: none;
    padding: 6px 6px;
  }
  .dropdown-menu ul li a { color: var(--ink); font-size: 14px; font-weight: 600; }
  .dropdown-menu ul li a:hover { background: rgba(0,0,0,0.05); }

}

@media (max-width: 720px) {
  .tiles-row-4 { grid-template-columns: 1fr; }

  .newsletter-field { flex-wrap: wrap; }
  .newsletter-field input { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .footer-site { padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.16); }
}

/* ==========================================================================
   PAGE ENTREPRISE — Bouton bordeaux
   ========================================================================== */

.btn-maroon {
  background: var(--maroon);
  color: var(--white);
}
.btn-maroon:hover {
  background: #6c1a22;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(130, 31, 42, 0.3);
}

/* Hero entreprise ---------------------------------------------------------- */

.entreprise-hero {
  background:
    linear-gradient(180deg, rgba(8,14,10,0.62) 0%, rgba(8,14,10,0.34) 40%, rgba(8,14,10,0.42) 72%, rgba(8,14,10,0.7) 100%),
    url("../img/hero/entreprise-hero-usine.jpg") center 8% / cover no-repeat;
  overflow: visible;
  padding-bottom: clamp(70px, 15vw, 300px);
}
.entreprise-hero-dots { display: none; }
.entreprise-hero .hero-watermark--dark { filter: brightness(0) invert(1); opacity: 0.16; }
.entreprise-hero-content h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,0.35); }

.entreprise-hero-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bead {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}
.bead-green { background: radial-gradient(circle at 32% 28%, #6fa87e, var(--green) 65%, var(--green-dark) 100%); }
.bead-tan { background: radial-gradient(circle at 32% 28%, #fbf3d0, #E9C838 65%, #c9a521 100%); }
.bead-orange { background: radial-gradient(circle at 32% 28%, #f5b98a, #d97a3c 65%, #b4602a 100%); }

.entreprise-hero-content {
  position: relative;
  z-index: 2;
  line-height: normal;
  text-align: center;
  padding-top: clamp(80px, 20vw, 380px);
}

.entreprise-hero-content h1 {
  font-size: clamp(36px, 5vw, 92px);
  margin-bottom: 0.35em;
}

.entreprise-hero-lead {
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 24px);
  line-height: 1.4;
}

/* Vidéo / innovation -------------------------------------------------------- */

.video-section {
  background: var(--green);
  padding: clamp(0px, 0vw, 0px) 0 clamp(40px, 4.5vw, 80px);
}

.video-grid {
  display: flex;
  align-items: stretch;
  min-height: clamp(360px, 44vw, 720px);
  max-width: var(--container-w);
  margin: 0 auto;
  padding-right: var(--gutter);
}

.video-box {
  flex: 1 1 58%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9d9d9;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  margin: clamp(20px, 3vw, 56px) 0;
}

.video-play {
  width: clamp(46px, 4.5vw, 84px);
  height: clamp(46px, 4.5vw, 84px);
  color: var(--white);
}
.video-play svg { width: 100%; height: 100%; }

.video-text {
  flex: 1 1 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  padding: clamp(16px, 2.5vw, 40px) 0 clamp(16px, 2.5vw, 40px) clamp(30px, 4vw, 70px);
}
.video-text h2 { color: var(--white); font-size: clamp(24px, 2.6vw, 46px); }
.video-text p { color: rgba(255,255,255,0.92); max-width: 560px; }

/* Chiffres clés (grille 3 colonnes) ----------------------------------------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2.4vw, 46px);
}
.stats-grid .tile { min-height: clamp(110px, 9vw, 175px); }

/* Slide-in reveal on scroll, comme le bloc "chiffres" de l'accueil :
   la ligne du haut glisse depuis la droite, la ligne du bas depuis la gauche */
.stats-row { display: contents; }
.stats-grid .stats-row-a .tile {
  opacity: 0;
  transform: translateX(9vw);
  transition: transform 0.9s cubic-bezier(0.16, 0.8, 0.24, 1), opacity 0.9s ease;
  will-change: transform, opacity;
}
.stats-grid .stats-row-b .tile {
  opacity: 0;
  transform: translateX(-9vw);
  transition: transform 0.9s cubic-bezier(0.16, 0.8, 0.24, 1), opacity 0.9s ease;
  transition-delay: 0.12s;
  will-change: transform, opacity;
}
.stats-grid.in-view .tile {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .stats-grid .stats-row-a .tile,
  .stats-grid .stats-row-b .tile {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Nos sites ------------------------------------------------------------------ */

.sites-section {
  background: var(--maroon);
  padding: clamp(48px, 5vw, 96px) 0 clamp(90px, 8vw, 150px);
}
.sites-section .section-title { color: var(--white); margin-bottom: clamp(30px, 3.5vw, 60px); }

.sites-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: clamp(24px, 3.4vw, 60px);
  align-items: start;
}

.sites-tabs { display: flex; flex-direction: column; }
.site-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 20px);
  text-align: left;
  padding: clamp(14px, 1.4vw, 22px) 2px;
  cursor: pointer;
}
.site-tab span { font-size: 1.2em; }
.site-tab.is-active {
  color: var(--white);
  font-weight: 700;
  border-bottom-color: var(--white);
}

.sites-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 2.4vw, 40px);
  padding-right: clamp(190px, 17vw, 290px);
  max-width: clamp(420px, 60vw, 940px);
  min-height: clamp(220px, 20vw, 300px);
}
.sites-card-text p { color: var(--ink-soft); font-size: clamp(14.5px, 1vw, 18px); }
.sites-card-photo {
  position: absolute;
  right: clamp(-48px, -3.4vw, -28px);
  bottom: clamp(-34px, -3vw, -20px);
  width: clamp(170px, 15vw, 260px);
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
}

/* 60 ans d'exigence ----------------------------------------------------------- */

.timeline-section { position: relative; background: #FAF8F3; overflow: hidden; }
.timeline-heading { position: relative; z-index: 1; margin-bottom: clamp(40px, 5vw, 90px); }

.timeline-bg-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.85;
  pointer-events: none;
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px) 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

.timeline-photos {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 48px);
}
.timeline-photos-left { padding-top: clamp(10px, 3vw, 60px); }
.timeline-photos-right { padding-top: clamp(10px, 2vw, 40px); }

.timeline-photos img {
  width: 100%;
  max-width: clamp(210px, 19vw, 330px);
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 28px rgba(20,20,15,0.18);
  opacity: 0;
  transform: translateY(48px) rotate(var(--tilt, 0deg));
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 0.8, 0.24, 1);
  will-change: transform, opacity;
}
.timeline-photos img.in-view {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}
.timeline-photos-left img { margin-left: auto; }
.timeline-photos-left img:nth-child(odd) { --tilt: -3deg; }
.timeline-photos-left img:nth-child(even) { --tilt: 2deg; margin-right: clamp(10px, 2.5vw, 50px); }
.timeline-photos-right img { margin-right: auto; }
.timeline-photos-right img:nth-child(odd) { --tilt: 3deg; }
.timeline-photos-right img:nth-child(even) { --tilt: -2deg; margin-left: clamp(10px, 2.5vw, 50px); }
.timeline-photos img:nth-child(2) { transition-delay: 0.08s; }
.timeline-photos img:nth-child(3) { transition-delay: 0.16s; }
.timeline-photos img:nth-child(4) { transition-delay: 0.24s; }
.timeline-photos img:nth-child(5) { transition-delay: 0.32s; }
.timeline-photos img:nth-child(6) { transition-delay: 0.4s; }

.timeline-story {
  position: relative;
  z-index: 2;
  background: var(--green);
  border-radius: var(--radius-xl);
  color: var(--white);
  padding: clamp(34px, 3.8vw, 66px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.2vw, 52px);
  overflow: hidden;
}
.timeline-block {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
  will-change: transform, opacity;
}
.timeline-block.in-view { opacity: 1; transform: translateY(0); }
.timeline-block:nth-child(2) { transition-delay: 0.08s; }
.timeline-block:nth-child(3) { transition-delay: 0.16s; }
.timeline-block:nth-child(4) { transition-delay: 0.24s; }
.timeline-block p {
  margin: 0;
  color: var(--white);
  text-align: center;
  font-size: clamp(16px, 1.3vw, 23px);
  line-height: 1.65;
}
.timeline-block p strong { font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .timeline-block,
  .timeline-photos img {
    opacity: 1;
    transition: none;
  }
  .timeline-block { transform: none; }
  .timeline-photos img { transform: rotate(var(--tilt, 0deg)); }
}

@media (max-width: 980px) {
  .video-grid { flex-direction: column; }
  .video-box { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); margin: clamp(20px,3vw,40px) 0 0; }
  .video-text { padding-left: 0; padding-top: clamp(20px,3vw,32px); }

  .sites-grid { grid-template-columns: 1fr; }
  .sites-card { max-width: none; padding-right: clamp(26px, 3vw, 48px); padding-bottom: clamp(190px, 38vw, 300px); min-height: 0; }
  .sites-card-photo { right: -8px; bottom: -24px; width: clamp(140px, 30vw, 220px); }

  .timeline { grid-template-columns: 1fr; }
  .timeline-photos-left, .timeline-photos-right { padding-top: 0; flex-direction: row; flex-wrap: wrap; }
  .timeline-photos img { width: calc(50% - 10px); max-width: none; margin: 0 !important; }
  .timeline-story { order: -1; margin-bottom: 20px; }
}

@media (max-width: 880px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Page Produits ----------------------------------------------------------- */

.produits-hero {
  background:
    linear-gradient(180deg, rgba(0,18,9,0.68) 0%, rgba(0,22,11,0.42) 32%, rgba(0,24,12,0.55) 68%, rgba(0,18,9,0.75) 100%),
    url("../img/hero/produits-hero-usine.jpg") center 55% / cover no-repeat;
  overflow: visible;
  padding-bottom: clamp(50px, 18vw, 346px);
}
.produits-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  line-height: normal;
  padding-top: clamp(60px, 26vw, 500px);
}
.produits-hero-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.55);
  font-size: clamp(14px, 1.1vw, 18px);
  margin-bottom: clamp(6px, 1vw, 14px);
}
.produits-hero-content h1 {
  color: var(--white);
  font-size: clamp(36px, 4.6vw, 84px);
  margin-bottom: 0.4em;
}
.produits-hero-lead {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,0.88);
  font-size: clamp(15px, 1.15vw, 21px);
  line-height: 1.5;
}

.produits-section { padding-top: clamp(40px, 5vw, 80px); padding-bottom: clamp(10px, 1.5vw, 20px); }

.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 70px) clamp(20px, 3vw, 48px);
  align-items: start;
}

.produits-cat-title { align-self: center; }
.produits-cat-title h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
  margin: 0 0 clamp(14px, 1.4vw, 22px);
}
.produits-cat-title h2::after {
  content: "";
  display: block;
  width: clamp(48px, 4vw, 70px);
  height: 5px;
  margin-top: clamp(14px, 1.4vw, 22px);
  background: var(--green);
  border-radius: 3px;
}

.produit-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease;
}
a.produit-card:hover { transform: translateY(-4px); }
a.produit-card:hover .produit-name { text-decoration: underline; }
.produit-media {
  position: relative;
  height: clamp(170px, 15vw, 250px);
  margin-bottom: clamp(16px, 1.8vw, 26px);
}
.produit-card-img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.produit-card-empty {
  width: 100%;
  aspect-ratio: 1.9 / 1;
  border-radius: var(--radius-lg);
}
.produit-bg {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 24%;
  bottom: 24%;
  border-radius: var(--radius-lg);
}
.produit-bg-green { background: #c7e0b8; }
.produit-bg-maroon { background: var(--maroon); }
.produit-bg-tan { background: #f0e5bd; }
.produit-bg-gray { background: #d9d9d9; }

.produit-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 94%;
  width: auto;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(0,0,0,0.3));
}
.produit-photo.rot-a { transform: translate(-50%, -50%) rotate(-8deg); }
.produit-photo.rot-b { transform: translate(-50%, -50%) rotate(6deg); }
.produit-photo.rot-c { transform: translate(-50%, -50%) rotate(-5deg); }
.produit-photo.rot-d { transform: translate(-50%, -50%) rotate(8deg); }

.produits-grid-soon { align-items: center; }
.produits-soon {
  grid-column: span 2;
  background: #f0e5bd;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
}
.produits-soon p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--black);
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .produits-soon { grid-column: 1 / -1; }
}

.produit-name {
  font-weight: 700;
  color: var(--black);
  font-size: clamp(14px, 1vw, 17px);
  margin: 0 0 4px;
}
.produit-format {
  color: #9a9a9a;
  font-size: clamp(12.5px, 0.9vw, 15px);
  margin: 0 0 clamp(12px, 1.2vw, 18px);
  padding-bottom: clamp(12px, 1.2vw, 18px);
  border-bottom: 1px solid #dcdcdc;
}

@media (max-width: 900px) {
  .produits-grid { grid-template-columns: repeat(2, 1fr); }
  .produits-cat-title { grid-column: 1 / -1; align-self: start; }
}

@media (max-width: 560px) {
  .produits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .produits-grid .produit-media { height: 150px; margin-bottom: 14px; }
  .produits-grid .produit-name { font-size: 13.5px; }
  .produits-grid .produit-format { font-size: 12.5px; }
  .produits-grid .produit-card { width: 100%; min-width: 0; }
}

/* Fiche produit ------------------------------------------------------------ */

.pf-hero {
  background: linear-gradient(135deg, #001c0e 0%, var(--green-dark) 45%, var(--green) 100%);
  overflow: visible;
  padding-bottom: clamp(50px, 19vw, 360px);
}
.pf-hero--semeur {
  background:
    linear-gradient(180deg, rgba(28,20,4,0.62) 0%, rgba(42,30,6,0.34) 38%, rgba(28,20,4,0.5) 72%, rgba(20,14,3,0.78) 100%),
    url("../img/hero/bon-semeur-hero-ble.jpg") center 55% / cover no-repeat;
}
.pf-hero--ponote {
  background:
    linear-gradient(180deg, rgba(0,20,10,0.66) 0%, rgba(0,28,14,0.46) 38%, rgba(0,20,10,0.58) 72%, rgba(0,14,7,0.8) 100%),
    url("../img/hero/lentilles-champ-hero.jpg") center 60% / cover no-repeat;
}
.pf-hero--champ {
  background:
    linear-gradient(180deg, rgba(0,20,10,0.6) 0%, rgba(0,28,14,0.36) 38%, rgba(0,20,10,0.5) 72%, rgba(0,14,7,0.78) 100%),
    url("../img/hero/entreprise-hero-cc35.jpg") center 55% / cover no-repeat;
}
/* Héros des fiches produit, selon la gamme : lentilles / légumes secs & précuits / céréales */
.pf-hero--lentilles {
  background:
    linear-gradient(180deg, rgba(0,20,10,0.58) 0%, rgba(0,28,14,0.34) 38%, rgba(0,20,10,0.46) 72%, rgba(0,14,7,0.76) 100%),
    url("../img/hero/produit-lentilles-hero.jpg") center 50% / cover no-repeat;
}
.pf-hero--legumes-secs {
  background:
    linear-gradient(180deg, rgba(0,20,10,0.58) 0%, rgba(0,28,14,0.34) 38%, rgba(0,20,10,0.46) 72%, rgba(0,14,7,0.76) 100%),
    url("../img/hero/produit-legumes-secs-hero.jpg") center 42% / cover no-repeat;
}
.pf-hero--cereales {
  background:
    linear-gradient(180deg, rgba(20,14,3,0.55) 0%, rgba(30,22,5,0.3) 38%, rgba(24,16,4,0.44) 72%, rgba(18,12,3,0.74) 100%),
    url("../img/hero/produit-cereales-hero.jpg") center 55% / cover no-repeat;
}
.pf-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  line-height: normal;
  padding-top: clamp(70px, 27vw, 520px);
}
.pf-hero-content h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 72px);
  margin: 0;
}

.pf-section { padding-top: clamp(50px, 6vw, 100px); padding-bottom: clamp(50px, 6vw, 100px); }

.pf-section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 4.5vw, 72px); }
.pf-section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--green);
  font-size: clamp(24px, 2.4vw, 38px);
  margin: 0 0 10px;
}
.pf-section-head p {
  color: #8a8a8a;
  font-size: clamp(14px, 1vw, 17px);
  margin: 0;
}

/* Essentiel en un clin d'oeil */
.pf-essentiel-grid {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 340px) 1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
}
.pf-essentiel-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}
.pf-essentiel-media img { width: 100%; height: 100%; object-fit: cover; }
.pf-essentiel-media.pf-essentiel-media-pack {
  background: var(--pf-pack-color, #eef1ec);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.pf-essentiel-media.pf-essentiel-media-pack img {
  width: auto;
  height: 104%;
  max-width: none;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(0 14px 16px rgba(0,0,0,0.28));
}
@media (max-width: 720px) {
  .pf-essentiel-media.pf-essentiel-media-pack img { height: 100%; }
}
.pf-callouts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  height: 100%;
}
.pf-callout {
  position: relative;
  font-size: clamp(13px, 0.95vw, 16px);
  color: var(--black);
  line-height: 1.35;
  padding-top: 14px;
}
.pf-callout strong { font-weight: 800; }
.pf-callout::before {
  content: "";
  position: absolute;
  top: 0;
  width: clamp(50px, 6vw, 96px);
  height: 1px;
  border-top: 1.5px dashed #b9b9b9;
}
.pf-callout::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.pf-callouts-left { text-align: right; align-items: flex-end; }
.pf-callouts-left .pf-callout::before { right: 0; }
.pf-callouts-left .pf-callout::after { right: 0; }
.pf-callouts-right { text-align: left; align-items: flex-start; }
.pf-callouts-right .pf-callout::before { left: 0; }
.pf-callouts-right .pf-callout::after { left: 0; }

/* Essentiel en un clin d'oeil — version 2 : lignes qui partent des phrases et pointent le produit */
.pf-essentiel-grid--v2 {
  --pf-circle: clamp(240px, 26vw, 340px);
  --pf-gap: clamp(16px, 2.5vw, 40px);
  --pf-ang: 17deg;
  grid-template-columns: 1fr var(--pf-circle) 1fr;
  gap: var(--pf-gap);
}
.pf-essentiel-grid--v2 .pf-callouts { padding: clamp(0px, 0.6vw, 10px) 0; }
.pf-essentiel-grid--v2 .pf-callout {
  padding-top: 0;
  font-size: clamp(12.5px, 0.9vw, 15px);
  color: #6b6b64;
  line-height: 1.4;
  max-width: 17em;
}
.pf-callout-title {
  display: block;
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.2;
  margin-bottom: 3px;
}
.pf-essentiel-grid--v2 .pf-callout::after { display: none; }
.pf-essentiel-grid--v2 .pf-callout::before {
  top: 0.55em;
  height: 12px;
  margin-top: -6px;
  width: calc((var(--pf-gap) + var(--pf-circle) * 0.27) * 1.06);
  border-top: 0;
  background:
    linear-gradient(var(--green), var(--green)) 0 50% / calc(100% - 6px) 1.5px no-repeat,
    radial-gradient(circle, var(--green) 0 3.5px, #fff 3.6px 5.5px, transparent 6px) 100% 50% / 12px 12px no-repeat;
  transform: rotate(var(--ang)) scaleX(1);
}
.pf-essentiel-grid--v2 .pf-callouts-left .pf-callout::before {
  left: 100%; right: auto; margin-left: 12px; transform-origin: 0 50%;
}
.pf-essentiel-grid--v2 .pf-callouts-right .pf-callout::before {
  right: 100%; left: auto; margin-right: 12px; transform-origin: 100% 50%;
  background:
    linear-gradient(var(--green), var(--green)) 100% 50% / calc(100% - 6px) 1.5px no-repeat,
    radial-gradient(circle, var(--green) 0 3.5px, #fff 3.6px 5.5px, transparent 6px) 0 50% / 12px 12px no-repeat;
}
.pf-essentiel-grid--v2 .pf-callouts-left .pf-callout:first-child  { --ang: var(--pf-ang); }
.pf-essentiel-grid--v2 .pf-callouts-left .pf-callout:last-child   { --ang: calc(var(--pf-ang) * -1); }
.pf-essentiel-grid--v2 .pf-callouts-right .pf-callout:first-child { --ang: calc(var(--pf-ang) * -1); }
.pf-essentiel-grid--v2 .pf-callouts-right .pf-callout:last-child  { --ang: var(--pf-ang); }
.pf-essentiel-grid--v2 .pf-essentiel-media { z-index: 0; }
.pf-essentiel-grid--v2 .pf-callout { z-index: 1; }

/* Apparition au scroll : phrases en fondu, lignes qui se tracent vers le produit */
.pf-essentiel-grid--v2 .pf-callout {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.pf-essentiel-grid--v2 .pf-callout::before {
  transform: rotate(var(--ang)) scaleX(0);
  transition: transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1) 0.35s;
}
.pf-essentiel-grid--v2.in-view .pf-callout { opacity: 1; transform: none; }
.pf-essentiel-grid--v2.in-view .pf-callout::before { transform: rotate(var(--ang)) scaleX(1); }
.pf-essentiel-grid--v2 .pf-callouts-right .pf-callout:first-child { transition-delay: 0.1s; }
.pf-essentiel-grid--v2 .pf-callouts-left .pf-callout:last-child { transition-delay: 0.2s; }
.pf-essentiel-grid--v2 .pf-callouts-right .pf-callout:last-child { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .pf-essentiel-grid--v2 .pf-callout { opacity: 1; transform: none; transition: none; }
  .pf-essentiel-grid--v2 .pf-callout::before { transform: rotate(var(--ang)) scaleX(1); transition: none; }
}

/* Bloc feature (fond crème) */
.pf-feature {
  background: #f0e5bd;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
}
.pf-feature-text { padding: clamp(28px, 4vw, 64px); }
.pf-feature-text h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  font-size: clamp(38px, 5.4vw, 88px);
  line-height: 1.02;
  margin: 0 0 clamp(18px, 2vw, 30px);
}
.pf-feature-text p {
  color: #4a4a4a;
  font-size: clamp(14.5px, 1.05vw, 18px);
  line-height: 1.6;
  margin: 0;
}
.pf-feature-media {
  position: relative;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px);
}
.pf-feature-media::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 3vw, 40px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
}
.pf-feature-media img {
  position: relative;
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0,0,0,0.28));
}
/* Variante "main qui tient le produit" : photo entière, calée en bas à droite du rectangle crème */
.pf-feature-media--hand {
  align-self: stretch;
  min-height: 320px;
  display: block;
  padding: 0;
}
.pf-feature-media--hand::before { content: none; }
.pf-feature-media--hand img {
  position: absolute;
  right: 0;
  bottom: 0;
  top: auto;
  left: auto;
  max-width: 94%;
  max-height: 94%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0,0,0,0.3));
}
@media (max-width: 820px) {
  .pf-feature { grid-template-columns: 1fr; }
  .pf-feature-media { min-height: 220px; order: -1; }
  .pf-feature-media--hand { min-height: 260px; }
  .pf-feature-media--hand img { max-width: 82%; max-height: 88%; }
}

/* Disponible dans tous les formats */
.pf-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  max-width: 1000px;
  margin: 0 auto;
}
.pf-formats-grid .produit-card { width: 100%; min-width: 0; text-align: center; align-items: center; }
.pf-formats-grid .produit-media { width: 100%; }
@media (max-width: 720px) {
  .pf-formats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  /* 3 produits : le dernier se centre sous les deux autres */
  .pf-formats-grid .produit-card:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
}
@media (max-width: 480px) {
  .pf-formats-grid .produit-media { height: 150px; margin-bottom: 14px; }
  .pf-formats-grid .produit-name { font-size: 13.5px; }
  .pf-formats-grid .produit-format { font-size: 12.5px; }
}

/* Bandeau CTA gamme */
.pf-cta {
  background: var(--maroon);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: clamp(36px, 5vw, 70px) clamp(20px, 4vw, 40px);
}
.pf-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
  font-size: clamp(22px, 2.6vw, 40px);
  margin: 0 0 10px;
}
.pf-cta p {
  color: rgba(255,255,255,0.82);
  font-size: clamp(14px, 1.05vw, 18px);
  margin: 0 0 clamp(20px, 2.4vw, 32px);
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: #d9b62a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(233,200,56,0.35); }

@media (max-width: 820px) {
  .pf-essentiel-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pf-essentiel-media { order: -1; width: min(70vw, 300px); margin-bottom: 16px; }
  .pf-callouts { flex-direction: column; align-items: center !important; text-align: center !important; gap: 18px; }
  .pf-callout { padding-top: 0; padding-left: 0; }
  .pf-callout::before, .pf-callout::after { display: none; }
}

/* ==========================================================================
   PAGES MARQUES (La Ponote / Le Bon Semeur / NDB-MDD)
   ========================================================================== */

.marque-hero {
  overflow: visible;
  padding-bottom: clamp(50px, 18vw, 320px);
}
.marque-hero-laponote {
  background:
    linear-gradient(180deg, rgba(0,20,10,0.72) 0%, rgba(0,28,14,0.48) 35%, rgba(0,20,10,0.62) 70%, rgba(0,14,7,0.82) 100%),
    url("../img/hero/accueil-hero-champs.jpg") center 60% / cover no-repeat;
}
.marque-hero-semeur {
  background:
    linear-gradient(180deg, rgba(28,20,4,0.72) 0%, rgba(42,30,6,0.42) 35%, rgba(28,20,4,0.58) 70%, rgba(20,14,3,0.82) 100%),
    url("../img/hero/bon-semeur-hero-ble.jpg") center 55% / cover no-repeat;
}
.marque-hero-mdd {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(24,24,22,0.45) 35%, rgba(10,10,10,0.6) 70%, rgba(6,6,6,0.85) 100%),
    url("../img/hero/produits-hero-usine.jpg") center 55% / cover no-repeat;
}

/* Tags "gamme" (bloc 2) */
.marque-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(20px, 2.4vw, 32px);
}
.marque-tag {
  background: var(--cream);
  color: var(--black);
  font-weight: 700;
  font-size: clamp(12.5px, 0.85vw, 14.5px);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
}

/* Recettes (bloc 4) */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
}
.recipes-grid.recipes-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}
.recipe-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.recipe-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1ec;
}
.recipe-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.recipe-card-body { padding: clamp(18px, 2vw, 28px); }
.recipe-card-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--black);
  font-size: clamp(16px, 1.2vw, 20px);
  margin: 0 0 8px;
  line-height: 1.25;
}
.recipe-card-body p {
  color: #5a5a52;
  font-size: clamp(13.5px, 0.95vw, 15.5px);
  line-height: 1.5;
  margin: 0;
}

/* Carte marque MDD : même univers que les cartes crème (photo à droite) */
.marque-card-mdd {
  background: #F6F0E3;
  box-shadow: 0 6px 14px rgba(40, 30, 10, 0.12);
}
.marque-content-mdd { width: 50%; z-index: 2; }
.marque-content-mdd .marque-eyebrow {
  display: block;
  color: var(--green);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(12.5px, 0.95vw, 16px);
  margin-bottom: 8px;
}
.marque-content-mdd h3 { color: var(--black); }
.marque-content-mdd p { color: var(--ink-soft); }
.marque-mdd-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(12px, 1.2vw, 20px);
  color: var(--green);
  font-weight: 700;
  font-size: clamp(13.5px, 0.95vw, 17px);
  transition: gap .18s ease;
}
.marque-card:hover .marque-mdd-more { gap: 13px; }
.marque-mdd-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 22vw, 340px);
  object-fit: cover;
  object-position: 40% 55%;
  border-radius: var(--radius-lg);
}
.marque-mdd-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: clamp(14px, 1.4vw, 22px) 0 0;
  padding: 0;
}
.marque-mdd-stats li {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  line-height: 1.15;
  box-shadow: 0 2px 8px rgba(40, 30, 10, 0.08);
}
.marque-mdd-stats b { font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 1.3vw, 24px); color: var(--green); }
.marque-mdd-stats span { font-size: clamp(11.5px, 0.8vw, 13.5px); color: var(--ink-soft); margin-top: 3px; }
.marque-mdd-media { position: relative; display: block; min-width: 0; }
.marque-mdd-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  font-size: clamp(12px, 0.85vw, 14px);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Variante bandeau pleine largeur (page d'accueil) */
.marque-card-mdd-banner {
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 40px);
  align-items: center;
  padding: clamp(12px, 1.2vw, 20px);
  margin-top: clamp(18px, 2vw, 34px);
}
.marque-card-mdd-banner .marque-content-mdd {
  position: static;
  width: auto;
  padding: clamp(14px, 2vw, 40px) clamp(10px, 2vw, 40px);
}

/* Badge AOP flottant sur le hero ------------------------------------------- */
.brand-hero-badge {
  position: absolute;
  right: clamp(20px, 4vw, 64px);
  bottom: clamp(20px, 4vw, 56px);
  width: clamp(100px, 9.5vw, 156px);
  height: clamp(100px, 9.5vw, 156px);
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 16px 38px rgba(0,0,0,0.34);
  z-index: 2;
  animation: badgePulse 3.2s ease-in-out infinite;
}
.brand-hero-badge::before,
.brand-hero-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  animation: badgeRing 3.2s ease-out infinite;
}
.brand-hero-badge::after { animation-delay: 1.6s; }
.brand-hero-badge img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.marque-hero-semeur .brand-hero-badge { width: clamp(78px, 7vw, 116px); height: clamp(78px, 7vw, 116px); padding: 11px; }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 16px 38px rgba(0,0,0,0.34); }
  50% { transform: scale(1.05); box-shadow: 0 20px 46px rgba(0,0,0,0.4); }
}
@keyframes badgeRing {
  0% { opacity: 0.85; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.45); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-hero-badge,
  .brand-hero-badge::before,
  .brand-hero-badge::after { animation: none; }
}

/* Galerie du terroir (mosaïque photo) --------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
}
.gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(14px, 1.6vw, 22px) clamp(14px, 1.6vw, 18px) clamp(12px, 1.2vw, 16px);
  background: linear-gradient(0deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0) 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 0.95vw, 15px);
}
.gallery-tile-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px dashed #c9c2ac;
  text-align: center;
  padding: 16px;
}
.gallery-tile-empty-icon {
  font-size: 26px;
  color: #b9b09a;
}
.gallery-tile-empty span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(12.5px, 0.9vw, 14.5px);
  color: #948c76;
  line-height: 1.35;
}

/* Citation de marque (pull-quote) -------------------------------------------- */
.brand-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 0 clamp(20px, 4vw, 40px);
}
.brand-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 8vw, 110px);
  line-height: 1;
  color: var(--yellow);
  margin-bottom: -0.2em;
}
.brand-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: var(--black);
  font-size: clamp(19px, 2.1vw, 30px);
  line-height: 1.45;
}
.brand-quote cite {
  display: block;
  margin-top: clamp(16px, 1.8vw, 26px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--green);
  font-size: clamp(12px, 0.85vw, 14px);
}

/* Recettes : mise en avant d'une recette phare -------------------------------- */
.recipes-grid-featured {
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
}
.recipes-grid-featured .recipe-card--featured {
  grid-row: span 2;
}
.recipes-grid-featured .recipe-card--featured .recipe-card-media { aspect-ratio: auto; height: clamp(220px, 30vw, 360px); }
.recipes-grid-featured .recipe-side { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 40px); }
.recipe-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.recipe-meta span {
  background: var(--cream);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

@media (max-width: 900px) {
  .recipes-grid, .recipes-grid.recipes-grid-2 { grid-template-columns: 1fr 1fr; max-width: none; }
  .recipes-grid-featured { grid-template-columns: 1fr; }
  .recipes-grid-featured .recipe-card--featured { grid-row: auto; }
  .recipes-grid-featured .recipe-card--featured .recipe-card-media { height: 260px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .recipes-grid, .recipes-grid.recipes-grid-2 { grid-template-columns: 1fr; }
  .recipes-grid-featured .recipe-side { flex-direction: column; }
  .marque-content-mdd { width: 100%; }
  .marque-card-mdd-banner .marque-content-mdd { width: 100%; }
  .brand-hero-badge { display: none; }
}

/* ==========================================================================
   Page Contact
   ========================================================================== */

.contact-hero {
  background: linear-gradient(135deg, #001c0e 0%, var(--green-dark) 45%, var(--green) 100%);
  overflow: visible;
  padding-bottom: clamp(30px, 4vw, 56px);
}
.contact-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  line-height: normal;
  padding-top: clamp(130px, 15vw, 210px);
}
.contact-hero-kicker {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: clamp(14px, 1.1vw, 18px);
  margin-bottom: clamp(6px, 1vw, 14px);
}
.contact-hero-content h1 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 64px);
  margin: 0 0 0.4em;
}
.contact-hero-lead {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,0.88);
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.5;
}

.contact-info-section { padding-bottom: clamp(20px, 2.4vw, 36px); }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
}
.contact-info-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.2vw, 32px);
}
.contact-info-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(16px, 1.05vw, 19px);
  color: var(--green);
  margin: 0 0 0.3em;
}
.contact-info-type {
  color: var(--ink-soft);
  opacity: 0.6;
  font-size: clamp(12.5px, 0.85vw, 15px);
  margin: 0 0 clamp(10px, 1.1vw, 16px);
}
.contact-info-card p {
  margin: 0 0 clamp(6px, 0.7vw, 10px);
  color: var(--ink-soft);
  font-size: clamp(13.5px, 0.9vw, 16px);
}
.contact-info-card a { color: var(--green); font-weight: 700; }
.contact-info-card a:hover { text-decoration: underline; }
.contact-info-card-general .footer-social { margin-top: clamp(10px, 1.1vw, 16px); }
.contact-info-card-general .footer-social .icon-btn { background: var(--green); color: var(--white); }
.contact-info-card-general .footer-social .icon-btn:hover { background: var(--green-dark); }

.contact-form-section .newsletter-card { margin: 0 auto; max-width: 1020px; }

@media (max-width: 1080px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Présentation de marque + cartes alternées photo / texte
   ========================================================================== */

.marque-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.7fr;
  gap: clamp(20px, 3vw, 60px);
  align-items: start;
  margin-bottom: clamp(28px, 3.6vw, 56px);
}
.marque-intro-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  font-size: clamp(12.5px, 0.85vw, 15px);
  margin: 0;
  padding-top: 0.4em;
}
.marque-intro-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.7vw, 42px);
  line-height: 1.32;
  color: var(--black);
  margin: 0;
}

.marque-intro-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.marque-intro-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(220px, 20vw, 320px);
}
.marque-intro-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.marque-intro-card-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 2vw, 30px);
  color: var(--white);
}
.marque-intro-card-maroon { background: var(--maroon); }
.marque-intro-card-green { background: var(--green); }
.marque-intro-card-icon {
  position: absolute;
  top: clamp(16px, 1.6vw, 24px);
  right: clamp(16px, 1.6vw, 24px);
  width: clamp(30px, 2.4vw, 40px);
  height: clamp(30px, 2.4vw, 40px);
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1;
}
.marque-intro-card-stat {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 3vw, 48px);
  margin: 0 0 0.15em;
  line-height: 1;
  color: var(--white);
}
.marque-intro-card-text h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(15px, 1.05vw, 18px);
  margin: 0 0 0.35em;
  color: var(--white);
}
.marque-intro-card-text p:last-child {
  font-size: clamp(13px, 0.85vw, 15px);
  color: var(--white);
  opacity: 0.88;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 900px) {
  .marque-intro-grid { grid-template-columns: 1fr; gap: 14px; }
  .marque-intro-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .marque-intro-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Gamme — liste produits au survol avec aperçu image
   ========================================================================== */

.gamme-hover-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  font-size: clamp(12.5px, 0.85vw, 15px);
  margin: 0 0 clamp(14px, 1.6vw, 24px);
}

.gamme-hover {
  display: block;
}

.gamme-hover-list {
  max-width: 760px;
  border-top: 1px solid var(--border-soft);
}
.gamme-hover-item {
  display: block;
  padding: clamp(16px, 1.9vw, 26px) 4px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.5vw, 38px);
  color: var(--black);
  line-height: 1.15;
  transition: color .25s ease, padding-left .25s ease;
}
.gamme-hover-item:hover,
.gamme-hover-item.is-active {
  color: var(--green);
  padding-left: 16px;
}

/* Aperçu qui suit le curseur (souris fine : desktop) ----------------------- */
.gamme-hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(150px, 13vw, 210px);
  height: clamp(150px, 13vw, 210px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 46px rgba(0,0,0,0.24);
  padding: 16px;
  pointer-events: none;
  z-index: 500;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity .2s ease, transform .2s ease, left .1s ease-out, top .1s ease-out;
}
.gamme-hover-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.gamme-hover-img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity .3s ease, transform .3s ease;
}
.gamme-hover-img.is-active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 860px) {
  .gamme-hover-item { font-size: clamp(19px, 4.6vw, 26px); }
}

/* Pointeur sans survol précis (tactile) : aperçu statique au-dessus de la liste */
@media not all and (hover: hover) {
  .gamme-hover-preview {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 240px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto clamp(16px, 3vw, 24px);
    background: transparent;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gamme-hover-img { inset: 0; width: 100%; height: 100%; }
}


/* Du producteur a la grande distribution : schema anime ----------------------------------- */
.chain-section { background: #FAF8F3; overflow: hidden; }
.chain-kicker { text-align: center; margin-bottom: 8px; }
.chain-title { margin-bottom: 12px; }
.chain-lead { text-align: center; color: #6b6b64; font-size: clamp(14px, 1.1vw, 18px); margin: 0 0 clamp(36px, 4.5vw, 72px); }
.chain-flow {
  --node: clamp(78px, 7.4vw, 112px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.6vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.chain-line {
  position: absolute;
  top: calc(var(--node) / 2);
  left: 10%;
  right: 10%;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: rgba(0,113,62,0.14);
}
.chain-line-fill {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transition: width 3.4s linear;
}
.chain-step { position: relative; z-index: 1; text-align: center; }
.chain-node {
  position: relative;
  width: var(--node);
  height: var(--node);
  margin: 0 auto clamp(14px, 1.6vw, 24px);
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0,113,62,0.28), 0 0 0 8px #FAF8F3;
  transform: scale(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  transition-delay: calc(var(--i) * 0.8s);
}
.chain-node svg { width: 46%; height: 46%; }
.chain-num {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #FAF8F3;
}
.chain-step-last .chain-node { background: var(--maroon); box-shadow: 0 14px 30px rgba(130,31,42,0.32), 0 0 0 8px #FAF8F3; }
.chain-step:hover .chain-node { background: var(--green-dark); }
.chain-step-last:hover .chain-node { background: #6a1822; }
.chain-body {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 0.8, 0.24, 1);
  transition-delay: calc(var(--i) * 0.8s + 0.2s);
}
.chain-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.4vw, 23px);
  line-height: 1.2;
  color: var(--black);
}
.chain-body p {
  margin: 0 auto;
  max-width: 17em;
  font-size: clamp(12.5px, 0.95vw, 15.5px);
  line-height: 1.5;
  color: #55554d;
}
/* etat revele */
.chain-flow.in-view .chain-line-fill { width: 100%; }
.chain-flow.in-view .chain-node { transform: scale(1); }
.chain-flow.in-view .chain-body { opacity: 1; transform: none; }
.chain-flow.in-view .chain-step-last .chain-node { animation: chainPulse 2.4s ease-out 4.2s infinite; }
@keyframes chainPulse {
  0%   { box-shadow: 0 14px 30px rgba(130,31,42,0.32), 0 0 0 8px #FAF8F3, 0 0 0 8px rgba(130,31,42,0.35); }
  100% { box-shadow: 0 14px 30px rgba(130,31,42,0.32), 0 0 0 8px #FAF8F3, 0 0 0 30px rgba(130,31,42,0); }
}
/* mobile : la frise passe en vertical */
@media (max-width: 800px) {
  .chain-flow { --node: 68px; grid-template-columns: 1fr; gap: 34px; }
  .chain-line {
    top: calc(var(--node) / 2);
    bottom: calc(var(--node) / 2);
    left: calc(var(--node) / 2);
    right: auto;
    width: 5px;
    height: auto;
    transform: translateX(-50%);
  }
  .chain-line-fill { width: 100%; height: 0; background: linear-gradient(180deg, var(--green), var(--yellow)); transition: height 3.4s linear; }
  .chain-flow.in-view .chain-line-fill { width: 100%; height: 100%; }
  .chain-step { display: grid; grid-template-columns: var(--node) 1fr; gap: 18px; text-align: left; align-items: center; }
  .chain-node { margin: 0; }
  .chain-body p { margin: 0; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chain-line-fill, .chain-node, .chain-body { transition: none; }
  .chain-line-fill { width: 100%; }
  .chain-node { transform: none; }
  .chain-body { opacity: 1; transform: none; }
  .chain-flow.in-view .chain-step-last .chain-node { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 800px) {
  .chain-line-fill { width: 100%; height: 100%; }
}

/* =========================================================================
   Page Recettes
   ========================================================================= */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.recettes-hero {
  background:
    radial-gradient(circle at 82% 30%, rgba(233,200,56,0.16) 0%, rgba(233,200,56,0) 42%),
    linear-gradient(135deg, #00462A 0%, var(--green-dark) 38%, var(--green) 100%);
  overflow: hidden;
  line-height: normal;
  padding-bottom: clamp(60px, 7vw, 130px);
}
.recettes-hero .hero-watermark { filter: brightness(0) invert(1); opacity: 0.08; }
.recettes-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 80px);
  padding-top: clamp(130px, 14vw, 270px);
}
.recettes-hero .produits-hero-kicker { color: var(--yellow); font-style: normal; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.recettes-hero h1 {
  color: var(--white);
  font-size: clamp(40px, 5.6vw, 104px);
  line-height: 1.02;
  margin: 0 0 0.3em;
}
.recettes-hero-lead {
  max-width: 560px;
  color: rgba(255,255,255,0.88);
  font-size: clamp(15px, 1.2vw, 22px);
  line-height: 1.55;
  margin: 0 0 clamp(22px, 2.2vw, 40px);
}

/* Assiettes rondes du hero */
.recettes-hero-plates {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.82;
}
.plate {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: clamp(5px, 0.5vw, 9px) solid var(--white);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35);
  animation: plateFloat 7s ease-in-out infinite;
}
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plate--1 { width: 62%; aspect-ratio: 1; right: 0; top: 0; }
.plate--1 img { object-position: 58% 50%; }
.plate--2 { width: 44%; aspect-ratio: 1; left: 4%; top: 34%; animation-delay: -2.3s; }
.plate--2 img { object-position: 45% 55%; transform: scale(1.35); }
.plate--3 { width: 32%; aspect-ratio: 1; right: 14%; bottom: -2%; animation-delay: -4.6s; border-color: var(--yellow); }
.plate--3 img { object-position: 55% 50%; transform: scale(1.5); }
@keyframes plateFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

/* Liste */
.recettes-section {
  background: var(--cream);
  position: relative;
  padding-top: clamp(30px, 3.5vw, 64px);
  padding-bottom: clamp(60px, 6vw, 120px);
  margin-top: -1px;
}
.recettes-toolbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px clamp(16px, 2vw, 32px);
  margin-bottom: clamp(18px, 2vw, 32px);
}
.recettes-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.recette-filter {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(13px, 0.95vw, 17px);
  padding: clamp(9px, 0.8vw, 13px) clamp(16px, 1.4vw, 24px);
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0,113,62,0.35);
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.recette-filter:hover { border-color: var(--green); transform: translateY(-1px); }
.recette-filter.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.recette-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.9em; height: 1.9em; padding: 0 0.5em;
  border-radius: var(--radius-pill);
  background: rgba(0,113,62,0.12);
  font-size: 0.82em;
}
.recette-filter.is-active .recette-count { background: rgba(255,255,255,0.22); }

.recettes-search {
  position: relative;
  display: flex; align-items: center;
  flex: 0 1 clamp(240px, 26vw, 440px);
  min-width: 220px;
}
.recettes-search svg { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--green); pointer-events: none; }
.recettes-search input {
  width: 100%;
  font-family: var(--font-body);
  font-size: clamp(14px, 0.95vw, 17px);
  padding: clamp(11px, 0.9vw, 15px) 18px clamp(11px, 0.9vw, 15px) 46px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0,113,62,0.35);
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.recettes-search input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,113,62,0.14); }

.recettes-status {
  font-size: clamp(13px, 0.9vw, 16px);
  color: rgba(23,23,18,0.62);
  margin: 0 0 clamp(18px, 2vw, 30px);
}

.recettes-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 48px) clamp(18px, 2.2vw, 40px);
}
.recette-item { min-width: 0; }
.recette-item[hidden] { display: none; }

.recette-card {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(23,23,18,0.07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.recette-card:hover, .recette-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0,66,36,0.18);
}
.recette-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.recette-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-dark);
}
.recette-media > img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.recette-card:hover .recette-media > img { transform: scale(1.07); }

.recette-chip {
  position: absolute; top: clamp(10px, 1vw, 18px); left: clamp(10px, 1vw, 18px);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(10.5px, 0.7vw, 13px);
  letter-spacing: 0.02em;
  padding: 0.5em 1.1em;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.recette-chip--signature { background: var(--yellow); color: var(--black); }
.recette-chip--inspiration { background: rgba(255,255,255,0.92); color: var(--green-dark); }

.recette-go {
  position: absolute; right: clamp(10px, 1vw, 18px); bottom: clamp(10px, 1vw, 18px);
  width: clamp(38px, 3vw, 52px); height: clamp(38px, 3vw, 52px);
  border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(14px) scale(0.8);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease, background .2s ease;
}
.recette-go svg { width: 55%; height: 55%; }
.recette-card:hover .recette-go, .recette-card:focus-visible .recette-go { transform: none; opacity: 1; }

.recette-nophoto {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(233,200,56,0.2), rgba(233,200,56,0) 55%),
    linear-gradient(135deg, var(--maroon), #5e141d);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(12px, 0.9vw, 16px);
}
.recette-nophoto img { width: 28%; opacity: 0.35; filter: brightness(0) invert(1); }

.recette-body {
  display: flex; flex-direction: column; flex: 1;
  padding: clamp(18px, 1.7vw, 30px);
  padding-top: clamp(16px, 1.5vw, 26px);
}
.recette-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.35vw, 25px);
  line-height: 1.22;
  color: var(--black);
  margin: 0;
  transition: color .2s ease;
}
.recette-card:hover .recette-title { color: var(--green); }
.recette-by {
  display: block;
  margin-top: 6px;
  font-size: clamp(12.5px, 0.85vw, 15px);
  font-style: italic;
  color: var(--maroon);
}
.recette-desc {
  margin: clamp(8px, 0.8vw, 14px) 0 0;
  font-size: clamp(13.5px, 0.92vw, 16.5px);
  line-height: 1.5;
  color: rgba(23,23,18,0.7);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.recette-meta {
  list-style: none; margin: auto 0 0; padding: clamp(14px, 1.3vw, 22px) 0 0;
  display: flex; flex-wrap: wrap; gap: 8px clamp(14px, 1.3vw, 22px);
}
.recette-meta li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: clamp(12.5px, 0.85vw, 15px);
  font-weight: 600;
  color: var(--green-dark);
}
.recette-meta svg { width: 1.3em; height: 1.3em; flex: none; }

.recettes-empty {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.3vw, 22px);
  color: var(--green-dark);
  padding: clamp(40px, 5vw, 90px) 0;
}

/* Apparition au scroll */
.recettes-js .recette-item { opacity: 0; transform: translateY(26px); }
.recettes-js .recette-item.in-view {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

@media (max-width: 1100px) {
  .recettes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .recettes-hero-inner { grid-template-columns: 1fr; padding-top: clamp(110px, 24vw, 170px); }
  .recettes-hero-plates { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .recettes-grid { grid-template-columns: 1fr; }
  .recettes-search { flex-basis: 100%; }
  .recettes-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .recettes-filters::-webkit-scrollbar { display: none; }
  .recette-filter { white-space: nowrap; flex: none; }
  .recette-go { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .plate { animation: none; }
  .recettes-js .recette-item, .recettes-js .recette-item.in-view { opacity: 1; transform: none; transition: none; }
  .recette-media > img, .recette-card { transition: none; }
}

/* Logo de la gamme sur les cartes recettes */
.recette-brand {
  position: absolute;
  left: clamp(10px, 1vw, 18px);
  bottom: clamp(10px, 1vw, 18px);
  width: clamp(44px, 3.6vw, 62px);
  height: clamp(44px, 3.6vw, 62px);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.recette-brand img { width: 70%; height: 70%; object-fit: contain; display: block; }

/* =========================================================================
   Page d'une recette
   ========================================================================= */

.recette-hero-inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  padding-top: clamp(120px, 12vw, 230px);
  padding-bottom: clamp(10px, 2vw, 40px);
}
.recette-hero h1 {
  font-size: clamp(32px, 3.9vw, 70px);
  line-height: 1.06;
  margin: 0.25em 0 0.2em;
}
.recette-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: clamp(12.5px, 0.85vw, 15px);
  color: rgba(255,255,255,0.7);
  margin-bottom: clamp(14px, 1.4vw, 24px);
}
.recette-breadcrumb a { color: var(--yellow); text-decoration: none; font-weight: 600; }
.recette-breadcrumb a:hover { text-decoration: underline; }
.recette-chip--static { position: static; display: inline-block; }
.recette-hero-by { color: var(--yellow); font-style: italic; margin: 0 0 0.6em; font-size: clamp(14px, 1.1vw, 20px); }
.recette-hero-lead {
  max-width: 600px;
  color: rgba(255,255,255,0.9);
  font-size: clamp(15px, 1.2vw, 21px);
  line-height: 1.55;
  margin: 0 0 clamp(18px, 1.8vw, 30px);
}
.recette-hero-meta {
  list-style: none; margin: 0 0 clamp(22px, 2.2vw, 38px); padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px clamp(10px, 1.2vw, 20px);
}
.recette-hero-meta li {
  display: flex; align-items: center; gap: 12px;
  padding: clamp(10px, 0.9vw, 15px) clamp(14px, 1.3vw, 22px);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.recette-hero-meta svg { width: 1.7em; height: 1.7em; color: var(--yellow); flex: none; }
.recette-hero-meta span { display: flex; flex-direction: column; line-height: 1.2; }
.recette-hero-meta small { font-size: 0.72em; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.recette-hero-meta strong { font-family: var(--font-display); font-size: clamp(14px, 1.05vw, 19px); }

.recette-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(16px, 2vw, 32px); }
.recette-hero-actions .btn svg, .recette-download .btn svg { width: 1.3em; height: 1.3em; }
.recette-back { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; font-size: clamp(13.5px, 0.95vw, 17px); }
.recette-back:hover { border-bottom-color: var(--yellow); color: var(--yellow); }

.recette-hero-photo { position: relative; margin: 0; align-self: center; padding: 0 0 clamp(10px, 1.5vw, 30px) clamp(0px, 2vw, 40px); }
.recette-hero-disc {
  position: absolute; z-index: 0;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  right: -9%; top: -14%;
  background: radial-gradient(circle at 30% 30%, rgba(233,200,56,0.95), rgba(233,200,56,0.78));
  opacity: 0.9;
}
.recette-hero-photo > img {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: clamp(24px, 3vw, 56px) clamp(24px, 3vw, 56px) clamp(24px, 3vw, 56px) clamp(80px, 9vw, 170px);
  border: clamp(5px, 0.5vw, 9px) solid var(--white);
  box-shadow: 0 30px 60px rgba(0,0,0,0.38);
  transform: rotate(1.6deg);
  animation: plateFloat 8s ease-in-out infinite;
}
.recette-brand--lg {
  z-index: 2;
  left: clamp(0px, 0.5vw, 10px); bottom: clamp(-6px, 0.5vw, 14px);
  width: clamp(70px, 7vw, 124px); height: clamp(70px, 7vw, 124px);
  border: 4px solid var(--white);
}

/* Corps de recette */
.recette-section { background: var(--cream); padding-top: clamp(50px, 5.5vw, 110px); }
.recette-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
}
.recette-ingredients {
  position: sticky; top: 110px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 2.4vw, 42px);
  box-shadow: 0 10px 34px rgba(23,23,18,0.08);
  border-top: clamp(6px, 0.6vw, 10px) solid var(--green);
}
.recette-ingredients h2 { font-family: var(--font-display); font-size: clamp(22px, 1.9vw, 34px); color: var(--green); margin: 0; }
.recette-ingredients-sub { margin: 4px 0 clamp(14px, 1.4vw, 22px); color: var(--maroon); font-weight: 600; font-size: clamp(13px, 0.95vw, 16px); }
.recette-ingredients ul { list-style: none; margin: 0; padding: 0; }
.recette-ingredients li { border-bottom: 1px dashed rgba(0,113,62,0.22); }
.recette-ingredients li:last-child { border-bottom: 0; }
.recette-ingredients label { display: flex; gap: 14px; align-items: flex-start; padding: clamp(9px, 0.8vw, 13px) 0; cursor: pointer; font-size: clamp(14.5px, 1vw, 18px); line-height: 1.4; color: var(--ink-soft); }
.recette-ingredients input { position: absolute; opacity: 0; pointer-events: none; }
.ingredient-box {
  flex: none; width: 1.35em; height: 1.35em; margin-top: 0.1em;
  border: 2px solid var(--green); border-radius: 6px; background: var(--white);
  position: relative; transition: background .2s ease;
}
.ingredient-box::after {
  content: ""; position: absolute; left: 32%; top: 12%; width: 30%; height: 56%;
  border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s ease;
}
.recette-ingredients input:checked + .ingredient-box { background: var(--green); }
.recette-ingredients input:checked + .ingredient-box::after { transform: rotate(45deg) scale(1); }
.recette-ingredients input:checked ~ .ingredient-text { text-decoration: line-through; opacity: 0.5; }
.recette-ingredients input:focus-visible + .ingredient-box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.recette-ingredients-tip { margin: clamp(14px, 1.4vw, 22px) 0 0; font-size: clamp(12px, 0.8vw, 14px); color: rgba(23,23,18,0.5); font-style: italic; }

.recette-kicker { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); font-size: clamp(12.5px, 0.85vw, 15px); margin: 0 0 clamp(10px, 1vw, 16px); }
.recette-kicker--light { color: var(--yellow); }
.recette-intro p { font-size: clamp(15px, 1.05vw, 19px); line-height: 1.75; color: var(--ink-soft); margin: 0 0 1.1em; }
.recette-intro .recette-lead {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(19px, 1.7vw, 30px); line-height: 1.45; color: var(--black);
  padding-left: clamp(16px, 1.6vw, 28px);
  border-left: 5px solid var(--yellow);
}
.recette-steps-title { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 46px); color: var(--green); margin: clamp(30px, 3.4vw, 60px) 0 clamp(18px, 2vw, 34px); }
.recette-steps { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: clamp(16px, 1.6vw, 28px); }
.recette-steps::before {
  content: ""; position: absolute; left: calc(clamp(44px, 3.6vw, 62px) / 2 - 1px); top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(130,31,42,0.35) 0 8px, transparent 8px 16px);
}
.recette-step {
  position: relative; display: flex; gap: clamp(16px, 1.8vw, 30px); align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 1.6vw, 28px) clamp(18px, 2vw, 34px) clamp(16px, 1.6vw, 28px) clamp(16px, 1.6vw, 28px);
  box-shadow: 0 6px 20px rgba(23,23,18,0.06);
  margin-left: 0;
}
.recette-step-num {
  position: relative; z-index: 1; flex: none;
  width: clamp(44px, 3.6vw, 62px); height: clamp(44px, 3.6vw, 62px); border-radius: 50%;
  background: var(--maroon); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 1.5vw, 28px);
  margin: calc(clamp(16px, 1.6vw, 28px) * -1) 0 0 calc(clamp(16px, 1.6vw, 28px) * -1);
  box-shadow: 0 0 0 5px var(--cream);
}
.recette-step p { margin: 0; font-size: clamp(15px, 1.05vw, 19px); line-height: 1.65; color: var(--ink-soft); align-self: center; }
.recettes-js .recette-step, .recette-step { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js-reveal .recette-step { opacity: 0; transform: translateY(24px); }
.js-reveal .recette-step.in-view { opacity: 1; transform: none; }

.recette-download {
  margin-top: clamp(30px, 3.4vw, 60px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  padding: clamp(20px, 2.2vw, 38px) clamp(22px, 2.6vw, 44px);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 2px dashed rgba(0,113,62,0.4);
}
.recette-download p { margin: 0; color: var(--ink-soft); font-size: clamp(14px, 1vw, 18px); }
.recette-download-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 26px) !important; color: var(--green) !important; margin-bottom: 4px !important; }

/* Bandeau produit */
.recette-product { background: var(--cream); padding: 0 0 clamp(50px, 5vw, 100px); }
.recette-product-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(20px, 3vw, 56px);
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 54px) clamp(24px, 4vw, 72px);
  position: relative; overflow: hidden;
}
.recette-product-logo {
  width: clamp(90px, 9vw, 160px); aspect-ratio: 1; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; flex: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.recette-product-logo img { width: 70%; height: 70%; object-fit: contain; }
.recette-product-text h2 { font-family: var(--font-display); color: var(--white); font-size: clamp(22px, 2.2vw, 40px); margin: 0 0 0.3em; }
.recette-product-text p { margin: 0; color: rgba(255,255,255,0.88); font-size: clamp(14px, 1.05vw, 19px); }
.recette-product-text .recette-kicker { margin-bottom: 8px; }
.recette-product-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.recette-more { background: var(--cream); padding-top: 0; }
.recette-more .section-title { margin-bottom: clamp(24px, 3vw, 50px); }
.recette-more-cta { text-align: center; margin: clamp(28px, 3vw, 54px) 0 0; }

@media (max-width: 1000px) {
  .recette-layout { grid-template-columns: 1fr; }
  .recette-ingredients { position: static; }
  .recette-product-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .recette-product-links { justify-content: center; }
}
@media (max-width: 900px) {
  .recette-hero-inner { grid-template-columns: 1fr; padding-top: clamp(110px, 24vw, 170px); }
  .recette-hero-photo { padding-left: 0; max-width: 560px; width: 100%; margin: 10px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .recette-hero-photo > img { animation: none; }
  .js-reveal .recette-step { opacity: 1; transform: none; transition: none; }
}

/* "60 ans d'exigence" : photos éparpillées derrière le cadre vert (écrans larges) */
@media (min-width: 981px) {
  .timeline { display: block; }
  .timeline-photos { display: contents; }
  .timeline-photos img {
    position: absolute;
    z-index: 0;
    width: var(--w, 18%);
    max-width: none;
    margin: 0 !important;
  }
  .timeline-story {
    width: clamp(380px, 31vw, 500px);
    margin: 0 auto;
  }
}

/* Page recette : version claire et allégée (fond blanc comme l'accueil) */
.recette-hero--light { background: var(--white); }
.recette-hero--light .hero-watermark { filter: none; opacity: 0.06; }
.recette-hero--light { padding-bottom: 0; }
.recette-hero--light .recette-hero-inner { padding-top: clamp(170px, 13vw, 240px); padding-bottom: clamp(20px, 2.5vw, 40px); }
.recette-hero--light .recette-breadcrumb { color: rgba(23,23,18,0.5); }
.recette-hero--light .recette-breadcrumb a { color: var(--green); }
.recette-hero--light h1 { color: var(--black); }
.recette-hero--light .recette-hero-lead { color: rgba(23,23,18,0.72); }
.recette-hero--light .recette-hero-meta { gap: 0; margin-bottom: clamp(22px, 2.2vw, 36px); }
.recette-hero--light .recette-hero-meta li {
  background: none; border: 0; backdrop-filter: none; border-radius: 0;
  color: var(--black);
  padding: 0 clamp(14px, 1.6vw, 28px);
  border-left: 1px solid rgba(23,23,18,0.16);
}
.recette-hero--light .recette-hero-meta li:first-child { padding-left: 0; border-left: 0; }
.recette-hero--light .recette-hero-meta svg { color: var(--green); }
.recette-hero--light .recette-hero-meta small { opacity: 0.55; }
.recette-hero--light .recette-hero-disc { background: var(--yellow); opacity: 0.38; }
.recette-hero--light .recette-hero-photo > img { box-shadow: 0 24px 50px rgba(23,23,18,0.22); border-color: var(--white); }
.recette-hero--light .recette-brand--lg { box-shadow: 0 8px 22px rgba(23,23,18,0.22); }

.recette-section { background: var(--white); padding-top: clamp(30px, 3.5vw, 70px); }
.recette-ingredients { background: var(--cream); box-shadow: none; border-top: 0; }
.recette-ingredients li { border-bottom-color: rgba(0,113,62,0.2); }
.ingredient-box { background: var(--white); }
.recette-step { background: #FAF8F3; box-shadow: none; border: 1px solid rgba(23,23,18,0.06); }
.recette-step-num { box-shadow: 0 0 0 5px var(--white); }
.recette-download { background: #FAF8F3; }
.recette-product { background: var(--white); }
.recette-product-card { background: var(--cream); color: var(--black); }
.recette-product-card .recette-kicker--light { color: var(--green); }
.recette-product-text h2 { color: var(--black); }
.recette-product-text p { color: rgba(23,23,18,0.75); }
.recette-product-logo { box-shadow: 0 8px 22px rgba(23,23,18,0.14); }
.recette-product-links .btn-yellow { background: var(--green); color: var(--white); }
.recette-product-links .btn-yellow:hover { background: var(--green-dark); }
.recette-more { background: var(--white); }
@media (max-width: 640px) {
  .recette-hero--light .recette-hero-meta { flex-wrap: nowrap; }
  .recette-hero--light .recette-hero-meta li { padding: 0 12px; gap: 0; }
  .recette-hero--light .recette-hero-meta svg { display: none; }
  .recette-hero--light .recette-hero-inner { padding-top: clamp(100px, 24vw, 140px); }
}

/* Carte MDD accueil : empilée sur mobile */
@media (max-width: 880px) {
  .marque-card.marque-card-mdd-banner { display: flex; flex-direction: column; gap: 0; padding: 12px; }
  .marque-card-mdd-banner .marque-mdd-media { order: -1; width: 100%; }
  .marque-card-mdd .marque-mdd-photo { min-height: 0; height: clamp(170px, 46vw, 260px); }
  .marque-card-mdd-banner .marque-content-mdd { width: 100%; padding: 22px 12px 14px; }
}
@media (max-width: 560px) {
  .main-nav { inset: 74px 16px auto 16px; width: auto; }
}

/* ==========================================================================
   Page Contact — hero clair + un seul bloc (formulaire + coordonnées)
   ========================================================================== */
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }

.contact-hero--light {
  background: linear-gradient(180deg, var(--white) 0%, #FBF8F1 100%);
  padding-bottom: clamp(34px, 4vw, 64px);
}
.contact-hero--light .hero-watermark { filter: none; opacity: 0.06; }
.contact-hero--light .contact-hero-content { padding-top: clamp(150px, 13vw, 240px); }
.contact-hero--light .contact-hero-kicker { color: var(--green); opacity: 1; font-weight: 700; letter-spacing: .02em; }
.contact-hero--light .contact-hero-content h1 { color: var(--black); font-size: clamp(30px, 3.6vw, 58px); }
.contact-hero--light .contact-hero-lead { color: var(--ink-soft); }

.cx-main { padding-top: clamp(24px, 3vw, 48px); }
.cx-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: start; }

.cx-form { background: var(--white); border-radius: var(--radius-xl); padding: clamp(22px, 3vw, 48px); box-shadow: 0 14px 44px rgba(40,30,10,0.10); border: 1px solid rgba(23,23,18,0.06); }
.cx-who { border: 0; margin: 0 0 clamp(14px, 1.4vw, 20px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cx-who legend { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.3vw, 22px); color: var(--black); padding: 0; margin-bottom: 4px; grid-column: 1 / -1; width: 100%; }
.cx-pill { position: relative; display: block; cursor: pointer; }
.cx-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.cx-pill span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border-radius: var(--radius-lg); background: #F4F2EC; border: 2px solid transparent; font-weight: 700; font-size: clamp(14px, 0.95vw, 16px); color: var(--black); line-height: 1.25; transition: background .15s ease, border-color .15s ease; }
.cx-pill small { font-weight: 500; font-size: 12.5px; color: #6b6b62; line-height: 1.3; }
.cx-pill:hover span { background: #ECE9E0; }
.cx-pill input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cx-pill input:checked + span { background: var(--green); color: var(--white); border-color: var(--green); }
.cx-pill input:checked + span small { color: rgba(255,255,255,0.85); }
.cx-hint { margin: 0 0 clamp(14px, 1.4vw, 22px); font-size: clamp(13.5px, 0.95vw, 16px); color: var(--ink-soft); line-height: 1.5; min-height: 1.5em; }
.cx-hint a { color: var(--green); font-weight: 700; }
.cx-hint a:hover { text-decoration: underline; }

.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.2vw, 18px); }
.cx-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: clamp(12px, 1.2vw, 18px); min-width: 0; }
.cx-field[hidden] { display: none; }
.cx-field label { font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #6b6b62; }
.cx-field input, .cx-field textarea {
  width: 100%; border: 2px solid transparent; outline: none; font-family: var(--font-body);
  font-size: max(16px, clamp(14px, 1vw, 17px));
  padding: clamp(12px, 1vw, 16px) clamp(14px, 1.2vw, 20px);
  background: #F0EEE8; border-radius: var(--radius-lg); color: var(--black);
  transition: border-color .15s ease, background .15s ease;
}
.cx-field textarea { min-height: 140px; resize: vertical; }
.cx-field input:focus, .cx-field textarea:focus { border-color: var(--green); background-color: var(--white); }
.cx-field input::placeholder, .cx-field textarea::placeholder { color: #8a8a80; }
.cx-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.cx-form-foot p { margin: 0; flex: 1 1 220px; font-size: 12.5px; color: #7c7c72; line-height: 1.45; }
.cx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cx-form-foot .cx-status { flex-basis: 100%; order: -1; font-size: 15px; font-weight: 600; padding: 12px 16px; border-radius: var(--radius-lg); }
.cx-status.is-ok { color: var(--green); background: rgba(0, 113, 62, 0.08); }
.cx-status.is-error { color: #a12a1a; background: rgba(161, 42, 26, 0.08); }
.cx-form button[type="submit"][disabled] { opacity: .6; cursor: progress; transform: none; }

.cx-side { position: sticky; top: 24px; background: var(--cream); border-radius: var(--radius-xl); padding: clamp(22px, 2.6vw, 42px); }
.cx-side h2 { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 30px); margin: 0 0 clamp(14px, 1.4vw, 22px); color: var(--black); }
.cx-direct { list-style: none; margin: 0 0 clamp(18px, 2vw, 28px); padding: 0; display: grid; gap: 14px; }
.cx-direct li { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); }
.cx-direct small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #7c7c72; font-weight: 700; margin-bottom: 1px; }
.cx-direct a { color: var(--green); font-weight: 700; font-size: clamp(15px, 1.1vw, 19px); }
.cx-direct a:hover { text-decoration: underline; }
.cx-direct-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; }
.cx-direct-ico svg { width: 22px; height: 22px; }
.cx-social { margin-top: clamp(8px, 1vw, 14px); }
.cx-social .icon-btn { background: var(--green); color: var(--white); }
.cx-social .icon-btn:hover { background: var(--green-dark); }

@media (max-width: 1000px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-side { order: 2; position: static; }
}
@media (max-width: 640px) {
  .cx-who { grid-template-columns: 1fr; }
  .cx-pill span { padding: 12px 14px; }
  .cx-row { grid-template-columns: 1fr; }
  .cx-form-foot .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Sélecteur de langue FR / EN
   ========================================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--green);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(11.5px, 0.8vw, 14px);
  letter-spacing: .04em;
  line-height: 1;
  padding: clamp(7px, 0.6vw, 10px) clamp(9px, 0.8vw, 13px);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-switch button:hover { background: rgba(0, 113, 62, 0.1); }
.lang-switch button.is-active { background: var(--green); color: var(--white); cursor: default; }
.lang-switch button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.header-actions { gap: clamp(8px, 0.8vw, 14px); }
/* évite le flash de français quand la langue anglaise est mémorisée */
html.i18n-pending body { visibility: hidden; animation: i18nShow 0s 1.5s forwards; }
@keyframes i18nShow { to { visibility: visible; } }

/* Photos produit pas encore disponibles : l'image absente est masquée, l'emplacement reste vide */
img.is-missing { display: none !important; }
.gamme-hover-preview:has(.gamme-hover-img.is-active.is-missing) { opacity: 0 !important; visibility: hidden; }
@media not all and (hover: hover) {
  .gamme-hover-preview:has(.gamme-hover-img.is-active.is-missing) { display: none; }
}

/* Bas de page : le formulaire est remplacé par 3 accès directs vers la page Contact */
.contact-cta { max-width: 480px; display: flex; flex-direction: column; gap: clamp(8px, 0.8vw, 12px); }
.contact-cta-legend {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7c7c72;
}
.contact-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(12px, 1.1vw, 18px) clamp(16px, 1.4vw, 24px);
  background: #E9E7E1;
  border-radius: var(--radius-lg);
  color: var(--black);
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.contact-cta-link span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.25;
}
.contact-cta-link small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(12.5px, 0.85vw, 14.5px);
  color: #6b6b64;
  transition: color .2s ease;
}
.contact-cta-link b {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  transition: transform .2s ease;
}
.contact-cta-link:hover,
.contact-cta-link:focus-visible { background: var(--green); color: var(--white); }
.contact-cta-link:hover small,
.contact-cta-link:focus-visible small { color: rgba(255,255,255,0.85); }
.contact-cta-link:hover b,
.contact-cta-link:focus-visible b { background: var(--white); color: var(--green); transform: translateX(3px); }
@media (max-width: 760px) { .contact-cta { max-width: none; width: 100%; } }

/* Petit tag « BIO » (feuille) dans le menu Produits */
.tag-bio {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 5px;
  padding: 1px 7px 1px 5px;
  border-radius: var(--radius-pill);
  background: #E3F0DC;
  color: var(--green);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 1px;
  text-decoration: none;
}
.tag-bio::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5C10 3.5 4 8.6 4 15.6c0 1.5.3 2.8.9 3.9 1.3-4.6 4.6-8 8.9-9.8-3.2 2.6-5.7 5.9-7 10.2 1.1.6 2.4.9 3.8.9 6.100 0 9.900-5.700 9.900-17.300z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 3.5C10 3.5 4 8.6 4 15.6c0 1.5.3 2.8.9 3.9 1.3-4.6 4.6-8 8.9-9.8-3.2 2.6-5.7 5.9-7 10.2 1.1.6 2.4.9 3.8.9 6.100 0 9.900-5.700 9.900-17.300z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mega-col ul li a:hover .tag-bio { text-decoration: none; }



/* ==========================================================================
   Hauteur des héros harmonisée sur celle de la page « À table avec nous »
   ========================================================================== */
@media (min-width: 1001px) {
  .entreprise-hero, .produits-hero, .marque-hero, .pf-hero { min-height: 56.5vw; }
}
@media (max-width: 1000px) {
  .entreprise-hero, .produits-hero, .marque-hero, .pf-hero {
    display: flex;
    flex-direction: column;
    min-height: max(580px, 68vw);
    padding-bottom: 0;
  }
  .entreprise-hero-content, .produits-hero-content, .pf-hero-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 96px;
    padding-bottom: clamp(48px, 9vw, 80px);
  }
  /* accueil : photo plus haute (elle était réduite à une bande) */
  .hero-wrap > .hero-img { aspect-ratio: auto; height: max(440px, 62vw); }
}

/* Lien « Voir tous nos produits » en tête du sous-menu (mobile uniquement) */
.mega-all-mobile { display: none; }
@media (max-width: 1000px) {
  .mega-all-mobile {
    display: flex; align-items: center; justify-content: space-between;
    margin: 12px 0 2px; padding: 12px 14px;
    background: var(--green); color: var(--white) !important;
    border-radius: 10px; font-weight: 700; font-size: 14.5px; line-height: 1.3;
  }
  .mega-all-mobile:hover { background: var(--green-dark); }
}

/* Case de consentement du formulaire de contact */
.cx-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 4px 0 clamp(14px, 1.4vw, 20px);
  padding: 14px 16px; background: var(--cream); border-radius: var(--radius-lg);
}
.cx-consent input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; margin: 1px 0 0; padding: 0;
  accent-color: var(--green); cursor: pointer;
}
.cx-consent label {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); cursor: pointer;
  text-transform: none; letter-spacing: 0; font-weight: 500;
}
.cx-consent:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }

/* Barre légale du pied de page */
.footer-legal { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.16); }
.footer-legal-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 16px; padding-bottom: 18px;
  font-size: clamp(12.5px, 0.85vw, 14.5px); color: rgba(255,255,255,0.78);
}
.footer-legal-inner a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal-inner a:hover { color: var(--yellow); }

/* Page Mentions légales */
.legal { padding-top: clamp(24px, 3vw, 48px); }
.legal-inner { max-width: 980px; }
.legal-intro { font-size: clamp(15px, 1.1vw, 18px); line-height: 1.65; color: var(--ink-soft); margin: 0 0 clamp(24px, 3vw, 44px); }
.legal-block { margin-bottom: clamp(28px, 3.2vw, 52px); scroll-margin-top: 130px; }
.legal-block h2 {
  font-family: var(--font-display); font-weight: 800; color: var(--green);
  font-size: clamp(20px, 1.8vw, 30px); margin: 0 0 clamp(12px, 1.2vw, 18px);
}
.legal-block p { font-size: clamp(15px, 1vw, 17px); line-height: 1.7; color: var(--ink-soft); margin: 0 0 12px; }
.legal-block a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-dl { margin: 0; background: var(--cream); border-radius: var(--radius-lg); padding: clamp(6px, 0.8vw, 12px) clamp(16px, 2vw, 32px); }
.legal-dl > div {
  display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: 6px 24px;
  padding: 12px 0; border-bottom: 1px solid rgba(23,23,18,0.1);
}
.legal-dl > div:last-child { border-bottom: 0; }
.legal-dl dt { font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #6b6b62; padding-top: 2px; }
.legal-dl dd { margin: 0; font-size: clamp(15px, 1vw, 17px); color: var(--black); overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .legal-dl > div { grid-template-columns: 1fr; gap: 2px; }
}


/* ==========================================================================
   Page « L'entreprise » — responsive (tablette / mobile)
   ========================================================================== */
@media (max-width: 980px) {
  /* Vidéo + texte « L'innovation par nature » : marges latérales cohérentes */
  .video-grid { padding-right: 0; min-height: 0; }
  .video-box { min-height: clamp(190px, 46vw, 360px); margin-top: 0; }
  .video-text { padding: clamp(24px, 5vw, 40px) var(--gutter) clamp(8px, 2vw, 16px); }
  .video-text p { max-width: none; }

  /* Chiffres clés : tuiles photo vides = simple fond crème, sans texte alternatif */
  .stats-grid .tile-photo img { width: 100%; height: 100%; object-fit: cover; }

  /* Nos sites : photo dans le flux, sous le texte (plus de débordement) */
  .sites-card { padding: clamp(22px, 5vw, 32px); padding-bottom: clamp(22px, 5vw, 32px); }
  .sites-card-photo:not([hidden]) {
    position: static; display: block;
    width: 100%; max-width: none; aspect-ratio: 16 / 10;
    margin: 20px 0 0; box-shadow: none;
  }

  /* 60 ans d'exigence : petites photos éparpillées derrière le cadre vert */
  .timeline {
    display: block; position: relative;
    padding: clamp(40px, 9vw, 70px) 0;
  }
  .timeline-photos { display: contents; }
  .timeline-photos img {
    position: absolute; z-index: 0;
    width: clamp(92px, 26vw, 210px) !important; max-width: none; height: auto;
    aspect-ratio: 4 / 3; object-fit: cover; margin: 0 !important;
    bottom: auto !important;
    opacity: 1; transform: rotate(var(--t, 0deg)) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
    border: 3px solid var(--white); border-radius: 10px;
  }
  .timeline-photos-left img:nth-child(1) { top: 1% !important; left: -4% !important; right: auto !important; --t: -5deg; }
  .timeline-photos-left img:nth-child(2) { top: 26% !important; left: -1% !important; right: auto !important; --t: 3deg; }
  .timeline-photos-left img:nth-child(3) { top: 51% !important; left: -5% !important; right: auto !important; --t: -3deg; }
  .timeline-photos-left img:nth-child(4) { top: 76% !important; left: -2% !important; right: auto !important; --t: 4deg; }
  .timeline-photos-left img:nth-child(5) { top: 81% !important; left: -4% !important; right: auto !important; --t: -4deg; }
  .timeline-photos-right img:nth-child(1) { top: 11% !important; right: -4% !important; left: auto !important; --t: 4deg; }
  .timeline-photos-right img:nth-child(2) { top: 31% !important; right: -2% !important; left: auto !important; --t: -3deg; }
  .timeline-photos-right img:nth-child(3) { top: 51% !important; right: -5% !important; left: auto !important; --t: 5deg; }
  .timeline-photos-right img:nth-child(4) { top: 71% !important; right: -1% !important; left: auto !important; --t: -4deg; }
  .timeline-photos-right img:nth-child(5) { top: 91% !important; right: -4% !important; left: auto !important; --t: 3deg; }
  .timeline-story {
    position: relative; z-index: 2;
    width: auto; max-width: 560px; margin: 0 auto;
    padding: clamp(28px, 6vw, 44px) clamp(20px, 5vw, 40px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  }
}
@media (max-width: 640px) {
  .timeline-story { margin: 0 clamp(30px, 10vw, 48px); max-width: none; }
}
@media (max-width: 560px) {
  .timeline-block p { font-size: 15.5px; line-height: 1.6; }
}
@media (max-width: 980px) {
  .sites-section { padding-bottom: clamp(40px, 8vw, 64px); }
}

/* Accueil : vue aérienne de l'usine (chiffres clés) */
.chiffres .tile-photo img[src*="CC31"] { object-position: 46% 52%; }


/* ==========================================================================
   Page L'entreprise : héro texte + photo (CC35), tuile usine (CC31), cartes
   ========================================================================== */
.entreprise-hero.entreprise-hero {
  background: var(--cream);
  min-height: 0;
  padding-bottom: 0;
  display: block;
  overflow: visible;
  line-height: normal;
}
.entreprise-hero .hero-watermark--dark {
  display: block;
  filter: none;
  opacity: 0.07;
  right: auto;
  left: clamp(14px, 1.8vw, 30px);
  bottom: clamp(14px, 1.8vw, 30px);
}
.entreprise-hero-dots { display: none; }
.entreprise-hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  padding-top: clamp(80px, 10vw, 168px);
  min-height: clamp(520px, 49vw, 980px);
}
.entreprise-hero-split .entreprise-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: clamp(40px, 5vw, 90px) clamp(40px, 5vw, 100px) clamp(40px, 5vw, 90px) max(var(--gutter), calc((100vw - var(--container-w)) / 2 + var(--gutter)));
}
.entreprise-hero-split .entreprise-hero-content h1 {
  color: var(--green);
  text-shadow: none;
  font-size: clamp(34px, 3.5vw, 68px);
  line-height: 1.08;
  margin: 0 0 0.45em;
}
.entreprise-hero-split .entreprise-hero-lead {
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0;
  max-width: 34em;
  font-size: clamp(15px, 1.3vw, 24px);
}
.cta-start { text-align: left; margin-top: clamp(24px, 2.6vw, 44px); }
.entreprise-hero-photo {
  position: relative;
  z-index: 1;
  margin-left: calc(-1 * clamp(40px, 6vw, 120px));
  clip-path: polygon(clamp(40px, 6vw, 120px) 0, 100% 0, 100% 100%, 0 100%);
  background: var(--green);
}
.entreprise-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
}
@media (max-width: 1000px) {
  .entreprise-hero.entreprise-hero { display: block; min-height: 0; }
  .entreprise-hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 83px;
  }
  .entreprise-hero-photo {
    order: -1;
    margin: 0;
    height: clamp(230px, 56vw, 480px);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
  .entreprise-hero-photo img { object-position: 28% 50%; }
  .entreprise-hero-split .entreprise-hero-content {
    padding: clamp(28px, 6vw, 48px) var(--gutter) clamp(44px, 8vw, 72px);
    flex: none;
  }
  .entreprise-hero-split .entreprise-hero-content h1 { font-size: clamp(32px, 7vw, 52px); }
  .entreprise-hero .hero-watermark--dark { display: none; }
}
@media (max-width: 600px) {
  .entreprise-hero-split { padding-top: 80px; }
}

/* Chiffres clés : vue de l'usine */
.stats-grid .tile-photo img[src*="CC31"] { object-position: 46% 52%; }

/* Nos sites : carte de France à côté du visuel */
.sites-card {
  --ph: clamp(170px, 15vw, 260px);
  --map-w: clamp(180px, 17vw, 300px);
  max-width: none;
  min-height: clamp(300px, 26vw, 420px);
  padding-right: calc(var(--ph) + var(--map-w) + clamp(34px, 3.4vw, 60px));
}
.sites-card-map[hidden] { display: none; }
.sites-card-map:not([hidden]) {
  display: block;
  position: absolute;
  top: 50%;
  right: calc(var(--ph) - clamp(28px, 3.4vw, 48px) + clamp(16px, 1.8vw, 30px));
  width: var(--map-w);
  height: auto;
  transform: translateY(-52%);
  overflow: visible;
  fill: none;
}
.sites-card-map use { fill: var(--cream); stroke: #D8CBAA; stroke-width: 1.3; stroke-linejoin: round; }
.sites-card-map .map-city circle { fill: var(--green); stroke: #fff; stroke-width: 1.5; }
.sites-card-map .map-city text {
  font-family: var(--font-body); font-weight: 600; font-size: 19px; fill: var(--ink-soft);
  paint-order: stroke; stroke: var(--cream); stroke-width: 5px; stroke-linejoin: round;
}
.sites-card-map .map-site { fill: var(--maroon); stroke: #fff; stroke-width: 2; }
.sites-card-map .map-pulse { fill: rgba(130, 31, 42, 0.28); transform-box: fill-box; transform-origin: center; animation: mapPulse 2.4s ease-out infinite; }
.sites-card-map .map-site-label {
  font-family: var(--font-display); font-weight: 800; font-size: 23px; fill: var(--maroon);
  paint-order: stroke; stroke: var(--cream); stroke-width: 6px; stroke-linejoin: round;
}
@keyframes mapPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sites-card-map .map-pulse { animation: none; } }

@media (max-width: 980px) {
  .sites-card { padding-right: clamp(26px, 3vw, 48px); padding-bottom: clamp(26px, 3vw, 48px); min-height: 0; }
  .sites-card-map:not([hidden]) {
    position: static; transform: none; width: min(100%, 290px); margin: 22px auto 0;
  }
}

/* Pied de contact : lentilles corail plus grandes, collées au bord de l'écran */
.newsletter-deco {
  right: calc(-1 * (max(0px, (100vw - var(--container-w)) / 2) + var(--gutter)));
  top: clamp(-90px, -6.5vw, -40px);
  width: clamp(260px, 25vw, 500px);
}
@media (max-width: 720px) {
  .newsletter-deco { width: 150px; top: -24px; }
}


/* Marques : logos du hero un peu plus grands ----------------------------- */
.marque-hero-laponote .brand-hero-badge { width: clamp(124px, 11.8vw, 196px); height: clamp(124px, 11.8vw, 196px); padding: clamp(18px, 1.7vw, 28px); }
.marque-hero-semeur .brand-hero-badge { width: clamp(98px, 8.8vw, 146px); height: clamp(98px, 8.8vw, 146px); padding: clamp(12px, 1.1vw, 18px); }

/* Rubriques histoire (La Ponote / Le Bon Semeur) : logos intégrés dans la photo */
.histoire-fig { position: relative; margin: 0; line-height: 0; }
.histoire-fig > img:not(.histoire-badge) { display: block; }
.histoire-badge {
  position: absolute;
  bottom: clamp(12px, 1.3vw, 22px);
  width: 36% !important;
  height: auto;
  aspect-ratio: 1 !important;
  object-fit: contain !important;
}
.histoire-badge--aop {
  left: clamp(12px, 1.3vw, 22px);
  border-radius: 50% !important;
  background: rgba(255,255,255,0.96);
  padding: 2.5%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.histoire-badge--ponote {
  right: clamp(12px, 1.3vw, 22px);
  border-radius: 50% !important;
  background: rgba(255,255,255,0.96);
  padding: 5.5%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
@media (max-width: 980px) { .histoire-media { margin-bottom: 8px; } .histoire-badge { width: 38% !important; bottom: 10px; } .histoire-badge--aop { left: 10px; } .histoire-badge--ponote { right: 10px; } }

/* Logos des rubriques histoire : pastille blanche animée au survol de la photo */
.histoire-fig--anim { overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; }
.histoire-fig--anim > img:not(.histoire-badge) { transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.histoire-fig--anim:hover > img:not(.histoire-badge) { transform: scale(1.06); }
.histoire-badge--semeur {
  right: clamp(12px, 1.3vw, 22px);
  border-radius: 50% !important;
  background: rgba(255,255,255,0.96);
  padding: 5.5%;
  aspect-ratio: 1 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.histoire-badge {
  transition: transform 0.55s cubic-bezier(.34,1.56,.64,1), box-shadow 0.35s ease;
}
.histoire-fig--anim:hover .histoire-badge {
  transform: translateY(-6px) scale(1.14) rotate(-7deg);
  box-shadow: 0 14px 26px rgba(0,0,0,0.32);
}
@media (max-width: 980px) { .histoire-badge--semeur { right: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .histoire-fig--anim > img, .histoire-badge { transition: none; }
  .histoire-fig--anim:hover > img:not(.histoire-badge), .histoire-fig--anim:hover .histoire-badge { transform: none; }
}

/* Hero « L'entreprise » : photo à gauche, texte à droite (desktop) */
@media (min-width: 1001px) {
  .entreprise-hero-split .entreprise-hero-photo {
    order: -1;
    margin-left: 0;
    margin-right: calc(-1 * clamp(40px, 6vw, 120px));
    clip-path: polygon(0 0, 100% 0, calc(100% - clamp(40px, 6vw, 120px)) 100%, 0 100%);
  }
  .entreprise-hero-split .entreprise-hero-photo img { object-position: 60% 50%; }
  .entreprise-hero-split .entreprise-hero-content h1 { font-size: clamp(32px, 2.8vw, 56px); }
  .entreprise-hero-split .entreprise-hero-content {
    padding: clamp(40px, 5vw, 90px) max(var(--gutter), calc((100vw - var(--container-w)) / 2 + var(--gutter))) clamp(40px, 5vw, 90px) calc(clamp(40px, 6vw, 120px) + clamp(28px, 3.5vw, 70px));
  }
}

/* ==========================================================================
   ACTUS (bloc page d'accueil + page Actualités)
   ========================================================================== */
.actus { background: #fff; }
.actus-lead { margin-top: 0.4em; }
.actus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 40px);
  margin-top: clamp(28px, 3vw, 52px);
}
.actus-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 30px); }
.actus-grid[data-filtered] .actu-card[hidden], .actu-card[hidden] { display: none; }
.actus-section .actus-grid { margin-top: clamp(14px, 1.6vw, 28px); }
.actus .cta-center { margin-top: clamp(28px, 3vw, 52px); }

.actu-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(23,23,18,0.07);
  transition: transform .3s ease, box-shadow .3s ease;
  min-width: 0;
  line-height: normal;
}
.actu-card:hover, .actu-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0,66,36,0.18);
}
.actu-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.actu-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.actu-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-dark); }
.actu-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.actu-card:hover .actu-media img { transform: scale(1.07); }
.actu-chip {
  position: absolute; top: clamp(10px, 1vw, 16px); left: clamp(10px, 1vw, 16px);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(10.5px, 0.72vw, 13px);
  letter-spacing: 0.02em;
  padding: 0.5em 1.1em;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.actu-chip--presse { background: rgba(255,255,255,0.94); color: var(--green-dark); }
.actu-chip--tv { background: var(--yellow); color: var(--black); }
.actu-chip--salon { background: var(--maroon); color: var(--white); }
.actu-body { display: flex; flex-direction: column; flex: 1; padding: clamp(16px, 1.5vw, 26px); }
.actu-meta { font-size: clamp(11.5px, 0.78vw, 14px); color: var(--maroon); font-weight: 600; letter-spacing: 0.01em; }
.actu-title {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(16px, 1.2vw, 22px);
  line-height: 1.24;
  color: var(--black);
  transition: color .2s ease;
}
.actu-card:hover .actu-title { color: var(--green); }
.actu-excerpt {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: clamp(8px, 0.7vw, 12px);
  font-size: clamp(13px, 0.88vw, 15.5px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.actu-more {
  margin-top: auto; padding-top: clamp(12px, 1vw, 18px);
  font-weight: 700; font-size: clamp(13px, 0.88vw, 15.5px);
  color: var(--green);
}
.actu-more span { display: inline-block; transition: transform .25s ease; }
.actu-card:hover .actu-more span { transform: translateX(5px); }

.actus-hero .plate--1 img { object-position: 50% 50%; transform: none; }
.actus-hero .plate--2 img { object-position: 45% 50%; transform: none; }
.actus-hero .plate--3 img { object-position: 50% 50%; transform: none; }

@media (max-width: 1100px) {
  .actus-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .actus-grid, .actus-grid--home { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .actu-card, .actu-media img, .actu-more span { transition: none; }
  .actu-card:hover { transform: none; }
}

.footer-legal-links { display: inline-flex; flex-wrap: wrap; gap: 6px clamp(16px, 2vw, 32px); }

.footer-credit { text-align: center; padding-bottom: clamp(14px, 1.4vw, 22px); }
.footer-credit p { margin: 0; font-size: clamp(12px, 0.85vw, 15px); color: rgba(255,255,255,0.8); }
.footer-credit a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--yellow); }
.footer-heart { font-size: 1.05em; }

/* Actus : hero photo (page actualites) ------------------------------------- */
.pf-hero--actus {
  background:
    linear-gradient(180deg, rgba(0,18,9,0.82) 0%, rgba(0,24,12,0.7) 38%, rgba(0,18,9,0.76) 72%, rgba(0,12,6,0.92) 100%),
    url("../img/hero/entreprise-hero-usine.jpg") center 55% / cover no-repeat;
}
.actus-hero-content { padding-top: clamp(80px, 24vw, 440px); }
.actus-hero-content .produits-hero-kicker { color: var(--yellow); margin: 0 0 0.6em; }
.actus-hero-lead {
  color: rgba(255,255,255,0.92);
  font-size: clamp(14px, 1.15vw, 20px);
  max-width: 44em;
  margin: 1em auto 1.6em;
}

/* Actus : pop-up de détail -------------------------------------------------- */
.actu-detail[hidden] { display: none; }
.actu-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 3vw, 40px);
  background: rgba(14,26,18,0.72);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  line-height: normal;
}
.actu-modal.is-open { opacity: 1; visibility: visible; }
.actu-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  width: min(880px, 100%);
  max-height: 100%;
  overflow: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}
.actu-modal.is-open .actu-modal-dialog { transform: none; }
.actu-modal-media { position: relative; aspect-ratio: 16 / 7; background: #ddd; }
.actu-modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.actu-modal-media .actu-chip { top: clamp(12px, 1.4vw, 22px); left: clamp(12px, 1.4vw, 22px); }
.actu-modal-body { padding: clamp(20px, 2.6vw, 44px); }
.actu-modal-body .actu-meta { display: block; margin-bottom: 0.5em; }
.actu-modal-body h2 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--green);
  font-size: clamp(22px, 2.2vw, 36px);
  margin: 0 0 0.6em;
  line-height: 1.15;
}
.actu-modal-text p { margin: 0 0 1em; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.65; color: #3d3d36; }
.actu-modal-text .btn { margin-top: 0.4em; }
.actu-modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: var(--white); color: var(--green);
  font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
}
.actu-modal-close:hover { background: var(--yellow); color: var(--black); }
body.actu-modal-open { overflow: hidden; }
@media (max-width: 600px) { .actu-modal-media { aspect-ratio: 16 / 10; } }
@media (prefers-reduced-motion: reduce) { .actu-modal, .actu-modal-dialog { transition: none; } }

/* Page entreprise : vidéo de présentation ---------------------------------- */
.video-box { overflow: hidden; background: #0d2a1a; min-height: clamp(220px, 32vw, 560px); }
.video-box .video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #0d2a1a; }
.video-box .video-play {
  position: relative; z-index: 2;
  border: 0; padding: 0; cursor: pointer;
  width: clamp(56px, 5.6vw, 100px); height: clamp(56px, 5.6vw, 100px);
  border-radius: 50%;
  background: rgba(0,114,60,0.88);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  transition: transform .25s ease, background .25s ease, opacity .25s ease;
}
.video-box .video-play svg { width: 52%; height: 52%; margin-left: 6%; }
.video-box .video-play:hover, .video-box .video-play:focus-visible { transform: scale(1.1); background: var(--green); }
.video-box.is-started .video-play { opacity: 0; pointer-events: none; }
.video-box.is-started.is-paused .video-play { opacity: 1; pointer-events: auto; }
.video-ctrls {
  position: absolute; z-index: 3;
  left: clamp(12px, 1.6vw, 28px); bottom: clamp(12px, 1.4vw, 24px);
  width: min(52%, 420px);
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: rgba(13,42,26,0.62);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.video-ctrls[hidden] { display: none; }
.video-box:hover .video-ctrls, .video-box:focus-within .video-ctrls, .video-box.is-paused .video-ctrls { opacity: 1; }
.video-ctrl {
  flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.video-ctrl:hover { background: rgba(255,255,255,0.2); }
.video-ctrl svg { width: 20px; height: 20px; }
.video-box.is-paused .ic-pause, .video-box:not(.is-paused) .ic-play { display: none; }
.video-box:not(.is-muted) .ic-x, .video-box.is-muted .ic-wave { display: none; }
.video-progress { flex: 1 1 auto; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.3); overflow: hidden; margin: 0 6px 0 2px; }
.video-progress-fill { display: block; height: 100%; width: 0; background: var(--yellow); }
@media (max-width: 1000px) { .video-box { min-height: 0; aspect-ratio: 16 / 9; } .video-ctrls { width: min(70%, 420px); opacity: 1; } }

.actus-hero-content h1, .actus-hero-lead, .actus-hero-content .produits-hero-kicker { text-shadow: 0 2px 16px rgba(0,0,0,0.55); }

/* Accueil : hero vidéo en boucle (sans son) --------------------------------- */
.hero-video { display: block; width: 100%; background: #0d2a1a; object-fit: cover; object-position: center 40%; }

/* Hero entreprise : même hauteur que les héros des autres pages (bureau) */
@media (min-width: 1001px) {
  .entreprise-hero-split { min-height: clamp(520px, 56.8vw, 1200px); }
}

/* Cartes produit : au survol, le packshot grossit et pivote légèrement */
.produit-photo { transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease; will-change: transform; }
a.produit-card:hover .produit-photo,
a.produit-card:focus-visible .produit-photo { filter: drop-shadow(0 20px 18px rgba(0,0,0,0.34)); }
a.produit-card:hover .produit-photo.rot-a, a.produit-card:focus-visible .produit-photo.rot-a { transform: translate(-50%, -50%) rotate(-13deg) scale(1.12); }
a.produit-card:hover .produit-photo.rot-b, a.produit-card:focus-visible .produit-photo.rot-b { transform: translate(-50%, -50%) rotate(11deg) scale(1.12); }
a.produit-card:hover .produit-photo.rot-c, a.produit-card:focus-visible .produit-photo.rot-c { transform: translate(-50%, -50%) rotate(-10deg) scale(1.12); }
a.produit-card:hover .produit-photo.rot-d, a.produit-card:focus-visible .produit-photo.rot-d { transform: translate(-50%, -50%) rotate(13deg) scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .produit-photo { transition: none; }
  a.produit-card:hover .produit-photo { transform-origin: center; }
}

/* ==========================================================================
   Animations fiche produit (activées par <body data-pf-anim> + product-anim.js)
   ========================================================================== */
.pa-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000;
  background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
}
@keyframes paRise   { from { opacity: 0; transform: translateY(46px); } }
@keyframes paHero   { from { opacity: 0; transform: translateY(34px) scale(.96); letter-spacing: .06em; filter: blur(10px); } }
@keyframes paPop    { from { opacity: 0; transform: scale(.55); } }
@keyframes paPack   { from { opacity: 0; transform: translateY(70px) rotate(-32deg) scale(.7); } }
@keyframes paHand   { from { opacity: 0; transform: translateX(90px) rotate(7deg); } }
@keyframes paLine   { from { transform: scaleX(0); } }

html.pf-anim-on .pa-reveal:not(.pa-in) { opacity: 0; }
html.pf-anim-on .pa-reveal.pa-in { animation: paRise .85s cubic-bezier(.16,.8,.24,1) var(--d, 0s) backwards; }

/* Hero : le titre se pose au chargement puis glisse/s'estompe en scrollant */
html.pf-anim-on .pf-hero-content { will-change: transform, opacity; }
html.pf-anim-on .pf-hero-content h1 { animation: paHero 1.1s cubic-bezier(.16,.8,.24,1) .15s backwards; }

/* Titres de section : trait vert qui se dessine */
html.pf-anim-on .pf-section-head h2 { position: relative; padding-bottom: 14px; }
html.pf-anim-on .pf-section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 54px; height: 3px; margin-left: -27px;
  border-radius: 3px; background: var(--yellow); transform-origin: 50% 50%;
}
html.pf-anim-on .pf-section-head.pa-in h2::after { animation: paLine .7s cubic-bezier(.16,.8,.24,1) .35s backwards; }

/* L'essentiel : cercle qui "pop", packshot qui flotte, suit le scroll et la souris, anneau qui pulse */
html.pf-anim-on .pf-essentiel-grid--v2.in-view .pf-essentiel-media { animation: paPop .9s cubic-bezier(.34,1.4,.5,1) backwards; }
html.pf-anim-on .pf-essentiel-media-pack img {
  transform: translate3d(var(--ptx,0), var(--pty,0), 0) rotate(calc(-8deg + var(--prot,0deg))) scale(var(--psc,1));
  will-change: transform;
}
html.pf-anim-on .pf-essentiel-grid--v2.in-view .pf-essentiel-media-pack img { animation: paPack 1.1s cubic-bezier(.2,.9,.25,1) .25s backwards; }
html.pf-anim-on .pf-callout:hover .pf-callout-title { color: var(--green); }
html.pf-anim-on .pf-callout .pf-callout-title { transition: color .25s ease; }

/* Bloc feature : la main entre au scroll */
html.pf-anim-on .pf-feature-media--hand.pa-in img { animation: paHand 1.1s cubic-bezier(.16,.8,.24,1) .15s backwards; }
html.pf-anim-on .pf-feature-media--hand.pa-reveal.pa-in { animation: none; }
html.pf-anim-on .pf-feature-media--hand.pa-reveal:not(.pa-in) { opacity: 1; }
html.pf-anim-on .pf-feature-media--hand.pa-reveal:not(.pa-in) img { opacity: 0; }

/* Bouton magnétique */
html.pf-anim-on .pf-cta .btn { transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s ease, box-shadow .2s ease; will-change: transform; }


/* Page L'entreprise : titre du hero = même taille que les autres heroes du site */
@media (min-width: 1001px) {
  .entreprise-hero-split { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); }
  .entreprise-hero-split .entreprise-hero-content h1 { font-size: clamp(36px, 4.6vw, 84px); }
}
/* Bloc « L'innovation par nature » : le cadre vidéo est collé au rectangle vert (plus de trou haut/bas) */
@media (min-width: 981px) {
  .video-section { padding-bottom: 0; }
  .video-box { margin-top: 0; margin-bottom: 0; }
}

/* ==========================================================================
   Mobile / tablette
   ========================================================================== */
/* Page L'entreprise — Nos sites : carte plus petite, photo à côté de la carte */
@media (max-width: 980px) {
  .sites-card {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: clamp(12px, 3vw, 22px);
    align-items: center;
  }
  .sites-card-text { grid-column: 1 / -1; }
  .sites-card-map:not([hidden]) {
    grid-column: 1; width: 100%; max-width: 220px; margin: 22px auto 0; justify-self: center;
  }
  .sites-card-photo:not([hidden]) {
    grid-column: 2; width: 100%; aspect-ratio: 1 / 1.05; margin: 22px 0 0; border-radius: var(--radius-lg);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  }
}

/* Accueil — bloc des cadres chiffres/photos : même disposition que la page L'entreprise
   (2 colonnes : cadre de couleur à gauche, photo à droite) */
@media (max-width: 880px) {
  .chiffres .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
    gap: clamp(12px, 2.4vw, 46px);
  }
  .chiffres .tiles-row { display: contents; }
  .chiffres .tile { min-height: clamp(110px, 9vw, 175px); }
  .chiffres .tile-color { grid-column: 1; }
  .chiffres .tile-photo { grid-column: 2; }
  .chiffres .tiles-row-4 .tile-photo:last-child { grid-column: 1 / -1; min-height: clamp(130px, 38vw, 260px); }
  .chiffres .tile-color p { font-size: clamp(17px, 4.6vw, 30px); padding: 12px; }
}

/* Pages recettes : intertitres (ingrédients / préparation) et hero sans photo */
.recette-ingredients li.recette-ing-group {
  border-bottom: 0; padding: clamp(10px, 1vw, 16px) 0 4px;
  font-family: var(--font-display); font-weight: 800; color: var(--maroon);
  font-size: clamp(13.5px, 0.95vw, 16px);
}
.recette-ingredients li.recette-ing-group:first-child { padding-top: 0; }
.recette-step-group { position: relative; z-index: 1; margin: clamp(6px, 0.8vw, 12px) 0 0; }
.recette-step-group p {
  display: inline-block; margin: 0; padding: 6px 16px; border-radius: 999px;
  background: var(--green); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(13.5px, 0.95vw, 16px);
}
.recette-nophoto--hero {
  position: relative; z-index: 1; inset: auto; width: 100%; aspect-ratio: 4 / 3;
  border: clamp(5px, 0.5vw, 9px) solid var(--white);
  border-radius: clamp(24px, 3vw, 56px) clamp(24px, 3vw, 56px) clamp(24px, 3vw, 56px) clamp(80px, 9vw, 170px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.38);
  font-size: clamp(13px, 1.1vw, 20px);
}

/* ==========================================================================
   Accueil — « Nos marques iconiques » : mise en page téléphone / tablette
   ========================================================================== */
.marque-card picture { display: block; }
@media (max-width: 880px) {
  .marque-card:not(.marque-card-mdd) {
    padding: 12px;
    box-shadow: 0 6px 14px rgba(40, 30, 10, 0.12);
  }
  .marque-card .marque-bg {
    aspect-ratio: 800 / 560;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
  }
  .marque-card:not(.marque-card-mdd) .marque-content {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    padding: 20px 8px 6px;
  }
  .marque-card:not(.marque-card-mdd) .marque-logo {
    grid-column: 1; grid-row: 1;
    height: 58px; width: 58px; margin: 0; object-fit: contain; object-position: center;
  }
  .marque-card:not(.marque-card-mdd) .marque-content h3 {
    grid-column: 2; grid-row: 1;
    margin: 0; font-size: 20px; line-height: 1.15;
  }
  .marque-card:not(.marque-card-mdd) .marque-content p {
    grid-column: 1 / -1;
    margin-top: 14px; font-size: 15px; line-height: 1.55;
  }
  .marque-card .marque-mdd-more {
    grid-column: 1 / -1;
    display: flex; justify-content: center; align-items: center;
    width: 100%; margin-top: 18px; padding: 13px 18px;
    background: var(--green); color: var(--white);
    border-radius: var(--radius-pill);
    font-size: 15px; text-align: center;
  }
  .marque-card-mdd-banner .marque-content-mdd { padding: 20px 8px 8px; }
  .marque-card-mdd-banner .marque-content-mdd h3 { font-size: 18px; line-height: 1.2; }
  .marque-card-mdd-banner .marque-content-mdd p { font-size: 15px; line-height: 1.55; }
}
@media (max-width: 560px) {
  .marque-card-mdd-banner .marque-mdd-stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  }
  .marque-card-mdd-banner .marque-mdd-stats li { padding: 10px 8px; text-align: center; align-items: center; }
  .marque-card-mdd-banner .marque-mdd-stats b { font-size: 16px; white-space: nowrap; }
  .marque-card-mdd-banner .marque-mdd-stats span { font-size: 11px; }
}

/* ==========================================================================
   Pages produit — téléphone / tablette
   ========================================================================== */
@media (max-width: 820px) {
  /* --- L'essentiel : packshot centré + 4 cartes 2 × 2 --- */
  .pf-essentiel-grid--v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-items: stretch;
    align-items: stretch;
    text-align: left;
  }
  .pf-essentiel-grid--v2 .pf-callouts { display: contents; }
  .pf-essentiel-grid--v2 .pf-essentiel-media {
    order: -1;
    grid-column: 1 / -1;
    justify-self: center;
    width: min(62vw, 270px);
    margin: 0 0 22px;
  }
  .pf-essentiel-grid--v2 .pf-callout {
    position: relative;
    max-width: none;
    margin: 0;
    padding: 46px 14px 16px;
    text-align: left !important;
    background: #F6F0E3;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(40, 30, 10, 0.08);
    font-size: 13px;
    line-height: 1.4;
    opacity: 1 !important; transform: none !important;
  }
  .pf-essentiel-grid--v2 .pf-callouts .pf-callout::before,
  .pf-essentiel-grid--v2 .pf-callouts-left .pf-callout::before,
  .pf-essentiel-grid--v2 .pf-callouts-right .pf-callout::before {
    display: block; content: "";
    position: absolute; left: 14px; right: auto; top: 14px; bottom: auto;
    width: 24px; height: 24px; margin: 0;
    border: 0; border-radius: 50%;
    transform-origin: 50% 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
    transform: none !important; opacity: 1 !important; transition: none;
  }
  .pf-essentiel-grid--v2 .pf-callout-title { font-size: 15px; line-height: 1.2; margin-bottom: 4px; }

  /* --- Bloc jaune : texte puis photo de la main, toujours visible --- */
  .pf-feature { grid-template-columns: 1fr; gap: 0; }
  .pf-feature-text { padding: 28px 22px 8px; }
  .pf-feature-text h2 { font-size: clamp(32px, 9.5vw, 44px); margin-bottom: 14px; }
  .pf-feature-text p { font-size: 15px; }
  .pf-feature-media,
  .pf-feature-media--hand {
    order: 2; min-height: 0; height: auto; display: block;
    padding: 6px 0 0; position: relative; text-align: right;
  }
  .pf-feature-media--hand img {
    position: static; display: inline-block; vertical-align: bottom;
    width: min(82%, 330px); max-width: none; max-height: none; height: auto;
    margin: 0 -6px -4px 0;
  }
  html.pf-anim-on .pf-feature-media--hand.pa-reveal:not(.pa-in) img { opacity: 1; }
}

@media (max-width: 720px) {
  /* --- Découvrez nos autres produits : défilement horizontal --- */
  .pf-formats-grid {
    display: flex; flex-wrap: nowrap; gap: 14px;
    max-width: none;
    margin: 0 -20px; padding: 4px 20px 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .pf-formats-grid::-webkit-scrollbar { display: none; }
  .pf-formats-grid .produit-card,
  .pf-formats-grid .produit-card:last-child:nth-child(odd) {
    flex: 0 0 64%; width: 64%; max-width: 270px; grid-column: auto; justify-self: auto;
    scroll-snap-align: start;
  }
  .pf-formats-grid .produit-media { height: 200px; }
  .pf-formats-grid .produit-name { font-size: 14.5px; }
  html.pf-anim-on .pf-formats-grid .produit-card.pa-reveal:not(.pa-in) { opacity: 1; }
}

/* ==========================================================================
   Accueil + L'entreprise — téléphone : deux rangées qui défilent seules
   (une de droite à gauche, l'autre de gauche à droite)
   ========================================================================== */
.tile-dup { display: none; }
@keyframes tilesRtl { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes tilesLtr { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@media (max-width: 880px) {
  .chiffres, .stats-section { overflow: hidden; }
  .chiffres .container.tiles-marquee,
  .stats-grid.tiles-marquee {
    display: block; max-width: none; padding-left: 0; padding-right: 0;
  }
  .tiles-marquee .tiles-row,
  .tiles-marquee .stats-row {
    display: flex; flex-wrap: nowrap; gap: 0; width: max-content;
    margin: 0 0 10px; opacity: 1; transform: none; transition: none;
    will-change: transform;
  }
  .tiles-marquee .tile,
  .tiles-marquee .stats-row .tile {
    flex: 0 0 auto; width: 190px; min-height: 84px; height: 84px; margin: 0 10px 0 0;
    grid-column: auto; opacity: 1; transform: none; transition: none;
  }
  .tiles-marquee .tile-photo { width: 200px; }
  .tiles-marquee .tile-dup { display: flex; }
  .tiles-marquee .tile-color { width: 210px; }
  .tiles-marquee .tile-color p { font-size: 17px; line-height: 1.15; padding: 6px 10px; }
  .tiles-marquee .tile-caption-text { font-size: 20px; }
  .tiles-marquee .marquee-rtl { animation: tilesRtl 34s linear infinite; }
  .tiles-marquee .marquee-ltr { animation: tilesLtr 38s linear infinite; }
  .tiles-marquee .marquee-rtl:active,
  .tiles-marquee .marquee-ltr:active { animation-play-state: paused; }
}
@media (max-width: 880px) and (prefers-reduced-motion: reduce) {
  .chiffres .container.tiles-marquee, .stats-grid.tiles-marquee { overflow-x: auto; }
  .tiles-marquee .marquee-rtl, .tiles-marquee .marquee-ltr { animation: none; }
}

/* ==========================================================================
   Accueil — téléphone : bandeau des 3 atouts + actualités en défilement horizontal
   ========================================================================== */
@media (max-width: 1080px) {
  .certif-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .certif-item { padding: 4px clamp(8px, 2vw, 22px); }
  .certif-item + .certif-item { border-left: 1px solid rgba(255, 255, 255, 0.28); }
}
@media (max-width: 600px) {
  .certif-strip { padding: 26px 0; }
  .certif-strip .container { padding-left: 10px; padding-right: 10px; }
  .certif-item { gap: 10px; padding: 2px 8px; }
  .certif-item img { height: 36px; max-width: 36px; }
  .certif-item span { font-size: 12.5px; line-height: 1.35; }
}

@media (max-width: 760px) {
  .actus-grid--home {
    display: flex; flex-wrap: nowrap; gap: 14px;
    margin-left: -20px; margin-right: -20px; padding: 6px 20px 18px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .actus-grid--home::-webkit-scrollbar { display: none; }
  .actus-grid--home .actu-card { flex: 0 0 78%; max-width: 320px; scroll-snap-align: start; }
}

/* Pages marques — téléphone / tablette : la liste « La gamme » n'affiche que les noms de produits (pas d'aperçu photo) */
@media (max-width: 860px), (hover: none) {
  .gamme-hover-preview { display: none !important; }
}

/* Menu téléphone : un sous-menu fermé ne doit laisser aucune marge (écart régulier entre toutes les entrées) */
@media (max-width: 1000px) {
  .nav-has-dropdown .dropdown-menu,
  .nav-has-mega .mega-menu { margin: 0; }
  .nav-has-dropdown.is-open .dropdown-menu,
  .nav-has-mega.is-open .mega-menu { margin: 4px 0 8px; }
}
@media (max-width: 1000px) {
  .main-nav > ul > li > a { display: flex; align-items: center; min-height: 44px; padding-top: 0; padding-bottom: 0; line-height: 1.2; }
  .main-nav > ul { gap: 2px; }
}
@media (max-width: 1000px) {
  .dropdown-menu ul li a, .mega-col ul li a, .mega-col-title a { line-height: 1.35; }
  .dropdown-menu ul li a { padding: 10px 12px; }
}
@media (max-width: 860px), (hover: none) {
  .gamme-hover-item.is-active:not(:hover) { color: var(--black); padding-left: 4px; }
}

/* « Une gamme complète » : défilement automatique + le visiteur peut faire défiler lui-même */
.produits-track-wrap.is-scrollable {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.produits-track-wrap.is-scrollable::-webkit-scrollbar { display: none; }
.produits-track-wrap.is-scrollable.is-dragging { cursor: grabbing; user-select: none; }
.produits-track-wrap.is-scrollable .produits-track { animation: none; }
.produits-track-wrap.is-scrollable img { -webkit-user-drag: none; user-drag: none; }

/* Accueil — « Nos marques iconiques » : La Ponote et Le Bon Semeur côte à côte, MDD en dessous */
@media (max-width: 880px) {
  .marques-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .marque-card:not(.marque-card-mdd) { padding: 8px; display: flex; flex-direction: column; }
  .marque-card .marque-bg { aspect-ratio: 800 / 560; border-radius: 14px; }
  .marque-card:not(.marque-card-mdd) .marque-content {
    display: flex; flex-direction: column; align-items: flex-start; flex: 1;
    padding: 12px 4px 4px;
  }
  .marque-card:not(.marque-card-mdd) .marque-logo { height: 40px; width: 40px; margin: 0 0 8px; }
  .marque-card:not(.marque-card-mdd) .marque-content h3 { font-size: 15px; margin: 0 0 6px; }
  .marque-card:not(.marque-card-mdd) .marque-content p { font-size: 12.5px; line-height: 1.45; margin: 0; }
  .marque-card:not(.marque-card-mdd) .marque-mdd-more {
    margin-top: auto; padding: 10px 10px; font-size: 12.5px; width: 100%;
  }
  .marque-card:not(.marque-card-mdd) .marque-content p { margin-bottom: 12px; }
}
@media (min-width: 561px) and (max-width: 880px) {
  .marque-card:not(.marque-card-mdd) .marque-content h3 { font-size: 18px; }
  .marque-card:not(.marque-card-mdd) .marque-content p { font-size: 14px; }
  .marque-card:not(.marque-card-mdd) .marque-mdd-more { font-size: 14px; }
}

/* Accueil, téléphone et tablette : la vidéo du hero est affichée en entier (plus de recadrage).
   Le bandeau du menu reste au-dessus ; la vidéo démarre juste en dessous. */
@media (max-width: 1000px) {
  #top.hero-wrap:has(> .hero-video) { padding-top: 85px; background: var(--white, #fff); }
  .hero-wrap > .hero-video { height: auto; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; }
}
@media (max-width: 720px) {
  #top.hero-wrap:has(> .hero-video) { padding-top: 80px; }
}

/* Fiches produit : le trait et sa pastille sont orientés par product-callouts.js pour toucher le packshot */
.pf-essentiel-grid--v2 .pf-callout.is-aimed::before { width: calc(var(--aim-len) + 6px); }

/* Menu « Nos marques » : même typographie que les titres du méga-menu Produits
   (Poppins 800, même taille), avec majuscule uniquement en début de mot. */
.dropdown-menu ul li a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(13.5px, 0.95vw, 16px);
  letter-spacing: 0.01em;
  text-transform: capitalize;
}
@media (max-width: 1000px) {
  .dropdown-menu ul li a { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--green); text-transform: capitalize; }
}

/* Header : le logo ne doit jamais être écrasé par le menu (les intitulés ne passent plus à la ligne).
   Entre 1001 et 1180 px, menu un peu plus compact pour que tout tienne sur une ligne. */
.brand { flex-shrink: 0; }
@media (min-width: 1001px) and (max-width: 1180px) {
  .header-inner { gap: 12px; }
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a { font-size: 12.5px; padding: 10px 11px; }
  .main-nav .nav-mega-trigger, .main-nav .nav-dropdown-trigger { gap: 4px; }
  .brand-logo { height: 50px; }
}

/* Actus : affiches de salon (texte dans l'image) — étiquette en bas à droite, affiche entière dans la pop-up */
.actu-media:has(.is-poster) .actu-chip { top: auto; left: auto; bottom: 14px; right: 14px; }
.actu-modal-media:has(.is-poster) { background: #111; }
.actu-modal-media img.is-poster { object-fit: contain; }
.actu-modal-media:has(.is-poster) .actu-chip { top: auto; left: auto; bottom: clamp(12px, 1.4vw, 22px); right: clamp(12px, 1.4vw, 22px); }
