/* ==========================================================================
   HERBIER DES ALPES-MARITIMES (06)
   Thème Carnet à Spirales Botanique — Style Herbier Clairefontaine
   Feuillages Vert Eucalyptus, Sauge, Ivoire Velouté & Écritures Manuscrites
   ========================================================================== */

:root {
  /* Palette Botanique Douce & Épurée */
  --bg-desk: #e7eee5;
  --paper-ivory: #fafbf7;
  --paper-cream: #f2f6f0;
  --paper-card: #ffffff;
  
  --sage-light: #d6e4da;
  --sage-medium: #82a990;
  --sage-eucalyptus: #537d63;
  --forest-deep: #244431;
  
  --ink-charcoal: #202b24;
  --ink-secondary: #48574d;
  --ink-muted: #708276;
  
  --accent-gold: #cfa85b;
  --accent-alert: #b84a39;
  --alert-bg: #fdf3f1;
  
  --spiral-metal: #a89f91;
  --spiral-shadow: rgba(0, 0, 0, 0.22);
  
  /* Polices */
  --font-cursive-title: 'Alex Brush', cursive;
  --font-serif: 'Cormorant Garamond', serif;
  --font-hand: 'Caveat', cursive;
  --font-sans: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.herbier-body {
  font-family: var(--font-sans);
  color: var(--ink-charcoal);
  background: var(--bg-desk) radial-gradient(circle at 50% 20%, #eff5ed 0%, #d8e3d5 100%);
  background-attachment: fixed;
  min-height: 100vh;
  padding: 30px 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.botanical-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 10% 10%, rgba(136, 175, 150, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(93, 135, 109, 0.08) 0%, transparent 40%);
  z-index: 1;
}

/* ==========================================================================
   CARNET HERBIER À SPIRALES
   ========================================================================== */
.herbier-notebook-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  background: var(--paper-ivory);
  border-radius: 16px;
  box-shadow: 
    0 18px 45px rgba(35, 55, 42, 0.15),
    0 2px 10px rgba(0, 0, 0, 0.06),
    inset 0 0 40px rgba(216, 229, 220, 0.35);
  overflow: hidden;
  border: 1px solid #d4ded3;
}

/* Reliure à Spirales sur la gauche */
.spiral-binding-bar {
  width: 58px;
  background: linear-gradient(90deg, #dce4da 0%, #ebf0e9 45%, #d1ded0 100%);
  border-right: 2px solid #cad8c9;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 30px 0;
  flex-shrink: 0;
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, 0.04);
}

.spiral-unit {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spiral-unit .hole {
  width: 12px;
  height: 12px;
  background: #2b3930;
  border-radius: 50%;
  box-shadow: inset 1px 1px 3px rgba(0,0,0,0.8), 0 1px 1px rgba(255,255,255,0.8);
}

.spiral-unit .metal-ring {
  position: absolute;
  width: 38px;
  height: 9px;
  left: 10px;
  background: linear-gradient(180deg, #f7f4ee 0%, #b8af9f 40%, #7d7363 70%, #4a4338 100%);
  border-radius: 6px;
  box-shadow: 0 3px 5px var(--spiral-shadow);
  transform: rotate(-10deg);
}

/* Page Herbier */
.herbier-page {
  flex: 1;
  padding: 32px 40px;
  background: var(--paper-ivory);
  position: relative;
}

/* Barre supérieure : Dicton populaire de saison & Pastille Mois Actuel */
.herbier-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.herbier-proverb-box {
  background: #ffffff;
  border: 1px solid #d4ded3;
  border-left: 3px solid var(--sage-eucalyptus);
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  max-width: 650px;
}

.herbier-proverb-box .proverb-icon {
  color: var(--sage-eucalyptus);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.herbier-proverb-box .proverb-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sage-eucalyptus);
  white-space: nowrap;
}

.herbier-proverb-box .proverb-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--forest-deep);
  line-height: 1.3;
}

.herbier-current-badge {
  background: #ffffff;
  border: 1px solid var(--sage-medium);
  color: var(--forest-deep);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.herbier-current-badge:hover {
  background: var(--sage-eucalyptus);
  color: #fff;
  border-color: var(--sage-eucalyptus);
}

/* ==========================================================================
   EN-TÊTE HERBIER (Style Couverture Botanique)
   ========================================================================== */
.herbier-header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}

