/*
 * Miellerie du Montaiguet — Design global (Claude Design)
 * En-tête, héro, sections d'accueil, points de vente, blog, contact, pied de page.
 * Chargé sur tout le site (après custom.css) pour refléter la maquette.
 */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --honey-gold: 42 85% 68%;
  --honey-gold-light: 45 90% 78%;
  --honey-gold-dark: 38 72% 55%;
  --navy: 230 45% 25%;
  --navy-light: 230 40% 35%;
  --provence-blue: 215 80% 45%;
  --shadow-honey: 0 10px 30px -10px hsl(var(--honey-gold) / .35);
  --shadow-elegant: 0 25px 50px -12px hsl(var(--foreground) / .1);
  /* Police exacte de la maquette Claude Design */
  --font-serif: 'Atkinson Hyperlegible', sans-serif;
  --font-sans: 'Inter', sans-serif;
}

/* ---- Base ---- */
.mm-section, .mm-hero, .mm-footer { box-sizing: border-box; }
.mm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 44px; }

/* ============ EN-TÊTE ============ */
.mm-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 48px;
  background: hsl(var(--card)); border-bottom: 3px solid hsl(var(--honey-gold));
  transition: var(--transition-smooth);
}
.mm-header.scrolled { padding: 10px 48px; box-shadow: 0 6px 24px hsl(var(--foreground) / .08); }
.mm-header .mm-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.mm-header .mm-logo-img { height: 104px; width: auto; display: block; transition: var(--transition-smooth); }
.mm-header.scrolled .mm-logo-img { height: 80px; }
.mm-nav { flex: 1; display: flex; gap: 30px; align-items: center; justify-content: center; flex-wrap: nowrap; }
.mm-nav a { font-family: var(--font-sans); font-weight: 500; font-size: 17px; white-space: nowrap; color: hsl(var(--foreground)); text-decoration: none; transition: var(--transition-smooth); }
.mm-nav a:hover { color: hsl(var(--honey-gold-dark)); }
.mm-nav a.is-active { color: hsl(var(--navy)); font-weight: 600; }
.mm-header-right { display: flex; align-items: center; gap: 16px; }
.mm-btn-contact { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-family: var(--font-sans); font-weight: 600; font-size: 16px; background: hsl(var(--honey-gold)); color: hsl(var(--navy)); padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; transition: var(--transition-smooth); text-decoration: none; }
.mm-btn-contact:hover { background: hsl(var(--honey-gold-light)); box-shadow: var(--shadow-honey); color: hsl(var(--navy)); }
.mm-btn-contact svg { width: 18px; height: 18px; }

