/*
Theme Name: Riz Maman
Theme URI: https://rizmaman.sn
Author: Riz Maman
Description: Thème bloc sur mesure de Riz Maman, la marque de riz local de Mintou RASSOUL Agro-Industries. Converti depuis une maquette HTML validée ; chaque section reste modifiable dans l'éditeur.
Version: 1.0.4
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riz-maman
Tags: block-theme, full-site-editing, business, one-column
*/

/* ==========================================================================
   Registre : une seule famille sans-serif, vert profond + jaune, fond blanc
   pur, angles arrondis, boutons en pilule.

   Règle de spécificité tenue dans toute la feuille : WordPress imprime ses
   styles de blocs et ses styles globaux à (0,1,0). Toute marge verticale,
   toute règle sur un bouton, une image ou la navigation est donc écrite à
   (0,1,1) ou plus : balise + classe, ou deux classes.
   ========================================================================== */

:root {
  --vert: #24601f;
  --vert-nuit: #123414;
  --jaune: #ffc81e;
  --encre: #141c13;
  --gris: #5c665b;
  --blanc: #ffffff;
  --trait: #e3e9e1;

  --rayon: 16px;
  --rayon-g: 24px;
  --largeur: 1200px;
  --marge: 24px;
  /* 100cqw : largeur du conteneur (le hero), barre de défilement exclue */
  --bord: max(var(--marge), calc((100cqw - var(--largeur)) / 2));
  --police: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Icônes : SVG en data-URI, générées par theme-src/generer.php */
  --i-fleche-haut-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  --i-fleche-haut-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
  --i-fleche-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-fleche-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-fleche-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-fleche-vert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324601F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-fleche-gris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C665B' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-fleche-gauche-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-fleche-gauche-gris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C665B' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E");
  --i-fleche-monte-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
  --i-coche-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --i-epi-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8M12 8c-2-1-3-3-3-5 2 0 3 1.5 3 3.5M12 8c2-1 3-3 3-5-2 0-3 1.5-3 3.5M12 13c-2-.5-3.5-2-4-4 2 0 3.5 1 4 2.5M12 13c2-.5 3.5-2 4-4-2 0-3.5 1-4 2.5M12 18c-2-.5-3.5-2-4-4 2 0 3.5 1 4 2.5M12 18c2-.5 3.5-2 4-4-2 0-3.5 1-4 2.5'/%3E%3C/svg%3E");
  --i-epi-jaune-fin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V8M12 8c-2-1-3-3-3-5 2 0 3 1.5 3 3.5M12 8c2-1 3-3 3-5-2 0-3 1.5-3 3.5M12 13c-2-.5-3.5-2-4-4 2 0 3.5 1 4 2.5M12 13c2-.5 3.5-2 4-4-2 0-3.5 1-4 2.5M12 18c-2-.5-3.5-2-4-4 2 0 3.5 1 4 2.5M12 18c2-.5 3.5-2 4-4-2 0-3.5 1-4 2.5'/%3E%3C/svg%3E");
  --i-soleil-jaune-fin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2.5M12 19.5V22M2 12h2.5M19.5 12H22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8'/%3E%3C/svg%3E");
  --i-tri-jaune-fin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-7 8.5V19l-4 2v-8.5z'/%3E%3C/svg%3E");
  --i-sac-jaune-fin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 3h7L14 7c3 2 5 5 5 8.5 0 3.5-3 5.5-7 5.5s-7-2-7-5.5C5 12 7 9 10 7z'/%3E%3Cpath d='M9.5 7h5'/%3E%3C/svg%3E");
  --i-camion-jaune-fin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h13v11H1zM14 9h4l4 4v3h-8z'/%3E%3Ccircle cx='6' cy='18.5' r='2'/%3E%3Ccircle cx='18' cy='18.5' r='2'/%3E%3C/svg%3E");
  --i-maison-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E");
  --i-boutique-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9M3 9v11h18V9M3 9a3 3 0 0 0 6 0 3 3 0 0 0 6 0 3 3 0 0 0 6 0M9 20v-6h6v6'/%3E%3C/svg%3E");
  --i-couverts-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2v20M4 2v6a3 3 0 0 0 6 0V2M17 2c-2 2-3 5-3 8v3h3zM17 13v9'/%3E%3C/svg%3E");
  --i-camion-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h13v11H1zM14 9h4l4 4v3h-8z'/%3E%3Ccircle cx='6' cy='18.5' r='2'/%3E%3Ccircle cx='18' cy='18.5' r='2'/%3E%3C/svg%3E");
  --i-recyclage-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.7L20 8.5M20 4v4.5h-4.5M20 12a8 8 0 0 1-13.7 5.7L4 15.5M4 20v-4.5h4.5'/%3E%3C/svg%3E");
  --i-recyclage-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.7L20 8.5M20 4v4.5h-4.5M20 12a8 8 0 0 1-13.7 5.7L4 15.5M4 20v-4.5h4.5'/%3E%3C/svg%3E");
  --i-essor-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8M15 7h6v6'/%3E%3C/svg%3E");
  --i-pousse-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V11M12 11c0-4-3-6-7-6 0 4 3 6 7 6zM12 15c0-3 2.5-5 7-5 0 3.5-2.5 5-7 5z'/%3E%3C/svg%3E");
  --i-pousse-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22V11M12 11c0-4-3-6-7-6 0 4 3 6 7 6zM12 15c0-3 2.5-5 7-5 0 3.5-2.5 5-7 5z'/%3E%3C/svg%3E");
  --i-oeil-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --i-drapeau-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22V4M4 4h13l-2.5 4.5L17 13H4'/%3E%3C/svg%3E");
  --i-tel-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --i-tel-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --i-mail-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
  --i-mail-encre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
  --i-lieu-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC81E' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  --i-pastille-jaune: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Ccircle cx='19' cy='19' r='19' fill='%23FFC81E'/%3E%3Cg transform='translate(10 10) scale(.75)' fill='none' stroke='%23141C13' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/g%3E%3C/svg%3E");
}

