/* =========================================================
   LES FRÈRES MARMELADE — feuille de style
   Couleurs tirées du logo et de la première version du site
   ========================================================= */

/* Polices hébergées sur le site (pas d'appel à Google : plus rapide et conforme RGPD) */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --creme: #f8ecd1;        /* fond papier */
  --creme-2: #f2dfb4;      /* fond alterné */
  --miel: #f0d191;         /* fond du logo */
  --miel-fonce: #e3b85c;
  --prune: #5a2a4f;        /* tabliers violets */
  --prune-2: #89345f;      /* couleur V1 */
  --marine: #2f4a6e;       /* tabliers bleus / V1 */
  --confiture: #d4561f;    /* orange confiture */
  --fraise: #b8323a;       /* vichy des pots */
  --brun: #3a221e;         /* texte du logo */
  --brun-doux: #6b4c40;
  --blanc: #fffaf0;

  --f-titre: "Fraunces", Georgia, "Times New Roman", serif;
  --f-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-main: "Caveat", "Comic Sans MS", cursive;

  --r: 18px;
  --r-lg: 32px;
  --ombre: 0 18px 40px -18px rgba(58, 34, 30, .35);
  --max: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--brun);
  background-color: var(--creme);
  /* grain papier très léger */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.2 0 0 0 0 0.1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
body.menu-ouvert { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--prune-2); text-underline-offset: 3px; }
a:hover { color: var(--confiture); }
:focus-visible { outline: 3px solid var(--confiture); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-optical-sizing: auto;
  color: var(--brun);
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 750; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--prune-2); }
p { margin: 0 0 1.1em; }

.conteneur { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--miel { background: var(--miel); }
.section--creme2 { background: var(--creme-2); }
.section--prune { background: var(--prune); color: var(--creme); }
.section--prune h2, .section--prune h3 { color: var(--creme); }
.section--prune h2 em { color: var(--miel); }
.section--marine { background: var(--marine); color: var(--creme); }
.section--marine h2, .section--marine h3 { color: var(--creme); }
.section--marine h2 em { color: var(--miel); }

.surtitre {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-texte); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--prune-2); margin-bottom: 1rem;
}
.surtitre::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--prune .surtitre, .section--marine .surtitre { color: var(--miel); }
.manuscrit { font-family: var(--f-main); font-size: 1.6rem; color: var(--confiture); line-height: 1.1; }
.chapo { font-size: 1.2rem; color: var(--brun-doux); max-width: 60ch; }
.section--prune .chapo, .section--marine .chapo { color: #ead9c0; }
.centre { text-align: center; }
.centre .chapo { margin-inline: auto; }
.entete-section { max-width: 760px; margin-bottom: 3rem; }
.entete-section.centre { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--prune); --fg: var(--creme);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-texte); font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; border: 2px solid var(--bg); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
  box-shadow: 0 4px 0 0 var(--brun);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--brun); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 0 var(--brun); }
.btn--orange { --bg: var(--confiture); --fg: var(--blanc); }
.btn--miel { --bg: var(--miel); --fg: var(--brun); }
.btn--contour { --bg: transparent; --fg: var(--brun); border-color: var(--brun); box-shadow: none; }
.btn--contour:hover { --bg: var(--brun); --fg: var(--creme); box-shadow: none; }
.section--prune .btn--contour, .section--marine .btn--contour, .pied .btn--contour { --fg: var(--creme); border-color: var(--creme); }
.section--prune .btn--contour:hover, .section--marine .btn--contour:hover { --bg: var(--creme); --fg: var(--prune); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.boutons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.lien-fleche { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; color: var(--prune-2); }
.lien-fleche::after { content: "→"; transition: transform .2s; }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ---------- Vichy (rappel des couvercles) ---------- */
.vichy {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(137,52,95,.55) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(137,52,95,.55) 0 7px, transparent 7px 14px),
    var(--creme);
}

/* =========================================================
   EN-TÊTE / MENU
   ========================================================= */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 236, 209, .94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58,34,30,.1);
}
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.marque { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--brun); flex: none; }
.marque img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brun); }
.marque span { font-family: var(--f-titre); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.marque small { display: block; font-family: var(--f-texte); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--prune-2); margin-top: .3em; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) {
  color: var(--brun); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .55em .8em; border-radius: 999px; transition: background .2s;
}
.nav a:not(.btn):hover { background: var(--miel); color: var(--brun); }
.nav a[aria-current="page"]:not(.btn) { background: var(--brun); color: var(--creme); }
.nav .btn { margin-left: .6rem; padding: .8em 1.25em; font-size: .92rem; }