.wreath-header-wrapper {
  max-width: 650px;
  margin: 0 auto 16px;
  position: relative;
}

.wreath-svg {
  width: 100%;
  max-height: 50px;
  display: block;
}

.herbier-title-block {
  padding: 4px 10px;
}

.herbier-sub-caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--sage-eucalyptus);
  text-transform: uppercase;
  display: block;
  margin-bottom: -4px;
}

.herbier-main-cursive {
  font-family: var(--font-cursive-title);
  font-size: 5.6rem;
  font-weight: 400;
  color: var(--forest-deep);
  line-height: 1.05;
  margin: 0;
  text-shadow: 1px 2px 3px rgba(42, 76, 56, 0.08);
}

.herbier-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-secondary);
  margin-top: 4px;
}

/* Barre de Navigation */
.herbier-nav-bar {
  display: inline-flex;
  gap: 10px;
  background: var(--paper-cream);
  padding: 6px 10px;
  border-radius: 30px;
  border: 1px solid #d8e3d6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.herbier-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 20px;
  color: var(--ink-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.herbier-tab-link:hover, .herbier-tab-link.active {
  background: var(--forest-deep);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(42, 76, 56, 0.2);
}

/* ==========================================================================
   ONGLETS MENSUELS DU CARNET
   ========================================================================== */
.month-tabs-nav {
  margin-bottom: 24px;
}

.month-tabs-wrapper {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--sage-medium) transparent;
}

.month-tab {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 10px 6px 8px;
  background: var(--paper-cream);
  border: 1px solid #d3ded1;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink-secondary);
  transition: all 0.2s;
  position: relative;
}

.month-tab:hover {
  background: #ffffff;
  border-color: var(--sage-eucalyptus);
  color: var(--forest-deep);
}

.month-tab.active-tab {
  background: #ffffff;
  color: var(--forest-deep);
  font-weight: 700;
  border: 2px solid var(--forest-deep);
  box-shadow: 0 4px 10px rgba(42, 76, 56, 0.1);
}

.tab-number {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sage-eucalyptus);
}

.tab-name {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  display: block;
  line-height: 1.1;
  margin-top: 2px;
}

.current-dot {
  color: var(--sage-eucalyptus);
  font-size: 0.65rem;
  position: absolute;
  top: 4px;
  right: 6px;
}

/* ==========================================================================
   BANNIÈRE D'ALERTE SAISONNIÈRE (FENÊTRES COURTES)
   ========================================================================== */
.urgent-alerts-banner {
  background: #ffffff;
  border: 1px solid #f0cdc7;
  border-left: 5px solid var(--accent-alert);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: 0 3px 8px rgba(184, 74, 57, 0.08);
}

.alert-wax-stamp {
  background: var(--accent-alert);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.alert-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-alert);
  margin-bottom: 6px;
}

.alert-items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alert-badge-item {
  background: var(--alert-bg);
  border: 1px solid #f3cfc8;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  color: #5c1f15;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.alert-badge-item:hover {
  background: var(--accent-alert);
  color: #ffffff;
  border-color: var(--accent-alert);
}

.badge-note {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: #8c2f21;
}

.alert-badge-item:hover .badge-note {
  color: #ffe6e2;
}

/* ==========================================================================
   APERÇU ÉPHÉMÉRIDE DU MOIS
   ========================================================================== */
.ephemeride-monthly-card {
  background: var(--paper-cream);
  border: 1px solid #d4ded3;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 26px;
  position: relative;
}

.ephemeride-pin {
  position: absolute;
  top: -8px;
  left: 24px;
  font-size: 1.1rem;
}

.ephemeride-header-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid #d4ded3;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.ephemeride-icon-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.big-icon {
  font-size: 2rem;
}

.ephemeride-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-eucalyptus);
  display: block;
}

.ephemeride-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest-deep);
}

.ink-link {
  color: var(--sage-eucalyptus);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.ink-link:hover {
  text-decoration: underline;
  color: var(--forest-deep);
}

.ephemeride-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.event-mini-box {
  background: #ffffff;
  border-left: 3px solid var(--sage-eucalyptus);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.event-cat-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage-eucalyptus);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 4px;
}