/* Police hébergée dans le thème (Outfit, licence OFL, fichier variable 300-700).
   Aucun appel à Google Fonts : l'extension de consentement du site le bloquait
   tant que le visiteur n'avait pas accepté, et tout s'affichait en police de secours. */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--police);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--gris);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; } /* height:auto obligatoire : sinon l'attribut height des blocs image l'emporte sur aspect-ratio */
figure { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--police);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--encre);
  text-wrap: balance;
  hyphens: none;
}

/* Filet de sécurité à spécificité nulle (l'espacement est d'abord coupé à la
   source : blockGap "0px" dans theme.json). */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }

/* L'en-tête se pose sur la première section ; ce repère le garde sous la
   barre d'administration quand on est connecté. */
.wp-site-blocks { position: relative; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; border-radius: 6px; }

.enveloppe { width: min(100% - 2 * var(--marge), var(--largeur)); margin-inline: auto; }

.section { padding: 112px 0; }
.section--sans-haut { padding-top: 0; }

h2.titre-section { font-size: clamp(30px, 3.05vw, 44px); margin-top: 16px; max-width: 640px; }

.tete-centree { text-align: center; }
.tete-centree h2.titre-section { margin-inline: auto; }
.tete-centree > p:not(.etiquette) { max-width: 720px; margin: 18px auto 0; font-size: 17px; text-wrap: balance; }

/* ---------- Étiquette (petite pilule au-dessus des titres) ---------- */
p.etiquette {
  display: flex; align-items: center; gap: 8px; width: fit-content;
  height: 30px; padding: 0 14px;
  border: 1px solid var(--trait); border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1; color: var(--vert); background: var(--blanc);
}
/* Dans la maquette, l'étiquette occupait une boîte de ligne de 31 px : le pixel est reporté sur le titre. */
p.etiquette + h2.titre-section { margin-top: 17px; }
p.etiquette::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jaune); flex: none; }
.tete-centree p.etiquette, .conseils__bloc p.etiquette { margin-inline: auto; }
p.etiquette--sombre { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: var(--blanc); }

/* ---------- Boutons (core/button : la classe est sur le conteneur) ---------- */
.wp-block-button:is(.btn--jaune, .btn--vert, .btn--nuit) { display: inline-block; margin: 0; padding: 0; border: 0; background: none; }
.wp-block-button:is(.btn--jaune, .btn--vert, .btn--nuit) .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 14px;
  width: auto; height: 54px; padding: 0 8px 0 26px;
  border: 0; border-radius: 999px; box-shadow: none;
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1;
  text-align: left; text-decoration: none; white-space: nowrap; word-break: normal;
  transition: transform 0.25s ease;
}
.wp-block-button:is(.btn--jaune, .btn--vert, .btn--nuit) .wp-block-button__link::after {
  content: ""; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--pastille) var(--pastille-ico) center / 18px no-repeat;
  transition: transform 0.25s ease;
}
.wp-block-button:is(.btn--jaune, .btn--vert, .btn--nuit) .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button:is(.btn--jaune, .btn--vert, .btn--nuit) .wp-block-button__link:hover::after { transform: rotate(45deg); }

.wp-block-button.btn--jaune .wp-block-button__link { background: var(--jaune); color: var(--encre); --pastille: var(--vert-nuit); --pastille-ico: var(--i-fleche-haut-jaune); }
.wp-block-button.btn--vert .wp-block-button__link { background: var(--vert); color: var(--blanc); --pastille: var(--jaune); --pastille-ico: var(--i-fleche-haut-encre); }
.wp-block-button.btn--nuit .wp-block-button__link { background: var(--vert-nuit); color: var(--blanc); --pastille: var(--jaune); --pastille-ico: var(--i-fleche-haut-encre); }

p.lien-rond, p.lien-fleche, .hero__contact-liens p { display: flex; }
p.lien-rond a { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; color: var(--blanc); }
p.lien-rond a::before {
  content: ""; width: 54px; height: 54px; border-radius: 50%; flex: none;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent var(--i-fleche-blanc) center / 20px no-repeat;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
p.lien-rond a:hover::before { background-color: var(--jaune); border-color: var(--jaune); background-image: var(--i-fleche-encre); }

p.lien-fleche a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; }
p.lien-fleche a::after { content: ""; width: 18px; height: 18px; flex: none; background: var(--i-fleche-jaune) center / contain no-repeat; transition: transform 0.25s ease; }
p.lien-fleche a:hover::after { transform: translateX(4px); }