.burger {
  display: none; position: relative; z-index: 120;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--prune); border: 0; cursor: pointer; padding: 0;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 2.5px; background: var(--creme); border-radius: 2px; transition: transform .3s, opacity .2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 24px; }
.burger span:nth-child(3) { top: 31px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter casserait le menu plein écran (position fixed) : on le retire sur mobile */
  .entete { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--creme); }
  .burger { display: block; }
  .nav { overflow-y: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; gap: .4rem;
    background: var(--prune);
    padding: 6rem 2rem 3rem;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
  .nav.ouvert { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
  .nav a:not(.btn) { color: var(--creme); font-family: var(--f-titre); font-size: 1.9rem; font-weight: 700; padding: .25em .8em; text-align: center; line-height: 1.15; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { background: transparent; color: var(--miel); }
  .nav .btn { margin: 1.5rem 0 0; font-size: 1.05rem; --bg: var(--miel); --fg: var(--brun); }
}
@media (max-width: 480px) {
  :root { --header-h: 72px; }
  .marque img { width: 48px; height: 48px; }
  .marque span { font-size: 1.05rem; }
}

/* =========================================================
   HÉROS ACCUEIL
   ========================================================= */
.heros { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.heros__grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.heros h1 { margin-bottom: .45em; }
.heros .chapo { font-size: 1.25rem; }
.heros__puces { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.heros__puces li { background: var(--blanc); border: 1.5px solid var(--brun); border-radius: 999px; padding: .35em .9em; font-size: .88rem; font-weight: 600; }
.heros__visuel { position: relative; }
.heros__arche {
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  overflow: hidden; border: 3px solid var(--brun);
  box-shadow: 14px 14px 0 var(--prune);
  aspect-ratio: 4 / 5;
}
.heros__arche img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.heros__pot {
  position: absolute; left: -12%; bottom: -6%; width: 42%;
  border-radius: var(--r); overflow: hidden; border: 3px solid var(--brun);
  transform: rotate(-6deg); box-shadow: var(--ombre); background: var(--miel);
}
.heros__pot img { aspect-ratio: 1; object-fit: cover; }
.tampon {
  position: absolute; right: -4%; top: -3%; width: 132px; height: 132px;
  animation: tourne 22s linear infinite;
}
.tampon text { font-family: var(--f-texte); font-weight: 700; font-size: 12.5px; letter-spacing: 2.4px; fill: var(--brun); text-transform: uppercase; }
@keyframes tourne { to { transform: rotate(360deg); } }
.heros__deco { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: var(--miel); z-index: -1; opacity: .7; }

@media (max-width: 900px) {
  .heros__grille { grid-template-columns: 1fr; }
  .heros__visuel { max-width: 440px; margin: 1rem auto 0; width: 88%; }
  .heros__pot { left: -8%; }
  .tampon { width: 104px; height: 104px; right: -6%; }
}

/* ---------- Bandeau défilant ---------- */
.bandeau { background: var(--brun); color: var(--miel); overflow: hidden; padding: 1rem 0; border-block: 3px solid var(--brun); }
.bandeau__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.bandeau__piste span { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; white-space: nowrap; padding-right: 2.2rem; }
.bandeau__piste span::after { content: "✦"; margin-left: 2.2rem; color: var(--confiture); font-style: normal; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Héros des pages intérieures ---------- */
.heros-page { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.heros-page__grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.heros-page__img { border-radius: var(--r-lg); overflow: hidden; border: 3px solid var(--brun); box-shadow: 12px 12px 0 var(--miel-fonce); aspect-ratio: 4/5; }
.heros-page__img img { width: 100%; height: 100%; object-fit: cover; }
.heros-page--court .heros-page__grille { grid-template-columns: 1fr; text-align: center; }
.heros-page--court .chapo { margin-inline: auto; }
@media (max-width: 900px) {
  .heros-page__grille { grid-template-columns: 1fr; }
  .heros-page__img { max-width: 420px; aspect-ratio: 4/3; }
}

/* =========================================================
   COMPOSANTS
   ========================================================= */
.grille { display: grid; gap: 1.5rem; }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grille-3, .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grille-2, .grille-3, .grille-4 { grid-template-columns: 1fr; } }

.carte {
  background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r);
  padding: 1.8rem; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.carte:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--brun); }
.carte h3 { margin-bottom: .4em; }
.carte p:last-child { margin-bottom: 0; }
.carte__icone { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--miel); border: 2px solid var(--brun); margin-bottom: 1.1rem; }
.carte__icone svg { width: 28px; height: 28px; stroke: var(--brun); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section--prune .carte, .section--marine .carte { color: var(--brun); }
.section--prune .carte h3, .section--marine .carte h3 { color: var(--brun); }

/* Cartes métiers avec photo */
.metier { display: flex; flex-direction: column; background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--brun); transition: transform .25s, box-shadow .25s; }
.metier:hover { color: var(--brun); transform: translateY(-6px) rotate(-.4deg); box-shadow: 10px 10px 0 var(--prune); }
.metier__img { aspect-ratio: 4/3; overflow: hidden; border-bottom: 2px solid var(--brun); }
.metier__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.metier:hover .metier__img img { transform: scale(1.05); }
.metier__corps { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.metier__num { font-family: var(--f-main); font-size: 1.5rem; color: var(--confiture); line-height: 1; }
.metier__corps p { color: var(--brun-doux); }
.metier__corps .lien-fleche { margin-top: auto; }

/* Chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.chiffre { text-align: center; padding: 1.5rem 1rem; border-radius: var(--r); border: 2px dashed rgba(248,236,209,.4); }
.chiffre strong { display: block; font-family: var(--f-titre); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--miel); line-height: 1; margin-bottom: .3rem; }
.chiffre span { font-size: .95rem; color: #ead9c0; }
@media (max-width: 800px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }

/* Bloc image + texte */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.duo--inverse .duo__img { order: 2; }
.duo__img { position: relative; }
.duo__img img { border-radius: var(--r-lg); border: 3px solid var(--brun); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.duo__img--paysage img { aspect-ratio: 4/3; }
.duo__img .etiquette { position: absolute; bottom: 1.2rem; right: -1rem; background: var(--confiture); color: var(--blanc); font-family: var(--f-main); font-size: 1.5rem; padding: .3em .9em; border-radius: 999px; transform: rotate(-4deg); border: 2px solid var(--brun); }
@media (max-width: 860px) {
  .duo { grid-template-columns: 1fr; }
  .duo--inverse .duo__img { order: 0; }
  .duo__img { max-width: 480px; }
}

/* Liste à coches */
.coches { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.coches li { position: relative; padding-left: 2.1rem; margin-bottom: .75rem; }
.coches li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--miel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a221e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/70% no-repeat; border: 1.5px solid var(--brun); }

/* Grande photo citation */
.citation-photo { position: relative; min-height: 520px; display: grid; place-items: center; text-align: center; color: var(--blanc); overflow: hidden; }
.citation-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.citation-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,34,30,.25), rgba(58,34,30,.65)); z-index: -1; }
.citation-photo blockquote { margin: 0; padding: 3rem 1.5rem; max-width: 900px; }
.citation-photo p { font-family: var(--f-titre); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.15; margin: 0 0 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.citation-photo cite { font-style: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--miel); }

/* ---------- Avis clients ---------- */
.avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .avis-grille { grid-template-columns: 1fr; } }
.avis-carte { background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r); padding: 2rem 1.8rem 1.6rem; position: relative; margin: 0; }
.avis-carte::before { content: "“"; position: absolute; top: -.35em; left: .6rem; font-family: var(--f-titre); font-size: 5.5rem; color: var(--confiture); line-height: 1; }
.avis-carte .etoiles { color: var(--miel-fonce); letter-spacing: .15em; margin-bottom: .6rem; }
.avis-carte blockquote { margin: 0 0 1.2rem; font-size: 1.05rem; }
.avis-carte figcaption { font-weight: 700; }
.avis-carte figcaption span { display: block; font-weight: 500; font-size: .9rem; color: var(--brun-doux); }
.avis-vide { display: none; text-align: center; background: var(--blanc); border: 2px dashed var(--brun); border-radius: var(--r-lg); padding: 2.5rem 1.5rem; max-width: 720px; margin: 0 auto; }
/* S'il n'y a aucun avis dans la grille, on affiche l'encart d'invitation */
.avis:not(:has(.avis-carte)) .avis-vide { display: block; }
.avis:not(:has(.avis-carte)) .avis-grille { display: none; }

