/* ==========================================================================
   Guelwar Agriculture · feuille de style
   Maquette de référence : « Guelwar, maquettes v1 »
   ========================================================================== */

/* ---------- Polices (hébergées localement, aucun appel externe) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces-500-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/caveat-700-latin.woff2") format("woff2");
}

/* ---------- Variables ---------- */
:root {
  --ink: #1f3d2b;          /* titres */
  --ink-2: #22392c;        /* textes forts */
  --text: #59625a;         /* texte courant */
  --muted: #7b827c;
  --brown: #8b5a2b;        /* brun du logo */
  --brown-hover: #774b22;
  --brown-dark: #5e3d23;
  --green: #a6cb76;        /* vert clair (bouton actif, bloc contact) */
  --green-hover: #97bf63;
  --green-circle: #9dc271;
  --olive: #7a9a51;
  --leaf: #4c7c31;
  --teal: #3a7064;
  --water: #5f9a8b;
  --ochre: #a8742a;        /* pôle Commercialisation */
  --soft: #ebf0e0;
  --soft-2: #f3f6ee;
  --sand: #f3ede4;
  --line: #ecebe5;
  --line-2: #dedbd2;
  --white: #ffffff;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Segoe Print", cursive;

  --shadow-card: 0 18px 48px rgba(31, 61, 43, 0.07);
  --shadow-soft: 0 12px 32px rgba(31, 61, 43, 0.1);
  --container: 1290px;
  --gutter: 32px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
ul[class],
ol[class],
nav ul,
footer ul {
  list-style: none;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.accent {
  color: var(--brown);
}
.sr-only {
  position: absolute !important;
  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: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* Icônes (sprite) */
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}
.icon--sm {
  width: 18px;
  height: 18px;
}

/* ---------- Petits composants ---------- */
.eyebrow {
  display: inline-block;
  margin: 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}
.tag__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  flex-shrink: 0;
}
.tag__icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn .icon {
  width: 20px;
  height: 20px;
}
.btn--brown {
  background: var(--brown);
  color: var(--white);
}
.btn--brown:hover {
  background: var(--brown-hover);
}
.btn--shadow {
  box-shadow: 0 16px 30px rgba(139, 90, 43, 0.28);
}
.btn--outline {
  background: var(--white);
  border-color: var(--line-2);
  color: var(--ink);
  font-weight: 500;
}
.btn--outline:hover {
  border-color: var(--ink);
}
.btn--green {
  background: var(--green);
  color: var(--ink);
}
.btn--green:hover {
  background: var(--green-hover);
}
.btn--white {
  background: var(--white);
  color: var(--ink);
}
.btn--white:hover {
  background: #f6f8f2;
}
.btn--line {
  border-color: rgba(31, 61, 43, 0.5);
  color: var(--ink);
}
.btn--line:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.2);
}
.btn--sm {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
}
.btn--arrow {
  padding: 7px 7px 7px 26px;
}
.btn__circle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brown);
  flex-shrink: 0;
}
.btn--green .btn__circle {
  background: var(--brown);
  color: var(--white);
}
.btn__circle .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon {
  width: 18px;
  height: 18px;
  color: var(--brown);
  stroke-width: 2.2;
  transition: transform 0.2s;
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: none;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn--outline {
  border-color: var(--line-2);
  background: var(--white);
}
.icon-btn--outline:hover {
  border-color: var(--ink);
}
.icon-btn--green {
  background: var(--green);
}
.icon-btn--green:hover {
  background: var(--green-hover);
}
.icon-btn--brown {
  background: var(--brown);
  color: var(--white);
}
.icon-btn--brown:hover {
  background: var(--brown-hover);
}

.section {
  position: relative;
  padding-block: 110px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}
.section-head__main {
  max-width: 660px;
}
.section-head__side {
  max-width: 410px;
  padding-bottom: 6px;
}
.section-head__side p {
  font-size: 17px;
  line-height: 1.65;
}
.section-head__side .link-arrow {
  margin-top: 14px;
}
.section-title {
  margin-top: 18px;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.06;
}
.poles .section-title {
  max-width: 10.5em;
}
.section-intro {
  margin-top: 16px;
  font-size: 17px;
}
.text-center {
  text-align: center;
}
@media (max-width: 760px) {
  .br-wide {
    display: none;
  }
}

/* ---------- En-tête ---------- */
.site-header {
  position: relative;
  z-index: 20;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img {
  width: auto;
  height: 58px;
}
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav__list {
  display: flex;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #efeee9;
  box-shadow: 0 10px 28px rgba(31, 61, 43, 0.06);
}
.nav__list a {
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.nav__list a:hover {
  background: var(--soft);
}
.nav__list a[aria-current="page"] {
  background: var(--green);
  color: var(--ink);
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.menu-toggle {
  display: none;
}
.menu-toggle .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% - 4px);
  padding: 14px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(31, 61, 43, 0.16);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu ul {
  display: grid;
  gap: 2px;
}
.mobile-menu a:not(.btn) {
  display: block;
  padding: 13px 18px;
  border-radius: 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu a:not(.btn):hover {
  background: var(--soft-2);
}
.mobile-menu a[aria-current="page"] {
  background: var(--soft);
  font-weight: 600;
}
.mobile-menu__actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mobile-menu__actions .btn {
  width: 100%;
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  padding-top: 40px;
}
/* Calque qui rogne les cercles décoratifs aux bords de l'écran */
.deco {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: -160px;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}
.deco-rings {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 1.5px solid #ebe7dd;
}
.deco-rings::after {
  content: "";
  position: absolute;
  inset: 90px;
  border-radius: 50%;
  border: 1.5px solid #ebe7dd;
}
.hero .deco-rings {
  width: 760px;
  height: 760px;
  right: -300px;
  top: 10px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
  gap: 40px;
}
.hero__title {
  margin-top: 30px;
  max-width: 9.9em;
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.underline svg {
  position: absolute;
  left: 2%;
  bottom: -0.2em;
  width: 96%;
  height: 0.22em;
  overflow: visible;
}
.hero__lead {
  margin-top: 34px;
  max-width: 510px;
  font-size: 18px;
  line-height: 1.66;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}
.proof__avatars {
  display: flex;
}
.proof__avatars > * {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--white);
  overflow: hidden;
  background: var(--soft);
}
.proof__avatars > * + * {
  margin-left: -12px;
}
.proof__avatars img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof__plus {
  display: grid;
  place-items: center;
  background: var(--green) !important;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}
.proof__text {
  font-size: 14px;
  line-height: 1.45;
}
.proof__text strong {
  display: block;
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 600;
}

/* Visuel du héros : tout est positionné dans une boîte de 560 x 640 « unités »
   qui suit la largeur du conteneur (unités de conteneur). */
.hero-art {
  --u: calc(100cqw / 560);
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 560 / 640;
  justify-self: end;
}
.hero-art > * {
  position: absolute;
}
.hero-art__disc {
  left: calc(35 * var(--u));
  top: calc(50 * var(--u));
  width: calc(510 * var(--u));
  height: calc(510 * var(--u));
  border-radius: 50%;
  background: var(--green-circle);
}
/* Une même photo carrée découpée en 4 panneaux arrondis. Pour changer de photo,
   remplacer --hero-scene par url("../img/photos/votre-photo.jpg") (photo carrée). */
.hero-art__pill {
  --hero-scene: url("../img/photos/parcelles-carre-1000.jpg");
  border-radius: 999px;
  background-image: var(--hero-scene);
  background-size: calc(485 * var(--u)) calc(485 * var(--u));
  background-repeat: no-repeat;
  box-shadow: 0 18px 40px rgba(31, 61, 43, 0.14);
}
.hero-art__pill--1 {
  left: calc(55 * var(--u));
  top: calc(110 * var(--u));
  width: calc(112 * var(--u));
  height: calc(392 * var(--u));
  background-position: calc(2 * var(--u)) calc(-66 * var(--u));
}
.hero-art__pill--2 {
  left: calc(183 * var(--u));
  top: calc(43 * var(--u));
  width: calc(112 * var(--u));
  height: calc(486 * var(--u));
  background-position: calc(-126 * var(--u)) calc(1 * var(--u));
}
.hero-art__pill--3 {
  left: calc(310 * var(--u));
  top: calc(80 * var(--u));
  width: calc(112 * var(--u));
  height: calc(430 * var(--u));
  background-position: calc(-253 * var(--u)) calc(-36 * var(--u));
}
.hero-art__pill--4 {
  left: calc(437 * var(--u));
  top: calc(150 * var(--u));
  width: calc(105 * var(--u));
  height: calc(312 * var(--u));
  background-position: calc(-380 * var(--u)) calc(-106 * var(--u));
}
.hero-art__ground {
  left: calc(60 * var(--u));
  top: calc(470 * var(--u));
  width: calc(470 * var(--u));
  height: calc(165 * var(--u));
}
.hero-art__inset {
  left: calc(9 * var(--u));
  top: calc(398 * var(--u));
  width: calc(178 * var(--u));
  height: calc(178 * var(--u));
  border-radius: 50%;
  border: calc(7 * var(--u)) solid var(--white);
  box-shadow: 0 0 0 calc(3 * var(--u)) var(--brown), 0 20px 40px rgba(31, 61, 43, 0.18);
  overflow: hidden;
}
.hero-art__inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-art__badge {
  left: calc(378 * var(--u));
  top: calc(188 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  padding: calc(12 * var(--u)) calc(22 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u));
  border-radius: calc(20 * var(--u));
  background: var(--white);
  box-shadow: 0 18px 40px rgba(31, 61, 43, 0.14);
  white-space: nowrap;
}
.hero-art__badge-icon {
  display: grid;
  place-items: center;
  width: calc(46 * var(--u));
  height: calc(46 * var(--u));
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
}
.hero-art__badge-icon .icon {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
}
.hero-art__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: calc(26 * var(--u));
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.hero-art__badge span span {
  display: block;
  font-size: calc(13.5 * var(--u));
  color: var(--text);
}
.hero-art__stamp {
  left: calc(393 * var(--u));
  top: calc(445 * var(--u));
  width: calc(140 * var(--u));
  height: calc(140 * var(--u));
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(31, 61, 43, 0.16);
}
.hero-art__stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-art__stamp img {
  position: absolute;
  left: 28%;
  top: 29%;
  width: 44%;
  height: auto;
}
.hero-art__leaf {
  left: calc(505 * var(--u));
  top: calc(52 * var(--u));
  width: calc(46 * var(--u));
  height: calc(46 * var(--u));
  transform: rotate(28deg);
}
.hero-art__script {
  left: calc(22 * var(--u));
  top: calc(12 * var(--u));
  transform: rotate(-6deg);
  transform-origin: left center;
  font-family: var(--font-script);
  font-size: calc(29 * var(--u));
  font-weight: 700;
  line-height: 1;
  color: var(--leaf);
  white-space: nowrap;
}
.hero-art__arrow {
  left: calc(82 * var(--u));
  top: calc(42 * var(--u));
  width: calc(60 * var(--u));
  height: calc(56 * var(--u));
  color: var(--leaf);
}

/* Bande d'engagements */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 6px;
  padding: 18px 10px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid #efeee9;
  box-shadow: var(--shadow-card);
}
.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 20px;
}
.feature + .feature {
  border-left: 1px solid var(--line);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--leaf);
  flex-shrink: 0;
}
.feature strong {
  display: block;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.feature span span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
}
.dotted-trail {
  width: 180px;
  height: 104px;
  margin: 2px 0 0 -6px;
  color: var(--brown);
}

/* ---------- Pôles ---------- */
.poles {
  padding-top: 20px;
}
.pole-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
  margin-top: 54px;
}
.pole-cards > * {
  grid-column: span 2;
}
.pole-cards > :nth-child(n + 4) {
  grid-column: span 3;
}
.pole-card {
  --pole: var(--olive);
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid #f1f0eb;
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pole-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(31, 61, 43, 0.12);
}
.pole-card--elevage {
  --pole: var(--brown-dark);
}
.pole-card--transformation {
  --pole: var(--brown);
}
.pole-card--accompagnement {
  --pole: var(--teal);
}
.pole-card--commercialisation {
  --pole: var(--ochre);
}
.pole-card__img {
  height: 206px;
  border-radius: 22px;
  overflow: hidden;
}
.pole-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pole-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0 14px 14px;
}
.pole-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-top: -29px;
  border-radius: 50%;
  border: 4px solid var(--white);
  background: var(--pole);
  color: var(--white);
}
.pole-card__icon .icon {
  width: 22px;
  height: 22px;
}
.pole-card h3 {
  margin-top: 18px;
  font-size: 27px;
}
.pole-card p {
  margin-top: 12px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.pole-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1.5px dotted #e3e1d9;
  font-size: 15px;
  font-weight: 600;
}
.pole-card__go {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pole);
  color: var(--white);
  transition: transform 0.25s;
}
.pole-card__go .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.pole-card:hover .pole-card__go {
  transform: rotate(45deg);
}
.pole-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pole-cards--4 > *,
.pole-cards--4 > :nth-child(n + 4) {
  grid-column: auto;
}
.pole-cards--4 .pole-card h3 {
  font-size: clamp(22px, 1.9vw, 25px);
}
.carousel-dots {
  display: none;
}

