/*
Theme Name: C'Cake & Coffee — Divi Child
Theme URI: https://www.cakecoffee.fr/
Description: Thème enfant Divi pour C'Cake & Coffee. Charte gourmande (brown / burgundy / matcha / peach), polices Caraque + Adorn Pomanders, nav liquid glass desktop + marquee header + dock mobile.
Author: ODEJIA Studio
Author URI: https://odejia.studio/
Template: Divi
Version: 2.0.0
*/

/* ============================================
   1. POLICES — chargées en local
   ============================================ */
@font-face {
  font-family: 'Caraque';
  src: url('fonts/Caraque.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caraque';
  src: url('fonts/Caraque.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Adorn Pomanders';
  src: url('fonts/adorn-pomander.woff2') format('woff2'),
       url('fonts/adorn-pomander.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   2. TOKENS — Charte C'Cake & Coffee
   ============================================ */
:root {
  --cc-brown: #662808;
  --cc-brown-2: #7F664F;
  --cc-burgundy: #890918;
  --cc-caramel: #C78664;
  --cc-peach: #F9C492;
  --cc-peach-2: #FCE3CA;
  --cc-peach-bg: #FAEBD5;
  --cc-matcha: #91A345;
  --cc-cream: #FCFAED;
  --cc-cream-2: #F6EFE0;
  --cc-ink: #2a1709;
  --cc-line: rgba(102, 40, 8, 0.12);

  --cc-display: 'Caraque', Georgia, serif;
  --cc-script: 'Adorn Pomanders', cursive;

  --cc-radius-sm: 8px;
  --cc-radius-md: 18px;
  --cc-radius-lg: 28px;
  --cc-radius-pill: 999px;

  --cc-shadow-sm: 0 2px 8px rgba(102, 40, 8, 0.08);
  --cc-shadow-md: 0 8px 24px rgba(102, 40, 8, 0.12);
  --cc-shadow-lg: 0 16px 50px -12px rgba(102, 40, 8, 0.22);
}

/* ============================================
   3. TYPOGRAPHIE GLOBALE (override Divi)
   ============================================ */
body,
body.et_pb_pagebuilder_layout,
.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_text,
.et_pb_module,
p, a, span, li, h1, h2, h3, h4, h5, h6 {
  font-family: var(--cc-display) !important;
  color: var(--cc-ink);
}

body {
  background: var(--cc-peach-bg) !important;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Garde-fou anti débordement horizontal (les marquees défilants sont en width:max-content) */
html, body { max-width: 100%; overflow-x: hidden; }

@media (min-width: 981px) {
  body {
    font-size: 17px;
  }

  p, li,
  .et_pb_text,
  .et_pb_text p,
  .et_pb_module p {
    font-size: 1.06em;
  }
}

h1, h2, h3, h4, h5, h6,
.et_pb_text h1, .et_pb_text h2, .et_pb_text h3,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3 {
  font-family: var(--cc-display) !important;
  color: var(--cc-brown) !important;
  letter-spacing: -0.02em;
  line-height: 1;
  font-weight: 600;
}

/* L'eyebrow colle au titre qui le suit — partout */
.cc-eyebrow + h1, .cc-eyebrow + h2, .cc-eyebrow + h3,
.cc-eyebrow + .cc-section-title {
  margin-top: 0 !important;
}
.cc-eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--cc-peach);
  margin: 7px auto 0;
}
.cc-section__head h2, .cc-carte-cat__head h2 { margin: 0; }

h1 { font-size: clamp(36px, 5vw, 72px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: clamp(18px, 2vw, 24px); }

em, .cc-italic,
.et_pb_text em, .et_pb_module em {
  font-style: normal !important;
  font-family: var(--cc-script) !important;
  color: var(--cc-burgundy) !important;
  font-weight: 400;
}

/* Quand un <em> est dans un titre : passage à la ligne avec chevauchement subtil */
h1 em, h2 em, h3 em, h4 em,
.cc-hero__title em,
.cc-section__head h2 em,
.cc-univers__body h3 em,
.cc-produit__title em {
  display: block;
  line-height: 0.65;
  margin-top: -0.05em;
  font-size: 0.95em;
}

.cc-script {
  font-family: var(--cc-script) !important;
  color: var(--cc-burgundy);
  font-weight: 400;
}

.cc-eyebrow {
  font-family: var(--cc-display);
  font-size: 14px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  color: var(--cc-burgundy) !important;
  display: inline-block;
  margin-bottom: 8px;
}
.cc-eyebrow--cream {
  color: var(--cc-cream) !important;
}

/* ============================================
   4. BOUTONS C'CAKE
   ============================================ */
.cc-btn,
.et_pb_button.cc-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 16px 28px !important;
  border-radius: var(--cc-radius-pill) !important;
  font-family: var(--cc-display) !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: 2px solid transparent !important;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1;
}
.cc-btn:hover, .et_pb_button.cc-btn:hover { transform: translateY(-2px) scale(1.02); }
.cc-btn.et_pb_button:after { display: none !important; padding-left: 0 !important; }

.cc-btn__long, .cc-btn__short { color: inherit !important; }
.cc-btn--primary, .et_pb_button.cc-btn--primary {
  background: var(--cc-brown) !important;
  color: var(--cc-cream) !important;
}
.cc-btn--primary:hover { background: #4d1d05 !important; }
.cc-btn--burgundy, .et_pb_button.cc-btn--burgundy {
  background: var(--cc-burgundy) !important;
  color: var(--cc-cream) !important;
}
.cc-btn--peach, .et_pb_button.cc-btn--peach {
  background: var(--cc-peach) !important;
  color: var(--cc-brown) !important;
}
.cc-btn--ghost, .et_pb_button.cc-btn--ghost {
  background: transparent !important;
  color: var(--cc-brown) !important;
  border-color: var(--cc-brown) !important;
}
.cc-btn--ghost:hover {
  background: var(--cc-brown) !important;
  color: var(--cc-cream) !important;
}

/* ============================================
   5. NAV LIQUID GLASS — DESKTOP
   ============================================ */
body.cc-custom-nav-active #main-header,
body.cc-custom-nav-active #top-header,
body.cc-custom-nav-active .et_pb_section_0_tb_header {
  display: none !important;
}

.cc-nav {
  position: fixed;
  top: clamp(24px, 3vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  padding: clamp(14px, 1.4vw, 20px) clamp(18px, 1.8vw, 26px) clamp(14px, 1.4vw, 20px) clamp(26px, 2.4vw, 38px);
  background: rgba(252, 250, 237, 0.28);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--cc-radius-pill);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, var(--cc-shadow-lg);
  max-width: calc(100vw - 96px);
}
.cc-nav::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.15) 100%);
  pointer-events: none;
}

/* === LOGO RESPONSIVE : signature complète OU "C" rond selon largeur === */
.cc-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  padding-right: clamp(14px, 1.4vw, 22px);
  border-right: 1px solid rgba(102, 40, 8, 0.15);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  flex-shrink: 0;
}
.cc-nav__logo:hover { transform: scale(1.08); }
.cc-nav__logo .cc-logo-full {
  height: clamp(28px, 2.4vw, 44px);
  width: auto;
  display: block;
}
.cc-nav__logo .cc-logo-small {
  height: clamp(34px, 2.8vw, 46px);
  width: auto;
  display: none;
}
/* Switch automatique : sur écrans < 1100px, le logo signature devient le C rond */
@media (max-width: 1100px) {
  .cc-nav__logo .cc-logo-full { display: none; }
  .cc-nav__logo .cc-logo-small { display: block; }
}

/* === MENU EN PILLS TEXTE === */
.cc-nav ul, .cc-nav__menu {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 clamp(2px, 0.3vw, 6px);
}
.cc-nav ul li, .cc-nav__menu li {
  position: relative;
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center center;
}

/* === PAS D'EFFET BOUTON : un simple trait sous le lien === */
.cc-nav ul li:hover,
.cc-nav__menu li:hover {
  transform: none;
  z-index: 2;
}

.cc-nav ul a, .cc-nav__menu a {
  position: relative;
  display: block;
  padding: clamp(8px, 0.8vw, 12px) clamp(10px, 1vw, 16px);
  color: var(--cc-brown) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.01em;
  border-radius: 0;
  background: transparent;
  transition: color .25s;
  white-space: nowrap;
}
.cc-nav ul a::after,
.cc-nav__menu a::after {
  content: '';
  position: absolute;
  left: clamp(10px, 1vw, 16px);
  right: clamp(10px, 1vw, 16px);
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
  transition: opacity .2s;
}
.cc-nav ul a:hover::after,
.cc-nav__menu a:hover::after,
.cc-nav .current-menu-item > a::after,
.cc-nav .current_page_item > a::after {
  opacity: 1;
}
.cc-nav ul a:hover,
.cc-nav__menu a:hover {
  background: transparent;
  color: var(--cc-brown) !important;
}
.cc-nav .current-menu-item > a,
.cc-nav .current_page_item > a {
  background: transparent;
  color: var(--cc-caramel) !important;
}

/* === ACCUEIL EN MAISON + SOUS-MENU === */
.cc-nav__home a { display: flex; align-items: center; justify-content: center; }
.cc-nav__has-sub > a::before { content: ''; }
.cc-nav__sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  display: flex !important; flex-direction: column; gap: 0; padding: 4px !important;
  min-width: 0; width: max-content; background: var(--cc-brown);
  border: 0; border-radius: 12px;
  box-shadow: 0 10px 22px -10px rgba(42, 23, 9, 0.45);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s;
  margin-top: 7px;
}
/* petite pointe de bulle */
.cc-nav__sub::before {
  content: ''; position: absolute; top: -5px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--cc-brown); border-radius: 2px;
}
.cc-nav__has-sub:hover .cc-nav__sub,
.cc-nav__has-sub:focus-within .cc-nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cc-nav ul .cc-nav__sub a, .cc-nav__menu .cc-nav__sub a {
  text-align: center; padding: 6px 12px; font-size: 13px; font-weight: 500;
  color: var(--cc-cream) !important; border-radius: 8px;
}
.cc-nav ul .cc-nav__sub a:hover, .cc-nav__menu .cc-nav__sub a:hover { color: var(--cc-peach) !important; }
.cc-nav .cc-nav__sub a::after { display: none; }