/* ---------- Appel à l'action final ---------- */
.cta-final { background: var(--confiture); color: var(--blanc); border-radius: var(--r-lg); border: 3px solid var(--brun); padding: clamp(2.5rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; box-shadow: 12px 12px 0 var(--brun); position: relative; overflow: hidden; }
.cta-final h2 { color: var(--blanc); }
.cta-final h2 em { color: var(--miel); }
.cta-final p { color: #fff1e0; font-size: 1.15rem; }
.cta-final .boutons { margin-top: 1.5rem; }
.cta-final .btn { --bg: var(--brun); --fg: var(--creme); box-shadow: 0 4px 0 0 rgba(0,0,0,.35); }
.cta-final .btn--miel { --bg: var(--miel); --fg: var(--brun); }
.cta-final__logo { justify-self: center; width: min(260px, 100%); border-radius: 50%; border: 3px solid var(--brun); transform: rotate(6deg); }
@media (max-width: 800px) { .cta-final { grid-template-columns: 1fr; } .cta-final__logo { width: 160px; grid-row: 1; } }

/* =========================================================
   PAGES SPÉCIFIQUES
   ========================================================= */

/* Frise chronologique (histoire) */
.frise { position: relative; max-width: 860px; margin: 0 auto; padding-left: 2.5rem; }
.frise::before { content: ""; position: absolute; left: 11px; top: .5rem; bottom: .5rem; width: 3px; background: repeating-linear-gradient(180deg, var(--prune-2) 0 10px, transparent 10px 18px); }
.frise__etape { position: relative; margin-bottom: 2.6rem; }
.frise__etape:last-child { margin-bottom: 0; }
.frise__etape::before { content: ""; position: absolute; left: -2.5rem; top: .35rem; width: 25px; height: 25px; border-radius: 50%; background: var(--miel); border: 3px solid var(--brun); }
.frise__date { font-family: var(--f-main); font-size: 1.7rem; color: var(--confiture); line-height: 1; margin-bottom: .2rem; }
.frise__etape h3 { margin-bottom: .3rem; }

.mentor { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center; background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: 10px 10px 0 var(--marine); }
.mentor img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 3px solid var(--brun); filter: sepia(.15); }
.mentor h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
@media (max-width: 700px) { .mentor { grid-template-columns: 1fr; text-align: center; } .mentor img { margin: 0 auto; width: 170px; height: 170px; } }

.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 1rem; }
.mosaique figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 2px solid var(--brun); cursor: zoom-in; }
.mosaique figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mosaique figure:hover img { transform: scale(1.05); }
.mosaique .haut { grid-row: span 2; }
.mosaique .large { grid-column: span 2; }
@media (max-width: 800px) { .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

/* Confitures */
.parfum { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 2px dashed rgba(58,34,30,.25); }
.parfum:last-child { border-bottom: 0; }
.parfum:nth-child(even) .parfum__img { order: 2; }
.parfum__img { position: relative; }
.parfum__img img { border-radius: 50% 50% var(--r-lg) var(--r-lg); border: 3px solid var(--brun); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 12px 12px 0 var(--teinte, var(--miel)); }
.parfum__badge { position: absolute; top: 8%; right: -4%; background: var(--brun); color: var(--miel); font-family: var(--f-main); font-size: 1.35rem; padding: .35em .9em; border-radius: 999px; transform: rotate(6deg); }
.parfum h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; }
.parfum__ingredients { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.parfum__ingredients li { background: var(--teinte, var(--miel)); color: var(--blanc); font-weight: 700; font-size: .85rem; padding: .3em .9em; border-radius: 999px; border: 1.5px solid var(--brun); }
.parfum__accord { background: var(--creme-2); border-left: 4px solid var(--teinte, var(--miel)); padding: .9rem 1.2rem; border-radius: 0 var(--r) var(--r) 0; font-size: .98rem; }
.parfum__accord strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brun-doux); }
@media (max-width: 860px) {
  .parfum { grid-template-columns: 1fr; }
  .parfum:nth-child(even) .parfum__img { order: 0; }
  .parfum__img { max-width: 400px; }
}