/* Hamburger (mobile) */
.mm-burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.mm-burger span { display: block; width: 26px; height: 2px; background: hsl(var(--navy)); transition: var(--transition-smooth); }
.mm-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mm-burger.active span:nth-child(2) { opacity: 0; }
.mm-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile plein écran */
.mm-mobile-menu { position: fixed; inset: 0; z-index: 60; background: hsl(var(--card)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.mm-mobile-menu.active { opacity: 1; pointer-events: auto; }
.mm-mobile-menu a { font-family: var(--font-serif); font-weight: 600; font-size: 26px; color: hsl(var(--navy)); text-decoration: none; }
.mm-mobile-menu a:hover { color: hsl(var(--honey-gold-dark)); }
.mm-mobile-close { position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: hsl(var(--muted)); color: hsl(var(--navy)); font-size: 20px; cursor: pointer; }

/* ============ BOUTONS ============ */
.mm-btn-gold { display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: 15px; text-decoration: none; background: hsl(var(--honey-gold)); color: hsl(var(--navy)); padding: 15px 32px; border-radius: 999px; border: 0; cursor: pointer; transition: var(--transition-smooth); }
.mm-btn-gold:hover { background: hsl(var(--honey-gold-light)); box-shadow: var(--shadow-honey); color: hsl(var(--navy)); }
.mm-btn-ghost { display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: 15px; text-decoration: none; background: transparent; color: hsl(var(--navy)); padding: 14px 28px; border-radius: 999px; border: 1.5px solid hsl(var(--navy) / .4); cursor: pointer; transition: var(--transition-smooth); }
.mm-btn-ghost:hover { background: hsl(var(--navy)); color: #fff; border-color: hsl(var(--navy)); }
.mm-btn-primary { display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: 14px; text-decoration: none; background: hsl(var(--navy)); color: hsl(var(--primary-foreground)); padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: var(--transition-smooth); }
.mm-btn-primary:hover { background: hsl(var(--honey-gold-dark)); box-shadow: var(--shadow-honey); color: hsl(var(--primary-foreground)); }

/* ============ SECTIONS ============ */
.mm-section { padding: 84px 0; }
.mm-section > .mm-wrap { padding-left: 44px; padding-right: 44px; }
.mm-section.alt { background: hsl(var(--muted) / .55); }
.mm-home .section-header { text-align: center; max-width: 660px; margin: 0 auto; }
.mm-home .mm-title-bee { display: inline-block; height: 52px; width: auto; margin-bottom: 14px; }
.mm-home .section-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 4vw, 46px); color: hsl(var(--navy)); margin: 0 0 18px; line-height: 1.08; }
.mm-home .section-description { font-family: var(--font-sans); font-weight: 300; font-size: 18px; color: hsl(var(--muted-foreground)); margin: 0 auto; max-width: 640px; line-height: 1.65; }

/* ============ HÉRO ============ */
.mm-hero { position: relative; overflow: hidden; padding: 96px 64px 96px; min-height: 660px; display: flex; align-items: center; background: linear-gradient(120deg, hsl(45 55% 90%), hsl(40 60% 80%) 55%, hsl(260 35% 80%)); }
.mm-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-hero-veil { position: absolute; inset: 0; background: linear-gradient(100deg, hsl(45 45% 96% / .92) 0%, hsl(45 42% 94% / .62) 38%, hsl(45 40% 92% / .12) 64%, transparent 100%); }
.mm-hero-inner { position: relative; z-index: 2; max-width: 680px; color: hsl(var(--navy)); }
.mm-hero-badge { position: relative; top: -16px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-weight: 600; font-size: 15px; color: hsl(var(--navy)); background: hsl(45 50% 98% / .72); border: 1px solid hsl(var(--honey-gold) / .4); padding: 12px 22px; border-radius: 999px; margin-bottom: 30px; backdrop-filter: blur(2px); }
.mm-hero-badge .star { color: hsl(var(--honey-gold-dark)); font-size: 16px; }
.mm-hero-badge b { color: hsl(var(--honey-gold-dark)); font-weight: 700; }
.mm-hero-badge .sub { color: hsl(var(--navy-light)); font-weight: 500; }
.mm-hero h1 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.4rem, 5vw, 56px); line-height: 1.04; margin: 0 0 24px; color: hsl(var(--navy)); }
.mm-hero h1 em { display: block; font-style: normal; color: hsl(var(--honey-gold-dark)); }
.mm-hero-lead { font-family: var(--font-sans); font-weight: 400; font-size: clamp(1rem, 2vw, 21px); line-height: 1.55; color: hsl(var(--navy-light)); margin: 0 0 30px; max-width: 560px; }
.mm-hero-lead b { color: hsl(var(--navy)); font-weight: 700; }
.mm-hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.mm-hero-certs { position: absolute; left: 64px; bottom: 22px; z-index: 4; display: flex; align-items: center; gap: 0; background: hsl(45 50% 98% / .72); border: 1px solid hsl(var(--honey-gold) / .55); border-radius: 999px; padding: 4px; backdrop-filter: blur(3px); box-shadow: 0 8px 22px hsl(230 45% 20% / .18); }
.mm-hero-cert { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: hsl(var(--navy)); background: transparent; border: 0; padding: 9px 22px; }
.mm-hero-cert + .mm-hero-cert { box-shadow: -1px 0 0 hsl(var(--honey-gold) / .4); }

/* ---- Bandeau collection + citation ---- */
.mm-collection-banner { position: relative; border-radius: var(--radius); overflow: hidden; height: 260px; display: flex; align-items: center; justify-content: center; margin: 48px 0 52px; box-shadow: var(--shadow-elegant); background: linear-gradient(120deg, hsl(40 60% 78%), hsl(35 65% 58%)); }
.mm-collection-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm-collection-banner .veil { position: absolute; inset: 0; background: linear-gradient(0deg, hsl(230 45% 16% / .6), hsl(230 45% 16% / .2)); }
.mm-collection-banner blockquote { position: relative; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 3vw, 29px); color: #fff; text-align: center; max-width: 700px; margin: 0; padding: 0 24px; line-height: 1.3; text-shadow: 0 2px 18px hsl(230 45% 10% / .55); }