/* === BOUTON COMMANDER : intégré comme un item du menu === */
/* On le met dans le UL pour qu'il ne déborde jamais */
.cc-nav__menu li.cc-nav__cta-item {
  margin-left: clamp(2px, 0.3vw, 6px);
}
.cc-nav__menu li.cc-nav__cta-item a {
  background: var(--cc-brown);
  color: var(--cc-cream) !important;
  font-weight: 700;
}
.cc-nav__menu li.cc-nav__cta-item a:hover {
  background: #4d1d05;
  color: var(--cc-cream) !important;
}
.cc-nav__menu li.cc-nav__cta-item:hover {
  transform: scale(1.06);
}

/* ============================================
   6. MARQUEE MOBILE TOP (visible uniquement < 980px)
   ============================================ */
.cc-mobile-marquee {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9998;
  background: var(--cc-brown);
  color: var(--cc-cream);
  padding: 10px 0;
  overflow: hidden;
}
.cc-mobile-marquee__row {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: cc-scroll-quarter 28s linear infinite;
  width: max-content;
}
.cc-mobile-marquee__word {
  font-family: var(--cc-script), Georgia, serif;
  font-size: 26px;
  color: var(--cc-peach);
  line-height: 1;
  flex-shrink: 0;
  padding: 0 12px;
}
.cc-mobile-marquee__icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  padding: 0 4px;
}

/* ============================================
   7. DOCK MOBILE (bottom bar app-style) — icônes Carina
   ============================================ */
.cc-dock {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 9999;
  padding: 10px 8px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: var(--cc-brown);
  border: 1px solid rgba(252, 250, 237, 0.16);
  border-radius: 34px;
  box-shadow: 0 20px 50px -10px rgba(42, 23, 9, 0.5);
  justify-content: space-around;
}
.cc-dock::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(252,250,237,0.10), transparent 45%);
  pointer-events: none;
}
.cc-dock a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px;
  color: var(--cc-cream) !important;
  text-decoration: none !important;
  font-size: 9px;
  font-weight: 700;
  border-radius: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 0;
  transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), background .25s;
}
.cc-dock a:active { transform: scale(0.92); }
.cc-dock a span, .cc-dock__more span { display: none; }
.cc-dock a::before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  background-color: currentColor;
  -webkit-mask: var(--cc-dock-icon) center / contain no-repeat;
  mask: var(--cc-dock-icon) center / contain no-repeat;
}
/* Icônes du dock — fichiers Carina fournis (masqués, teintés en crème/marron) */
.cc-dock a[data-icon="home"]    { --cc-dock-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22725%20528%20172%20154%22%3E%3Cg%3E%3Cpath%20d%3D%22M829.19%2C636.09l-26.12-.07v36.03s-23.17-.14-23.17-.14c-7.58-.05-13.41-5.79-14.36-13.04l-.06-37.14%2C50.63-50.37%2C50.43%2C49.98.27%2C36.31c-.36%2C7.79-6.37%2C14.2-14.44%2C14.26l-23.2.16v-35.97Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M883.8%2C600.68c2.86%2C2.88%2C2.61%2C7.88.4%2C10.72-2.05%2C2.63-8.15%2C3.87-10.92%2C1.11l-52.54-52.6c-2.71-2.71-6.47-2.71-9.18%2C0l-52.54%2C52.6c-2.77%2C2.77-8.87%2C1.53-10.92-1.11s-2.55-7.9.39-10.83l54.99-54.69c5.94-5.91%2C19.46-5.5%2C25.13-.02l17.68%2C17.07%2C1.14-11.23c.27-2.7%2C6.25-5.39%2C8.74-4.85s6.48%2C4.48%2C6.49%2C7.35l.05%2C25.22%2C21.09%2C21.26Z%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
.cc-dock a[data-icon="truck"]   { --cc-dock-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22526%20554%20166%20126%22%3E%3Cg%3E%3Cpath%20d%3D%22M672.55%2C655.98c1-15.58-10.07-26.7-24.13-26.76s-25.24%2C11.47-24.15%2C26.83h-43.36c1.05-15.36-10.09-26.93-24.15-26.83-14.08.11-25.15%2C11.14-24.15%2C26.79l-10.85-.67-.09-92.69c0-4.98%2C3.94-8.97%2C9.05-8.96l114.9.08c7.96%2C0%2C13.52%2C6.52%2C15.4%2C13.44l11.13%2C40.98%2C11.14%2C11.1.16%2C36.21-10.91.48ZM607.98%2C569.88h-72.83v37.7h72.83v-37.7ZM662.41%2C612.77l-8.28-32.12-27.38.24.23%2C32.12%2C35.44-.23ZM607.98%2C612.96h-72.83v10.77h72.83v-10.77Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M575.51%2C653.34c0%2C10.34-8.39%2C18.72-18.74%2C18.72s-18.74-8.38-18.74-18.72%2C8.39-18.72%2C18.74-18.72%2C18.74%2C8.38%2C18.74%2C18.72ZM564.75%2C653.34c0-4.41-3.58-7.98-7.99-7.98s-7.99%2C3.57-7.99%2C7.98%2C3.58%2C7.98%2C7.99%2C7.98%2C7.99-3.57%2C7.99-7.98Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M667.16%2C653.34c0%2C10.34-8.39%2C18.72-18.74%2C18.72s-18.74-8.38-18.74-18.72%2C8.39-18.72%2C18.74-18.72%2C18.74%2C8.38%2C18.74%2C18.72ZM656.4%2C653.31c0-4.42-3.58-8-8-8s-8%2C3.58-8%2C8%2C3.58%2C8%2C8%2C8%2C8-3.58%2C8-8Z%22%3E%3C%2Fpath%3E%3Cpolygon%20points%3D%22584.56%20587.61%20572.01%20587.6%20557.7%20587.59%20541.4%20588.27%20540.78%20575.28%20602.52%20575.26%20602.19%20588.27%20584.56%20587.61%22%3E%3C%2Fpolygon%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
.cc-dock a[data-icon="cake"]    { --cc-dock-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2286%20534%20156%20146%22%3E%3Cg%3E%3Cpath%20d%3D%22M102.48%2C650.19l-.03-45.27c10.59%2C4.99%2C2.83%2C25.09%2C15.29%2C25.27%2C5.01.07%2C8.63-4%2C8.64-10.44%2C0-7.26%2C5.74-21.48%2C15.18-18.68%2C7.92%2C2.35%2C16.14%2C6.42%2C22.92-1.53%2C1.77-2.07%2C7.36-4.47%2C10.11-3.97%2C7.44%2C1.33%2C11.01%2C13.16%2C19.79%2C14.54%2C3.66.57%2C8.94-2.26%2C12.47-4.52%2C2.34-1.5%2C9.33%2C2.39%2C9.34%2C5.12l.19%2C39.49h-113.9Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M175.41%2C591.12c-11.45-2.34-16.32%2C14.82-29.13%2C6.37-5.03-3.32-11.88-1.5-16.47%2C3-9.43%2C9.23-5.7%2C21.28-10.74%2C25.17-1.17.9-4.63-1.7-4.87-3.27l-1.76-11.4c-.78-5.07-4.42-7.88-9.48-10.3-2.07-12.38%2C3.07-25.02%2C13.95-24.91l30.23.29c3.25%2C3.21%2C7.59%2C6.38%2C11.68%2C6.5%2C4.8.14%2C9.15-2.82%2C12.85-6.51l30.01-.2c6.52-.04%2C12.95%2C5.06%2C13.47%2C11.43l1.35%2C16.64c-6.35-5.28-11.22-3.17-16.78.52-9%2C5.97-14.13-11.24-24.29-13.32Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M214.08%2C672.01l-108.75.05c-4.87%2C0-8.97-5.5-11.09-8.98l-2.3-3.79c-.62-1.02.81-3.26%2C2.09-4.74h130.63c1%2C1%2C2.87%2C2.89%2C2.44%2C3.67l-2.69%2C4.85c-1.53%2C2.77-5.7%2C8.93-10.34%2C8.93Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M161.63%2C554.49c5.35%2C4.92%2C9.15%2C8.01%2C8.69%2C13.35-.49%2C5.78-5.06%2C9.84-10.22%2C10.14-5.56.33-10.28-3.4-11.48-8.64-1.26-5.89%2C2.32-11.01%2C8.29-13.39%2C1.82-7.33%2C5.38-12.55%2C11.93-16.15l3.8.29c4.91.38-8.36%2C5.79-11.01%2C14.39Z%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }
.cc-dock a[data-icon="phone"]   { --cc-dock-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22282%20540%20148%20142%22%3E%3Cg%3E%3Cpath%20d%3D%22M364.7%2C635.02l10.2%2C18.02c1.68%2C2.97-1.03%2C8.18-3.9%2C9.49l-20.85%2C9.53c-9.16-3.71-16.99-9.12-23.8-16.37-21.04-22.4-42.75-60.23-37.33-90.31l16.71-11.75c2.86-2.01%2C9.46-3.72%2C11.63-.06l11.21%2C18.91c1.34%2C2.27.3%2C7.89-1.8%2C9.19l-12.31%2C7.65c5.44%2C19.02%2C14.51%2C33.87%2C27.54%2C48.43l10.36-5.16c4.87-2.43%2C9.52-2.55%2C12.33%2C2.42Z%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M368.35%2C629.24c-5.29-8.54-16.36-5.21-23.44.4-10.96-9.21-17.17-23.38-22.86-37.05l9.41-6.18%2C35.09%2C23.86%2C51.98-35.42.02%2C61.36c0%2C2.64-2.81%2C5.6-5.25%2C5.91l-37.16-.31-7.8-12.57Z%22%3E%3C%2Fpath%3E%3Cpolygon%20points%3D%22366.76%20602.4%20335.88%20581.57%20335.61%20570.6%20412.39%20570.82%20366.76%20602.4%22%3E%3C%2Fpolygon%3E%3C%2Fg%3E%3C%2Fsvg%3E"); }

/* Bouton « Menu » (hamburger) du dock : même gabarit que les liens */
.cc-dock__more {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  color: var(--cc-cream);
  cursor: pointer;
  border-radius: 16px;
  padding: 6px 0;
  transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), background .25s;
}
.cc-dock__more:active { transform: scale(0.92); }
.cc-dock__more::before {
  content: '';
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  aspect-ratio: 1 / 1;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cc-dock a.is-active,
.cc-dock a.current-menu-item {
  background: rgba(252, 250, 237, 0.14);
  color: var(--cc-cream) !important;
  border-radius: 20px;
}

/* ============================================
   8. RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .cc-nav { display: none; }
  .cc-mobile-marquee { display: block; }
  .cc-dock { display: flex; }
  body { padding-top: 44px; padding-bottom: 0; }
  .cc-hero__features { display: none !important; } /* remplacés par le bandeau du haut */
  .cc-marquee-dot {
    display: inline-block !important;
    width: 7px; height: 7px;
    min-width: 7px; max-width: 7px;
    min-height: 7px; max-height: 7px;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 8px;
    flex: none; aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--cc-peach);
    vertical-align: middle;
    font-size: 0 !important;
  }
}

/* ============================================
   MENU PLEIN ÉCRAN (hamburger mobile)
   ============================================ */
.cc-fullmenu[hidden] { display: none !important; }
.cc-fullmenu {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background:
    linear-gradient(rgba(58, 28, 8, 0.82), rgba(58, 28, 8, 0.86)),
    url('assets/images/fond-vichy-automne.jpg') center top / cover no-repeat;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  display: flex;
  flex-direction: column;
  padding-top: 60px;
  padding-bottom: 104px;
  opacity: 0;
  transition: opacity .28s ease;
}
.cc-fullmenu.is-open { opacity: 1; }
.cc-fullmenu__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 8px 18px;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  margin-top: 8px;
}
/* Compte et panier : dans la nav sur ordinateur, dans le menu plein écran sur mobile */
.cc-navshop { display: flex; gap: 8px; align-items: center; margin-left: 14px; }
.cc-navshop button { position: relative; width: 36px; height: 36px; border-radius: var(--cc-radius-pill); border: 1px solid transparent; background: var(--cc-caramel); color: var(--cc-cream); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cc-navshop button:hover { background: var(--cc-burgundy); border-color: transparent; color: var(--cc-cream); }
.cc-navshop .n { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--cc-burgundy); color: var(--cc-cream); font-size: 11px; line-height: 18px; text-align: center; padding: 0 4px; }
.cc-navshop--menu { width: 100%; flex-direction: column; align-items: flex-end; gap: 8px; margin: 6px 0 0; order: 2; }
.cc-navshop--menu button { width: 42px; height: 42px; background: var(--cc-cream); color: var(--cc-brown); }
.cc-navshop--menu button:hover { background: var(--cc-peach); color: var(--cc-brown); }
@media (min-width: 981px) { .cc-navshop--menu { display: none; } }
.cc-fullmenu__logo {
  height: 54px;
  width: auto;
  margin: 0 auto 18px;
  filter: brightness(0) invert(1);
}
.cc-fullmenu__close {
  width: 46px;
  height: 46px;
  flex: none;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 0;
  background: rgba(252, 250, 237, 0.92);
  color: var(--cc-brown);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-fullmenu__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 10px 26px;
}
.cc-fullmenu__nav a {
  font-family: var(--cc-display);
  font-size: clamp(23px, 7vw, 34px);
  font-weight: 400;
  color: var(--cc-cream);
  text-decoration: none;
  line-height: 1.15;
  transform: translateY(14px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.cc-fullmenu.is-open .cc-fullmenu__nav a { transform: translateY(0); opacity: 1; }
.cc-fullmenu.is-open .cc-fullmenu__nav a:nth-child(1) { transition-delay: .05s; }
.cc-fullmenu.is-open .cc-fullmenu__nav a:nth-child(2) { transition-delay: .10s; }
.cc-fullmenu.is-open .cc-fullmenu__nav a:nth-child(3) { transition-delay: .15s; }
.cc-fullmenu.is-open .cc-fullmenu__nav a:nth-child(4) { transition-delay: .20s; }
.cc-fullmenu.is-open .cc-fullmenu__nav a:nth-child(5) { transition-delay: .25s; }
.cc-fullmenu.is-open .cc-fullmenu__nav a:nth-child(6) { transition-delay: .30s; }
.cc-fullmenu__nav a[aria-current="page"] { color: var(--cc-peach); }
.cc-fullmenu__sec {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: 18px 26px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(252, 250, 237, 0.25);
}
.cc-fullmenu__sec a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(252, 250, 237, 0.82);
  text-decoration: none;
}
.cc-fullmenu__sec a:active { color: #fff; }
@media (min-width: 981px) { .cc-fullmenu { display: none !important; } }

/* ============================================
   9. COMPOSANTS SIGNATURE
   ============================================ */

/* Chips */
.cc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cc-cream);
  border-radius: var(--cc-radius-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cc-brown);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cc-chip__dot {
  width: 8px; height: 8px;
  min-width: 8px; max-width: 8px;
  flex: none !important;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  background: var(--cc-matcha);
}
.cc-chip--burgundy .cc-chip__dot { background: var(--cc-burgundy); }
.cc-chip--caramel .cc-chip__dot { background: var(--cc-caramel); }
.cc-chip--peach { background: var(--cc-peach); }
.cc-chip--peach .cc-chip__dot { background: var(--cc-burgundy); }

/* Stickers */
.cc-sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-family: var(--cc-script);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  line-height: 1;
  transform: rotate(12deg);
  box-shadow: var(--cc-shadow-md);
  padding: 4px;
  animation: cc-wobble 4s ease-in-out infinite;
  background: var(--cc-burgundy);
  color: var(--cc-cream);
}
.cc-sticker--peach { background: var(--cc-peach); color: var(--cc-brown); }
.cc-sticker--matcha { background: var(--cc-matcha); color: var(--cc-cream); }
.cc-sticker--cream { background: var(--cc-cream); color: var(--cc-brown); }
@keyframes cc-wobble {
  0%, 100% { transform: rotate(12deg); }
  50% { transform: rotate(6deg); }
}