/* Étapes (offre) */
.etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.etape { counter-increment: etape; position: relative; padding-top: 3.6rem; }
.etape::before { content: counter(etape); position: absolute; top: 0; left: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--miel); color: var(--brun); font-family: var(--f-titre); font-weight: 800; font-size: 1.3rem; border: 2px solid var(--creme); }
.etape h3 { font-size: 1.25rem; }
.etape p { color: #ead9c0; font-size: .98rem; }
@media (max-width: 900px) { .etapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .etapes { grid-template-columns: 1fr; } }

.formule { display: flex; flex-direction: column; background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r-lg); overflow: hidden; }
.formule__img { aspect-ratio: 16/10; overflow: hidden; border-bottom: 2px solid var(--brun); }
.formule__img img { width: 100%; height: 100%; object-fit: cover; }
.formule__corps { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.formule__corps .coches { font-size: .98rem; }
.formule__corps .btn { margin-top: auto; align-self: flex-start; }
.formule__tag { display: inline-block; align-self: flex-start; background: var(--prune); color: var(--creme); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35em .9em; border-radius: 999px; margin-bottom: .9rem; }

.zones { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; padding: 0; list-style: none; margin: 2rem 0 0; }
.zones li { background: var(--blanc); border: 2px solid var(--brun); border-radius: 999px; padding: .45em 1.1em; font-weight: 600; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r); margin-bottom: 1rem; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.5rem; font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--miel); display: grid; place-items: center; font-family: var(--f-texte); font-weight: 700; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 1.5rem 1.3rem; color: var(--brun-doux); }

