/* ================================================
   FERME DE LA GENDRIE — Design Nouveau
   Terroir Vivant · Chaleureux · Coloré · Moderne
   Palette : Ocre / Terre cuite / Vert forêt / Crème
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette principale */
  --cream:      #fdf6ec;
  --cream2:     #f9ede0;
  --ocre:       #d4782a;
  --ocre-lt:    #f5e6d3;
  --ocre-deep:  #b85f1a;
  --vert:       #3a6b3a;
  --vert2:      #2d5430;
  --vert-lt:    #e8f2e8;
  --terre:      #c04a2a;
  --terre-lt:   #fae8e3;
  --ambre:      #e8a240;
  --ambre-lt:   #fef3e0;
  --blanc:      #ffffff;
  --ink:        #2c1a0e;
  --ink2:       #4a3020;
  --muted:      #8a6a50;
  --stone:      #e0d0c0;

  /* Typo */
  --fd: 'Playfair Display', Georgia, serif;
  --fb: 'Nunito', system-ui, sans-serif;

  --mw: 1100px;
  --px: clamp(1.25rem, 5vw, 3rem);
  --r: 16px;
  --r2: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink2);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Layout ─────────────────────── */
.wrap {
  max-width: var(--mw);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ── Headings ───────────────────── */
h1, h2, h3, h4 {
  font-family: var(--fd);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

em { font-style: italic; color: var(--ocre); }

/* ── Label ──────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vert);
  padding: .3rem .8rem;
  background: var(--vert-lt);
  border-radius: 20px;
  margin-bottom: .9rem;
}

/* ── Boutons ────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--fb);
  font-size: .9rem;
  font-weight: 700;
  padding: .85rem 1.8rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn--primary {
  background: var(--ocre);
  color: var(--blanc);
  box-shadow: 0 4px 16px rgba(212,120,42,.3);
}
.btn--primary:hover {
  background: var(--ocre-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,120,42,.4);
}
.btn--green {
  background: var(--vert);
  color: var(--blanc);
  box-shadow: 0 4px 16px rgba(58,107,58,.25);
}
.btn--green:hover {
  background: var(--vert2);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--vert);
  border: 2px solid var(--vert);
}
.btn--outline:hover {
  background: var(--vert);
  color: var(--blanc);
}
.btn--ghost {
  background: transparent;
  color: var(--blanc);
  border: 2px solid rgba(255,255,255,.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.15);
}
.btn--full { width: 100%; justify-content: center; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

/* ── Nav ────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 2px solid var(--ocre-lt);
  padding: 0 var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: box-shadow .3s;
}
.nav.scrolled {
  box-shadow: 0 4px 20px rgba(44,26,14,.1);
}
.nav__logo a {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav__logo .logo-icon {
  background: var(--ocre);
  color: var(--blanc);
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.nav__links a {
  font-size: .88rem;
  font-weight: 600;
  padding: .5rem .9rem;
  border-radius: 8px;
  color: var(--ink2);
  transition: all .2s;
}
.nav__links a:hover { background: var(--ocre-lt); color: var(--ocre-deep); }
.nav__links a.active { background: var(--ocre-lt); color: var(--ocre); }
.btn--nav {
  background: var(--ocre) !important;
  color: var(--blanc) !important;
  border-radius: 50px !important;
  padding: .5rem 1.2rem !important;
  font-weight: 700 !important;
}
.btn--nav:hover { background: var(--ocre-deep) !important; }
.btn--nav.active { background: var(--ocre-deep) !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav__burger:hover { background: var(--ocre-lt); }
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s;
}

/* ── Section standard ───────────── */
.section { padding: 5rem 0; }
.section--bg { background: var(--ocre-lt); }
.section--vert { background: var(--vert-lt); }
.section--ambre { background: var(--ambre-lt); }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  color: var(--muted);
  margin-top: .8rem;
  font-size: 1.05rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--ocre-lt);
  margin: 0;
}