/* Cadrage des photos et illustrations */
.pos-low {
  object-position: 50% 85%;
}
.pos-pepper {
  object-position: 22% 75%;
}
.pos-top {
  object-position: 50% 0;
}
.pos-upper {
  object-position: 50% 25%;
}
.pos-left {
  object-position: 25% 50%;
}
.pos-field {
  object-position: 50% 62%;
}
.pos-zebus {
  object-position: 50% 70%;
}
.pos-jars {
  object-position: 50% 60%;
}
.pos-team {
  object-position: 50% 80%;
}
.pos-step-field {
  object-position: 45% 55%;
}
.pos-step-zebus {
  object-position: 35% 70%;
}
.pos-step-jars {
  object-position: 45% 60%;
}
.pos-step-team {
  object-position: 50% 85%;
}

/* ---------- Démarche ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  text-align: center;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step:nth-child(even) {
  padding-top: 70px;
}
.step__media {
  position: relative;
  width: 168px;
  height: 168px;
  padding: 7px;
  border-radius: 50%;
  border: 2px dashed #b9d396;
}
.step__media img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(31, 61, 43, 0.12);
}
.step__num {
  position: absolute;
  right: -2px;
  top: 6px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--white);
  background: var(--olive);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.step:nth-child(2) .step__num {
  background: var(--brown-dark);
}
.step:nth-child(3) .step__num {
  background: var(--brown);
}
.step:nth-child(4) .step__num {
  background: var(--ochre);
}
.step:nth-child(5) .step__num {
  background: var(--teal);
}
.step h3 {
  margin-top: 26px;
  font-size: 24px;
}
.step p {
  max-width: 220px;
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
}
.step__link {
  position: absolute;
  top: 80px;
  left: calc(50% + 92px);
  width: 62px;
  height: 35px;
  color: var(--olive);
}
.step:nth-child(even) .step__link {
  top: 100px;
}

/* ---------- Qui nous sommes ---------- */
.demarche {
  padding-top: 40px;
}
.about-section {
  padding-top: 40px;
}
.about {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
.about-art {
  --u: calc(100cqw / 600);
  container-type: inline-size;
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 560;
}
.about-art > * {
  position: absolute;
}
.about-art__ring {
  left: calc(48 * var(--u));
  top: calc(14 * var(--u));
  width: calc(474 * var(--u));
  height: calc(474 * var(--u));
  border-radius: 50%;
  background: #e8efdd;
}
.about-art__main {
  left: calc(74 * var(--u));
  top: calc(40 * var(--u));
  width: calc(422 * var(--u));
  height: calc(422 * var(--u));
  border-radius: 50%;
  border: calc(12 * var(--u)) solid var(--white);
  overflow: hidden;
}
.about-art__main img,
.about-art__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-art__main img {
  object-position: 50% 50%;
}
.about-art__small {
  left: calc(8 * var(--u));
  top: calc(338 * var(--u));
  width: calc(212 * var(--u));
  height: calc(212 * var(--u));
  border-radius: 50%;
  border: calc(9 * var(--u)) solid var(--white);
  box-shadow: 0 0 0 calc(3 * var(--u)) var(--brown), 0 20px 40px rgba(31, 61, 43, 0.14);
  overflow: hidden;
}
.about-art__since {
  left: calc(352 * var(--u));
  top: calc(378 * var(--u));
  width: calc(230 * var(--u));
  padding: calc(26 * var(--u)) calc(24 * var(--u)) calc(24 * var(--u));
  border-radius: calc(26 * var(--u));
  background: var(--green);
  box-shadow: 0 22px 44px rgba(31, 61, 43, 0.16);
  color: var(--ink);
}
.about-art__since small {
  display: block;
  font-size: calc(12.5 * var(--u));
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.about-art__since strong {
  display: block;
  margin-top: calc(4 * var(--u));
  font-family: var(--font-head);
  font-size: calc(38 * var(--u));
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.about-art__since span {
  display: block;
  margin-top: calc(8 * var(--u));
  font-size: calc(15 * var(--u));
  line-height: 1.4;
}
.about-art__script {
  left: calc(334 * var(--u));
  top: calc(10 * var(--u));
  transform: rotate(-7deg);
  transform-origin: left center;
  font-family: var(--font-script);
  font-size: calc(28 * var(--u));
  font-weight: 700;
  line-height: 1;
  color: var(--brown);
  white-space: nowrap;
}
.about-art__arrow {
  left: calc(380 * var(--u));
  top: calc(40 * var(--u));
  width: calc(56 * var(--u));
  height: calc(56 * var(--u));
  color: var(--brown);
}
.about-art__leaf {
  left: calc(38 * var(--u));
  top: calc(54 * var(--u));
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  transform: rotate(-12deg);
}
.about-art__dot {
  left: calc(42 * var(--u));
  top: calc(258 * var(--u));
  width: calc(26 * var(--u));
  height: calc(26 * var(--u));
  border-radius: 50%;
  background: var(--water);
}
.about__text .section-title {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.12;
}
.about__text > p {
  margin-top: 22px;
  font-size: 17px;
}
.checks {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.checks__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--leaf);
  flex-shrink: 0;
}
.checks__icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}
.about__text .btn {
  margin-top: 34px;
}

/* ---------- Chiffres ---------- */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 42px 16px;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid #efeee9;
  box-shadow: 0 30px 70px rgba(31, 61, 43, 0.07);
  overflow: hidden;
}
.stats::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -70px;
  width: 340px;
  height: 140px;
  border-radius: 60% 40% 0 0 / 100% 100% 0 0;
  background: var(--sand);
  opacity: 0.8;
  transform: rotate(-8deg);
  z-index: 0;
}
.stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 26px;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  flex-shrink: 0;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(38px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}
.stat span span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.45;
}