/* Marquee (sections in-page) — boucle infinie sans saut */
.cc-marquee {
  background: var(--cc-brown);
  color: var(--cc-cream);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.cc-marquee__row {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: cc-scroll-quarter 40s linear infinite;
  width: max-content;
}
.cc-marquee__word {
  font-family: var(--cc-script), Georgia, serif;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--cc-peach);
  line-height: 1;
  flex-shrink: 0;
  padding: 0 14px;
}
.cc-marquee__icon {
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
  padding: 0 6px;
}
.cc-marquee__icon.cc-marquee-dot {
  width: 8px; height: 8px; aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--cc-peach);
  font-size: 0;
  padding: 0;
  margin: 0 10px;
  opacity: 1;
}
@keyframes cc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes cc-scroll-quarter {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* Section sombre */
.cc-section-dark {
  background: var(--cc-brown) !important;
}
.cc-section-dark, .cc-section-dark p, .cc-section-dark li {
  color: var(--cc-cream) !important;
}
.cc-section-dark h1, .cc-section-dark h2, .cc-section-dark h3, .cc-section-dark h4 {
  color: var(--cc-cream) !important;
}
.cc-section-dark em { color: var(--cc-peach) !important; }

/* Plates (formes blob animées) */
.cc-plate {
  aspect-ratio: 1;
  border-radius: 62% 38% 55% 45%/50% 60% 40% 50%;
  animation: cc-blob 18s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.cc-plate::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 40% at 65% 20%, rgba(255,255,255,0.3), transparent 60%);
}
.cc-plate--peach { background: radial-gradient(circle at 40% 30%, var(--cc-peach), var(--cc-caramel) 80%); }
.cc-plate--burgundy { background: radial-gradient(circle at 50% 30%, #efb89c, var(--cc-burgundy) 90%); }
.cc-plate--matcha { background: radial-gradient(circle at 50% 40%, #d4e0a3, var(--cc-matcha) 85%); }
.cc-plate--brown { background: radial-gradient(circle at 42% 30%, #9b694b, var(--cc-brown) 82%); }
.cc-plate--caramel { background: radial-gradient(circle at 42% 32%, var(--cc-peach-2), var(--cc-caramel) 82%); }
.cc-plate--cream { background: radial-gradient(circle at 40% 35%, var(--cc-peach-2), var(--cc-peach) 80%); }
.cc-plate--photo {
  background: var(--cc-cream);
}
.cc-plate--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}
.cc-plate--photo::after {
  background: radial-gradient(60% 40% at 65% 20%, rgba(255,255,255,0.16), transparent 60%);
}
@keyframes cc-blob {
  0%, 100% { border-radius: 62% 38% 55% 45%/50% 60% 40% 50%; }
  33% { border-radius: 45% 55% 42% 58%/55% 45% 55% 45%; }
  66% { border-radius: 55% 45% 60% 40%/42% 58% 42% 58%; }
}

/* Cards (univers, produits, articles) */
.cc-card {
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  padding: 30px;
  transition: transform .3s, box-shadow .3s;
}
.cc-card:hover { transform: translateY(-6px); box-shadow: var(--cc-shadow-md); }

/* Action cards (3 cartes CTA accueil) */
.cc-action-card {
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  border: 2px solid transparent;
  cursor: pointer;
  height: 100%;
}
.cc-action-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cc-shadow-md);
  border-color: var(--cc-burgundy);
}
.cc-action-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cc-peach-bg);
  font-size: 32px;
  transition: background .3s;
}
.cc-action-card:hover .cc-action-card__icon { background: var(--cc-peach); }

/* Location cards (emplacements) */
.cc-location {
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 10px;
  align-items: start;
  grid-template-areas:
    "date info"
    "date badge";
  position: relative;
}
.cc-location__date {
  grid-area: date;
  background: var(--cc-brown);
  color: var(--cc-cream);
  border-radius: var(--cc-radius-md);
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cc-location__date strong {
  display: block;
  font-family: var(--cc-display);
  font-size: 30px;
  line-height: 1;
}
.cc-location__date span {
  font-family: var(--cc-display);
  font-size: 14px;
  color: var(--cc-cream);
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 1;
}
.cc-location__info { grid-area: info; padding-right: 44px; min-width: 0; overflow: hidden; }
.cc-location__info h4, .cc-location__info h3 { font-size: 20px; margin-bottom: 2px; line-height: 1.05; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc-location__where { color: var(--cc-brown-2); font-size: 15px; line-height: 1.12; margin-bottom: 3px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cc-location__time { font-size: 15px; line-height: 1.12; color: var(--cc-burgundy); font-weight: 700; margin-bottom: 8px; }
.cc-location__badge {
  grid-area: badge;
  display: block;
  align-self: end;
}
.cc-location__badge .cc-chip { white-space: nowrap; max-width: 100%; min-width: 0; overflow: hidden; }
.cc-location__badge .cc-chip .cc-chip__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cc-chip { max-width: 100%; }
.cc-chip__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

.cc-locations-grid[data-dark="1"] .cc-location {
  background: rgba(252, 250, 237, 0.42);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,0.58) inset, var(--cc-shadow-lg);
  color: var(--cc-ink) !important;
  position: relative;
  overflow: visible;
}
.cc-locations-grid[data-dark="1"] .cc-location::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.34) 0%, transparent 44%, transparent 62%, rgba(255,255,255,0.14) 100%);
  pointer-events: none;
}
.cc-locations-grid[data-dark="1"] .cc-location > * {
  position: relative;
  z-index: 1;
}
.cc-locations-grid[data-dark="1"] .cc-location > .cc-add-calendar {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
}
.cc-locations-grid[data-dark="1"] .cc-location__info h4,
.cc-locations-grid[data-dark="1"] .cc-location__info h3,
.cc-locations-grid[data-dark="1"] .cc-location__where,
.cc-locations-grid[data-dark="1"] .cc-location__time {
  color: var(--cc-brown) !important;
}
.cc-locations-grid[data-dark="1"] .cc-location__time {
  color: var(--cc-burgundy) !important;
}