/* ── Reveal ─────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════
   HERO — accueil
══════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream2) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,120,42,.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(58,107,58,.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--vert);
  background: var(--vert-lt);
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  color: var(--ink);
}
.hero__title em { color: var(--ocre); font-style: italic; }
.hero__sub {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 480px;
  line-height: 1.8;
}
.hero__sub strong { color: var(--ink2); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  position: relative;
}
.hero__visual .img-main {
  grid-column: 1 / -1;
  border-radius: var(--r2);
  overflow: hidden;
  height: 240px;
}
.hero__visual .img-side {
  border-radius: var(--r);
  overflow: hidden;
  height: 155px;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  bottom: -14px; left: -16px;
  background: var(--ocre);
  color: var(--blanc);
  font-size: .78rem;
  font-weight: 700;
  padding: .8rem 1.3rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(212,120,42,.4);
  z-index: 2;
  letter-spacing: .05em;
}

/* ══════════════════════════════════
   PAGE HERO (pages internes)
══════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--vert2) 0%, var(--vert) 100%);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero__inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--px);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
}
.page-hero .label { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.page-hero h1 { color: var(--blanc); }
.page-hero h1 em { color: var(--ambre); }
.page-hero > .page-hero__inner > div > p { color: rgba(255,255,255,.8); margin-top: .8rem; font-size: 1.05rem; }
.page-hero__img {
  border-radius: var(--r2);
  overflow: hidden;
  height: 280px;
}
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════
   TEXTE + IMAGE (TIB)
══════════════════════════════════ */
.tib {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4.5rem;
}
.tib:last-child { margin-bottom: 0; }
.tib--rev .tib__text { order: 2; }
.tib--rev .tib__img { order: 1; }
.tib__text h2 { margin-bottom: 1rem; }
.tib__text p { color: var(--muted); margin-bottom: 1rem; font-size: 1.02rem; line-height: 1.8; }
.tib__text p strong { color: var(--ink2); }
.tib__text .btn { margin-top: .8rem; }
.tib__img {
  border-radius: var(--r2);
  overflow: hidden;
  height: 360px;
}
.tib__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tib__img:hover img { transform: scale(1.04); }

/* ══════════════════════════════════
   VALEURS
══════════════════════════════════ */
.valeurs {
  background: var(--vert);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.valeurs .section-header { color: var(--blanc); }
.valeurs .section-header h2 { color: var(--blanc); }
.valeurs .section-header h2 em { color: var(--ambre); }
.valeurs .section-header p { color: rgba(255,255,255,.72); }
.valeurs .label { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.valeurs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.valeur {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r2);
  padding: 2rem 1.5rem;
  transition: transform .3s, background .3s;
}
.valeur:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
}
.valeur__icon {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.valeur h3 { color: var(--ambre); font-size: 1.1rem; margin-bottom: .6rem; font-family: var(--fb); font-weight: 700; }
.valeur p { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.65; }

/* ══════════════════════════════════
   CHIFFRES
══════════════════════════════════ */
.chiffres {
  background: var(--ocre);
  padding: 4.5rem 0;
}
.chiffres__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.chiffre { }
.chiffre__num {
  display: block;
  font-family: var(--fd);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--blanc);
  line-height: 1;
  margin-bottom: .5rem;
}
.chiffre__lbl {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  line-height: 1.5;
}

/* ══════════════════════════════════
   COMMANDER CARDS
══════════════════════════════════ */
.commander-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.cmd-card {
  background: var(--blanc);
  border-radius: var(--r2);
  padding: 2rem 1.8rem;
  border: 2px solid var(--ocre-lt);
  transition: all .3s;
}
.cmd-card:hover {
  border-color: var(--ocre);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(212,120,42,.12);
}
.cmd-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.cmd-card__icon--ocre { background: var(--ocre-lt); }
.cmd-card__icon--vert { background: var(--vert-lt); }
.cmd-card__icon--ambre { background: var(--ambre-lt); }
.cmd-card h3 { font-family: var(--fb); font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; color: var(--ink); }
.cmd-card p { color: var(--muted); font-size: .93rem; margin-bottom: .8rem; line-height: 1.65; }
.cmd-card strong { color: var(--ink2); }
.cmd-card .marche-list { margin: .5rem 0 1rem; }
.cmd-card .marche-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--muted);
  padding: .4rem 0;
  border-bottom: 1px solid var(--ocre-lt);
}
.cmd-card .marche-list li:last-child { border-bottom: none; }
.cmd-card .marche-list li strong { color: var(--vert); font-weight: 700; }
.tel-big {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ocre);
  display: block;
  margin: .5rem 0 1rem;
}

/* ══════════════════════════════════
   CTA BANNER
══════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--terre) 0%, var(--ocre) 100%);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 { color: var(--blanc); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .8rem; }
.cta-banner p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-banner .btn-row { justify-content: center; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
}
.footer__top {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 4rem var(--px) 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer__logo {
  font-family: var(--fd);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blanc);
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.footer__logo .logo-icon {
  background: var(--ocre);
  color: var(--blanc);
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.footer__brand p { font-size: .9rem; line-height: 1.75; color: rgba(255,255,255,.6); }
.footer__col h4 {
  font-family: var(--fb);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: 1rem;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .5rem;
  line-height: 1.5;
  transition: color .2s;
}
.footer__col a:hover { color: var(--ambre); }
.footer__bottom {
  text-align: center;
  padding: 1.5rem var(--px);
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ══════════════════════════════════
   PAGE ELEVAGE — galerie
══════════════════════════════════ */
.galerie-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 2rem 0;
}
.galerie-2col__item {
  border-radius: var(--r);
  overflow: hidden;
  height: 200px;
}
.galerie-2col__item img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════
   PAGE CHARCUTERIE