/* ---------- Icônes : une classe ico-* choisit le dessin, le composant choisit la couleur ---------- */
.ico-maison { --ico: var(--i-maison-jaune); }
.ico-boutique { --ico: var(--i-boutique-jaune); }
.ico-couverts { --ico: var(--i-couverts-jaune); }
.ico-camion { --ico: var(--i-camion-jaune); --ico-fin: var(--i-camion-jaune-fin); }
.ico-epi { --ico: var(--i-epi-jaune); --ico-fin: var(--i-epi-jaune-fin); }
.ico-soleil { --ico-fin: var(--i-soleil-jaune-fin); }
.ico-tri { --ico-fin: var(--i-tri-jaune-fin); }
.ico-sac { --ico-fin: var(--i-sac-jaune-fin); }
.ico-recyclage { --ico: var(--i-recyclage-jaune); --ico-encre: var(--i-recyclage-encre); }
.ico-essor { --ico: var(--i-essor-jaune); }
.ico-pousse { --ico: var(--i-pousse-jaune); --ico-encre: var(--i-pousse-encre); }
.ico-oeil { --ico-encre: var(--i-oeil-encre); }
.ico-drapeau { --ico-encre: var(--i-drapeau-encre); }
.ico-tel { --ico: var(--i-tel-jaune); --ico-encre: var(--i-tel-encre); }
.ico-mail { --ico: var(--i-mail-jaune); --ico-encre: var(--i-mail-encre); }
.ico-lieu { --ico: var(--i-lieu-jaune); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.entete { position: absolute; inset: 0 0 auto 0; z-index: 30; padding: 20px 0; }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.wp-block-image.logo { flex: none; }
.wp-block-image.logo > a { display: block; }
.wp-block-image.logo img { height: 74px; width: auto; }

.wp-block-navigation.menu { gap: 34px; font-size: 16px; font-weight: 400; color: var(--blanc); }
.wp-block-navigation.menu .wp-block-navigation__container { gap: 34px; }
.wp-block-navigation.menu .wp-block-navigation-item__content {
  position: relative; padding: 8px 0; color: inherit; text-decoration: none;
  opacity: 0.86; transition: opacity 0.2s ease;
}
.wp-block-navigation.menu .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.wp-block-navigation.menu .wp-block-navigation-item__content:hover,
.wp-block-navigation.menu .current-menu-item > .wp-block-navigation-item__content { opacity: 1; }
.wp-block-navigation.menu .wp-block-navigation-item__content:hover::after,
.wp-block-navigation.menu .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }

/* Le panneau mobile de core/navigation s'ouvre blanc sur blanc sans ceci :
   le CSS du bloc est imprimé après cette feuille. Seul !important du thème. */
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--vert-nuit) !important; color: var(--blanc) !important;
  padding: 24px var(--marge);
}
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { gap: 6px; font-size: 22px; font-weight: 500; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content { padding: 10px 0; opacity: 1; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.wp-block-navigation.menu .is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--jaune); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--vert-nuit); color: var(--blanc); container-type: inline-size; }

.wp-block-image.hero__photo { position: absolute; inset: 0; z-index: -2; }
.wp-block-image.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 40%; }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 32, 12, 0.6) 0%, rgba(10, 32, 12, 0) 24%),
    linear-gradient(90deg, rgba(18, 52, 20, 0.97) 0%, rgba(24, 68, 24, 0.9) 30%, rgba(30, 84, 28, 0.52) 58%, rgba(36, 96, 31, 0.2) 100%);
}

.hero__contenu { max-width: 640px; padding: 208px 0 132px; }

h1.titre-hero { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.06; color: var(--blanc); }

p.hero__texte { margin-top: 24px; max-width: 520px; font-size: 17px; color: rgba(255, 255, 255, 0.84); }

.wp-block-group.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 38px; }

/* Bandeau bas : bloc jaune à bord oblique + repères de marque */
.hero__bas { position: relative; display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 1fr); align-items: end; }

.hero__contact {
  position: relative; z-index: 2;
  padding: 30px 96px 30px var(--bord);
  background: var(--jaune); color: var(--encre);
  clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 100%, 0 100%);
}
p.hero__contact-titre { font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--encre); max-width: 360px; }
.wp-block-group.hero__contact-liens { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 14px; font-size: 15px; font-weight: 500; }
.hero__contact-liens a { display: inline-flex; align-items: center; gap: 9px; }
.hero__contact-liens a::before { content: ""; width: 17px; height: 17px; flex: none; background: var(--ico-encre) center / contain no-repeat; }

ul.hero__reperes {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 92px; margin: 0 0 0 -64px; padding: 0 var(--bord) 0 112px; list-style: none;
  background: rgba(10, 30, 12, 0.72);
  backdrop-filter: blur(8px);
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.62);
  white-space: nowrap; overflow: hidden;
}
.hero__reperes li { display: inline-flex; align-items: center; gap: 8px; }
.hero__reperes li:first-child::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--i-epi-jaune) center / contain no-repeat; }

/* ==========================================================================
   Offre — cartes vertes en glissière
   ========================================================================== */
.offre__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.wp-block-group.offre__tete { margin-bottom: 46px; }

.fleches { display: flex; gap: 10px; flex: none; }
p.fleche {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--vert);
  background: var(--vert) var(--i-fleche-blanc) center / 20px no-repeat;
  font-size: 0; line-height: 0; color: transparent; overflow: hidden;
  cursor: pointer; user-select: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