/* ============ GRILLE MIELS (accueil) ============ */
.mm-home .honey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mm-home .honey-card { cursor: default; }
.mm-home .honey-card { display: flex; flex-direction: column; text-align: center; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; transition: var(--transition-smooth); text-decoration: none; padding: 0; backdrop-filter: none; }
.mm-home .honey-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-honey); border-color: hsl(var(--honey-gold)); }
.mm-home .honey-icon-wrap { padding: 38px 0 30px; border-bottom: 1px solid hsl(var(--border)); margin: 0; }
.mm-home .honey-photo { display: block; width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid hsl(var(--border)); }
.mm-home .honey-icon { font-size: 54px; line-height: 1; display: inline-block; color: hsl(var(--honey-gold-dark)); filter: drop-shadow(0 6px 12px hsl(var(--honey-gold-dark) / .25)); margin: 0; }
.mm-home .honey-icon svg { display: block; }
.mm-home .honey-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.mm-home .honey-name { font-family: var(--font-serif); font-weight: 600; font-size: 24px; color: hsl(var(--navy)); margin: 0 0 11px; line-height: 1.15; }
.mm-home .honey-card:hover .honey-name { color: hsl(var(--navy)); }
.mm-home .honey-description { font-family: var(--font-sans); font-size: 15px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0 0 20px; }
.mm-home .honey-usage { display: flex; align-items: flex-start; gap: 9px; justify-content: center; text-align: left; font-family: var(--font-sans); font-size: 13.5px; line-height: 1.45; color: hsl(var(--foreground)); margin-bottom: 22px; padding: 0 6px; }
.mm-home .honey-usage .ic { font-size: 16px; line-height: 1.2; flex-shrink: 0; color: hsl(var(--honey-gold-dark)); }
.mm-home .honey-usage b { font-weight: 600; color: hsl(var(--navy)); }
.mm-home .honey-format { margin-top: auto; display: inline-flex; align-self: center; align-items: center; gap: 9px; font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: .04em; color: hsl(var(--honey-gold-dark)); background: hsl(var(--honey-gold) / .1); border: 1px solid hsl(var(--honey-gold) / .35); padding: 8px 16px; border-radius: 999px; }
.mm-home .honey-format .dot { width: 3px; height: 3px; border-radius: 50%; background: hsl(var(--honey-gold-dark)); }

/* ============ POINTS DE VENTE ============ */
.mm-map { position: relative; border-radius: var(--radius); overflow: hidden; height: 440px; margin-top: 48px; border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-elegant); z-index: 1; }
.mm-map .leaflet-container { height: 100%; width: 100%; font-family: var(--font-sans); }
.mm-pdv-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; row-gap: 32px; margin-top: 32px; align-items: stretch; }
.mm-pdv-card { box-sizing: border-box; display: flex; flex-direction: column; text-align: left; width: 100%; height: 100%; font-family: var(--font-sans); background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 16px; padding: 24px; cursor: pointer; transition: var(--transition-smooth); }
.mm-pdv-card:hover { border-color: hsl(var(--honey-gold)); box-shadow: var(--shadow-honey); }
.mm-pdv-card.is-active { border-color: hsl(var(--navy)); box-shadow: var(--shadow-honey); background: hsl(var(--honey-gold) / .07); }
.mm-pdv-card.is-active .mm-pdv-icon { background: hsl(var(--navy)); color: #fff; }
.mm-pdv-head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid hsl(var(--border)); }
.mm-pdv-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: hsl(var(--honey-gold) / .14); display: flex; align-items: center; justify-content: center; color: hsl(var(--honey-gold-dark)); transition: var(--transition-smooth); }
.mm-pdv-icon svg { width: 22px; height: 22px; }
.mm-pdv-type { font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: hsl(var(--honey-gold-dark)); margin: 0 0 4px; }
.mm-pdv-card h4 { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: hsl(var(--navy)); margin: 0; line-height: 1.2; }
.mm-pdv-lines { display: flex; flex-direction: column; gap: 11px; }
.mm-pdv-line { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-family: var(--font-sans); font-size: 13.5px; line-height: 1.45; color: hsl(var(--foreground)); }
.mm-pdv-line .ic { flex-shrink: 0; width: 72px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: hsl(var(--navy)); line-height: 1.45; }
.mm-pdv-line a { color: hsl(var(--navy)); font-weight: 600; text-decoration: none; }
.mm-pdv-line a:hover { text-decoration: underline; }
.mm-pdv-line .muted { color: hsl(var(--muted-foreground)); }