══════════════════════════════════ */
.produits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.produit {
  background: var(--blanc);
  border-radius: var(--r2);
  padding: 1.8rem 1.3rem;
  text-align: center;
  border: 2px solid var(--ocre-lt);
  transition: all .3s;
}
.produit:hover {
  border-color: var(--ocre);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212,120,42,.1);
}
.produit__icon { font-size: 2rem; margin-bottom: .8rem; display: block; }
.produit h3 { font-size: .98rem; color: var(--ink); margin-bottom: .5rem; font-family: var(--fb); font-weight: 700; }
.produit p { font-size: .84rem; color: var(--muted); line-height: 1.55; }
.produits__note {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.8rem;
  background: var(--ambre-lt);
  border-radius: var(--r2);
  border: 1px solid rgba(232,162,64,.3);
}
.produits__note p { color: var(--muted); margin-bottom: 1rem; }

.marches__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.marche {
  background: var(--blanc);
  border-radius: var(--r2);
  border: 2px solid var(--ocre-lt);
  overflow: hidden;
  transition: all .3s;
}
.marche:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(58,107,58,.1); }
.marche__head {
  background: var(--vert);
  padding: 1.1rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.marche--feat .marche__head { background: var(--ocre); }
.marche__jour {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blanc);
  font-style: italic;
}
.marche__badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.15);
  padding: .25rem .75rem;
  border-radius: 10px;
}
.marche__body { padding: 1.5rem 1.6rem; }
.marche__body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.marche__body p { font-size: .92rem; color: var(--muted); margin-bottom: .3rem; line-height: 1.6; }
.marche__body strong { color: var(--ink2); }