.cc-location .cc-add-calendar {
  position: absolute;
  top: 16px;
  right: 16px;
  display: block;
  z-index: 4;
}
.cc-add-calendar summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  background: rgba(249, 196, 146, 0.92);
  color: var(--cc-brown);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.65) inset, var(--cc-shadow-sm);
  transition: transform .15s ease, background .15s ease;
}
.cc-add-calendar summary:hover {
  transform: translateY(-2px) scale(1.02);
  background: var(--cc-peach);
}
.cc-add-calendar:hover summary,
.cc-add-calendar[open] summary {
  transform: translateY(-2px) scale(1.02);
  background: var(--cc-peach);
}
.cc-add-calendar summary::-webkit-details-marker { display: none; }
.cc-add-calendar summary svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cc-add-calendar__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  padding: 8px;
  border-radius: var(--cc-radius-md);
  background: rgba(252, 250, 237, 0.82);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--cc-shadow-md);
  z-index: 5;
}
.cc-add-calendar__menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--cc-brown) !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.cc-add-calendar__menu a:hover {
  background: rgba(249, 196, 146, 0.45);
}

/* Skeleton loader */
.cc-skeleton {
  position: relative;
  overflow: hidden;
}
.cc-skeleton::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(252,250,237,0.1), transparent);
  animation: cc-shimmer 1.5s infinite;
}
@keyframes cc-shimmer { to { left: 100%; } }

/* Empty state */
.cc-empty-state {
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  padding: 60px 40px;
  text-align: center;
}
.cc-empty-state svg { width: 60px; height: 60px; stroke: var(--cc-brown-2); fill: none; stroke-width: 1.5; margin: 0 auto 20px; display: block; }

/* ============================================
   10. CALENDRIER MENSUEL (page agenda)
   ============================================ */
.cc-calendar {
  max-width: 980px;
  margin: 0 auto;
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  padding: 18px 18px 20px;
}
.cc-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cc-calendar__title {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--cc-brown);
  text-transform: capitalize;
}
.cc-calendar__nav {
  background: var(--cc-peach-bg);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cc-brown);
  transition: background .2s, transform .15s;
}
.cc-calendar__nav:hover { background: var(--cc-peach); }
.cc-calendar__nav:active { transform: scale(0.95); }
.cc-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.cc-calendar__weekdays > div {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cc-brown-2);
  padding: 4px 0;
}
.cc-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.cc-cal-day {
  min-height: 84px;
  overflow: hidden;
  min-width: 0;
  background: var(--cc-cream-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
  padding: 8px 9px;
  text-align: left;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: background .2s, transform .15s;
  border: 2px solid transparent;
  overflow: hidden;
}
.cc-cal-day__evt {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--cc-brown);
}
.cc-cal-day__evt strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.01em;
}
.cc-cal-day__evt em {
  display: block;
  font-style: normal;
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--cc-burgundy);
  font-weight: 700;
  margin-top: 2px;
}
.cc-cal-day.is-selected .cc-cal-day__evt,
.cc-cal-day.is-selected .cc-cal-day__evt em { color: var(--cc-cream); }
.cc-cal-day:hover { background: var(--cc-peach-bg); transform: translateY(-2px); }
.cc-cal-day.is-empty { background: transparent; cursor: default; }
.cc-cal-day.is-empty:hover { background: transparent; transform: none; }
.cc-cal-day.has-event { background: var(--cc-peach-bg); font-weight: 700; }
.cc-cal-day.has-event::after {
  content: ''; position: absolute; bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cc-matcha);
}
.cc-cal-day.has-special { background: var(--cc-peach); }
.cc-cal-day.has-special::after { background: var(--cc-burgundy); }
.cc-cal-day.is-today { border-color: var(--cc-burgundy); font-weight: 700; color: var(--cc-burgundy); }
.cc-cal-day.is-selected { background: var(--cc-brown); color: var(--cc-cream); }
.cc-cal-day.is-selected::after { background: var(--cc-peach); }
.cc-cal-day__num { font-family: var(--cc-display); font-size: clamp(14px, 2vw, 20px); line-height: 1; }
@media (max-width: 700px) {
  .cc-cal-day { min-height: 0; aspect-ratio: 1; padding: 4px; align-items: center; justify-content: center; }
  .cc-cal-day__evt { display: none; }
  .cc-cal-day.has-event::after, .cc-cal-day.has-special::after { display: block; }
}
.cc-calendar__legend {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ============================================
   13. PAGE D'ACCUEIL — sections fixes
   ============================================ */
.cc-home {
  /* Pas de padding-top en desktop, le hero gère son propre espace */
}

.cc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* === HERO === */
.cc-hero {
  padding: 104px 28px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(249, 196, 146, 0.5), transparent 55%),
    radial-gradient(50% 40% at 85% 60%, rgba(145, 163, 69, 0.18), transparent 55%),
    var(--cc-peach-bg);
}
.cc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/fond-vichy-automne.jpg') center top / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.cc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--cc-peach-bg) 0%,
    rgba(250, 235, 213, 0.96) 18%,
    rgba(250, 235, 213, 0.66) 38%,
    rgba(250, 235, 213, 0) 62%
  );
  pointer-events: none;
  z-index: 1;
}
.cc-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Brand container : logo + H1 superposés, switch au survol */
.cc-hero__brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 0;
  cursor: default;
  min-height: clamp(264px, 33.6vw, 432px);
  width: 100%;
  max-width: 648px;
}
.cc-hero__logo {
  display: block;
  width: auto;
  height: clamp(240px, 30vw, 408px);
  max-width: 100%;
  transition: opacity .5s ease, transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 1;
  transform: scale(1);
}
.cc-hero__title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--cc-display);
  font-size: clamp(48px, 7.2vw, 115px);
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--cc-brown);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity .5s ease, transform .5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  line-height: 0.9;
}
.cc-hero__title em {
  display: block;
  font-style: normal;
  font-family: var(--cc-script);
  color: var(--cc-burgundy);
  font-size: 0.85em;
  line-height: 0.6;
  margin-top: -0.05em;
}

/* Switch logo ↔ H1 au survol */
.cc-hero__brand:hover .cc-hero__logo {
  opacity: 0;
  transform: scale(0.96);
}
.cc-hero__brand:hover .cc-hero__title {
  opacity: 1;
  transform: scale(1);
}

.cc-hero__desc {
  max-width: 620px;
  margin: 32px auto 0;
  font-size: 17px;
  color: var(--cc-brown-2);
  line-height: 1.6;
}
.cc-hero__ctas {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cc-btn__short { display: none; }
/* Sur mobile : libell\u00e9s courts pour garder les deux boutons c\u00f4te \u00e0 c\u00f4te */
@media (max-width: 700px) {
  .cc-hero__ctas { flex-wrap: nowrap; gap: 8px; justify-content: center; }
  .cc-hero__ctas .cc-btn { flex: 0 1 auto; min-width: 0; padding: 12px 16px; white-space: nowrap; font-size: 14px; justify-content: center; }
  .cc-hero__ctas .cc-btn--ghost .cc-btn__short,
  .cc-hero__ctas .cc-btn--ghost .cc-btn__long { color: var(--cc-brown) !important; }
  .cc-hero__ctas .cc-btn--ghost:hover .cc-btn__short,
  .cc-hero__ctas .cc-btn--ghost:hover .cc-btn__long { color: var(--cc-cream) !important; }
  .cc-hero__ctas .cc-btn--primary .cc-btn__short,
  .cc-hero__ctas .cc-btn--primary .cc-btn__long { color: var(--cc-cream); }
  .cc-btn__long { display: none; }
  .cc-btn__short { display: inline; }
}

/* === MINI FEATURES (4 cartes du hero) === */
.cc-hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 34px auto 0;
}
.cc-feature {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  background: rgba(252, 250, 237, 0.34);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset, var(--cc-shadow-md);
  padding: 17px 20px 20px;
  border-radius: var(--cc-radius-lg);
  text-align: left;
  transition: transform .25s, box-shadow .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.cc-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.38) 0%, transparent 42%, transparent 62%, rgba(255,255,255,0.16) 100%);
  pointer-events: none;
}
.cc-feature > * {
  position: relative;
  z-index: 1;
}
.cc-feature:hover {
  transform: translateY(-4px);
  background: rgba(252, 250, 237, 0.46);
  box-shadow: 0 1px 0 rgba(255,255,255,0.65) inset, var(--cc-shadow-lg);
}
.cc-feature__icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}
.cc-feature:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-md); }
.cc-feature__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cc-burgundy);
}