p.fleche--prec { background-image: var(--i-fleche-gauche-blanc); }
p.fleche.est-inactif { background-color: var(--blanc); border-color: var(--trait); background-image: var(--i-fleche-gris); cursor: default; }
p.fleche--prec.est-inactif { background-image: var(--i-fleche-gauche-gris); }

.piste {
  display: grid; grid-auto-flow: column; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.piste::-webkit-scrollbar { display: none; }
.piste > * { scroll-snap-align: start; }
.piste--trois { grid-auto-columns: calc((100% - 48px) / 3); }
.piste--deux { grid-auto-columns: calc((100% - 24px) / 2); }
.piste.piste--fixe { overflow: visible; }

.carte-offre {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 300px; padding: 34px 32px 30px;
  border-radius: var(--rayon); background: var(--vert); color: var(--blanc);
  transition: background 0.3s ease, transform 0.3s ease;
}
.carte-offre:hover { background: var(--vert-nuit); transform: translateY(-4px); }
.carte-offre::before {
  content: ""; width: 58px; height: 58px; border-radius: 14px; flex: none;
  background: rgba(255, 255, 255, 0.1) var(--ico) center / 28px no-repeat;
}
/* Premier enfant d'un groupe : WordPress annule sa marge haute à (0,2,0), d'où la double classe. */
.wp-block-group.carte-offre > h3 { margin-top: 26px; font-size: 23px; font-weight: 500; color: var(--blanc); }
.carte-offre p:not(.lien-fleche) { margin-top: 12px; margin-bottom: 26px; font-size: 15.5px; color: rgba(255, 255, 255, 0.76); }
.carte-offre p.lien-fleche { margin-top: auto; color: var(--blanc); }

.wp-block-group.cartes-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.cartes-trois .carte-offre { min-height: 0; }
.cartes-trois .carte-offre p:not(.lien-fleche) { margin-bottom: 0; }

/* ==========================================================================
   Bloc photo + texte
   ========================================================================== */
.apropos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 76px; align-items: center; }

.wp-block-image.apropos__photo { border-radius: var(--rayon-g); overflow: hidden; aspect-ratio: 1 / 0.98; }
.wp-block-image.apropos__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.wp-block-image.apropos__photo--epis img { object-position: 94% 50%; }
.wp-block-image.apropos__photo--paysage { aspect-ratio: 4 / 3; }
.wp-block-image.apropos__photo--paysage img { object-position: 50% 50%; }

.apropos__texte > p:not(.etiquette) { margin-top: 20px; font-size: 17px; }
.apropos__texte > p:not(.etiquette) + p { margin-top: 14px; }
.apropos__texte > .wp-block-buttons { margin-top: 34px; }

ul.liste-coches { display: grid; gap: 13px; margin: 28px 0 36px; padding: 0; list-style: none; }
.liste-coches li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--encre); }
.liste-coches li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; flex: none; background: var(--vert) var(--i-coche-blanc) center / 13px no-repeat; }
.apropos__texte > ul.liste-coches + .wp-block-buttons { margin-top: 0; }

.visuel-chiffre { position: relative; }
.wp-block-image.visuel-chiffre__photo { border-radius: var(--rayon-g); overflow: hidden; aspect-ratio: 438 / 319; }
.wp-block-image.visuel-chiffre__photo img { width: 100%; height: 100%; object-fit: cover; }
.badge-chiffre { position: absolute; left: -28px; bottom: -30px; padding: 22px 30px 24px; border-radius: var(--rayon); background: var(--jaune); color: var(--encre); }
p.badge-chiffre__valeur { font-size: 54px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--encre); }
p.badge-chiffre__legende { margin-top: 6px; font-size: 15.5px; color: var(--encre); }

/* ==========================================================================
   Bande verte pleine largeur : chaîne de valeur, formats, processus
   ========================================================================== */
.procede { padding: 100px 0 104px; background: var(--vert); color: var(--blanc); }

.procede__tete {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.procede h2.titre-section { margin-top: 0; max-width: 540px; color: var(--blanc); }
p.procede__intro { max-width: 470px; font-size: 16px; color: rgba(255, 255, 255, 0.8); }

.chiffre { display: flex; align-items: center; gap: 18px; flex: none; }
p.chiffre__valeur { font-size: 60px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--jaune); white-space: nowrap; }
p.chiffre__legende { max-width: 170px; font-size: 14.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }

.wp-block-group.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; margin-top: 48px; }
.wp-block-group.etapes--cinq { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.etape::before { content: ""; display: block; width: 44px; height: 44px; background: var(--ico-fin) center / contain no-repeat; }
/* 20 px + les 7,4 px de boîte de ligne que le SVG en ligne de la maquette ajoutait sous l'icône */
.wp-block-group.etape > h3 { margin-top: 27.4px; font-size: 20px; font-weight: 500; color: var(--blanc); }
.etape p { margin-top: 10px; font-size: 15.5px; color: rgba(255, 255, 255, 0.74); }

.wp-block-group.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 48px; }
p.format__valeur { font-size: 68px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--jaune); }
.format h3 { margin-top: 14px; font-size: 20px; font-weight: 500; color: var(--blanc); }

ol.chaine { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: maillon; }
.chaine li {
  display: flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 26px 0 9px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: var(--blanc);
  font-size: 17px; font-weight: 500; counter-increment: maillon;
}
.chaine li::before {
  content: counter(maillon); width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--jaune); color: var(--encre);
  font-size: 16px; font-weight: 600;
}