/* ============ BLOG ============ */
.mm-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.mm-post { display: flex; flex-direction: column; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); overflow: hidden; transition: var(--transition-smooth); text-decoration: none; }
.mm-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-honey); border-color: hsl(var(--honey-gold)); }
.mm-post-thumb { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; font-size: 50px; color: hsl(var(--navy)); border-bottom: 1px solid hsl(var(--border)); overflow: hidden; background: linear-gradient(135deg, hsl(45 50% 86%), hsl(35 60% 66%)); }
.mm-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.mm-post-meta { font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: hsl(var(--honey-gold-dark)); margin-bottom: 11px; }
.mm-post-meta .date { color: hsl(var(--muted-foreground)); font-weight: 400; text-transform: none; letter-spacing: 0; }
.mm-post h3 { font-family: var(--font-serif); font-weight: 600; font-size: 21px; color: hsl(var(--navy)); margin: 0 0 10px; line-height: 1.2; }
.mm-post p { font-family: var(--font-sans); font-size: 14px; color: hsl(var(--muted-foreground)); line-height: 1.6; margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mm-post .more { margin-top: auto; font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: hsl(var(--navy)); }

/* ============ CONTACT ============ */
.mm-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; margin-top: 48px; }
.mm-contact-info { display: flex; flex-direction: column; gap: 22px; }
.mm-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.mm-contact-item .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: hsl(var(--honey-gold) / .14); display: flex; align-items: center; justify-content: center; color: hsl(var(--honey-gold-dark)); }
.mm-contact-item .ic svg { width: 22px; height: 22px; }
.mm-contact-item h4 { font-family: var(--font-sans); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: hsl(var(--navy)); margin: 6px 0 5px; }
.mm-contact-item p { font-family: var(--font-sans); font-size: 15px; color: hsl(var(--muted-foreground)); margin: 0; line-height: 1.55; }
.mm-form { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow-elegant); }
.mm-field { margin-bottom: 18px; }
.mm-field label { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 13px; color: hsl(var(--navy)); margin-bottom: 7px; }
.mm-field input, .mm-field textarea { width: 100%; font-family: var(--font-sans); font-size: 15px; color: hsl(var(--foreground)); background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: 8px; padding: 12px 14px; box-sizing: border-box; transition: var(--transition-smooth); }
.mm-field input:focus, .mm-field textarea:focus { outline: none; border-color: hsl(var(--honey-gold)); box-shadow: 0 0 0 3px hsl(var(--honey-gold) / .18); }
.mm-field textarea { resize: vertical; min-height: 120px; }
.mm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mm-form .btn-submit { width: 100%; font-family: var(--font-sans); font-weight: 600; font-size: 15px; background: hsl(var(--navy)); color: hsl(var(--primary-foreground)); padding: 15px; border-radius: 999px; border: 0; cursor: pointer; transition: var(--transition-smooth); }
.mm-form .btn-submit:hover { background: hsl(var(--honey-gold-dark)); box-shadow: var(--shadow-honey); }
.mm-form .btn-submit:disabled { opacity: .7; cursor: default; }
.mm-form .form-message { margin-top: 14px; font-family: var(--font-sans); font-size: 14px; padding: 0; display: none; }
.mm-form .form-message.success { display: block; color: hsl(150 45% 32%); }
.mm-form .form-message.error { display: block; color: hsl(0 65% 50%); }

/* ============ PIED DE PAGE ============ */
.mm-footer { background: hsl(var(--navy)); color: hsl(45 30% 88%); padding: 56px 48px 36px; margin: 0; }
.mm-footer-inner { max-width: 1240px; margin: 0 auto; }
.mm-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; }
.mm-footer a { color: hsl(45 30% 80%); font-family: var(--font-sans); font-size: 14px; line-height: 2; text-decoration: none; transition: var(--transition-smooth); }
.mm-footer a:hover { color: hsl(var(--honey-gold-light)); }
.mm-footer h5 { font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin: 0 0 12px; }
.mm-footer p { font-family: var(--font-sans); font-size: 14px; line-height: 1.7; color: hsl(45 30% 78%); margin: 0; }
.mm-footer-logo { height: 104px; width: auto; display: block; margin: 0 0 18px -6px; }
.mm-footer-badges { display: flex; gap: 10px; margin-top: 18px; }
.mm-footer-badges span { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid hsl(0 0% 100% / .25); font-family: var(--font-serif); font-weight: 600; font-size: 13px; color: hsl(var(--honey-gold-light)); }
.mm-footer-bottom { max-width: 1240px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid hsl(45 30% 80% / .18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-sans); font-size: 12px; color: hsl(45 30% 70%); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .mm-home .honey-grid, .mm-pdv-grid3, .mm-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .mm-contact-grid { grid-template-columns: 1fr; }
  .mm-footer-cols { grid-template-columns: 1fr 1fr; }
  /* Héro empilé : la bande de certifications passe sous les boutons */
  .mm-hero { flex-direction: column; align-items: flex-start; }
  .mm-hero-certs { position: static; left: auto; bottom: auto; margin-top: 28px; display: inline-flex; }
}
@media (max-width: 860px) {
  .mm-nav, .mm-header .mm-btn-contact { display: none; }
  .mm-burger { display: flex; }
  .mm-header { padding: 12px 20px; }
  .mm-section > .mm-wrap, .mm-wrap { padding-left: 20px; padding-right: 20px; }
  .mm-hero { padding: 72px 24px 56px; min-height: 0; }
  .mm-hero-certs { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .mm-home .honey-grid, .mm-pdv-grid3, .mm-blog-grid, .mm-footer-cols { grid-template-columns: 1fr; }
  .mm-section { padding: 56px 0; }
}