.cc-feature h4, .cc-feature h3 {
  margin-top: 0;
  font-size: 18px;
  margin-bottom: 6px;
  font-family: var(--cc-display);
  color: var(--cc-brown);
}
.cc-feature p {
  font-size: 13px;
  color: var(--cc-brown-2);
  line-height: 1.5;
  margin: 0;
}

/* === SECTIONS GÉNÉRIQUES === */
.cc-section {
  padding: 56px 0;
}
.cc-section--cream {
  background: var(--cc-cream);
}
.cc-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
}
.cc-section__head h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-family: var(--cc-display);
}
.cc-section-title {
  font-size: clamp(36px, 5vw, 64px) !important;
  font-family: var(--cc-display);
}
.cc-section__head p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--cc-brown-2);
}
.cc-section-dark .cc-section__head p {
  color: var(--cc-peach-2);
}

/* === GRILLES — garde-fous responsive globaux : un cadre ne se déforme jamais === */
.cc-hero__features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cc-hero__features > * { min-width: 0; }
.cc-cta-grid > *, .cc-articles-grid > *, .cc-products-grid > *, .cc-instagram-grid > * { min-width: 0; }

/* === GRILLE LOCATIONS (utilisée par le shortcode [cc_locations]) === */
.cc-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr; /* tous les cadres à la même taille */
  gap: 10px;
}
.cc-locations-grid > * { min-width: 0; }
.cc-locations-grid[data-limit="6"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* === ZONE BUILDER === */
.cc-builder-zone {
  /* Les sections Divi se placeront ici, avec leurs propres styles */
}

/* Secours universel : si le navigateur ne sait pas flouter l'arrière-plan,
   on force un fond crème opaque pour garder le texte lisible. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cc-locations-grid[data-dark="1"] .cc-location { background: rgba(252, 250, 237, 0.96) !important; }
}
@media (min-width: 561px) {
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .cc-feature { background: rgba(252, 250, 237, 0.9) !important; }
  }
}

/* === RESPONSIVE PAGE ACCUEIL === */
@media (max-width: 980px) {
  .cc-hero { padding: 25px 22px 34px; }
  .cc-hero::after {
    background-size: cover;
    opacity: 0.42;
  }
  .cc-hero::before {
    background: linear-gradient(
      180deg,
      var(--cc-peach-bg) 0%,
      rgba(250, 235, 213, 0.96) 20%,
      rgba(250, 235, 213, 0.7) 44%,
      rgba(250, 235, 213, 0) 70%
    );
  }
  .cc-marquee--home-intro { display: none; }
  .cc-hero__features { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cc-section { padding: 34px 0; }
  .cc-section__head { margin-bottom: 18px; }
  .cc-container { padding: 0 25px; }
  /* Cartes « verre dépoli » sur fond sombre : fond opaque de secours pour mobiles
     où le backdrop-filter est désactivé (sinon texte brun illisible sur carte sombre). */
  .cc-locations-grid[data-dark="1"] .cc-location {
    background: rgba(252, 250, 237, 0.94);
  }
  .cc-locations-grid,
  .cc-locations-grid[data-limit="6"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-locations-grid[data-limit="6"] .cc-location:nth-child(n+5) { display: none; }
}
@media (max-width: 560px) {
  /* Les 4 cartes deviennent des badges (pastilles) : titre seul, en ligne */
  .cc-hero__features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
  }
  .cc-feature {
    padding: 9px 16px;
    border-radius: var(--cc-radius-pill);
    border: 2px solid var(--cc-brown);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    text-align: center;
  }
  .cc-feature:hover { transform: none; }
  .cc-feature h4, .cc-feature h3 { font-size: 13.5px; margin: 0; line-height: 1.2; color: var(--cc-brown); }
  .cc-feature p,
  .cc-feature__link { display: none; }
  /* Une couleur du logo par badge — contour uniquement */
  .cc-hero__features > .cc-feature:nth-child(4n+1) { border-color: var(--cc-burgundy); }
  .cc-hero__features > .cc-feature:nth-child(4n+1) h4 { color: var(--cc-burgundy); }
  .cc-hero__features > .cc-feature:nth-child(4n+2) { border-color: var(--cc-brown); }
  .cc-hero__features > .cc-feature:nth-child(4n+2) h4 { color: var(--cc-brown); }
  .cc-hero__features > .cc-feature:nth-child(4n+3) { border-color: var(--cc-matcha); }
  .cc-hero__features > .cc-feature:nth-child(4n+3) h4 { color: #5d6b2a; }
  .cc-hero__features > .cc-feature:nth-child(4n+4) { border-color: var(--cc-caramel); }
  .cc-hero__features > .cc-feature:nth-child(4n+4) h4 { color: #9a5a36; }
}
/* Emplacements (dates) en scroll horizontal pleine largeur (mobile + tablette) */
@media (max-width: 900px) {
  .cc-locations-grid,
  .cc-locations-grid[data-limit="6"] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 64%;
    grid-template-columns: none;
    gap: 3px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 16px 6px 20px;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cc-locations-grid::-webkit-scrollbar { display: none; }
  .cc-locations-grid[data-limit="6"] .cc-location:nth-child(n+5) { display: grid; }
  .cc-locations-grid .cc-location { scroll-snap-align: start; }
}
@media (max-width: 460px) {
  .cc-locations-grid, .cc-locations-grid[data-limit="6"] { grid-auto-columns: 74%; }
}
/* Cartes emplacement : disposition verticale tant qu'elles sont étroites
   (sinon la pastille de date écrase l'info → texte écrit verticalement). */
@media (max-width: 820px) {
  /* Carte agenda mobile : carré de date + badge sur la même ligne, infos dessous */
  .cc-location {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "date badge"
      "info info";
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    padding: 10px 12px;
  }
  .cc-location__date { width: 58px; height: 58px; align-self: start; }
  .cc-location__date strong { font-size: 26px; }
  .cc-location__badge { align-self: center; }
  .cc-location__info { width: 100%; padding-right: 0; }
  .cc-location__more { display: none; } /* le tap sur la carte ouvre déjà la fiche + ajout calendrier */
  .cc-locations-grid[data-dark="1"] .cc-location > .cc-add-calendar,
  .cc-location .cc-add-calendar { top: 14px; right: 14px; }
}

/* ============================================
   13b. UNIVERS (Coffee Truck + Studio Pâtissier)
   ============================================ */
.cc-univers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.cc-univers-showcase {
  max-width: 1120px;
  margin: 0 auto;
}
.cc-univers-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 22px;
  padding: 8px;
  border-radius: var(--cc-radius-pill);
  background: rgba(252, 250, 237, 0.34);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255,255,255,0.58) inset, var(--cc-shadow-md);
}
.cc-univers-toggle__btn {
  border: 0;
  border-radius: var(--cc-radius-pill);
  background: var(--cc-cream);
  color: var(--cc-brown);
  padding: 12px 22px;
  font-family: var(--cc-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.cc-univers-toggle__btn:hover {
  transform: translateY(-2px) scale(1.02);
}
.cc-univers-toggle__btn.is-active {
  background: var(--cc-brown);
  color: var(--cc-cream);
}
.cc-univers-grid--toggle {
  grid-template-columns: 1fr;
  gap: 0;
}
.cc-univers[data-univers-panel][hidden] {
  display: none;
}
.cc-univers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.cc-univers__visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-univers__visual .cc-plate {
  width: 85%;
  height: 85%;
}
.cc-univers__visual .cc-blob-visual__shape {
  width: 85%;
  height: 85%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-blob-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
}
.cc-blob-visual__image {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.cc-univers:hover .cc-blob-visual {
  transform: translateY(-4px) scale(1.01);
}
.cc-blob-visual {
  transition: transform .35s ease;
}
.cc-univers__body h3 {
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 18px;
}
.cc-univers__body p {
  margin-bottom: 14px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--cc-brown);
}
.cc-univers__body p:last-of-type {
  margin-bottom: 26px;
}
.cc-univers__body .cc-btn {
  margin-top: 8px;
}

/* Version "deux univers côte à côte" : visuel au-dessus du texte sur mobile, à côté sur desktop */
@media (min-width: 980px) {
  .cc-univers { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cc-univers-grid--reverse .cc-univers__visual { order: 2; }
  .cc-univers-grid--reverse { grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; }
}

/* ============================================
   13c. JOURNAL — Cartes articles
   ============================================ */
.cc-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}
@media (max-width: 700px) {
  .cc-articles-grid {
    grid-auto-flow: column;
    grid-auto-columns: 66%;
    gap: 4px;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 4px 22px 16px;
    scroll-padding-left: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cc-articles-grid::-webkit-scrollbar { display: none; }
  .cc-articles-grid .cc-article-card { scroll-snap-align: start; }
}
.cc-article-card {
  background: var(--cc-peach-bg);
  border-radius: var(--cc-radius-lg);
  border: 3px solid var(--cc-brown);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.cc-article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cc-shadow-md);
}
.cc-article-card__visual {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cc-cream);
}
.cc-article-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.cc-article-card:hover .cc-article-card__visual img {
  transform: scale(1.05);
}
.cc-article-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cc-article-card__title {
  font-size: 18.5px;
  line-height: 1.15;
  margin: 4px 0;
}
.cc-article-card__title a {
  color: var(--cc-brown);
  text-decoration: none;
  transition: color .2s;
}
.cc-article-card__title a:hover { color: var(--cc-burgundy); }
.cc-article-card__excerpt {
  font-size: 13px;
  color: var(--cc-brown-2);
  line-height: 1.5;
  margin: 0;
}
.cc-article-card__link {
  margin-top: auto;
  padding-top: 12px;
  color: var(--cc-burgundy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   13d. CTA — 3 cartes Privatiser / Commander / Contact
   ============================================ */
.cc-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cc-cta-card {
  background: rgba(252, 250, 237, 0.36);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 1px 0 rgba(255,255,255,0.58) inset, var(--cc-shadow-md);
  border-radius: var(--cc-radius-lg);
  padding: 40px 32px;
  text-align: center;
  text-decoration: none;
  color: var(--cc-brown);
  transition: transform .3s, box-shadow .3s, background .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.cc-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.36) 0%, transparent 44%, transparent 62%, rgba(255,255,255,0.14) 100%);
  pointer-events: none;
}
.cc-cta-card > * {
  position: relative;
  z-index: 1;
}
.cc-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, var(--cc-shadow-lg);
  background: rgba(252, 250, 237, 0.48);
}
.cc-cta-card__icon {
  font-size: 44px;
  line-height: 1;
  width: 80px;
  height: 80px;
  background: var(--cc-peach-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}
.cc-cta-card:hover .cc-cta-card__icon {
  transform: scale(1.08);
}
.cc-cta-card h3 {
  font-size: 24px;
  margin: 0;
}
.cc-cta-card p {
  color: var(--cc-brown-2);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.cc-cta-card__link {
  color: var(--cc-burgundy);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: auto;
  padding-top: 12px;
}

/* Instagram feed */
.cc-instagram-embed {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--cc-cream);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius-lg);
  box-shadow: var(--cc-shadow-md);
  padding: 14px;
  overflow: hidden;
}
.cc-instagram-embed iframe { display: block; border-radius: calc(var(--cc-radius-lg) - 10px); }
.cc-instagram-feed {
  margin-top: 8px;
}
.cc-instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.cc-instagram-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid var(--cc-brown);
  border-radius: var(--cc-radius-lg);
  background: var(--cc-cream);
  color: var(--cc-cream);
  text-decoration: none;
  transform: rotate(var(--cc-card-tilt, -1.6deg));
  transform-origin: center center;
  box-shadow: 0 14px 32px rgba(111, 45, 13, 0.13);
  transition: transform .3s, box-shadow .3s;
}
.cc-instagram-card:nth-child(2n) { --cc-card-tilt: 1.4deg; }
.cc-instagram-card:nth-child(3n) { --cc-card-tilt: -2.2deg; }
.cc-instagram-card:nth-child(4n) { --cc-card-tilt: 1.9deg; }
.cc-instagram-card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--cc-shadow-md);
}
.cc-instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.cc-instagram-card:hover img {
  transform: scale(1.06);
}
.cc-instagram-card::after {
  content: '';
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(111,45,13,0.78) 100%);
  opacity: .96;
  pointer-events: none;
}
.cc-instagram-card__badge,
.cc-instagram-card__caption {
  position: absolute;
  z-index: 1;
}
.cc-instagram-card__badge {
  top: 12px;
  right: 12px;
  padding: 7px 11px;
  border-radius: var(--cc-radius-pill);
  background: rgba(252, 250, 237, .88);
  color: var(--cc-brown);
  font-family: var(--cc-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.cc-instagram-card__caption {
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: var(--cc-cream);
  font-family: var(--cc-display);
  font-size: 14px;
  line-height: 1.25;
}
.cc-instagram-fallback {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px;
  border-radius: var(--cc-radius-lg);
  background: rgba(252, 250, 237, 0.36);
  backdrop-filter: blur(34px) saturate(170%);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 1px 0 rgba(255,255,255,0.58) inset, var(--cc-shadow-md);
  text-align: center;
  color: var(--cc-brown);
}
.cc-instagram-fallback__label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: var(--cc-radius-pill);
  background: var(--cc-peach-bg);
  color: var(--cc-burgundy);
  font-family: var(--cc-display);
  font-weight: 700;
}
.cc-instagram-fallback h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
}
.cc-instagram-fallback p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--cc-brown-2);
}