.event-mini-box h4 {
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink-charcoal);
}

.event-location {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.event-desc-snippet {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   BARRE DE RECHERCHE ET FILTRES
   ========================================================================== */
.herbalist-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-ink-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.search-ink-box .feather-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sage-medium);
  font-size: 0.95rem;
}

.search-ink-box input {
  width: 100%;
  padding: 10px 40px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid #d3ded1;
  border-radius: 25px;
  background: #ffffff;
  color: var(--ink-charcoal);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.search-ink-box input:focus {
  outline: none;
  border-color: var(--sage-eucalyptus);
  box-shadow: 0 0 0 3px rgba(83, 125, 99, 0.15);
}

.clear-search {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.category-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.filter-chip {
  background: var(--paper-cream);
  border: 1px solid #d3ded1;
  padding: 5px 12px;
  border-radius: 15px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-chip:hover, .filter-chip.active {
  background: var(--forest-deep);
  color: #ffffff;
  border-color: var(--forest-deep);
}

/* ==========================================================================
   PLANCHES BOTANIQUES / CARTES DE CUEILLETTE
   ========================================================================== */
.plants-herbarium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.herbarium-card {
  background: var(--paper-card);
  border: 1px solid #d9e3d8;
  border-radius: 12px;
  padding: 24px 20px 20px;
  position: relative;
  box-shadow: 0 4px 12px rgba(35, 55, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.herbarium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(35, 55, 42, 0.1);
}

/* Pinceau / Washi Tape Botanique Vert Sauge */
.card-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 16px;
  background: rgba(186, 216, 199, 0.7);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  border-radius: 2px;
}

.card-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  background: #f1f6ef;
  border: 1px solid #d4ded3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.card-names {
  flex: 1;
}

.card-provencal {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--sage-eucalyptus);
  display: block;
  line-height: 1;
}

.card-common-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--forest-deep);
  line-height: 1.2;
}

.card-latin-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.seal-urgent-mini {
  font-size: 1.3rem;
  cursor: help;
}

.card-botanical-notes {
  background: #f8faf6;
  border: 1px dashed #d1dfd0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.note-row {
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}

.note-row:last-child {
  margin-bottom: 0;
}

.note-label {
  font-weight: 600;
  color: var(--sage-eucalyptus);
  white-space: nowrap;
}

.note-val {
  color: var(--ink-charcoal);
}

.card-description {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  flex: 1;
}

.card-warning-box {
  background: var(--alert-bg);
  border-left: 3px solid var(--accent-alert);
  padding: 8px 10px;
  font-size: 0.82rem;
  color: #70261b;
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.card-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

/* Bouton iNaturalist Vert Feuillage */
.inaturalist-btn {
  background: linear-gradient(135deg, #74ac00 0%, #5b8700 100%);
  color: #ffffff;
  border: 1px solid #4a6e00;
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: all 0.2s;
}

.inaturalist-btn:hover {
  background: linear-gradient(135deg, #84c400 0%, #689b00 100%);
  transform: translateY(-1px);
}

.inat-bird {
  font-size: 1rem;
}

.recipes-modal-btn {
  background: var(--paper-cream);
  color: var(--forest-deep);
  border: 1px solid #c8d8c6;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.recipes-modal-btn:hover {
  background: var(--forest-deep);
  color: #ffffff;
  border-color: var(--forest-deep);
}

/* ==========================================================================
   MODALE PLANCHE BOTANIQUE & RECETTES
   ========================================================================== */
.herbalist-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 45, 36, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-parchment {
  background: var(--paper-ivory);
  border: 1px solid #c8d8c6;
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 30px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--accent-alert);
}

.modal-plant-title-block {
  text-align: center;
  border-bottom: 1px solid #d4ded3;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.modal-provencal {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--sage-eucalyptus);
}

.modal-plant-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 2px 0;
}

.modal-latin {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.modal-section-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #d8e3d6;
  padding-bottom: 4px;
}

.recipe-card-box {
  background: #ffffff;
  border: 1px solid #d8e3d6;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.recipe-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 4px;
}

.recipe-meta {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--sage-eucalyptus);
  margin-bottom: 10px;
}