/* ==========================================================================
   Produits — cartes photo à étiquette jaune, gammes
   ========================================================================== */
.wp-block-group.grille-produits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }

.carte-produit { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 1 / 1.16; }
.wp-block-image.carte-produit__photo { width: 100%; height: 100%; }
.wp-block-image.carte-produit__photo > a { display: block; width: 100%; height: 100%; }
.wp-block-image.carte-produit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transition: transform 0.7s ease; }
.carte-produit:hover .wp-block-image.carte-produit__photo img { transform: scale(1.05); }
.carte-produit--paysage .wp-block-image.carte-produit__photo img { object-position: 42% 50%; }

.carte-produit__label {
  position: absolute; left: 16px; bottom: 16px;
  min-width: 58%; padding: 15px 20px 16px;
  border-radius: 12px; background: var(--jaune); color: var(--encre);
  pointer-events: none;
}
.carte-produit__label h3 { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: 0; color: var(--encre); }
.carte-produit__label p { margin-top: 3px; font-size: 14.5px; color: var(--encre); opacity: 0.82; }

.wp-block-group.gammes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.gamme { display: grid; grid-template-columns: 44% minmax(0, 1fr); border: 1px solid var(--trait); border-radius: var(--rayon-g); overflow: hidden; background: var(--blanc); }
.wp-block-image.gamme__photo { min-height: 390px; overflow: hidden; }
.wp-block-image.gamme__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform 0.7s ease; }
.gamme:hover .wp-block-image.gamme__photo img { transform: scale(1.05); }
.gamme__texte { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px 34px 36px; }
.gamme__texte h3 { font-size: 27px; }
.gamme__texte p:not(.lien-fleche) { margin: 14px 0 24px; }
.gamme__texte p.lien-fleche { color: var(--encre); }
.gamme__texte p.lien-fleche a::after { background-image: var(--i-fleche-vert); }

/* ==========================================================================
   Bande photo + carte jaune
   ========================================================================== */
.vallee { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 480px; padding: 72px 0; color: var(--blanc); }
.wp-block-image.vallee__photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.wp-block-image.vallee__photo img { width: 100%; height: 100%; object-fit: cover; }
.vallee::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 42, 16, 0.7) 0%, rgba(14, 42, 16, 0.3) 55%, rgba(14, 42, 16, 0.18) 100%);
}
.vallee--citation::before { background: linear-gradient(90deg, rgba(14, 42, 16, 0.88) 0%, rgba(14, 42, 16, 0.64) 55%, rgba(14, 42, 16, 0.4) 100%); }

.vallee__contenu { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
p.vallee__mot { font-size: clamp(60px, 7.4vw, 108px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--blanc); }
p.vallee__citation { max-width: 640px; font-size: clamp(30px, 3.3vw, 46px); font-weight: 600; line-height: 1.16; letter-spacing: -0.012em; color: var(--blanc); text-wrap: balance; }

.vallee__carte { flex: none; width: min(100%, 430px); padding: 40px 40px 38px; border-radius: var(--rayon-g); background: var(--jaune); color: var(--encre); }
.vallee__carte h3 { font-size: 27px; font-weight: 600; line-height: 1.22; }
.vallee__carte h3 + p { margin-top: 14px; font-size: 16px; color: var(--encre); }
.vallee__carte .wp-block-buttons { margin-top: 26px; }

/* ==========================================================================
   Bloc vert arrondi encarté : vision, engagement
   ========================================================================== */
.conseils__bloc { padding: 76px 64px 56px; border-radius: var(--rayon-g); background: var(--vert); color: var(--blanc); text-align: center; }
.conseils__bloc h2.titre-section { margin-inline: auto; color: var(--blanc); }
.conseils__bloc .wp-block-group.piste { margin-top: 46px; text-align: left; }

.carte-conseil { display: flex; flex-direction: column; padding: 34px 34px 30px; border-radius: var(--rayon); background: rgba(255, 255, 255, 0.09); }
p.carte-conseil__citation { font-size: 20px; line-height: 1.5; color: var(--blanc); }

.wp-block-group.carte-conseil__auteur { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 14px; margin-top: auto; padding-top: 26px; }
.carte-conseil__auteur::before { content: ""; grid-row: 1 / span 2; width: 54px; height: 54px; border-radius: 50%; background: var(--jaune) var(--ico-encre) center / 24px no-repeat; }
p.carte-conseil__nom { align-self: end; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--blanc); }
p.carte-conseil__role { align-self: start; font-size: 14.5px; color: rgba(255, 255, 255, 0.7); }

.carte-conseil--texte::before { content: ""; width: 54px; height: 54px; border-radius: 50%; flex: none; background: var(--jaune) var(--ico-encre) center / 24px no-repeat; }
.wp-block-group.carte-conseil--texte > h3 { margin-top: 22px; font-size: 24px; font-weight: 500; color: var(--blanc); }
.carte-conseil--texte p { margin-top: 12px; font-size: 16px; color: rgba(255, 255, 255, 0.82); }