/* ---------- Témoignage ---------- */
.testimonial {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}
.portrait {
  position: relative;
  width: 100%;
  max-width: 370px;
  aspect-ratio: 370 / 375;
}
.portrait__back {
  position: absolute;
  inset: 8% 0 0 12%;
  border-radius: 46% 54% 52% 48% / 42% 46% 54% 58%;
  background: var(--green);
}
.portrait__front {
  position: absolute;
  inset: 0 9% 8% 0;
  border-radius: 48% 52% 44% 56% / 46% 40% 60% 54%;
  background: #dce5cd;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(31, 61, 43, 0.1);
}
.portrait__front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait__quote {
  position: absolute;
  right: 4%;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid var(--white);
  background: var(--brown);
  color: var(--white);
}
.portrait__quote .icon {
  width: 28px;
  height: 28px;
}
.quote-slider {
  position: relative;
}
.quote {
  display: none;
}
.quote.is-active {
  display: block;
  animation: fade-in 0.45s ease;
}
.quote blockquote p {
  margin-top: 22px;
  font-family: var(--font-head);
  font-size: clamp(26px, 2.6vw, 35px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.quote figcaption {
  margin-top: 30px;
  padding: 26px 140px 0 0;
  border-top: 1.5px dotted #e3e1d9;
  min-height: 76px;
}
.quote figcaption strong {
  display: block;
  color: var(--ink-2);
  font-size: 17px;
  font-weight: 600;
}
.quote figcaption span {
  display: block;
  font-size: 15px;
  color: var(--muted);
}
.quote-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 12px;
}
.quote-nav[hidden] {
  display: none;
}
.quote-nav .icon-btn {
  width: 50px;
  height: 50px;
}
.quote-nav .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Bloc contact ---------- */
.contact {
  padding-block: 20px 90px;
}
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 30px;
  padding: 80px 64px;
  border-radius: 38px;
  background: var(--green);
  overflow: hidden;
  isolation: isolate;
}
.contact-card .eyebrow {
  color: var(--ink);
}
.contact-card h2 {
  margin-top: 18px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.contact-card__text > p {
  max-width: 480px;
  margin-top: 24px;
  color: #2c4434;
  font-size: 18px;
  line-height: 1.65;
}
.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.contact-card__actions .btn {
  gap: 12px;
  padding-inline: 24px;
}
.contact-card__trail {
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 230px;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}
.contact-art {
  position: relative;
  justify-self: center;
  width: 340px;
  height: 340px;
}
.contact-art__plant {
  position: absolute;
  left: 46px;
  top: 30px;
  width: 296px;
  height: 296px;
  border-radius: 50%;
  border: 9px solid var(--white);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(31, 61, 43, 0.18);
}
.contact-art__plant img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-art__burst {
  position: absolute;
  left: -16px;
  top: -4px;
  width: 150px;
  height: 150px;
  transform: rotate(10deg);
  filter: drop-shadow(0 12px 22px rgba(31, 61, 43, 0.14));
}
.contact-art__burst svg {
  width: 100%;
  height: 100%;
}
.contact-art__burst span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  line-height: 1;
}
.contact-art__burst small {
  font-size: 15px;
  font-weight: 600;
}
.contact-art__burst strong {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 29px;
  font-weight: 600;
}
.contact-card__leaves {
  position: absolute;
  z-index: -1;
  right: 30px;
  bottom: -2px;
  width: 300px;
  height: auto;
  pointer-events: none;
}

