/* Ritchie Dagonia — apiculteur amateur en Bretagne
   Palette : miel et bois. Aucune image, aucun script. */

:root {
  --creme: #f8f1e1;
  --creme-2: #fbf7ec;
  --brun: #4a2f16;
  --brun-2: #6b4a2b;
  --ocre: #b8862b;
  --ocre-2: #8f6620;
  --jaune: #f0c23a;
  --texte: #3a2a1a;
  --ligne: #dcc9a3;
  --largeur: 46rem;
}

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

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

body {
  margin: 0;
  font-family: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--texte);
  background-color: var(--creme);
  /* alvéoles hexagonales, très légères */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 0L28 8V24L14 32L0 24V8ZM14 32V48' fill='none' stroke='%23b8862b' stroke-opacity='.13'/%3E%3C/svg%3E");
  background-size: 28px 48px;
}

h1, h2, h3 {
  font-family: "Alegreya", Georgia, "Times New Roman", serif;
  color: var(--brun);
  line-height: 1.2;
  font-weight: 600;
}

a { color: var(--ocre-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--brun); }

/* ---------- En-tête ---------- */

.entete {
  background: linear-gradient(180deg, #5a3a1c 0%, var(--brun) 100%);
  border-bottom: 4px solid var(--jaune);
  color: var(--creme);
}

.entete-int {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.marque {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--creme);
  text-decoration: none;
}
.marque svg { flex: none; }
.marque strong {
  display: block;
  font-family: "Alegreya", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}
.marque small {
  display: block;
  font-size: 0.9rem;
  color: var(--jaune);
  letter-spacing: 0.02em;
}

.entete nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.entete nav a {
  color: var(--creme);
  font-weight: 700;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.entete nav a[aria-current="page"],
.entete nav a:hover,
.entete nav a:focus { border-bottom-color: var(--jaune); color: #fff; }

/* ---------- Corps ---------- */

main {
  max-width: var(--largeur);
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

article {
  background: var(--creme-2);
  border: 1px solid var(--ligne);
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 0 rgba(74, 47, 22, 0.08);
}

.titre h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}
.chapo {
  font-size: 1.2rem;
  font-family: "Alegreya", Georgia, serif;
  font-style: italic;
  color: var(--brun-2);
  margin: 0 0 1.5rem;
}

/* petite fiche encadrée */
.fiche {
  border-left: 5px solid var(--jaune);
  background: #f4e8c9;
  padding: 0.75rem 1rem;
  margin: 0 0 2rem;
  font-size: 1rem;
}
.fiche dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.2rem 1rem;
}
.fiche dt { font-weight: 700; color: var(--ocre-2); }
.fiche dd { margin: 0; }

section { margin: 2.25rem 0; }
section h2 {
  font-size: 1.55rem;
  margin: 0 0 0.6rem;
  padding-left: 1.6rem;
  position: relative;
}
/* marqueur : une alvéole devant chaque titre */
section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--jaune);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
section p { margin: 0 0 1rem; }

ol.conseils { padding-left: 1.4rem; }
ol.conseils li { margin-bottom: 0.7rem; }
ol.conseils li strong { color: var(--brun); }

/* ---------- Page « Une année au rucher » ---------- */

.mois {
  margin: 1.75rem 0;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--ligne);
}
.mois:last-of-type { border-bottom: 0; }
.mois dl { margin: 0; }
.mois dt {
  font-family: "Alegreya", Georgia, serif;
  font-weight: 600;
  color: var(--ocre-2);
  margin-top: 0.5rem;
}
.mois dd { margin: 0.15rem 0 0; }

/* ---------- Mentions légales ---------- */

.legal h2 { font-size: 1.35rem; }
.legal address { font-style: normal; }

/* ---------- Pied de page ---------- */

.pied {
  background: var(--brun);
  color: var(--creme);
  border-top: 4px solid var(--ocre);
  font-size: 0.98rem;
}
.pied-int {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 1.75rem 1rem 2rem;
}
.pied p { margin: 0 0 0.85rem; }
.pied-nom {
  font-family: "Alegreya", Georgia, serif;
  font-size: 1.15rem;
  color: var(--jaune);
}
.pied-contact { max-width: 38rem; }
.pied nav { margin: 1rem 0 0.75rem; }
.pied nav a { color: var(--creme); margin-right: 0.25rem; }
.pied nav a:hover, .pied nav a:focus { color: var(--jaune); }
.pied-note { color: #d9c7a4; font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Petits écrans ---------- */

@media (max-width: 480px) {
  body { font-size: 1.05rem; }
  article { padding: 1.25rem 0.9rem; }
  .fiche dl { grid-template-columns: 1fr; gap: 0; }
  .fiche dd { margin-bottom: 0.5rem; }
  .marque strong { font-size: 1.3rem; }
  .entete-int { padding: 0.85rem 1rem; }
}

/* photos */
.photos{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0 2rem}.photos figure{margin:0;border:1px solid #c9a15c;border-radius:4px;padding:.35rem;background:#fff8e8}.photos img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover;border-radius:2px}.photos figcaption{font-size:.85rem;padding:.4rem .2rem 0;color:#6b4a1e}@media(max-width:560px){.photos{grid-template-columns:1fr}}