/* ============================================
   13e. RESPONSIVE général sections home
   ============================================ */
@media (max-width: 980px) {
  .cc-univers-grid { grid-template-columns: 1fr; gap: 54px; }
  .cc-univers { grid-template-columns: 1fr; }
  .cc-univers__visual { aspect-ratio: 4/3; }
  .cc-instagram-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .cc-cta-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    grid-template-columns: none;
    gap: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 4px 22px 18px 28px;
    scroll-padding-left: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cc-cta-grid::-webkit-scrollbar { display: none; }
  .cc-cta-card {
    scroll-snap-align: start;
    padding: 34px 26px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: var(--cc-shadow-md);
    color: var(--cc-cream);
  }
  .cc-cta-card::before { display: none; }
  .cc-cta-card h3 { color: var(--cc-cream) !important; }
  .cc-cta-card p { color: rgba(252, 250, 237, 0.85) !important; }
  .cc-cta-card__link { color: var(--cc-cream) !important; }
  .cc-cta-card__icon { background: rgba(252, 250, 237, 0.18); }
  /* Une couleur de la charte par carte */
  .cc-cta-grid > .cc-cta-card:nth-child(3n+1) { background: var(--cc-burgundy); }
  .cc-cta-grid > .cc-cta-card:nth-child(3n+2) { background: var(--cc-brown); }
  .cc-cta-grid > .cc-cta-card:nth-child(3n+3) { background: var(--cc-matcha); }
}
/* Mobile + tablette : cartes contact toujours colorées, titres en clair */
@media (max-width: 1024px) {
  .cc-cta-card {
    color: var(--cc-cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
  }
  .cc-cta-card::before { display: none; }
  .cc-cta-card h3 { color: var(--cc-cream) !important; }
  .cc-cta-card p { color: rgba(252, 250, 237, 0.85) !important; }
  .cc-cta-card__link { color: var(--cc-cream) !important; }
  .cc-cta-card__icon { background: rgba(252, 250, 237, 0.18); }
  .cc-cta-grid > .cc-cta-card:nth-child(3n+1) { background: var(--cc-burgundy); }
  .cc-cta-grid > .cc-cta-card:nth-child(3n+2) { background: var(--cc-brown); }
  .cc-cta-grid > .cc-cta-card:nth-child(3n+3) { background: var(--cc-matcha); }
}

@media (max-width: 560px) {
  .cc-instagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-instagram-card__caption { display: none; }
  .cc-instagram-fallback { padding: 32px 22px; }
}

/* ============================================
   15. CARTES PRODUITS (CPT Produit)
   ============================================ */
.cc-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 14px;
}

.cc-product-card {
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  border: 3px solid var(--cc-brown);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.cc-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cc-shadow-md);
}

.cc-product-card__visual {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cc-peach-bg);
}
.cc-product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.cc-product-card:hover .cc-product-card__visual img {
  transform: scale(1.05);
}
.cc-product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cc-peach), var(--cc-peach-2));
}
.cc-product-card__placeholder span {
  font-size: 56px;
  opacity: 0.4;
}

/* Sticker sur la carte produit */
.cc-product-card .cc-sticker {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  font-size: 12px;
  z-index: 2;
}

.cc-product-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cc-product-card__title {
  font-size: 18.5px;
  margin: 0;
  line-height: 1.1;
}
.cc-product-card__title a {
  color: var(--cc-brown);
  text-decoration: none;
  transition: color .2s;
}
.cc-product-card__title a:hover { color: var(--cc-burgundy); }

.cc-product-card__excerpt {
  font-size: 13px;
  color: var(--cc-brown-2);
  line-height: 1.5;
  margin: 0;
}

.cc-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  gap: 12px;
}
.cc-product-card__price {
  font-family: var(--cc-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--cc-burgundy);
}
.cc-product-card__link {
  color: var(--cc-brown);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color .2s;
}
.cc-product-card__link:hover { color: var(--cc-burgundy); }

@media (max-width: 700px) {
  .cc-products-grid {
    grid-auto-flow: column;
    grid-auto-columns: 56%;
    gap: 4px;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 4px 22px 16px;
    scroll-padding-left: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cc-products-grid::-webkit-scrollbar { display: none; }
  .cc-products-grid .cc-product-card { scroll-snap-align: start; }
  .cc-product-card__body { padding: 14px; }
  .cc-product-card__title { font-size: 17px; }
  .cc-product-card .cc-sticker { width: 56px; height: 56px; font-size: 11px; top: 10px; right: 10px; }
}
@media (max-width: 420px) {
  .cc-products-grid { grid-auto-columns: 70%; }
}

/* ============================================
   16. FICHE PRODUIT DÉTAILLÉE (single-produit.php)
   ============================================ */
.cc-produit {
  padding-top: 140px;
  padding-bottom: 60px;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(249, 196, 146, 0.35), transparent 55%),
    radial-gradient(50% 40% at 85% 60%, rgba(145, 163, 69, 0.15), transparent 55%),
    var(--cc-peach-bg);
}
.cc-produit__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Fil d'ariane */
.cc-breadcrumb {
  font-size: 13px;
  color: var(--cc-brown-2);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.cc-breadcrumb a {
  color: var(--cc-brown-2);
  text-decoration: none;
  transition: color .2s;
}
.cc-breadcrumb a:hover { color: var(--cc-burgundy); }
.cc-breadcrumb__sep { margin: 0 8px; opacity: 0.5; }
.cc-breadcrumb__current { color: var(--cc-burgundy); }

/* Grille principale */
.cc-produit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* === COLONNE VISUEL === */
.cc-produit__main-image {
  position: relative;
  aspect-ratio: 1;
  /* PAS d'overflow:hidden ici, sinon le sticker est coupé */
  transition: transform .4s ease;
}
.cc-produit__main-image:hover {
  transform: scale(1.02);
}
/* L'image est dans un wrapper interne qui porte la forme blob + overflow:hidden */
.cc-produit__main-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cc-cream);
  border-radius: 62% 38% 55% 45% / 50% 60% 40% 50%;
  animation: cc-blob-morph 22s ease-in-out infinite;
  z-index: 0;
}
.cc-produit__main-image img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 62% 38% 55% 45% / 50% 60% 40% 50%;
  animation: cc-blob-morph 22s ease-in-out infinite;
  z-index: 1;
}
.cc-produit__main-image .cc-sticker {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 76px;
  height: 76px;
  font-size: 12px;
  z-index: 3;
  animation: none;
  transform: rotate(8deg);
}

/* Animation organique très douce */
@keyframes cc-blob-morph {
  0%, 100% { border-radius: 62% 38% 55% 45% / 50% 60% 40% 50%; }
  25%      { border-radius: 45% 55% 42% 58% / 55% 45% 55% 45%; }
  50%      { border-radius: 55% 45% 60% 40% / 42% 58% 42% 58%; }
  75%      { border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%; }
}