.recipe-ingredients-list {
  background: #f8faf6;
  padding: 10px 18px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.recipe-steps-list {
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.recipe-steps-list li {
  margin-bottom: 6px;
}

/* ==========================================================================
   PAGE ÉPHÉMÉRIDE SAUVAGE
   ========================================================================== */
.ephemeride-page-header {
  text-align: center;
  margin-bottom: 26px;
}

.ephemeride-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage-eucalyptus);
}

.ephemeride-main-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin: 4px 0 8px;
}

.ephemeride-intro {
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-secondary);
}

.ephemeride-jump-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.jump-chip {
  background: var(--paper-cream);
  border: 1px solid #d3ded1;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink-charcoal);
  font-size: 0.88rem;
  transition: all 0.2s;
}

.jump-chip:hover, .jump-chip.active-jump {
  background: var(--forest-deep);
  color: #ffffff;
  border-color: var(--forest-deep);
}

.almanac-month-card {
  background: #ffffff;
  border: 1px solid #d8e3d6;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 4px 12px rgba(35, 55, 42, 0.04);
}

.almanac-month-card.highlighted-month {
  border: 2px solid var(--sage-eucalyptus);
  background: #fafdfa;
}

.almanac-month-header {
  display: flex;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid #e0eade;
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.month-seal-box {
  background: #f0f6ee;
  border: 1px solid #cad8c9;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.month-num {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.month-seal-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.season-theme {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage-eucalyptus);
  display: block;
}

.month-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-deep);
}

.almanac-events-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}

.almanac-event-item {
  background: var(--paper-ivory);
  border: 1px solid #dce6db;
  border-radius: 10px;
  padding: 16px;
}

.event-item-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.event-badge-cat {
  color: var(--sage-eucalyptus);
  font-weight: 700;
}

.event-badge-period {
  color: var(--ink-muted);
  font-style: italic;
}

.event-item-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

.event-item-location {
  font-size: 0.85rem;
  color: var(--sage-eucalyptus);
  margin-bottom: 8px;
  font-style: italic;
}

.event-item-description {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-charcoal);
  margin-bottom: 10px;
}

.event-tips-box {
  background: #f0f7f1;
  border-left: 3px solid var(--sage-eucalyptus);
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 0 6px 6px 0;
  color: #1f3b27;
  display: flex;
  gap: 8px;
}

.almanac-month-footer {
  text-align: right;
  border-top: 1px solid #e2ece0;
  padding-top: 10px;
}

/* ==========================================================================
   PIED DE PAGE HERBIER (Style Label Clairefontaine)
   ========================================================================== */
.herbier-footer {
  margin-top: 40px;
  border-top: 1px solid #d4ded3;
  padding-top: 20px;
  text-align: center;
}

.clairefontaine-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--paper-cream);
  border: 1px solid #d3ded1;
  padding: 8px 20px;
  border-radius: 30px;
}

.leaf-icon-badge {
  font-size: 1.4rem;
}

.cf-info {
  text-align: left;
}

.cf-brand {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--forest-deep);
  display: block;
}

.cf-meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.cf-meta a {
  color: var(--sage-eucalyptus);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .herbier-page {
    padding: 24px 16px;
  }
  .spiral-binding-bar {
    width: 32px;
  }
  .spiral-unit .metal-ring {
    width: 22px;
    left: 4px;
  }
  .herbier-main-cursive {
    font-size: 3.6rem;
  }
  .plants-herbarium-grid {
    grid-template-columns: 1fr;
  }
}

/* Impression / Carnet de terrain */
@media print {
  body.herbier-body {
    background: #fff;
    padding: 0;
  }
  .botanical-bg-overlay, .herbier-top-bar, .herbier-nav-bar, .month-tabs-nav, .herbalist-toolbar, .inaturalist-btn, .recipes-modal-btn {
    display: none !important;
  }
  .herbier-notebook-container {
    box-shadow: none;
    border: none;
  }
  .spiral-binding-bar {
    display: none;
  }
  .herbier-page {
    background: #fff;
    padding: 0;
  }
  .herbarium-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