/* ══════════════════════════════════
   PAGE COMMANDE
══════════════════════════════════ */
.commande-section { padding: 4rem 0 5rem; }
.commande__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}
.commande__sidebar {
  position: sticky;
  top: 88px;
}
.commande__sidebar h2 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.note {
  background: var(--ambre-lt);
  border-left: 4px solid var(--ambre);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1rem 1.2rem;
  font-size: .92rem;
  color: var(--ink2);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.info-block {
  background: var(--blanc);
  border-radius: var(--r2);
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.2rem;
  border: 2px solid var(--ocre-lt);
}
.info-block h4 {
  font-family: var(--fb);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: .9rem;
}
.info-block ul li {
  padding: .25rem 0;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--ocre-lt);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.info-block ul li::before { content: '✦'; font-size: .6rem; color: var(--ocre); }
.info-block ul li:last-child { border-bottom: none; }
.info-block p { font-size: .9rem; color: var(--muted); margin-bottom: .4rem; line-height: 1.6; }
.info-block p:last-child { margin-bottom: 0; }
.info-block p strong { color: var(--ink2); }
.info-block a { color: var(--vert); font-weight: 700; }
.info-block--warn {
  background: var(--terre-lt);
  border-color: rgba(192,74,42,.2);
}

.form__title { font-size: 1.8rem; margin-bottom: 1.8rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink2);
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--fb);
  font-size: 1rem;
  padding: .85rem 1.1rem;
  border: 2px solid var(--stone);
  border-radius: var(--r);
  background: var(--blanc);
  color: var(--ink2);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocre);
  box-shadow: 0 0 0 4px rgba(212,120,42,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-msg { display: none; padding: 1rem 1.2rem; border-radius: var(--r); font-size: .9rem; font-weight: 600; margin-top: 1rem; }
.form-msg.show { display: block; }
.form-msg--ok { background: var(--vert-lt); color: var(--vert2); }
.form-msg--err { background: var(--terre-lt); color: var(--terre); }

/* ══════════════════════════════════
   PAGE CONTACT
══════════════════════════════════ */
.contact-section { padding: 4rem 0 5rem; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact__bloc h2 { font-size: 1.6rem; margin-bottom: 1.8rem; }
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--ocre-lt);
}
.contact__item:last-child { border-bottom: none; }
.contact__item__icon {
  width: 48px; height: 48px;
  background: var(--ocre-lt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact__item__body strong {
  display: block;
  font-size: 1rem;
  margin-bottom: .3rem;
  color: var(--ink);
  font-family: var(--fb);
  font-weight: 700;
}
.contact__item__body p { font-size: .92rem; color: var(--muted); margin: .15rem 0; line-height: 1.5; }
.contact__item__body a {
  color: var(--vert);
  font-weight: 700;
  font-size: .95rem;
  transition: color .2s;
}
.contact__item__body a:hover { color: var(--ocre); }
.contact__cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.contact__cta {
  background: var(--blanc);
  border: 2px solid var(--ocre-lt);
  border-radius: var(--r2);
  padding: 1.5rem;
  transition: all .3s;
  display: block;
}
.contact__cta:hover {
  border-color: var(--ocre);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212,120,42,.1);
}
.contact__cta .ico { font-size: 1.6rem; display: block; margin-bottom: .7rem; }
.contact__cta strong { display: block; font-size: 1rem; margin-bottom: .3rem; color: var(--ink); font-family: var(--fb); font-weight: 700; }
.contact__cta p { font-size: .85rem; color: var(--muted); }

/* ══════════════════════════════════
   ADMIN
══════════════════════════════════ */
.admin-wrap {
  display: flex;
  min-height: 100vh;
  background: #f0f2f5;
}
.admin-sidebar {
  width: 250px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 50;
}
.admin-sidebar__logo {
  padding: 1.5rem 1.2rem;
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blanc);
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.admin-sidebar__logo .logo-icon {
  background: var(--ocre);
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  padding: 1rem .7rem;
  gap: .3rem;
  flex: 1;
}
.admin-sidebar__nav a {
  padding: .75rem 1rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.admin-sidebar__nav a:hover { background: rgba(255,255,255,.08); color: var(--blanc); }
.admin-sidebar__nav a.active { background: var(--ocre); color: var(--blanc); }
.admin-sidebar__footer {
  padding: 1rem .7rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.admin-sidebar__footer button {
  width: 100%;
  padding: .7rem;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.6);
  border: none;
  border-radius: 10px;
  font-family: var(--fb);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.admin-sidebar__footer button:hover { background: rgba(192,74,42,.3); color: var(--blanc); }
.admin-main { margin-left: 250px; flex: 1; padding: 2.5rem; }
.admin-header { margin-bottom: 2.5rem; }
.admin-header h1 { font-size: 2rem; color: var(--ink); }
.admin-header p { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.stat-card {
  background: var(--blanc);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-left: 4px solid var(--ocre);
}
.stat-card__num {
  font-family: var(--fd);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ocre);
  display: block;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-card__lbl { font-size: .85rem; color: var(--muted); font-weight: 500; }
.admin-table-wrap { background: var(--blanc); border-radius: 18px; box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden; }
.admin-table-head { padding: 1.4rem 1.8rem; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.admin-table-head h2 { font-size: 1.1rem; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .9rem 1.2rem; text-align: left; font-size: .88rem; }
th { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid #eee; }
td { border-bottom: 1px solid #f5f5f5; color: var(--ink2); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }
.badge { display: inline-block; padding: .2rem .7rem; border-radius: 20px; font-size: .75rem; font-weight: 700; }
.badge--new { background: var(--vert-lt); color: var(--vert2); }
.badge--done { background: var(--ambre-lt); color: #8a6520; }
.admin-settings { background: var(--blanc); border-radius: 18px; padding: 2.5rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); max-width: 500px; }
.admin-settings h2 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.settings-msg { display: none; padding: .8rem 1rem; border-radius: 10px; font-size: .88rem; font-weight: 600; margin-top: 1rem; }
.settings-msg.show { display: block; }
.settings-msg--ok { background: var(--vert-lt); color: var(--vert2); }
.settings-msg--err { background: var(--terre-lt); color: var(--terre); }

/* ── Auth ───────────────────────── */
body.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--vert2) 0%, var(--vert) 55%, var(--ocre) 100%);
}
.auth-card {
  background: var(--blanc);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.auth-logo {
  font-family: var(--fd);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.auth-logo .logo-icon {
  background: var(--ocre);
  color: var(--blanc);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.auth-sub {
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.auth-error {
  background: var(--terre-lt);
  color: var(--terre);
  font-size: .88rem;
  font-weight: 600;
  border-radius: 10px;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  display: none;
}
.auth-error.show { display: block; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__img { display: none; }
  .tib, .tib--rev { grid-template-columns: 1fr; }
  .tib--rev .tib__text, .tib--rev .tib__img { order: unset; }
  .tib__img { height: 260px; }
  .valeurs__grid { grid-template-columns: 1fr 1fr; }
  .chiffres__grid { grid-template-columns: 1fr 1fr; }
  .commander-cards { grid-template-columns: 1fr; }
  .produits__grid { grid-template-columns: 1fr 1fr; }
  .marches__grid { grid-template-columns: 1fr; }
  .commande__layout { grid-template-columns: 1fr; }
  .commande__sidebar { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: var(--blanc); padding: 1rem; box-shadow: 0 10px 20px rgba(0,0,0,.1); gap: .3rem; z-index: 99; }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .valeurs__grid { grid-template-columns: 1fr; }
  .produits__grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact__cta-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.2rem; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