.cc-produit__gallery {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cc-produit__thumb {
  background: none;
  border: 2px solid transparent;
  border-radius: var(--cc-radius-md);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  width: 80px;
  height: 80px;
  transition: border-color .2s, transform .2s;
}
.cc-produit__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-produit__thumb:hover { transform: translateY(-2px); }
.cc-produit__thumb.is-active { border-color: var(--cc-burgundy); }

/* === COLONNE INFOS === */
.cc-produit__info {
  padding-top: 8px;
}
.cc-produit__title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  margin: 8px 0 16px;
  color: var(--cc-brown);
}
.cc-produit__excerpt {
  font-size: 18px;
  color: var(--cc-brown-2);
  line-height: 1.5;
  margin-bottom: 24px;
}
.cc-produit__price-row {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--cc-line);
}
.cc-produit__price {
  font-family: var(--cc-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--cc-burgundy);
}

.cc-produit__description {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cc-brown);
}
.cc-produit__description p { margin: 0 0 16px; }
.cc-produit__description p:last-child { margin-bottom: 0; }

.cc-produit__section {
  margin: 32px 0;
}
.cc-produit__section h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--cc-brown);
}
.cc-produit__ingredients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cc-produit__ingredients li {
  padding: 10px 16px;
  background: var(--cc-cream);
  border-radius: var(--cc-radius-md);
  font-size: 14px;
  color: var(--cc-brown);
}
.cc-produit__allergenes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cc-produit__allergen-note {
  font-size: 12px;
  color: var(--cc-brown-2);
  margin-top: 12px;
  font-style: italic;
}

/* Actions */
.cc-produit__actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .cc-produit { padding-top: 80px; }
  .cc-produit__grid { grid-template-columns: 1fr; gap: 32px; }
  .cc-produit__main-image .cc-sticker { width: 64px; height: 64px; font-size: 12px; top: 16px; right: 16px; }
  .cc-produit__title { font-size: 36px; }
  .cc-produit__price { font-size: 28px; }
  .cc-produit__thumb { width: 64px; height: 64px; }
}

/* ============================================
   17. OVERRIDES DIVI (sections natives)
   ============================================ */
.et_pb_section { background-color: transparent; }
.et_pb_text a { color: var(--cc-burgundy); }
.et_pb_text a:hover { color: var(--cc-brown); }

/* Footer Divi */
#main-footer {
  background: var(--cc-brown) !important;
  color: var(--cc-cream);
}
#main-footer a { color: var(--cc-peach) !important; }
#main-footer h1, #main-footer h2, #main-footer h3, #main-footer h4 {
  color: var(--cc-peach) !important;
}
#footer-bottom { background: var(--cc-brown) !important; }

/* Cache la barre Divi reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================
   18. COOKIE CROQUÉ AU SCROLL
   ============================================ */
.cc-scroll-cookie {
  --cc-cookie-bite: 0;
  --cc-cookie-crumbs: 0;
  position: fixed;
  right: clamp(10px, 1.8vw, 32px);
  top: 58%;
  z-index: 9996;
  width: clamp(86px, 8.5vw, 138px);
  transform: translateY(-50%) rotate(10deg);
  pointer-events: none;
  opacity: 0.96;
  filter: drop-shadow(0 12px 18px rgba(102, 40, 8, 0.28));
}
.cc-scroll-cookie svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.cc-scroll-cookie__bite-mask {
  transform-box: fill-box;
  transform-origin: center center;
  transform: scale(var(--cc-cookie-bite));
}
.cc-scroll-cookie__crumbs {
  opacity: var(--cc-cookie-crumbs);
  transform-box: fill-box;
  transform-origin: center center;
  transform: translateX(calc(var(--cc-cookie-crumbs) * 8px)) translateY(calc(var(--cc-cookie-crumbs) * 5px));
}
@media (max-width: 980px) {
  .cc-scroll-cookie {
    display: none;
  }
}

/* ============================================
   18. FOOTER NATIF — refonte (4 colonnes + barre)
   ============================================ */
/* Bandeau newsletter — compact, intégré au footer */
.cc-footer__news { background: var(--cc-brown); padding: 40px 28px 0; }
.cc-footer__news-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: var(--cc-peach-bg);
  border-radius: var(--cc-radius-lg);
  padding: 26px 30px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}
.cc-footer__news-copy { max-width: 460px; }
.cc-footer__news h3 { font-size: clamp(26px, 3vw, 34px) !important; color: var(--cc-brown) !important; margin: 0 0 6px; line-height: 1.05; }
.cc-footer__news h3 em { font-family: var(--cc-script); color: var(--cc-burgundy); font-style: normal; }
.cc-footer__news p { color: var(--cc-brown-2) !important; font-size: 15.5px !important; margin: 0; }
.cc-footer__news-form { display: flex; gap: 8px; flex: 1; min-width: 270px; max-width: 440px; flex-wrap: wrap; }
.cc-footer__news-form input {
  flex: 1; min-width: 170px; padding: 14px 18px;
  border-radius: var(--cc-radius-pill); border: 2px solid var(--cc-brown);
  background: var(--cc-cream); font-family: var(--cc-display); font-size: 15.5px; color: var(--cc-ink);
}
.cc-footer__news-form input:focus { outline: none; border-color: var(--cc-burgundy); box-shadow: 0 0 0 3px rgba(137,9,24,0.12); }
.cc-footer__news-ok { width: 100%; margin: 4px 0 0; color: var(--cc-matcha) !important; font-weight: 700; font-size: 14px !important; }
@media (max-width: 700px) {
  .cc-footer__news { padding: 26px 16px 0; }
  .cc-footer__news-inner { padding: 20px; }
}

.cc-footer {
  background: var(--cc-brown);
  color: var(--cc-cream);
}
.cc-footer a {
  color: var(--cc-peach);
  text-decoration: none;
  transition: color .2s;
}
.cc-footer a:hover { color: var(--cc-cream); }
.cc-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 28px 36px;
}
.cc-footer__brand { max-width: 360px; }
.cc-footer__logo {
  height: 60px; width: auto; margin-bottom: 8px; display: block;
}
.cc-footer__script {
  font-family: var(--cc-script);
  color: var(--cc-peach) !important;
  font-size: 26px; line-height: 1; margin: 0 0 16px;
}
.cc-footer__tagline {
  font-size: 14.5px !important;
  line-height: 1.6;
  color: var(--cc-peach-2) !important;
  margin: 0 0 16px;
}
.cc-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.cc-footer__badges .cc-chip { background: rgba(252, 250, 237, 0.14); color: var(--cc-cream); }
.cc-footer__badges .cc-chip__dot { background: var(--cc-peach); }
.cc-footer__loc {
  font-size: 13.5px !important;
  color: var(--cc-cream) !important;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 22px;
  line-height: 1.45;
}
.cc-footer__loc svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; stroke: var(--cc-peach); fill: none; stroke-width: 2; }
.cc-footer__social { display: flex; gap: 10px; }
.cc-footer__social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(252, 250, 237, 0.12);
  border: 1px solid rgba(252, 250, 237, 0.2);
  transition: transform .15s ease, background .15s ease;
}
.cc-footer__social a:hover { background: var(--cc-peach); transform: translateY(-2px); }
.cc-footer__social svg { width: 19px; height: 19px; fill: var(--cc-cream); transition: fill .15s ease; }
.cc-footer__social a:hover svg { fill: var(--cc-brown); }
.cc-footer__col h4 {
  font-size: 12.5px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-peach) !important;
  margin: 0 0 16px;
  font-weight: 700;
}
.cc-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cc-footer__col li { font-size: 14.5px; line-height: 1.2; }
.cc-footer__col a { font-size: 14.5px; }
.cc-footer__bottom { border-top: 1px solid rgba(252, 250, 237, 0.14); }
.cc-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 28px;
}
.cc-footer__bottom p { margin: 0; font-size: 12.5px !important; color: var(--cc-peach-2) !important; }
.cc-footer__bottom a { font-weight: 400; font-style: italic; font-size: 11.5px; }
.cc-footer__credit strong { color: var(--cc-cream); font-weight: 700; }
.cc-footer__credit { text-align: center; padding: 4px 28px 20px; }
@media (max-width: 980px) {
  /* Le dock flottant se pose sous le crédit Odejia, hors du fond du footer */
  .cc-footer { padding-bottom: 0; }
  .cc-footer__credit { padding: 4px 22px 14px; }
  body::after { content: ''; display: block; height: 78px; background: var(--cc-peach-bg); }
}
@media (max-width: 980px) {
  .cc-footer__top { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 29px 20px 22px; }
  .cc-footer__brand { grid-column: 1 / -1; max-width: none; }
  .cc-footer__bottom-inner { flex-direction: column; text-align: center; padding: 14px 22px 10px; gap: 4px; }
}
@media (max-width: 520px) {
  .cc-footer__top { grid-template-columns: 1fr 1fr; }
  .cc-footer__brand { grid-column: 1 / -1; }
}

/* Chips colorées par catégorie d'évènement (--evc) */
.cc-event-chip {
  background: color-mix(in srgb, var(--evc, var(--cc-brown)) 14%, white) !important;
  color: color-mix(in srgb, var(--evc, var(--cc-brown)) 80%, black) !important;
}
.cc-event-chip .cc-chip__dot { background: var(--evc, var(--cc-brown)) !important; }