.points { display: flex; justify-content: center; gap: 8px; }
.wp-block-group.points { margin-top: 34px; }
p.point { width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.32); font-size: 0; line-height: 0; color: transparent; overflow: hidden; cursor: pointer; transition: width 0.25s ease, background 0.25s ease; }
p.point.est-actif { width: 28px; background: var(--jaune); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grille { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 76px; align-items: start; }
.contact-grille__texte > p:not(.etiquette) { margin-top: 20px; font-size: 17px; }
.wp-block-group.coordonnees { display: grid; gap: 24px; margin-top: 38px; }

.coord { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 18px; align-content: center; }
.coord::before { content: ""; grid-row: 1 / span 3; align-self: center; width: 60px; height: 60px; border-radius: 50%; background: var(--vert-nuit) var(--ico) center / 24px no-repeat; }
.coord p { grid-column: 2; font-size: 15.5px; line-height: 1.5; color: var(--encre); }
.coord p.coord__titre { font-size: 19px; font-weight: 600; line-height: 1.3; }
.coord a:hover { text-decoration: underline; }
.coordonnees .coord::before { background-color: var(--vert); }

/* Formulaire Contact Form 7 : la classe « formulaire » est posée sur <form> */
form.formulaire { padding: 42px; border: 1px solid var(--trait); border-radius: var(--rayon-g); background: var(--blanc); }
.formulaire__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.formulaire .champ { display: grid; gap: 8px; align-content: start; margin: 0; }
.formulaire .champ--large, .formulaire .formulaire__envoi { grid-column: 1 / -1; }
.formulaire label { font-size: 15px; font-weight: 500; line-height: 1.65; color: var(--encre); }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire input:not([type="submit"]), .formulaire select, .formulaire textarea {
  display: block; width: 100%; padding: 14px 16px; margin: 0;
  border: 1px solid var(--trait); border-radius: 12px;
  font: inherit; color: var(--encre); background: var(--blanc);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Six lignes, comme dans la maquette : hauteur fixée ici pour ne pas dépendre de l'attribut rows de Contact Form 7 */
.formulaire textarea { height: calc(6 * 1.65em + 30px); min-height: 150px; resize: vertical; }
.formulaire input:not([type="submit"]):focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--vert); box-shadow: 0 0 0 3px rgba(36, 96, 31, 0.14); }
.formulaire .formulaire__envoi { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; }
.formulaire input[type="submit"] {
  -webkit-appearance: none; appearance: none;
  height: 54px; padding: 0 60px 0 26px; margin: 0;
  border: 0; border-radius: 999px;
  background: var(--vert) var(--i-pastille-jaune) right 8px center / 38px no-repeat; color: var(--blanc);
  font: inherit; font-size: 16px; font-weight: 500; line-height: 1; cursor: pointer;
  transition: transform 0.25s ease;
}
.formulaire input[type="submit"]:hover { transform: translateY(-2px); }
.formulaire .wpcf7-spinner { margin: 0; }
.formulaire .wpcf7-not-valid-tip { margin-top: 2px; font-size: 13.5px; color: #b3261e; }
.wpcf7 form.formulaire .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; border: 1px solid var(--trait); border-radius: 12px; font-size: 15px; color: var(--encre); }
.wpcf7 form.formulaire.invalid .wpcf7-response-output, .wpcf7 form.formulaire.failed .wpcf7-response-output { border-color: #b3261e; }
.wpcf7 form.formulaire.sent .wpcf7-response-output { border-color: var(--vert); }

/* ==========================================================================
   Bande contact jaune, à cheval sur le pied de page
   ========================================================================== */
.contact-bande { position: relative; z-index: 2; }
.wp-block-group.contact-bande { margin-bottom: -76px; }
.contact-bande__bloc {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  padding: 38px 48px; border-radius: var(--rayon-g); background: var(--jaune); color: var(--encre);
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pied { padding: 164px 0 0; background: var(--vert-nuit); color: rgba(255, 255, 255, 0.72); font-size: 15.5px; }

.pied__grille { display: grid; grid-template-columns: 1.5fr 0.9fr 1fr 1.35fr; gap: 56px; padding-bottom: 60px; }
.wp-block-image.pied__logo img { height: 108px; width: auto; }
.pied__marque p { margin-top: 20px; max-width: 300px; }
.pied h4 { margin-bottom: 20px; font-size: 19px; font-weight: 500; color: var(--blanc); }
.pied ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.pied ul a { transition: color 0.2s ease; }
.pied ul a:hover { color: var(--jaune); }
.pied .wp-block-buttons { margin-top: 22px; }

.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14.5px;
}
.pied__bas p.pied__credit { color: rgba(255, 255, 255, 0.55); }

/* ---------- Bouton « remonter » : paragraphe-lien fixé en bas à droite ----------
   Le libellé reste dans le lien pour les lecteurs d'écran, seule la flèche se voit.
   Le script le masque tant que la page n'a pas défilé. */
p.remonter { position: fixed; right: 24px; bottom: 24px; z-index: 40; margin: 0; }
p.remonter a {
  display: block; width: 52px; height: 52px; border-radius: 50%;
  background: var(--jaune) var(--i-fleche-monte-encre) center / 22px no-repeat;
  box-shadow: 0 10px 24px rgba(18, 52, 20, 0.3);
  font-size: 0; line-height: 0; color: transparent; overflow: hidden;
  transition: transform 0.25s ease;
}
p.remonter a:hover { transform: translateY(-3px); }
p.remonter a:focus-visible { outline-color: var(--vert-nuit); }
.js p.remonter { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s; }
.js p.remonter.est-affiche { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.3s ease; }

/* ==========================================================================
   Équipe — cartes photo à étiquette jaune (même dispositif que les cartes
   produits), réseaux sociaux en pastilles sur la photo
   ========================================================================== */
.wp-block-group.equipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }

.membre { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 1 / 1.2; background: var(--trait); }
.wp-block-image.membre__photo { width: 100%; height: 100%; }
.wp-block-image.membre__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.7s ease; }
.membre:hover .wp-block-image.membre__photo img { transform: scale(1.05); }

.membre__label { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px 15px; border-radius: 12px; background: var(--jaune); color: var(--encre); }
.membre__label h3 { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: 0; color: var(--encre); }
.membre__label p { margin-top: 3px; font-size: 14.5px; color: var(--encre); opacity: 0.82; }

/* core/social-links : ses couleurs de marque sont écrites à (0,3,0), d'où (0,4,0) ici */
.wp-block-social-links.membre__reseaux { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 18px; }
.wp-block-social-links.membre__reseaux .wp-social-link.wp-block-social-link { margin: 0; border-radius: 50%; background-color: var(--vert-nuit); color: var(--blanc); transition: background-color 0.2s ease, color 0.2s ease; }
.wp-block-social-links.membre__reseaux .wp-social-link.wp-block-social-link:hover { background-color: var(--jaune); color: var(--encre); transform: none; }
.wp-block-social-links.membre__reseaux .wp-social-link.wp-block-social-link a { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: inherit; fill: currentColor; }
.wp-block-social-links.membre__reseaux .wp-social-link.wp-block-social-link svg { width: 18px; height: 18px; fill: currentColor; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; word-wrap: normal; }

/* ==========================================================================
   Partenaires — logos en tuiles blanches qui défilent en continu
   Sans script (et dans l'éditeur) : grille fixe. Avec script : app.js double
   la rangée pour l'affichage seulement et pose .est-anime ; un décalage de
   -50 % retombe alors exactement sur la première tuile, sans à-coup.
   ========================================================================== */
.wp-block-group.partenaires-cadre { margin-top: 44px; overflow: hidden; }
.wp-block-group.partenaires { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.wp-block-image.partenaire { display: grid; place-items: center; height: 112px; padding: 18px 16px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--blanc); transition: border-color 0.25s ease; }