/* Portfolio / événements */
.filtres { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.filtre { font: inherit; font-weight: 700; font-size: .95rem; padding: .6em 1.2em; border-radius: 999px; border: 2px solid var(--brun); background: var(--blanc); color: var(--brun); cursor: pointer; transition: background .2s, color .2s; }
.filtre:hover { background: var(--miel); }
.filtre[aria-pressed="true"] { background: var(--brun); color: var(--creme); }
.evenements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 960px) { .evenements { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .evenements { grid-template-columns: 1fr; } }
.evenement { background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.evenement:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--prune); }
.evenement[hidden] { display: none; }
.evenement__img { aspect-ratio: 4/3; overflow: hidden; border-bottom: 2px solid var(--brun); position: relative; cursor: zoom-in; }
.evenement__img img { width: 100%; height: 100%; object-fit: cover; }
.evenement__type { position: absolute; top: 1rem; left: 1rem; background: var(--miel); border: 1.5px solid var(--brun); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3em .8em; border-radius: 999px; }
.evenement__corps { padding: 1.4rem 1.5rem 1.6rem; }
.evenement__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .88rem; color: var(--brun-doux); font-weight: 600; margin-bottom: .6rem; }
.evenement__meta .date::before { content: "·"; margin: 0 .6rem; color: var(--confiture); font-weight: 800; }
.evenement__meta { gap: .4rem 0; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.evenement h3 { font-size: 1.35rem; }
.evenement p { font-size: .98rem; color: var(--brun-doux); margin: 0; }
.evenement--vous { background: var(--prune); color: var(--creme); justify-content: center; align-items: flex-start; padding: 2.2rem; border-style: dashed; border-color: var(--miel); }
.evenement--vous h3 { color: var(--creme); font-size: 1.8rem; }
.evenement--vous p { color: #ead9c0; margin-bottom: 1.5rem; }

/* Contact */
.contact-grille { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
.formulaire { background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: 10px 10px 0 var(--prune); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.champ--plein { grid-column: 1 / -1; }
@media (max-width: 600px) { .champs { grid-template-columns: 1fr; } }
.champ label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.champ label .facultatif { font-weight: 500; color: var(--brun-doux); }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--brun);
  padding: .8em 1em; border-radius: 12px; border: 2px solid rgba(58,34,30,.35); background: var(--creme);
  transition: border-color .2s, background .2s;
}
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--prune-2); background: var(--blanc); }
.champ textarea { min-height: 150px; resize: vertical; }
.formulaire .btn { margin-top: 1.5rem; }
.form-message { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 600; display: none; }
.form-message.ok { display: block; background: #e3f1d8; border: 2px solid #4e7a32; color: #2e4a1d; }
.form-message.erreur { display: block; background: #fbe1dc; border: 2px solid var(--fraise); color: #7a1f25; }
.coordonnees { display: flex; flex-direction: column; gap: 1rem; }
.coord { display: flex; gap: 1rem; align-items: center; background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r); padding: 1.1rem 1.3rem; text-decoration: none; color: var(--brun); transition: transform .2s, box-shadow .2s; }
a.coord:hover { color: var(--brun); transform: translateX(4px); box-shadow: 6px 6px 0 var(--miel-fonce); }
.coord__icone { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--miel); border: 2px solid var(--brun); display: grid; place-items: center; }
.coord__icone svg { width: 22px; height: 22px; stroke: var(--brun); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coord small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brun-doux); font-weight: 700; }
.coord strong { font-size: 1.05rem; word-break: break-word; }
.photo-contact { border-radius: var(--r-lg); border: 3px solid var(--brun); aspect-ratio: 4/3; object-fit: cover; width: 100%; object-position: center 30%; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.pied { background: var(--brun); color: #e9d9bd; padding: 4.5rem 0 2rem; }
.pied a { color: #e9d9bd; text-decoration: none; }
.pied a:hover { color: var(--miel); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; } }
.pied h4 { color: var(--miel); font-size: 1.1rem; margin-bottom: 1rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .55rem; }
.pied__marque img { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--miel); margin-bottom: 1rem; }
.pied__marque p { max-width: 32ch; font-size: .98rem; }
.pied__bas { border-top: 1px solid rgba(233,217,189,.2); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: #bfa98d; }
.reseaux { display: flex; gap: .7rem; margin-top: 1rem; }
.reseaux a { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #e9d9bd; display: grid; place-items: center; }
.reseaux a:hover { background: var(--miel); border-color: var(--miel); }
.reseaux svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.reseaux a:hover svg { stroke: var(--brun); }

/* =========================================================
   VISIONNEUSE PHOTO
   ========================================================= */
.visionneuse { position: fixed; inset: 0; z-index: 200; background: rgba(30, 16, 14, .92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.visionneuse.ouverte { display: flex; }
.visionneuse img { max-width: min(1100px, 100%); max-height: 86vh; width: auto; border-radius: var(--r); border: 3px solid var(--miel); }
.visionneuse button { position: absolute; top: 1.2rem; right: 1.2rem; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--miel); color: var(--brun); font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* =========================================================
   ANIMATIONS D'APPARITION (actives seulement si JS chargé)
   ========================================================= */
.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 1rem; top: -100px; background: var(--brun); color: var(--creme); padding: .7em 1em; border-radius: 8px; z-index: 300; }
.lien-evitement:focus { top: 1rem; color: var(--creme); }
.evenement p strong { color: var(--brun); font-weight: 700; }
.evenement__img img[src*="evt-tdf-stand"] { object-position: center 62%; }
.evenement__img img[src*="stand-foret"] { object-position: center 58%; }
.formule__img img[src*="stand-complet"] { object-position: center 60%; }

/* Page mentions légales */
.texte-legal { max-width: 820px; }
.texte-legal h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.texte-legal h2:first-of-type { margin-top: 0; }
.a-completer { background: #ffe25c; color: var(--brun); padding: 0 .3em; border-radius: 4px; font-weight: 700; }
.evenement__img img[src*="evt-fronton-stand"] { object-position: center 40%; }
.evenement__credit { position: absolute; right: .6rem; bottom: .5rem; background: rgba(58,34,30,.72); color: #f8ecd1; font-size: .68rem; padding: .2em .6em; border-radius: 999px; pointer-events: none; }

/* Bandeau cookies */
.bandeau-cookies { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; max-width: 760px; margin: 0 auto;
  background: var(--blanc); border: 2px solid var(--brun); border-radius: var(--r); box-shadow: 8px 8px 0 var(--prune);
  padding: 1.2rem 1.4rem; display: flex; gap: 1.2rem; align-items: center; }
.bandeau-cookies[hidden] { display: none; }
.bandeau-cookies p { margin: 0; font-size: .95rem; }
.bandeau-cookies__boutons { display: flex; gap: .6rem; flex: none; }
.bandeau-cookies .btn { padding: .7em 1.2em; font-size: .92rem; }
@media (max-width: 640px) { .bandeau-cookies { flex-direction: column; align-items: stretch; } .bandeau-cookies__boutons .btn { flex: 1; } }
