/* AMAPianMédoc — feuille de style unique */
/* Polices auto-hébergées (SIL Open Font License) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(../fonts/archivo-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 600; font-display: swap; src: url(../fonts/archivo-italic.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/work-sans-normal.woff2) format("woff2"); }

:root {
  --foret: #2e4d2c;
  --foret-2: #24402a;
  --vert: #5b8f3e;
  --brique: #cf5a2c;
  --miel: #e3a83a;
  --terre: #5a2210;
  --creme: #f7f1e6;
  --sauge: #e8ecdb;
  --blanc: #fffdf9;
  --texte: #2a2a22;
  --texte-doux: #5d5a4e;
  --rayon: 22px;
  --ombre: 0 1px 2px rgba(46, 77, 44, .06), 0 8px 24px rgba(46, 77, 44, .08);
  --titre: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --corps: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --largeur: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brique); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); color: var(--foret); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.conteneur { width: min(var(--largeur), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.surtitre {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--vert); margin-bottom: .8em;
}
.intro { font-size: 1.15rem; color: var(--texte-doux); max-width: 640px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -60px; background: var(--foret); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.lien-evitement:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--miel); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px;
  font-family: var(--titre); font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-plein { background: var(--brique); color: #fff; box-shadow: 0 6px 18px rgba(207, 90, 44, .3); }
.btn-plein:hover { background: #b84c22; }
.btn-contour { color: var(--foret); box-shadow: inset 0 0 0 2px var(--foret); }
.btn-contour:hover { background: var(--foret); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; }

/* Bandeau tricolore (repris du flyer) */
.bandeau { display: grid; grid-template-columns: 4fr 4fr 1fr; height: 8px; }
.bandeau span:nth-child(1) { background: var(--foret); }
.bandeau span:nth-child(2) { background: var(--vert); }
.bandeau span:nth-child(3) { background: var(--brique); }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 230, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(46, 77, 44, .08); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--foret); font-family: var(--titre); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.marque img { width: 48px; height: 48px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--foret); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--sauge); }
.nav a[aria-current="page"]:not(.btn) { background: var(--sauge); font-weight: 600; }
.nav .btn[aria-current="page"] { box-shadow: 0 0 0 3px var(--creme), 0 0 0 5px var(--brique); }
.nav .btn { padding: .6em 1.2em; color: #fff; margin-left: 8px; }
.nav .btn:hover { background: #b84c22; }
.menu-bouton { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--foret); cursor: pointer; }
.menu-bouton svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .menu-bouton { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--creme); padding: 8px 16px 24px; border-bottom: 1px solid rgba(46, 77, 44, .1); box-shadow: 0 20px 30px rgba(0, 0, 0, .08); display: none; }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { padding: 14px 12px; font-size: 1.1rem; }
  .nav .btn { display: flex; margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); }
.hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%;
  background: var(--sauge); right: -180px; top: -260px; z-index: -1;
}
.hero .conteneur { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 span { display: block; color: var(--brique); font-style: italic; font-weight: 600; font-size: .5em; letter-spacing: -.01em; margin-top: .25em; }
.hero .accroche { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 560px; margin: 1.2em 0 2em; }
.hero .accroche strong { color: var(--foret); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visuel { position: relative; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.hero-visuel .disque { position: absolute; inset: 0; border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre); }
.hero-visuel img { position: absolute; inset: 9%; width: 82%; height: 82%; }
.pastille {
  position: absolute; background: var(--foret); color: #fff; border-radius: 16px;
  padding: 10px 16px; font-size: .9rem; line-height: 1.3; box-shadow: var(--ombre);
}
.pastille strong { display: block; font-family: var(--titre); font-size: 1.05rem; }
.pastille-1 { left: -6%; bottom: 10%; }
.pastille-2 { right: -4%; top: 6%; background: var(--miel); color: var(--terre); }
.sigle { margin-top: 2.5em; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vert); }
.sigle b { color: var(--foret); }

@media (max-width: 860px) {
  .hero .conteneur { grid-template-columns: 1fr; gap: 40px; }
  .hero-visuel { width: min(320px, 82%); order: -1; }
  .hero::before { width: 420px; height: 420px; right: -160px; top: -160px; }
  .hero-visuel { margin-bottom: 24px; }
  .pastille { padding: 8px 12px; font-size: .8rem; }
  .pastille strong { font-size: .95rem; }
  .pastille-1 { left: -10%; top: auto; bottom: -8%; }
  .pastille-2 { right: -10%; top: auto; bottom: -8%; }
}

/* Principe */
.principe { background: var(--blanc); }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.carte-principe { padding: 32px 28px; border-radius: var(--rayon); background: var(--creme); }
.carte-principe .icone { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; }
.carte-principe .icone svg { width: 28px; height: 28px; }
.carte-principe:nth-child(1) .icone { background: var(--vert); }
.carte-principe:nth-child(2) .icone { background: var(--brique); }
.carte-principe:nth-child(3) .icone { background: var(--miel); color: var(--terre); }
.carte-principe p { color: var(--texte-doux); margin: 0; }
@media (max-width: 820px) { .grille-3 { grid-template-columns: 1fr; } }

/* Producteurs */
.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.entete-section > div { max-width: 640px; }
.grille-prod { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 48px; }
.carte-prod {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px 24px; border-radius: var(--rayon); background: var(--blanc);
  box-shadow: var(--ombre); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.carte-prod:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(46, 77, 44, .06), 0 16px 36px rgba(46, 77, 44, .14); }
.carte-prod .icone { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--fond, var(--sauge)); color: var(--trait, var(--foret)); }
.carte-prod .icone svg { width: 34px; height: 34px; }
.carte-prod h3 { margin: 4px 0 0; }
.carte-prod p { margin: 0; color: var(--texte-doux); font-size: .97rem; }
.carte-prod .suite { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--brique); font-size: .95rem; }
.etiquette { position: absolute; top: 20px; right: 20px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fbeee0; color: var(--brique); }
.carte-recrute { background: transparent; box-shadow: inset 0 0 0 2px rgba(46, 77, 44, .18); justify-content: center; text-align: center; align-items: center; }
.carte-recrute:hover { box-shadow: inset 0 0 0 2px var(--vert); }

/* Livraisons */
.livraisons { background: var(--foret); color: #e9eedd; position: relative; overflow: hidden; }
.livraisons::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: var(--foret-2); left: -140px; bottom: -200px; }
.livraisons .conteneur { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.livraisons h2 { color: #fff; }
.livraisons .surtitre { color: var(--miel); }
.carte-rdv { background: var(--brique); color: #fff; border-radius: calc(var(--rayon) + 4px); padding: clamp(28px, 4vw, 44px); box-shadow: 0 20px 40px rgba(0, 0, 0, .2); }
.carte-rdv dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 18px 24px; align-items: baseline; }
.carte-rdv dt { font-family: var(--titre); font-weight: 800; color: var(--foret); text-transform: uppercase; letter-spacing: .02em; }
.carte-rdv dd { margin: 0; font-size: 1.15rem; }
.carte-rdv hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .35); margin: 28px 0 20px; }
.carte-rdv .rappel { font-family: var(--titre); font-weight: 800; font-size: 1.3rem; text-align: center; margin: 0; }
.livraisons .btn-contour { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.livraisons .btn-contour:hover { background: #fff; color: var(--foret); }
@media (max-width: 860px) { .livraisons .conteneur { grid-template-columns: 1fr; } }

/* Étapes */
.etapes { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: etape; }
.etapes li { counter-increment: etape; background: var(--blanc); border-radius: var(--rayon); padding: 24px 20px; box-shadow: var(--ombre); }
.etapes li::before {
  content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--titre); font-weight: 800; color: #fff; margin-bottom: 16px; background: var(--c);
}
.etapes li:nth-child(1) { --c: var(--foret); }
.etapes li:nth-child(2) { --c: var(--vert); }
.etapes li:nth-child(3) { --c: var(--miel); }
.etapes li:nth-child(4) { --c: var(--brique); }
.etapes li:nth-child(5) { --c: var(--terre); }
.etapes h3 { font-size: 1.05rem; margin-bottom: .4em; }
.etapes p { margin: 0; font-size: .95rem; color: var(--texte-doux); }
.encart-adhesion { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: var(--rayon); background: var(--sauge); }
.encart-adhesion p { margin: 0; }
.encart-adhesion .prix { font-family: var(--titre); font-weight: 800; font-size: 2rem; color: var(--brique); margin-right: 8px; }
@media (max-width: 1000px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } }

/* Galerie (aperçu) */
.galerie { background: var(--blanc); }
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; margin-top: 48px; }
.mosaique figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--sauge); }
.mosaique figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaique figure:nth-child(4) { grid-column: span 2; }
.mosaique img { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mosaique figure:hover img { transform: scale(1.05); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
.mosaique .vide { display: grid; place-items: center; color: var(--vert); font-size: .9rem; text-align: center; padding: 16px; }
.mosaique .vide svg { width: 40px; height: 40px; margin: 0 auto 8px; opacity: .6; }
@media (max-width: 720px) {
  .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaique figure:nth-child(1) { grid-row: span 1; }
}

/* Appel final */
.appel { text-align: center; }
.appel .boite { background: var(--sauge); border-radius: calc(var(--rayon) + 10px); padding: clamp(40px, 6vw, 72px) 24px; }
.appel p { margin-inline: auto; }
.appel .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* Pied de page */
.pied { background: var(--foret-2); color: #cfd8c4; padding: 64px 0 32px; font-size: .97rem; }
.pied .conteneur { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.pied h2 { color: #fff; font-size: 1.05rem; letter-spacing: 0; margin-bottom: 1em; }
.pied a { color: #fff; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied .marque { color: #fff; margin-bottom: 16px; }
.pied .marque img { background: var(--creme); border-radius: 50%; padding: 3px; }
.pied .bas { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 760px) { .pied .conteneur { grid-template-columns: 1fr; } }

/* ===== Pages intérieures ===== */
/* Fil d'Ariane : 2e ligne de la barre de menu, reste visible au défilement */
.fil { font-size: .85rem; color: var(--texte-doux); border-top: 1px solid rgba(46, 77, 44, .08); }
.fil .conteneur { display: block; min-height: 0; padding: 7px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fil a { color: var(--vert); text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil span[aria-hidden] { margin: 0 6px; opacity: .5; }
.fil [aria-current] { color: var(--foret); font-weight: 500; }
[id] { scroll-margin-top: 130px; }

.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--sauge); right: -160px; top: -300px; z-index: -1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 820px; }
.page-hero .intro { max-width: 720px; }

.prod-hero .conteneur { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.prod-hero::before { background: var(--fond); }
.prod-icone { flex: none; width: clamp(96px, 14vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--fond); color: var(--trait); display: grid; place-items: center; box-shadow: 0 0 0 10px var(--blanc), var(--ombre); }
.prod-icone svg { width: 48%; height: 48%; }
@media (max-width: 640px) { .prod-hero .conteneur { flex-direction: column; align-items: flex-start; } }

.section-courte { padding: clamp(40px, 6vw, 72px) 0; }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.prod-corps { grid-template-columns: 1.6fr 1fr; align-items: start; }
@media (max-width: 860px) { .deux-col, .prod-corps { grid-template-columns: 1fr; } }
.etroit { max-width: 820px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose h3 { margin-top: 1.4em; }
.prose p { max-width: 640px; }
.note { margin-top: 32px; color: var(--texte-doux); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.lien-fleche svg { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.lien-fleche:hover svg { transform: translateX(5px); }
.btn-petit { padding: .6em 1.1em; font-size: .92rem; }

/* Schéma producteur <-> amapiens */
.schema { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 32px 24px; background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); }
.schema-bulle { display: grid; justify-items: center; gap: 8px; font-family: var(--titre); font-weight: 700; color: var(--foret); font-size: .95rem; }
.schema-bulle svg { width: 76px; height: 76px; padding: 20px; border-radius: 50%; }
.schema-prod svg { background: #e3edd6; color: var(--vert); }
.schema-amap svg { background: #fbe7dc; color: var(--brique); }
.schema-fleches { display: grid; gap: 16px; font-size: .85rem; color: var(--texte-doux); text-align: center; }
.schema-fleches span { display: flex; align-items: center; justify-content: center; gap: 6px; padding-bottom: 6px; border-bottom: 2px dashed var(--vert); }
.schema-fleches .retour { border-color: var(--brique); }
.schema-fleches .retour svg { transform: rotate(180deg); }
.schema-fleches svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 480px) { .schema { grid-template-columns: 1fr; text-align: center; } }

.grille-valeurs { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grille-valeurs li { background: var(--creme); border-radius: var(--rayon); padding: 24px 20px; font-weight: 500; color: var(--foret); }
.grille-valeurs svg { width: 32px; height: 32px; color: var(--brique); margin-bottom: 12px; }

.liste-check { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.liste-check li { position: relative; padding-left: 36px; }
.liste-check li::before { content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%; background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.liste-check.colonnes { grid-template-columns: repeat(2, 1fr); gap: 16px 40px; margin-top: 32px; }
@media (max-width: 700px) { .liste-check.colonnes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: var(--blanc); border-radius: 16px; box-shadow: var(--ombre); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-family: var(--titre); font-weight: 700; color: var(--foret); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--sauge); display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: rotate .25s ease, background-color .25s ease; }
.faq details[open] summary::after { rotate: 45deg; background: #fbe7dc; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--texte-doux); }

/* Étapes détaillées (frise verticale) */
.etapes-detail { list-style: none; padding: 0; margin: 48px 0 0; counter-reset: etape; display: grid; gap: 20px; max-width: 860px; position: relative; }
.etapes-detail::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(var(--vert) 0 6px, transparent 6px 12px); }
.etapes-detail li { counter-increment: etape; position: relative; padding: 24px 24px 24px 76px; background: var(--creme); border-radius: var(--rayon); }
.etapes-detail li::before { content: counter(etape); position: absolute; left: 0; top: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titre); font-weight: 800; color: #fff; background: var(--c); box-shadow: 0 0 0 6px var(--blanc); }
.etapes-detail li:nth-child(1) { --c: var(--foret); }
.etapes-detail li:nth-child(2) { --c: var(--vert); }
.etapes-detail li:nth-child(3) { --c: var(--miel); }
.etapes-detail li:nth-child(4) { --c: var(--brique); }
.etapes-detail li:nth-child(5) { --c: var(--terre); }
.etapes-detail h3 { margin-bottom: .3em; }
.etapes-detail p { margin: 0 0 .6em; }
.etapes-detail p:last-child { margin-bottom: 0; }

/* Fiches producteurs */
.etiquettes { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { padding: 6px 14px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 1px rgba(46, 77, 44, .15); font-size: .93rem; }
.photo-vide { margin: 32px 0 0; aspect-ratio: 16 / 9; border-radius: var(--rayon); background: var(--sauge); color: var(--vert); display: grid; place-content: center; justify-items: center; gap: 8px; font-size: .9rem; }
.photo-vide svg { width: 40px; height: 40px; opacity: .6; }
.fiche { position: sticky; top: 100px; background: var(--blanc); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); }
.fiche h2 { font-size: 1.3rem; }
.fiche dl { margin: 0 0 24px; display: grid; gap: 16px; }
.fiche dt { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--foret); font-size: .9rem; }
.fiche dt svg { width: 18px; height: 18px; color: var(--brique); }
.fiche dd { margin: 2px 0 0 26px; }
.fiche .btn { width: 100%; justify-content: center; }
.fiche .petit { margin: 12px 0 0; font-size: .88rem; color: var(--texte-doux); text-align: center; }
@media (max-width: 860px) { .fiche { position: static; } }
.alerte { display: flex; gap: 16px; padding: 20px 24px; margin-bottom: 32px; border-radius: 16px; background: #fdf2dc; border-left: 5px solid var(--miel); }
.alerte svg { flex: none; width: 28px; height: 28px; color: #b07a12; }
.alerte p { margin: 0; }
.autres { background: var(--blanc); }
.autres .grille-prod { margin-top: 32px; }

.rappel svg { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -.2em; margin-right: 4px; }

/* Bandeau défilant des produits */
.defilant { overflow: hidden; background: var(--foret); color: var(--creme); padding: 14px 0; font-family: var(--titre); font-weight: 700; font-size: 1.1rem; }
.defilant-piste { display: flex; width: max-content; }
.defilant span { padding-left: 48px; white-space: nowrap; }
.defilant span::after { content: "✿"; margin-left: 48px; color: var(--miel); }

/* Photos dans le contenu */
.photo-cadre, .capture { margin: 32px 0 0; }
.photo-cadre img, .capture img { width: 100%; border-radius: var(--rayon); box-shadow: var(--ombre); background: var(--sauge); }
.capture img { border-radius: 12px; border: 1px solid rgba(46, 77, 44, .12); box-shadow: none; }
.photo-cadre figcaption, .capture figcaption { margin-top: 10px; font-size: .9rem; color: var(--texte-doux); }
.capture { margin: 20px 0 8px; }
.deux-col .photo-cadre { margin: 0; }
.alignee-haut { align-items: start; margin-top: 24px; }

/* Tutos AmapJ */
.grille-tutos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 40px; }
.carte-tuto { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease; }
.carte-tuto:hover { transform: translateY(-4px); }
.carte-tuto .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titre); font-weight: 800; color: #fff; background: var(--c, var(--foret)); margin-bottom: 8px; }
.carte-tuto:nth-child(2) .num { --c: var(--vert); }
.carte-tuto:nth-child(3) .num { --c: var(--miel); }
.carte-tuto:nth-child(4) .num { --c: var(--brique); }
.carte-tuto h3 { margin: 0; }
.carte-tuto p { margin: 0; color: var(--texte-doux); }
.carte-tuto .suite { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--brique); }
.tuto-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(46, 77, 44, .15); }
.tuto-nav a { font-weight: 600; text-decoration: none; }
.tuto-nav a:hover { text-decoration: underline; }

/* Galerie */
.galerie-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.galerie-grille figure { margin: 0; }
.galerie-grille .zoom { display: block; overflow: hidden; border-radius: var(--rayon); aspect-ratio: 4 / 3; background: var(--sauge); cursor: zoom-in; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.galerie-grille .zoom:hover img { transform: scale(1.06); }
.galerie-grille figcaption { margin-top: 10px; font-size: .93rem; color: var(--texte-doux); }
.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible; }
.visionneuse::backdrop { background: rgba(20, 30, 18, .88); }
.visionneuse img { max-width: 100%; max-height: 82vh; border-radius: 12px; margin: 0 auto; }
.visionneuse .legende { color: #fff; text-align: center; margin: 12px 0 0; }
.visionneuse .fermer { position: absolute; top: -18px; right: -12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brique); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.visionneuse[open] { animation: zoom .35s cubic-bezier(.2, .8, .2, 1); }

/* Contact */
.grille-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grille-contact { grid-template-columns: 1fr; } }
.carte-contact { padding: 32px 28px; background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); text-decoration: none; color: inherit; transition: transform .25s ease; }
a.carte-contact:hover { transform: translateY(-4px); }
.carte-contact .icone { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sauge); color: var(--vert); margin-bottom: 18px; }
.carte-contact .icone svg { width: 28px; height: 28px; }
.carte-contact h2 { font-size: 1.1rem; margin-bottom: .3em; color: var(--texte-doux); font-weight: 600; letter-spacing: 0; }
.carte-contact .gros { font-family: var(--titre); font-weight: 800; font-size: 1.25rem; color: var(--foret); margin-bottom: .5em; overflow-wrap: anywhere; }
.carte-contact p { margin: 0; color: var(--texte-doux); }
.carte-contact .gros { color: var(--foret); }
a.carte-contact .gros { color: var(--brique); }

/* Charte : 5 principes */
.principes { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: p; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.principes li { counter-increment: p; background: var(--creme); border-radius: var(--rayon); padding: 24px 20px; position: relative; overflow: hidden; }
.principes li::before { content: counter(p); position: absolute; right: 12px; top: -8px; font-family: var(--titre); font-weight: 800; font-size: 5rem; color: var(--sauge); line-height: 1; z-index: 0; }
.principes h3, .principes p { position: relative; }
.principes h3 { font-size: 1.1rem; }
.principes p { margin: 0; font-size: .95rem; color: var(--texte-doux); }

.gps { display: flex; align-items: center; gap: 8px; }
.gps svg { width: 20px; height: 20px; color: var(--brique); flex: none; }
.gps strong { font-variant-numeric: tabular-nums; user-select: all; }
.acces-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Mentions légales */
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal h2:first-child { margin-top: 0; }

/* 404 */
.page-404 { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.page-404 h1, .page-404 .intro { margin-inline: auto; }
.page-404 .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.oeuf-404 { width: 110px; height: 110px; margin: 0 auto 24px; border-radius: 50%; background: #fbe7dc; color: var(--brique); display: grid; place-items: center; }
.oeuf-404 svg { width: 56px; height: 56px; animation: fretille 2.4s ease-in-out infinite; }

/* Décor du hero */
.deco { position: absolute; z-index: 2; pointer-events: none; }
.deco-1 { width: 44px; height: 44px; color: var(--vert); left: 4%; top: 8%; }
.deco-2 { width: 30px; height: 30px; color: var(--foret); right: 8%; bottom: 28%; }
.deco-3 { width: 38px; height: 38px; color: var(--miel); left: 12%; bottom: 2%; }
@media (max-width: 860px) { .deco-3 { left: auto; bottom: auto; right: 2%; top: 4%; } }
main { overflow-x: clip; }

/* ===== Animations (désactivées si l'utilisateur préfère réduire les animations) ===== */
@keyframes monte { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { opacity: 0; transform: scale(.82) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes balance { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(12deg); } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes respire { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes fretille { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }
@keyframes deplie { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .bandeau span { transform-origin: left; animation: trace .8s cubic-bezier(.2, .8, .2, 1) both; }
  .bandeau span:nth-child(2) { animation-delay: .15s; }
  .bandeau span:nth-child(3) { animation-delay: .3s; }

  .hero-texte > * { animation: monte .8s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-texte > :nth-child(2) { animation-delay: .12s; }
  .hero-texte > :nth-child(3) { animation-delay: .24s; }
  .hero-texte > :nth-child(4) { animation-delay: .36s; }
  .hero::before, .page-hero::before { animation: respire 12s ease-in-out infinite; }
  .hero-visuel .disque { animation: zoom .9s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-visuel img { animation: zoom .9s .1s cubic-bezier(.2, .8, .2, 1) both, flotte 6s 1s ease-in-out infinite; }
  .pastille { animation: pop .6s cubic-bezier(.3, 1.4, .5, 1) both, flotte 5s ease-in-out infinite; }
  .pastille-1 { animation-delay: .7s, 1.3s; }
  .pastille-2 { animation-delay: .9s, 2.2s; }
  .deco-1, .deco-2 { animation: balance 5s ease-in-out infinite; }
  .deco-2 { animation-duration: 6.5s; animation-delay: -2s; }
  .deco-3 { animation: tourne 30s linear infinite; }
  .defilant-piste { animation: defile 40s linear infinite; }
  .defilant:hover .defilant-piste { animation-play-state: paused; }

  .prod-icone { animation: zoom .8s cubic-bezier(.2, .8, .2, 1) both; }
  .prod-icone svg { animation: flotte 5s 1s ease-in-out infinite; }
  .faq details[open] p { animation: deplie .35s ease; }

  /* Apparition au défilement (activée par main.js) */
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
  .js .reveal-droite { transform: translateX(40px); }
  .js .reveal.visible { opacity: 1; transform: none; }
  .js .carte-prod.reveal.visible { transition: opacity .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .25s ease, box-shadow .25s ease; }
  .js .carte-prod.reveal.visible:hover { transform: translateY(-4px); }
  .js .etapes .reveal.visible::before, .js .etapes-detail .reveal.visible::before { animation: pop .6s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--d, 0s) + .2s); }

  /* Survols */
  .carte-prod:hover .icone svg { animation: fretille .6s ease; }
  .carte-principe { transition: transform .25s ease; }
  .js .carte-principe.reveal.visible { transition: opacity .7s ease var(--d, 0s), transform .25s ease; }
  .carte-principe:hover, .js .carte-principe.reveal.visible:hover { transform: translateY(-4px); }
  .carte-principe:hover .icone svg { animation: fretille .6s ease; }
  .btn svg { transition: transform .2s ease; }
  .btn:hover svg { transform: translateX(4px); }
  .marque img { transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
  .marque:hover img { transform: rotate(-12deg) scale(1.08); }
  .grille-valeurs li { transition: background-color .25s ease; }
  .grille-valeurs li:hover { background: var(--sauge); }
  .etiquettes li { transition: background-color .2s ease; }
  .etiquettes li:hover { background: var(--sauge); }
}