.js .wp-block-group.partenaires-cadre.est-defilant {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.js .wp-block-group.partenaires.est-anime { display: flex; gap: 0; width: max-content; animation: defile-partenaires var(--duree, 32s) linear infinite; }
/* marge plutôt que gap : chaque tuile emporte son écart, la moitié de la piste vaut une rangée pile */
.js .wp-block-group.partenaires.est-anime > .wp-block-image.partenaire { flex: none; width: 200px; margin: 0 16px 0 0; }
.js .partenaires-cadre:hover .partenaires.est-anime { animation-play-state: paused; }
@keyframes defile-partenaires { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.wp-block-image.partenaire:hover { border-color: var(--vert); }
.wp-block-image.partenaire img { width: auto; max-width: 100%; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.3s ease, opacity 0.3s ease; }
.wp-block-image.partenaire:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   Pages intérieures : bannière, page générique, 404
   ========================================================================== */
.hero--page .hero__contenu { max-width: 820px; padding: 184px 0 92px; }
.hero--page h1.titre-hero { font-size: clamp(38px, 4vw, 58px); }
.hero--page p.hero__texte { max-width: 640px; margin-top: 16px; font-size: 19px; }
p.fil { margin-bottom: 18px; font-size: 15px; word-spacing: 6px; color: rgba(255, 255, 255, 0.74); }
p.fil a { color: var(--jaune); }
p.fil a:hover { text-decoration: underline; }
.hero--page .wp-block-buttons { margin-top: 30px; }

/* Une page créée sans bannière : l'en-tête redevient un bandeau plein, sinon
   son texte blanc serait illisible sur le fond blanc de la page. */
.wp-site-blocks:not(:has(main > .hero:first-child, .wp-block-post-content > .hero:first-child)) .entete { position: relative; background: var(--vert-nuit); }

/* ==========================================================================
   Apparition au défilement (uniquement si le script est chargé)
   ========================================================================== */
.js .revele { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .revele.est-visible { opacity: 1; transform: none; }
.js .grille-produits .revele:nth-child(2) { transition-delay: 0.1s; }
.js .grille-produits .revele:nth-child(3) { transition-delay: 0.2s; }
.js .equipe .revele:nth-child(2) { transition-delay: 0.08s; }
.js .equipe .revele:nth-child(3) { transition-delay: 0.16s; }
.js .equipe .revele:nth-child(4) { transition-delay: 0.24s; }

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

/* ==========================================================================
   Adaptation
   ========================================================================== */
@media (max-width: 1100px) {
  .wp-block-navigation.menu, .wp-block-navigation.menu .wp-block-navigation__container { gap: 26px; }
  .apropos { gap: 48px; }
  .hero__reperes li:nth-child(n + 4) { display: none; }
  .pied__grille { grid-template-columns: 1fr 1fr; gap: 44px 40px; }
  .gamme { grid-template-columns: 1fr; }
  .wp-block-image.gamme__photo { min-height: 0; aspect-ratio: 1 / 0.9; }
  .wp-block-group.etapes--cinq { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
  .contact-grille { gap: 48px; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section--sans-haut { padding-top: 0; }

  .entete { padding: 14px 0; }
  .wp-block-image.logo img { height: 60px; }
  .wp-block-buttons.entete__cta { display: none; }
  .wp-block-navigation.menu, .wp-block-navigation.menu .wp-block-navigation__container { gap: 20px; }

  .hero__contenu { padding: 150px 0 72px; }
  .hero--page .hero__contenu { padding: 138px 0 64px; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 32, 12, 0.6) 0%, rgba(10, 32, 12, 0) 24%),
      linear-gradient(90deg, rgba(18, 52, 20, 0.95) 0%, rgba(24, 68, 24, 0.82) 60%, rgba(30, 84, 28, 0.55) 100%);
  }
  .hero__bas { grid-template-columns: 1fr; }
  .hero__contact { padding: 26px var(--marge); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 100%, 0 100%); }
  ul.hero__reperes { margin-left: 0; padding: 0 var(--marge); height: 64px; font-size: 14.5px; justify-content: flex-start; gap: 22px; }
  .hero__reperes li:nth-child(n + 4) { display: inline-flex; }

  .piste--trois { grid-auto-columns: calc((100% - 24px) / 2); }
  .piste.piste--fixe { grid-auto-flow: row; grid-auto-columns: 100%; }
  .apropos { grid-template-columns: 1fr; gap: 40px; }
  .wp-block-image.apropos__photo { aspect-ratio: 16 / 11; }
  .wp-block-image.apropos__photo--paysage { aspect-ratio: 4 / 3; }

  .procede { padding: 80px 0; }
  .procede__tete { flex-direction: column; align-items: flex-start; gap: 28px; }
  .wp-block-group.etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  ol.chaine { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .wp-block-group.grille-produits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-produits > :last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .wp-block-group.cartes-trois { grid-template-columns: 1fr; }
  .wp-block-group.equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-block-group.partenaires { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .vallee { min-height: 0; padding: 64px 0; }
  .vallee__contenu { flex-direction: column; align-items: flex-start; }

  .conseils__bloc { padding: 56px 28px 44px; }
  .contact-grille { grid-template-columns: 1fr; }
  .contact-bande__bloc { grid-template-columns: 1fr; gap: 22px; padding: 30px 28px; }
  .wp-block-group.contact-bande { margin-bottom: -120px; }
  .pied { padding-top: 172px; }
  .badge-chiffre { left: 16px; bottom: -26px; }
  .apropos .wp-block-group.visuel-chiffre { margin-bottom: 26px; }
}

@media (max-width: 600px) {
  :root { --marge: 20px; }
  .section { padding: 68px 0; }
  .section--sans-haut { padding-top: 0; }

  h1.titre-hero { font-size: 38px; }
  p.hero__texte { font-size: 16px; }
  .hero--page p.hero__texte { font-size: 17px; }
  .wp-block-group.hero__actions { gap: 18px; }
  p.hero__contact-titre { font-size: 19px; }
  .wp-block-group.hero__contact-liens { flex-direction: column; gap: 8px; }

  .wp-block-group.offre__tete { margin-bottom: 32px; }
  p.fleche { width: 44px; height: 44px; }
  .piste--trois, .piste--deux { grid-auto-columns: 86%; gap: 16px; }
  .piste.piste--fixe { grid-auto-columns: 100%; }
  .carte-offre { min-height: 280px; padding: 28px 24px 26px; }

  .wp-block-group.etapes { grid-template-columns: 1fr; gap: 32px; }
  p.chiffre__valeur { font-size: 48px; }
  .wp-block-group.formats { grid-template-columns: 1fr; gap: 28px; }
  p.format__valeur { font-size: 54px; }
  ol.chaine { grid-template-columns: 1fr; gap: 10px; }
  .chaine li { height: 52px; font-size: 16px; }

  .wp-block-group.grille-produits { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .grille-produits > :last-child { grid-column: auto; aspect-ratio: 1 / 1.16; }
  .wp-block-group.gammes { grid-template-columns: 1fr; margin-top: 36px; }
  .wp-block-group.equipe { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .membre { aspect-ratio: 1 / 1.1; }
  .wp-block-group.partenaires { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .wp-block-group.partenaires-cadre { margin-top: 32px; }
  .js .wp-block-group.partenaires.est-anime > .wp-block-image.partenaire { width: 160px; margin-right: 12px; }
  .wp-block-image.partenaire { height: 96px; }
  .gamme__texte { padding: 26px 24px 28px; }

  .vallee__carte { padding: 30px 26px; }
  .vallee__carte h3 { font-size: 23px; }

  .conseils__bloc { padding: 48px 20px 36px; border-radius: 20px; }
  .carte-conseil { padding: 26px 22px 24px; }
  p.carte-conseil__citation { font-size: 18px; }

  form.formulaire { padding: 26px 22px; }
  .formulaire__grille { grid-template-columns: 1fr; }
  p.badge-chiffre__valeur { font-size: 44px; }

  .pied__grille { grid-template-columns: 1fr; gap: 36px; }
  .pied__bas { flex-direction: column; }
  p.remonter { right: 16px; bottom: 16px; }
  p.remonter a { width: 46px; height: 46px; background-size: 20px; }
}

/* Menu mobile natif de core/navigation (bascule à 600 px) */
@media (max-width: 599px) {
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4); color: var(--blanc);
  }
}