/* ---- Filtres agenda (type + lieu) ---- */
.cc-agenda-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 26px;
}
.cc-agenda-filter__group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cc-agenda-filter__label {
  flex: none;
  width: 44px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cc-brown-2);
}
.cc-agenda-filter__chips {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.cc-agenda-filter__btn {
  flex: none;
  white-space: nowrap;
  border: 1.5px solid var(--cc-line);
  background: var(--cc-cream);
  color: var(--cc-brown);
  border-radius: var(--cc-radius-pill);
  padding: 9px 15px;
  font-family: var(--cc-display);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.cc-agenda-filter__btn:hover { transform: translateY(-1px); border-color: var(--evc, var(--cc-brown)); }
.cc-agenda-filter__btn.is-active {
  background: var(--evc, var(--cc-brown));
  border-color: var(--evc, var(--cc-brown));
  color: var(--cc-cream);
}

/* Carte emplacement cliquable */
.cc-location--btn {
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  border-left: 6px solid var(--evc, var(--cc-peach));
}
.cc-location--btn:hover { transform: translateY(-3px); }
.cc-location__more {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cc-peach-bg);
  color: var(--cc-brown);
  font-size: 20px;
  font-family: var(--cc-display);
  font-weight: 700;
}
.cc-location--btn:hover .cc-location__more { background: var(--evc, var(--cc-peach)); color: #fff; }

/* Jour avec évènement : teinte de la catégorie */
.cc-cal-day.has-event {
  background: color-mix(in srgb, var(--evc, var(--cc-peach)) 14%, var(--cc-cream));
  border: 1.5px solid color-mix(in srgb, var(--evc, var(--cc-peach)) 45%, transparent);
}
.cc-cal-day.has-event .cc-cal-day__evt em { color: color-mix(in srgb, var(--evc, var(--cc-burgundy)) 85%, black); }
.cc-cal-day__more {
  position: absolute;
  top: 6px; right: 6px;
  font-size: 10px;
  font-weight: 700;
  background: var(--evc, var(--cc-burgundy));
  color: #fff;
  border-radius: 999px;
  padding: 2px 6px;
}

/* ---- Pop-up évènement ---- */
.cc-event-pop {
  position: fixed; inset: 0; z-index: 100000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(42, 23, 9, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cc-event-pop.is-open { display: flex; }
.cc-event-pop__card {
  position: relative;
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 26px;
  box-shadow: 0 30px 80px -20px rgba(42, 23, 9, 0.5);
}
.cc-event-pop__close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cc-line);
  background: var(--cc-peach-bg);
  color: var(--cc-brown);
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}
.cc-event-pop__photo {
  width: calc(100% + 52px);
  margin: -26px -26px 16px;
  border-radius: var(--cc-radius-lg) var(--cc-radius-lg) 0 0;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.cc-event-pop__item h3 { font-size: 26px; margin: 10px 0 8px; color: var(--cc-brown); }
.cc-event-pop__date { font-weight: 700; color: var(--cc-brown); margin: 0 0 4px; font-size: 15px; text-transform: capitalize; }
.cc-event-pop__time { color: var(--cc-burgundy); font-weight: 700; margin: 0 0 10px; font-size: 15px; }
.cc-event-pop__time em { font-style: normal; color: var(--cc-brown-2); font-weight: 600; font-family: inherit !important; font-size: 13.5px; }
.cc-event-pop__where {
  display: block;
  color: var(--cc-brown);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 10px;
  padding: 10px 14px;
  background: var(--cc-peach-bg);
  border-radius: var(--cc-radius-md);
}
.cc-event-pop__where span { color: var(--cc-burgundy); }
.cc-event-pop__where:hover { background: var(--cc-peach); }
.cc-event-pop__note { color: var(--cc-brown-2); font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; }
.cc-event-pop__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-event-pop__actions .cc-btn { font-size: 13.5px !important; padding: 11px 16px !important; }
.cc-event-pop__sep { border: 0; border-top: 1px dashed var(--cc-line); margin: 20px 0; }
.cc-share-menu {
  position: absolute; z-index: 100002;
  background: var(--cc-cream); border: 1px solid var(--cc-line);
  border-radius: 14px; box-shadow: 0 14px 34px -10px rgba(42,23,9,.4);
  padding: 6px; display: flex; flex-direction: column; min-width: 170px;
}
.cc-share-menu a, .cc-share-menu button {
  display: block; text-align: left; padding: 11px 14px; border: 0; background: transparent;
  font-family: var(--cc-display); font-weight: 700; font-size: 14px; color: var(--cc-brown);
  border-radius: 10px; cursor: pointer; text-decoration: none;
}
.cc-share-menu a:hover, .cc-share-menu button:hover { background: var(--cc-peach-bg); }
@media (max-width: 560px) {
  .cc-event-pop { padding: 0; align-items: flex-end; }
  .cc-event-pop__card { max-width: none; border-radius: 22px 22px 0 0; max-height: 92vh; }
  .cc-event-pop__photo { border-radius: 22px 22px 0 0; }
}

/* ============================================
   GARDE-FOU GLOBAL — contrôles ronds TOUJOURS ronds
   (jamais étirés par flex/grid, quelle que soit la situation)
   ============================================ */
.cc-location__more,
.cc-add-calendar summary,
.cc-calendar__nav,
.cc-event-pop__close,
.cc-modal__close,
.cc-lightbox__close,
.cc-footer__social a,
.cc-dock a::before {
  flex: none !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box;
}
.cc-location__more,
.cc-calendar__nav,
.cc-event-pop__close,
.cc-modal__close,
.cc-lightbox__close,
.cc-footer__social a {
  border-radius: 50% !important;
}
.cc-add-calendar summary {
  align-self: center;
  min-width: 42px; max-width: 42px;
  min-height: 42px; max-height: 42px;
  border-radius: 50% !important;
}
.cc-location__more {
  min-width: 34px; max-width: 34px;
  min-height: 34px; max-height: 34px;
  line-height: 1;
}
.cc-calendar__nav {
  min-width: 42px; max-width: 42px;
  min-height: 42px; max-height: 42px;
}

/* ============================================
   ANIMATION D'APPARITION AU SCROLL (reveal)
   ============================================ */
.cc-reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.94);
  transition: opacity .6s ease, transform .6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}
.cc-reveal.is-revealed { opacity: 1; transform: none; }
/* Les dates "gonflent" un peu plus pour l'effet demandé */
.cc-location.cc-reveal { transform: translateY(16px) scale(0.86); }
@media (prefers-reduced-motion: reduce) {
  .cc-reveal, .cc-location.cc-reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   AFFINAGE MOBILE — texte, titres, couleurs, footer
   ============================================ */
@media (max-width: 760px) {
  /* Texte global un peu plus grand */
  body { font-size: 18.5px; }
  p, li, a, .cc-product-card__excerpt, .cc-article-card__excerpt, .cc-univers__body p { font-size: 1.02em; }

  /* Police script Adorn Pomanders : nettement plus lisible sur mobile */
  .cc-mobile-marquee__word { font-size: 22px; }
  .cc-hero__title em { font-size: 1.12em; line-height: 0.7; }
  .cc-footer__news h3 { font-size: 36px !important; }
  .cc-footer__script { font-size: 36px; }
  /* Tous les <em> en script dans les titres : nettement agrandis */
  .cc-section__head h2 em,
  .cc-pagehead h1 em,
  .cc-univers__body h3 em,
  .cc-produit__title em,
  .cc-section-title em { font-size: 1.18em; line-height: 0.8; }
  .cc-footer__news h3 em { font-size: 1.05em; }

  /* Titres de blocs plus gros */
  .cc-section__head h2,
  .cc-carte-cat__head h2 { font-size: clamp(34px, 9vw, 48px); }
  .cc-section__head { margin-bottom: 18px; }
  .cc-section__head p { font-size: 16.5px; }
  .cc-eyebrow { font-size: 13px !important; }

  /* Cartes agenda : texte un peu plus lisible */
  .cc-location__info h4, .cc-location__info h3 { font-size: 19px; }
  .cc-location__where, .cc-location__time { font-size: 15px; }

  /* Marges verticales resserrées (cartes, boutons, textes, titres) */
  .cc-section { padding: 27px 0; }
  .cc-section__head { margin-bottom: 14px; }
  .cc-section__head p { font-size: 16.5px; margin-top: 6px; }
  .cc-section__head h2, .cc-carte-cat__head h2 { margin-bottom: 0; }
  .cc-univers__body h3 { margin-bottom: 6px; line-height: 1.05; }
  .cc-univers__body p { margin-bottom: 9px; font-size: 16.5px; }
  .cc-univers__body p:last-of-type { margin-bottom: 8px; }
  .cc-section__head + * { margin-top: 0; }
  #journal .cc-section__head { margin-bottom: 10px; }
  #journal .cc-section__head p { margin-bottom: 0; }
  #agenda .cc-section__head { margin-bottom: 10px; }
  #agenda .cc-section__head p { margin-bottom: 0; }
  .cc-univers__body .cc-btn { margin-top: 4px; }
  .cc-univers-grid { gap: 34px !important; }
  .cc-univers-toggle { margin-bottom: 10px; }
  .cc-univers__visual { margin-top: 0; margin-bottom: -14px; aspect-ratio: 16/11; }
  .cc-univers { gap: 12px; }
  .cc-hero__ctas { margin-top: 20px; }
  .cc-hero__features { margin-top: 16px !important; }
  .cc-product-card__body { padding: 11px !important; }
  .cc-article-card__body { padding: 14px 15px 16px; }
  .cc-product-card__foot { padding-top: 8px; }
  .cc-location { padding: 13px !important; }
  .cc-cta-card { padding: 27px 21px !important; }
  .cc-eyebrow { margin-bottom: 4px; }

  /* Pied de page allégé : on retire le superflu */
  .cc-footer__tagline,
  .cc-footer__badges,
  .cc-footer__col:nth-of-type(2) { display: none; }
  .cc-footer__top { gap: 22px; }
  .cc-footer__loc { font-size: 13px !important; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  /* léger délai en cascade pour les cartes en scroll horizontal */
  .cc-products-grid .cc-product-card.is-revealed,
  .cc-locations-grid .cc-location.is-revealed { transition-duration: .55s; }
}

/* Item nav Galerie : même style générique que les autres (aucune règle dédiée nécessaire) */

/* === GARDE-FOU CARAQUE : ne JAMAIS utiliser une graisse >= 750 (version "fondue" : les trous des 0, 8, B disparaissent). Maximum autorise : 700. === */

/* --- Réserves anti-décalage (CLS) : les zones injectées en JS gardent leur place --- */
[data-cc-footer]:empty { min-height: 420px; }
[data-cc-locations]:empty { min-height: 230px; }
.cc-instagram-embed:empty, behold-widget:not(:defined) { display: block; min-height: 420px; }
@media (min-width: 900px) {
  [data-cc-footer]:empty { min-height: 300px; }
  .cc-instagram-embed:empty, behold-widget:not(:defined) { min-height: 340px; }
}
