/* Cocagne — socle commun (polices, jetons, base, en-tête, pied, boutons)
   Jetons repris de la maquette Claude Design « Site cocagne.fr » et du design system My Cocagne. */

/* Manrope (variable, 200-800) — auto-hébergée, sous-ensembles latin et latin-ext. Licence OFL. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext-Q3ebhOa.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-bDYqjI6.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --vert: #0A4034;
  --orange: #F04A00;
  --orange-hover: #D23F00;
  --orange-clair: #FF782C;
  --orange-vif: #FF6A1F;
  --lien: #B84A0A;
  --lien-hover: #9C3E08;
  --texte: #3E403D;
  --texte-doux: #484A46;
  --encre: #1C1B19;
  --bouton-sec: #1F2A26;
  --fond: #FFFFFF;
  --chaud: #FAF6F1;
  --peche: #FBF3EA;
  --peche-vif: #FFF3EA;
  --bord-peche: #F7C9B0;
  --filet: #EAE4DC;
  --bord-champ: #6B6A66;
  --sauge: #9DB79F;
  --verifie: #3E6B3F;
  --ombre: 0 2px 12px rgba(10, 64, 52, .05);
  --ombre-forte: 0 10px 30px rgba(10, 64, 52, .10);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1340px;
  --gutter: clamp(16px, 4vw, 40px);
  --gutter-large: clamp(16px, 4vw, 60px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--vert);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--orange); }
a:hover { color: #C93E00; }
input, textarea, button, select { font-family: inherit; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
h1, h2, h3, h4 { margin: 0; font-weight: 800; color: var(--vert); }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--large { padding-left: var(--gutter-large); padding-right: var(--gutter-large); }
.accent { color: var(--orange); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--vert); color: #fff; font-weight: 700; text-decoration: none; }
.lien-evitement:focus { top: 16px; color: #fff; }

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn .chevron { flex: none; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); color: #fff; }
.btn--outline { background: #fff; border-color: var(--bord-peche); color: var(--bouton-sec); }
.btn--outline:hover { border-color: var(--orange); color: var(--bouton-sec); }
.btn--outline .chevron { color: var(--orange); }
.btn--sm { height: 48px; padding: 0 24px; font-size: 15px; gap: 10px; }
.btn--hero { height: 50px; padding: 0 20px; font-size: 15px; gap: 8px; }
.btn--card { height: 52px; min-width: 240px; padding: 0 28px; gap: 14px; }
.btn--md { height: 52px; padding: 0 28px; }
.btn--chip { height: 44px; padding: 0 20px; font-size: 15px; }

/* ── En-tête ── */
.entete {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
}
.entete__logo { display: flex; align-items: center; text-decoration: none; }
.entete__logo img { height: 52px; width: auto; display: block; }
.entete__nav { display: flex; gap: 8px 26px; flex-wrap: wrap; }
.entete__nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--vert);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s;
}
.entete__nav a:hover { color: var(--orange); }
.entete__nav a.is-active { font-weight: 700; color: var(--orange); border-bottom-color: var(--orange); }

/* ── Pied de page ── */
.pied {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter-large) 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pied__haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.pied__logo { display: flex; text-decoration: none; }
.pied__logo img { height: 50px; width: auto; display: block; }
.pied__nav { flex: 0 1 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.pied__nav a { font-size: 14px; font-weight: 500; color: var(--vert); text-decoration: none; white-space: nowrap; }
.pied__nav a:hover { color: var(--orange); }
.pied__social { display: flex; gap: 4px; }
.pied__social a { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--encre); }
.pied__social a:hover { color: var(--orange); }
.pied__bas {
  border-top: 1px solid var(--filet);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--texte-doux);
}
.pied__bas a { color: var(--texte-doux); text-decoration: none; }
.pied__bas a:hover { color: var(--orange); }

/* ── Formulaires ── */
.champ { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--vert); }
.champ input, .champ textarea {
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--bord-champ);
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  color: var(--bouton-sec);
}
.champ input { height: 48px; }
.champ textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.champ--erreur input, .champ--erreur textarea { border-color: #C93A2C; }
.champ__erreur { font-size: 13px; font-weight: 600; color: #C93A2C; }
.champ--pleine { grid-column: 1 / -1; }
.consentement { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--texte); cursor: pointer; }
.consentement input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }
.consentement a { font-weight: 700; color: var(--orange); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-statut { display: flex; gap: 14px; }
.form-statut svg { flex: none; }
.form-statut p { font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--vert); }
.form-alerte { padding: 14px 18px; border-radius: 12px; background: #FDECEA; color: #8A2A1F; font-size: 15px; font-weight: 600; }

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