/* ---------- Pied de page ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 70px;
}
.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1fr);
  gap: 40px;
}
.site-footer__brand img {
  width: auto;
  height: 60px;
}
.site-footer__brand p {
  max-width: 330px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.6;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eef2e6;
  color: var(--ink);
  transition: background-color 0.2s;
}
.socials a:hover {
  background: var(--green);
}
.socials .icon {
  width: 18px;
  height: 18px;
}
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brown);
}
.footer-col ul {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.footer-col a,
.footer-col li {
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--brown);
}
.footer-col .is-muted {
  color: var(--muted);
}
.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 76px;
  padding-block: 26px 34px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.site-footer__bottom a {
  text-decoration: none;
}
.site-footer__bottom a:hover {
  color: var(--brown);
}
.site-footer__mark {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -0.3em;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: clamp(120px, 20vw, 290px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #f2f5ed;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- Pages intérieures ---------- */
.theme-production {
  --pole: var(--olive);
}
.theme-elevage {
  --pole: var(--brown-dark);
}
.theme-transformation {
  --pole: var(--brown);
}
.theme-accompagnement {
  --pole: var(--teal);
}
.theme-commercialisation {
  --pole: var(--ochre);
}
.section--tight {
  padding-block: 20px;
}
.section--flush {
  padding-top: 0;
}
.split__btn {
  margin-top: 30px;
}
.page-hero {
  position: relative;
  padding-top: 40px;
}
.page-hero .deco-rings {
  width: 640px;
  height: 640px;
  right: -260px;
  top: -10px;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  align-items: center;
  gap: 56px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--ink-2);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--brown);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-2);
}
.page-hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.page-hero__lead {
  max-width: 540px;
  margin-top: 26px;
  font-size: 18px;
}
.page-hero .hero__ctas {
  margin-top: 34px;
}
.page-hero--long h1 {
  font-size: clamp(36px, 3.9vw, 54px);
}
.page-visual {
  position: relative;
  padding: 0 0 26px 26px;
}
.page-visual::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 78%;
  height: 78%;
  border-radius: 36px;
  background: var(--soft);
}
.page-visual__img {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.page-visual__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-visual__icon {
  position: absolute;
  left: 4px;
  bottom: 4px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 6px solid var(--white);
  background: var(--pole, var(--olive));
  color: var(--white);
}
.page-visual__icon .icon {
  width: 28px;
  height: 28px;
}
.page-visual__badge {
  position: absolute;
  right: -14px;
  top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(31, 61, 43, 0.14);
}
.page-visual__badge .hero-art__badge-icon {
  width: 44px;
  height: 44px;
  background: var(--pole, var(--brown));
}
.page-visual__badge .hero-art__badge-icon .icon {
  width: 20px;
  height: 20px;
}
.page-visual__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.page-visual__badge small {
  display: block;
  font-size: 13px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 50px;
}
.info-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-cards--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.info-cards--5 .info-card {
  padding: 28px 22px;
}
.info-cards--5 .info-card h3 {
  font-size: 21px;
}
.info-card {
  padding: 30px 26px;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid #efeee9;
  box-shadow: var(--shadow-card);
}
.info-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--leaf);
}
.info-card h3 {
  margin-top: 22px;
  font-size: 23px;
}
.info-card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.info-card a {
  color: var(--brown);
  font-weight: 500;
}
.info-card__num {
  background: var(--pole, var(--teal));
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.split__media {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split p {
  margin-top: 20px;
  font-size: 17px;
}

.band {
  border-radius: 38px;
  background: var(--soft-2);
  padding: 80px 64px;
}

/* Liste à cocher posée sur une carte blanche (bandeaux sans photo) */
.checks.checks--card {
  gap: 18px;
  margin-top: 0;
  padding: 36px 34px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.checks--card li {
  font-size: 17px;
  line-height: 1.45;
}

/* Galeries photo */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.gallery figure {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow-card);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Mosaïque : photos panoramiques (2 colonnes) et verticales (2 rangées) */
.gallery--mosaic {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
}
.gallery--mosaic figure {
  aspect-ratio: auto;
}
.gallery__wide {
  grid-column: span 2;
}
.gallery__tall {
  grid-row: span 2;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.audience li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #efeee9;
  color: var(--ink-2);
  font-weight: 500;
}
.audience .checks__icon {
  width: 30px;
  height: 30px;
}

.placeholder-note {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--brown-dark);
  font-size: 14px;
}

/* Pages légales */
.legal {
  max-width: 820px;
  padding-block: 30px 100px;
}
.legal h1 {
  margin-top: 20px;
  font-size: clamp(38px, 4.4vw, 56px);
}
.legal .updated {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.legal h2 {
  margin-top: 48px;
  font-size: 27px;
}
.legal p,
.legal ul {
  margin-top: 14px;
}
.legal ul {
  padding-left: 22px;
}
.legal li + li {
  margin-top: 6px;
}
.legal a {
  color: var(--brown);
}
.legal strong {
  color: var(--ink-2);
}

/* Page 404 */
.not-found {
  padding-block: 70px 120px;
  text-align: center;
}
.not-found__code {
  font-family: var(--font-head);
  font-size: clamp(110px, 18vw, 200px);
  font-weight: 600;
  line-height: 1;
  color: var(--green);
}
.not-found h1 {
  margin-top: 10px;
  font-size: clamp(32px, 4vw, 48px);
}
.not-found p {
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 17px;
}
.not-found .hero__ctas {
  justify-content: center;
}

/* Apparition au défilement */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */
@media (max-width: 1320px) {
  .header-call {
    display: none;
  }
  .nav__list a {
    padding-inline: 10px;
  }
}

/* Menu repliable en dessous de 1240 px (6 entrées de navigation) */
@media (max-width: 1240px) {
  .nav,
  .header-actions .btn {
    display: none;
  }
  .header-call,
  .menu-toggle {
    display: grid;
  }
  .site-header__inner {
    justify-content: space-between;
  }
  .header-actions {
    gap: 12px;
  }
}

@media (max-width: 1240px) {
  .step__link {
    display: none;
  }
}

@media (max-width: 1180px) {
  :root {
    --gutter: 28px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }
  .feature:nth-child(3) {
    border-left: 0;
  }
  .pole-cards,
  .pole-cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pole-cards > *,
  .pole-cards > :nth-child(n + 4) {
    grid-column: auto;
  }
  .pole-cards > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 13px);
  }
  .info-cards,
  .info-cards--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .info-cards--5 > :last-child {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 50px;
  }
  .step:nth-child(even) {
    padding-top: 0;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
  .contact-card {
    grid-template-columns: minmax(0, 1fr) 320px;
    padding: 64px 48px;
  }
  .contact-art {
    width: 300px;
    height: 300px;
  }
  .contact-art__plant {
    width: 256px;
    height: 256px;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .hero-art {
    justify-self: center;
  }
  .page-visual {
    max-width: 560px;
  }
  .gallery--mosaic {
    grid-auto-rows: 200px;
  }
  .about,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .about-art {
    max-width: 600px;
    margin-inline: auto;
  }
  .testimonial {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
  }
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-art {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  body {
    font-size: 15.5px;
  }
  .section {
    padding-block: 80px;
  }
  .brand img {
    height: 50px;
  }
  .site-header__inner {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .hero {
    padding-top: 22px;
  }
  .hero .deco-rings {
    width: 420px;
    height: 420px;
    right: -210px;
    top: 100px;
  }
  .hero .deco-rings::after {
    display: none;
  }
  .tag {
    border-radius: 24px;
    padding-right: 16px;
  }
  .hero__title {
    margin-top: 24px;
  }
  .hero__lead {
    margin-top: 24px;
    font-size: 17px;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 30px;
  }
  .hero__ctas .btn {
    width: 100%;
    min-height: 60px;
    white-space: normal;
  }
  .hero__ctas .btn--arrow {
    justify-content: space-between;
  }
  .proof {
    margin-top: 34px;
  }
  .hero__grid {
    gap: 36px;
  }
  .features {
    gap: 12px;
    margin-top: 30px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 16px;
    border-radius: 22px;
    background: var(--white);
    border: 1px solid #efeee9 !important;
    box-shadow: var(--shadow-card);
  }
  .feature span span {
    font-size: 13.5px;
  }
  .dotted-trail {
    display: none;
  }
  .poles {
    padding-top: 80px;
  }
  .section-head__side {
    padding-bottom: 0;
  }
  .section-head__side .link-arrow {
    display: none;
  }
  /* Cartes pôles en carrousel horizontal */
  .pole-cards {
    display: flex;
    gap: 16px;
    margin: 34px calc(-1 * var(--gutter)) 0;
    padding: 4px var(--gutter) 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .pole-cards::-webkit-scrollbar {
    display: none;
  }
  .pole-card,
  .pole-cards > :last-child:nth-child(odd) {
    flex: 0 0 82%;
    width: auto;
    scroll-snap-align: start;
  }
  .pole-card__img {
    height: 210px;
  }
  .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
  }
  .carousel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #dcdad3;
    transition: width 0.25s, background-color 0.25s;
  }
  .carousel-dots button[aria-current="true"] {
    width: 30px;
    background: var(--brown);
  }
  /* Démarche en liste verticale */
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 40px;
    text-align: left;
  }
  .step {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    column-gap: 22px;
    padding-bottom: 34px;
  }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 57px;
    top: 120px;
    bottom: 4px;
    border-left: 2px dashed #b9d396;
  }
  .step__media {
    grid-row: span 2;
    width: 116px;
    height: 116px;
    padding: 5px;
    border: 0;
  }
  .step__num {
    width: 38px;
    height: 38px;
    right: -6px;
    top: -2px;
    font-size: 13px;
  }
  .step h3 {
    margin-top: 0;
    align-self: end;
    font-size: 24px;
  }
  .step p {
    max-width: none;
    margin-top: 6px;
    align-self: start;
    font-size: 15px;
  }
  .about {
    gap: 30px;
  }
  .demarche {
    padding-top: 10px;
  }
  .stats {
    padding: 30px 6px;
    row-gap: 26px;
  }
  .stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 16px;
    border-left: 0 !important;
  }
  .stat__icon {
    width: 52px;
    height: 52px;
  }
  .stats::after {
    display: none;
  }
  .testimonial {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .portrait {
    max-width: 340px;
    margin-inline: auto;
  }
  .contact {
    padding-bottom: 70px;
  }
  .contact .container {
    padding-inline: 12px;
  }
  .contact-card {
    padding: 52px 26px 0;
    border-radius: 32px;
  }
  .contact-card__text > p {
    font-size: 16.5px;
  }
  .contact-card__actions {
    flex-direction: column;
    margin-top: 30px;
  }
  .contact-card__actions .btn {
    width: 100%;
    padding-inline: 18px;
  }
  .contact-art {
    width: 300px;
    height: 290px;
    justify-self: start;
    margin-top: 10px;
  }
  .contact-art__plant {
    left: 10px;
    top: 30px;
    width: 236px;
    height: 236px;
  }
  .contact-art__burst {
    left: 160px;
    top: 0;
    width: 130px;
    height: 130px;
  }
  .contact-art__burst strong {
    font-size: 25px;
  }
  .contact-art__burst small {
    font-size: 13px;
  }
  .contact-card__leaves {
    right: -20px;
    width: 240px;
  }
  .site-footer {
    padding-top: 56px;
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
  }
  .site-footer__grid .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .site-footer__bottom {
    flex-direction: column;
    margin-top: 50px;
    padding-bottom: 60px;
  }
  .site-footer__mark {
    bottom: -0.38em;
  }
  .info-cards,
  .info-cards--3,
  .info-cards--5 {
    grid-template-columns: minmax(0, 1fr);
  }
  .info-cards--5 > :last-child {
    grid-column: auto;
  }
  .checks.checks--card {
    padding: 26px 22px;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
  }
  .gallery figure {
    border-radius: 20px;
  }
  .gallery--mosaic {
    grid-auto-rows: 150px;
  }
  .band {
    padding: 24px 20px 40px;
    border-radius: 30px;
  }
  .band .btn {
    width: 100%;
    white-space: normal;
    justify-content: space-between;
    text-align: left;
  }
  .page-visual__badge {
    right: 0;
    top: 16px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: 40px;
  }
  .proof__avatars > * {
    width: 44px;
    height: 44px;
  }
  .proof__text strong {
    font-size: 16px;
  }
  .contact-art {
    width: 270px;
  }
  .contact-art__burst {
    left: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
