/* ============================================================
   C'Cake & Coffee — pages.css
   Styles des pages publiques ajoutées (hors back-office) :
   en-têtes de page, carte filtrable, devis interactif (gâteau
   en direct), journal/article, galerie, pages légales.
   Chargé APRÈS style.css.
   ============================================================ */

/* ---------- FOND DE PAGE « LEADER » (même habillage que le hero d'accueil) ----------
   Posé sur <body class="cc-page-leader">. Le motif suit celui du hero : changer la
   saison dans style.css (.cc-hero::after) et ici en même temps. */
body.cc-page-leader {
  background:
    radial-gradient(60% 40% at 18% 12%, rgba(249, 196, 146, 0.5), transparent 55%),
    radial-gradient(50% 34% at 86% 34%, rgba(145, 163, 69, 0.16), transparent 55%),
    var(--cc-peach-bg) !important;
}
body.cc-page-leader::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../images/fond-vichy-automne.jpg') center top / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: -2;
}
/* fondu pêche par-dessus le motif, comme sur le hero d'accueil */
body.cc-page-leader::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--cc-peach-bg) 0%,
    rgba(250, 235, 213, 0.96) 14%,
    rgba(250, 235, 213, 0.72) 34%,
    rgba(250, 235, 213, 0.42) 60%,
    rgba(250, 235, 213, 0.42) 100%
  );
  pointer-events: none;
  z-index: -1;
}
/* l'en-tête de page ne repeint plus par-dessus : le fond de page suffit */
body.cc-page-leader .cc-pagehead { background: transparent; }
body.cc-page-leader .cc-pagehead::after { display: none; }

/* pas de cookie croqué sur la page boutique */
body.cc-page-leader .cc-scroll-cookie { display: none !important; }

/* ---------- EN-TÊTE DE PAGE GÉNÉRIQUE ---------- */
.cc-pagehead {
  position: relative;
  padding: 104px 28px 36px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 18% 26%, rgba(249, 196, 146, 0.5), transparent 55%),
    radial-gradient(50% 42% at 86% 64%, rgba(145, 163, 69, 0.16), transparent 55%),
    var(--cc-peach-bg);
}
.cc-pagehead__inner { max-width: 880px; margin: 0 auto; position: relative; z-index: 2; }
.cc-pagehead h1 {
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 0.95;
  margin: 4px 0 0;
}
.cc-pagehead h1 em {
  display: block;
  font-family: var(--cc-script);
  color: var(--cc-burgundy);
  font-style: normal;
  font-size: 0.82em;
  line-height: 0.7;
  margin-top: 0.04em;
}
.cc-pagehead p {
  max-width: 620px;
  margin: 12px auto 0;
  font-size: 15.5px;
  color: var(--cc-brown-2);
}
.cc-pagehead--dark { background: var(--cc-brown); }
.cc-pagehead--dark h1, .cc-pagehead--dark .cc-eyebrow { color: var(--cc-cream) !important; }
.cc-pagehead--dark h1 em { color: var(--cc-peach); }
.cc-pagehead--dark p { color: var(--cc-peach-2); }
@media (max-width: 980px) {
  .cc-pagehead { padding: 30px 22px 26px; }
}

/* En-tête split avec illustration (Coffee Truck / Studio) — grande version */
.cc-pagehead--split { text-align: left; padding-top: 148px; padding-bottom: 44px; }
.cc-pagehead--split .cc-pagehead__inner {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.cc-pagehead--split h1 em { display: inline; }
.cc-pagehead--split h1 { font-size: clamp(46px, 7vw, 96px); }
.cc-pagehead--split p { margin-left: 0; font-size: 17.5px; max-width: 560px; }
.cc-pagehead__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cc-pagehead__visual { display: flex; justify-content: center; }
.cc-pagehead__visual img { width: min(100%, 500px); height: auto; display: block; filter: drop-shadow(0 18px 28px rgba(102,40,8,0.22)); }
@media (max-width: 860px) {
  .cc-pagehead--split .cc-pagehead__inner { grid-template-columns: 1fr; gap: 14px; }
  .cc-pagehead--split { text-align: center; padding-top: 30px; padding-bottom: 8px; }
  .cc-pagehead--split p { margin: 12px auto 0; }
  .cc-pagehead__ctas { justify-content: center; }
  .cc-pagehead__visual img { width: min(78%, 340px); filter: none; }
  .cc-pagehead--split + .cc-section { padding-top: 16px; }
}

.cc-page { padding: 44px 0; }
.cc-page--tight { padding: 48px 0; }

/* ---------- CARTE FILTRABLE — boutons filtres simples (comme le journal) ---------- */
.cc-carte-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto 36px;
}
.cc-carte-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--cc-brown);
  border-radius: var(--cc-radius-pill);
  background: transparent;
  color: var(--cc-brown);
  padding: 10px 17px;
  font-family: var(--cc-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.cc-carte-filter__btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.65); }
.cc-carte-filter__btn.is-active { background: var(--cc-brown); color: var(--cc-cream); }

.cc-carte-cat { padding: 8px 0 34px; scroll-margin-top: 90px; }
.cc-carte-cat[hidden] { display: none; }
.cc-carte-cat__head { text-align: center; max-width: 680px; margin: 0 auto 18px; }
.cc-carte-cat__head h2 { font-size: clamp(26px, 3.4vw, 42px); }
.cc-carte-cat__head p { margin-top: 8px; color: var(--cc-brown-2); font-size: 15px; }

/* ---------- FORMULES (carte) ---------- */
.cc-formules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.cc-formules-grid > * { min-width: 0; }
@media (max-width: 760px) {
  .cc-formules-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 4px 22px 16px 28px;
    scroll-padding-left: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cc-formules-grid::-webkit-scrollbar { display: none; }
  .cc-formules-grid > .cc-formule { scroll-snap-align: start; }
}
.cc-formule {
  background: var(--cc-cream);
  border: 2.5px dashed var(--cc-burgundy);
  border-radius: var(--cc-radius-lg);
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cc-formule:hover { transform: translateY(-4px); box-shadow: var(--cc-shadow-md); }
.cc-formule__emoji { font-size: 34px; line-height: 1; }
.cc-formule__name { font-size: 23px; color: var(--cc-brown); margin: 0; }
.cc-formule__desc { font-size: 13.5px; color: var(--cc-brown-2); margin: 0; }
.cc-formule__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.cc-formule__item {
  background: var(--cc-peach-bg);
  color: var(--cc-brown);
  border-radius: var(--cc-radius-pill);
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 700;
}
.cc-formule__plus {
  font-family: var(--cc-display);
  font-weight: 700; /* jamais ≥ 750 : les contre-formes de Caraque se remplissent */
  font-size: 18px;
  color: var(--cc-burgundy);
}
.cc-formule__price {
  font-family: var(--cc-display);
  font-size: 30px;
  color: var(--cc-burgundy);
  margin-top: 6px;
  line-height: 1;
}
.cc-formule__price span { font-size: 20px; color: var(--cc-brown-2); margin-right: 2px; }

/* ---------- PROVENANCE / CIRCUIT COURT ---------- */
.cc-sourcing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.cc-sourcing-grid > * { min-width: 0; }
.cc-sourcing {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cc-cream);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius-lg);
  padding: 18px;
  min-width: 0;
}
.cc-sourcing__emoji {
  font-size: 28px;
  line-height: 1;
  flex: none;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cc-peach-bg);
  border-radius: 14px;
}
.cc-sourcing__body { min-width: 0; }
.cc-sourcing__body h3 { font-size: 18px; margin: 0 0 3px; color: var(--cc-brown); }
.cc-sourcing__body p { font-size: 13.5px; color: var(--cc-brown-2); margin: 0 0 8px; line-height: 1.45; }
.cc-sourcing__chip { background: rgba(145, 163, 69, 0.16) !important; color: #5d6b2a !important; font-size: 11.5px !important; }
.cc-sourcing__chip .cc-chip__dot { background: var(--cc-matcha) !important; }

/* ---------- DEUX UNIVERS — pages truck / studio ---------- */
.cc-univers-page__split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 38px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.cc-univers-page__media {
  border-radius: var(--cc-radius-lg);
  overflow: hidden;
  border: 4px solid var(--cc-brown);
  aspect-ratio: 4/3;
  box-shadow: var(--cc-shadow-md);
}
.cc-univers-page__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-univers-page__body h2 { font-size: clamp(30px, 4vw, 52px); margin-bottom: 16px; }
.cc-univers-page__body p { color: var(--cc-brown); margin-bottom: 14px; line-height: 1.6; }
.cc-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.cc-feature-tile {
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--cc-line);
}
.cc-feature-tile__icon { font-size: 30px; margin-bottom: 12px; }
.cc-feature-tile h3 { font-size: 21px; margin-bottom: 8px; }
.cc-feature-tile p { font-size: 14.5px; color: var(--cc-brown-2); margin: 0; line-height: 1.55; }
@media (max-width: 900px) {
  .cc-univers-page__split { grid-template-columns: 1fr; gap: 28px; }
  .cc-features-row { grid-template-columns: 1fr; }
}

/* ============================================================
   DEVIS INTERACTIF — le gâteau se construit en direct
   ============================================================ */
.cc-devis {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* --- Pop-up explication des badges (mobile) --- */
.cc-feature-pop {
  position: fixed; inset: 0; z-index: 100000;
  display: none; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(42, 23, 9, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cc-feature-pop.is-open { display: flex; }
.cc-feature-pop__card {
  position: relative;
  width: min(420px, 92vw);
  background: var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(42, 23, 9, 0.55);
}
.cc-feature-pop__card h3 { font-family: var(--cc-display); color: var(--cc-brown); font-size: 26px; margin: 0 0 10px; }
.cc-feature-pop__card p { color: var(--cc-brown-2); font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.cc-feature-pop__close {
  position: absolute; top: 10px; right: 10px;
  width: 38px; height: 38px; flex: none; aspect-ratio: 1/1;
  border-radius: 50%; border: 1px solid var(--cc-line);
  background: #fff; color: var(--cc-brown); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* --- Pop-up devis (accueil) : modale avec iframe --- */
.cc-devis-pop {
  position: fixed; inset: 0; z-index: 100000;
  display: none;
  align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(42, 23, 9, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cc-devis-pop.is-open { display: flex; }
.cc-devis-pop__card {
  position: relative;
  width: min(1080px, 96vw);
  height: min(820px, 90vh);
  background: var(--cc-peach-bg);
  border-radius: var(--cc-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(42, 23, 9, 0.55);
}
.cc-devis-pop__card iframe {
  width: 100%; height: 100%; border: 0; display: block;
  opacity: 0;
  transition: opacity .25s ease;
}
.cc-devis-pop__card.is-loaded iframe { opacity: 1; }
.cc-devis-pop__loader {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--cc-display);
  font-weight: 700; font-size: 15px; color: var(--cc-brown-2);
}
.cc-devis-pop__loader span {
  width: 38px; height: 38px;
  flex: none; aspect-ratio: 1/1;
  border-radius: 50%;
  border: 4px solid var(--cc-peach);
  border-top-color: var(--cc-burgundy);
  animation: cc-pop-spin .8s linear infinite;
}
@keyframes cc-pop-spin { to { transform: rotate(360deg); } }
.cc-devis-pop__card.is-loaded .cc-devis-pop__loader { display: none; }
.cc-devis-pop__close {
  position: absolute; top: 12px; right: 12px;
  width: 42px; height: 42px;
  flex: none; aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid var(--cc-line);
  background: var(--cc-cream);
  color: var(--cc-brown);
  font-size: 23px;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--cc-shadow-sm);
}
@media (max-width: 560px) {
  .cc-devis-pop { padding: 0; }
  .cc-devis-pop__card { width: 100vw; height: 100dvh; border-radius: 0; }
}

/* --- Mode embed (dans le pop-up) : seul le devis s'affiche ---
   La classe est posée sur <html> avant le premier rendu (script en <head>)
   ET sur <body> par devis.js — les sélecteurs couvrent les deux. */
.cc-embed [data-cc-chrome],
.cc-embed [data-cc-footer],
.cc-embed .cc-pagehead,
.cc-embed .cc-scroll-cookie,
.cc-embed .cc-devis-switch,
.cc-embed .cc-devis-select,
.cc-embed #devis .cc-section__head,
.cc-embed .cc-section:not(#devis) { display: none !important; }
.cc-embed #devis { padding: 26px 0 40px; background: var(--cc-peach-bg); }
html.cc-embed, .cc-embed body, body.cc-embed { background: var(--cc-peach-bg) !important; }

/* Un seul panneau de devis visible à la fois (l'attribut hidden gagne toujours) */
[data-devis-panel][hidden] { display: none !important; }

/* --- Toggle des types de devis --- */
.cc-devis-switch {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 8px;
  border-radius: var(--cc-radius-pill);
  background: var(--cc-cream);
  border: 1px solid var(--cc-line);
  box-shadow: var(--cc-shadow-sm);
}
.cc-devis-switch button {
  flex: 1;
  min-width: 150px;
  border: 0;
  border-radius: var(--cc-radius-pill);
  background: transparent;
  color: var(--cc-brown);
  padding: 13px 16px;
  font-family: var(--cc-display);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, transform .12s ease;
}
.cc-devis-switch button:hover { transform: translateY(-1px); }
.cc-devis-switch button.is-active { background: var(--cc-burgundy); color: var(--cc-cream); }

/* Menu déroulant (mobile & tablette) à la place du toggle */
.cc-devis-select { display: none; max-width: 460px; margin: 0 auto 30px; }
.cc-devis-select select {
  width: 100%;
  padding: 14px 44px 14px 18px;
  border-radius: var(--cc-radius-pill);
  border: 2px solid var(--cc-brown);
  background: var(--cc-cream);
  color: var(--cc-ink);
  font-family: var(--cc-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23662808' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.cc-devis-select select:focus { outline: none; border-color: var(--cc-burgundy); box-shadow: 0 0 0 3px rgba(137,9,24,0.12); }
@media (max-width: 900px) {
  .cc-devis-switch { display: none; }
  .cc-devis-select { display: block; }
}

/* --- Formulaires plateau / privatisation --- */
.cc-devis-alt {
  max-width: 720px;
  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: 30px 28px;
}
.cc-devis-alt[hidden] { display: none; }
.cc-devis-alt .cc-devis__q { margin-bottom: 4px; }
.cc-devis-alt .cc-devis__hint { margin-bottom: 20px; }
.cc-choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-choice-chips button {
  border: 2px solid var(--cc-line);
  background: #fff;
  color: var(--cc-brown);
  border-radius: var(--cc-radius-pill);
  padding: 11px 16px;
  font-family: var(--cc-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.cc-choice-chips button:hover { transform: translateY(-1px); border-color: var(--cc-peach); }
.cc-choice-chips button.is-selected { border-color: var(--cc-burgundy); background: var(--cc-peach-bg); color: var(--cc-burgundy); }
.cc-devis-alt .cc-form-ok { margin: 16px 0; }
@media (max-width: 560px) {
  .cc-devis-switch button { min-width: 100%; }
  .cc-devis-alt { padding: 22px 18px; }
}

/* --- État vide : le gâteau attend les choix --- */
.cc-cake__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 230px;
  height: 190px;
  border: 2.5px dashed var(--cc-line);
  border-radius: var(--cc-radius-lg);
  margin-bottom: 10px;
}
.cc-cake__empty-occ {
  font-family: var(--cc-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--cc-burgundy);
}
.cc-cake__empty-hint {
  font-size: 13.5px;
  color: var(--cc-brown-2);
  text-align: center;
  line-height: 1.45;
}
.cc-cake__plate--empty { opacity: .45; }

/* --- Number / Letter cake : caractères en gâteau --- */
.cc-cake__chars {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 300px;
  filter: drop-shadow(0 14px 18px rgba(102, 40, 8, 0.18));
}
.cc-cake-char {
  font-family: var(--cc-display);
  font-weight: 700; /* jamais ≥ 750 : les contre-formes de Caraque se remplissent */
  font-size: clamp(46px, 12vw, 140px);
  line-height: 0.92;
  color: var(--frost, #f4e7d3);
  -webkit-text-stroke: 5px var(--cc-brown);
  paint-order: stroke fill;
  text-shadow:
    0 6px 0 var(--drip, #e7c59f),
    0 10px 0 var(--cc-brown);
}

/* --- Bento cake : petit gâteau dans sa boîte --- */
.cc-cake__tier--bento {
  width: 130px;
  height: 78px;
  border-radius: 16px 16px 10px 10px;
}
.cc-cake__box {
  width: 170px;
  height: 30px;
  margin-top: -6px;
  background: linear-gradient(#b98a5e, #9a6c42);
  border: 3px solid var(--cc-brown);
  border-radius: 6px 6px 14px 14px;
  box-shadow: var(--cc-shadow-sm);
}

/* --- Images de référence (décor) --- */
.cc-devis__refs { margin-top: 16px; }
.cc-ref-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 2px dashed var(--cc-burgundy);
  border-radius: var(--cc-radius-pill);
  color: var(--cc-burgundy);
  font-family: var(--cc-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
  transition: background .15s ease;
}
.cc-ref-add:hover { background: rgba(137, 9, 24, 0.06); }
.cc-ref-add.is-full { opacity: .45; pointer-events: none; }
.cc-ref-add small { font-weight: 600; color: var(--cc-brown-2); }
.cc-ref-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cc-ref-thumb {
  position: relative;
  width: 86px;
  height: 86px;
  flex: none;
  border-radius: var(--cc-radius-md);
  overflow: hidden;
  border: 2px solid var(--cc-brown);
}
.cc-ref-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-ref-thumb button {
  position: absolute;
  top: 4px; right: 4px;
  width: 24px; height: 24px;
  flex: none; aspect-ratio: 1/1;
  border-radius: 50%;
  border: 0;
  background: var(--cc-burgundy);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* --- Allergies : puces multi-sélection --- */
.cc-opt-grid--chips { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.cc-opt--chip { padding: 13px 10px; font-size: 14px; }

/* --- Colonne gauche : aperçu live --- */
.cc-devis__preview {
  position: sticky;
  top: 24px;
  background:
    radial-gradient(70% 60% at 50% 12%, rgba(249, 196, 146, 0.5), transparent 60%),
    var(--cc-cream);
  border-radius: var(--cc-radius-lg);
  border: 1px solid var(--cc-line);
  box-shadow: var(--cc-shadow-md);
  padding: 28px 24px 24px;
  text-align: center;
  overflow: hidden;
}
.cc-devis__stage {
  height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.cc-devis__price-tag {
  margin-top: 8px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.cc-devis__price-tag .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--cc-brown-2); font-weight: 700; }
.cc-devis__price-tag .val { font-family: var(--cc-display); font-size: 34px; color: var(--cc-burgundy); line-height: 1; }
.cc-devis__price-tag small { font-size: 12px; color: var(--cc-brown-2); }
.cc-devis__summary {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}
.cc-devis__summary .cc-chip { background: var(--cc-peach-bg); }

/* --- Le gâteau CSS --- */
.cc-cake {
  --frost: #f4d7c0;
  --sponge: #c98b5a;
  --drip: #e9b48f;
  position: relative;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.cc-cake__topper {
  font-family: var(--cc-script);
  color: var(--cc-burgundy);
  font-size: 26px;
  line-height: 1;
  min-height: 30px;
  margin-bottom: 6px;
  transition: opacity .3s;
  max-width: 240px;
  word-break: break-word;
}
.cc-cake__candles {
  display: flex;
  gap: 8px;
  justify-content: center;
  height: 34px;
  align-items: flex-end;
  margin-bottom: -6px;
  position: relative;
  z-index: 3;
}
.cc-cake__candle {
  width: 7px; height: 30px;
  border-radius: 3px;
  background: repeating-linear-gradient(45deg, #fff 0 5px, var(--cc-burgundy) 5px 10px);
  position: relative;
}
.cc-cake__candle::after {
  content: '';
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 11px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #ffd56b, #ff8a3d 70%);
  box-shadow: 0 0 8px rgba(255,150,60,0.8);
  animation: cc-flicker 1.1s ease-in-out infinite alternate;
}
@keyframes cc-flicker { from { transform: translateX(-50%) scale(1); opacity: .9; } to { transform: translateX(-50%) scale(1.12); opacity: 1; } }

.cc-cake__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 18px 24px rgba(102,40,8,0.18));
}
.cc-cake__tier {
  position: relative;
  background: var(--frost);
  border: 3px solid var(--cc-brown);
  border-radius: 14px;
  overflow: hidden;
  transition: width .35s cubic-bezier(.34,1.56,.64,1), height .35s ease, background .35s ease;
}
/* couches de génoise visibles sur les flancs */
.cc-cake__tier::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 38%;
  height: 26%;
  background:
    linear-gradient(var(--sponge), var(--sponge)) ,
    linear-gradient(var(--frost), var(--frost));
  background-size: 100% 55%, 100% 45%;
  background-position: 0 0, 0 100%;
  background-repeat: no-repeat;
  opacity: .9;
}
/* coulure de glaçage sur le dessus */
.cc-cake__tier::after {
  content: '';
  position: absolute; left: -2px; right: -2px; top: -3px;
  height: 20px;
  background:
    radial-gradient(circle at 10% 0, var(--drip) 40%, transparent 42%) 0 0/20px 22px repeat-x;
  filter: drop-shadow(0 3px 0 var(--cc-brown));
}
.cc-cake__tier--1 { width: 230px; height: 92px; z-index: 1; }
.cc-cake__tier--2 { width: 180px; height: 80px; z-index: 2; margin-bottom: -6px; }
.cc-cake__tier--3 { width: 130px; height: 70px; z-index: 3; margin-bottom: -6px; }
.cc-cake[data-tiers="1"] .cc-cake__tier--2,
.cc-cake[data-tiers="1"] .cc-cake__tier--3,
.cc-cake[data-tiers="2"] .cc-cake__tier--3 { display: none; }
.cc-cake__plate {
  width: 270px; height: 26px;
  margin-top: -4px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(var(--cc-peach-2), var(--cc-caramel));
  border: 3px solid var(--cc-brown);
  box-shadow: var(--cc-shadow-sm);
}
/* décor : sprinkles */
.cc-cake.has-sprinkles .cc-cake__tier::after { background-image:
  radial-gradient(circle at 10% 0, var(--drip) 40%, transparent 42%),
  radial-gradient(circle at 30% 60%, var(--cc-burgundy) 22%, transparent 24%),
  radial-gradient(circle at 60% 50%, var(--cc-matcha) 22%, transparent 24%),
  radial-gradient(circle at 80% 65%, var(--cc-peach) 22%, transparent 24%);
  background-size: 20px 22px, 26px 70px, 30px 70px, 24px 70px; background-repeat: repeat-x; }
/* décor : fruits rouges (points) */
.cc-cake.has-fruits .cc-cake__topper-deco { display: inline; }
.cc-cake__fruit {
  position: absolute; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e76a6a, #8c0f1e);
  border: 1.5px solid #5e0a14; z-index: 4;
}

/* --- Colonne droite : formulaire par étapes --- */
.cc-devis__form { min-width: 0; }
.cc-devis__progress {
  height: 8px;
  border-radius: 999px;
  background: var(--cc-cream-2);
  overflow: hidden;
  margin-bottom: 8px;
}
.cc-devis__progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--cc-peach), var(--cc-burgundy));
  border-radius: 999px;
  transition: width .35s ease;
}
.cc-devis__steps-label { font-size: 13px; color: var(--cc-brown-2); font-weight: 700; margin-bottom: 22px; }
.cc-devis__step { display: none; animation: cc-fade .3s ease; }
.cc-devis__step.is-active { display: block; }
@keyframes cc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cc-devis__q { font-size: clamp(24px, 3vw, 34px); color: var(--cc-brown); margin: 0 0 6px; font-family: var(--cc-display); line-height: 1.05; }
.cc-devis__hint { color: var(--cc-brown-2); font-size: 15px; margin: 0 0 22px; }

.cc-opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.cc-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 14px;
  border-radius: var(--cc-radius-md);
  border: 2px solid var(--cc-line);
  background: var(--cc-cream);
  cursor: pointer;
  font-family: var(--cc-display);
  font-weight: 700; font-size: 15px; color: var(--cc-brown);
  text-align: center;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.cc-opt:hover { transform: translateY(-3px); border-color: var(--cc-peach); }
.cc-opt.is-selected { border-color: var(--cc-burgundy); background: var(--cc-peach-bg); }
.cc-opt__emoji { font-size: 28px; line-height: 1; }
.cc-opt__swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cc-brown); }
.cc-opt small { font-weight: 600; color: var(--cc-brown-2); font-size: 12px; }

.cc-field { margin-bottom: 16px; min-width: 0; }
.cc-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--cc-brown); }
.cc-field input, .cc-field textarea, .cc-field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px 16px;
  border-radius: var(--cc-radius-md);
  border: 1px solid var(--cc-line);
  background: var(--cc-cream);
  font-family: var(--cc-display);
  font-size: 15px;
  color: var(--cc-ink);
}
.cc-field input:focus, .cc-field textarea:focus, .cc-field select:focus {
  outline: none; border-color: var(--cc-burgundy); box-shadow: 0 0 0 3px rgba(137,9,24,0.1);
}
.cc-field textarea { resize: vertical; min-height: 90px; }
.cc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cc-field-row > * { min-width: 0; }
@media (max-width: 560px) {
  .cc-field-row { grid-template-columns: 1fr; gap: 0; }
}

.cc-stepper {
  display: inline-flex; align-items: center; gap: 0;
  border: 2px solid var(--cc-line); border-radius: var(--cc-radius-pill); overflow: hidden; background: var(--cc-cream);
}
.cc-stepper button { width: 46px; height: 46px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--cc-brown); font-family: var(--cc-display); }
.cc-stepper button:hover { background: var(--cc-peach-bg); }
.cc-stepper output { min-width: 78px; text-align: center; font-family: var(--cc-display); font-size: 20px; font-weight: 700; color: var(--cc-brown); }

.cc-devis__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.cc-devis__nav .cc-btn[disabled] { opacity: .4; pointer-events: none; }

.cc-devis__recap { background: var(--cc-cream); border-radius: var(--cc-radius-lg); padding: 24px; border: 1px solid var(--cc-line); }
.cc-devis__recap h3 { font-size: 22px; margin: 0 0 14px; }
.cc-recap-list { list-style: none; margin: 0 0 4px; padding: 0; }
.cc-recap-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--cc-line); font-size: 14.5px; }
.cc-recap-list li span:first-child { color: var(--cc-brown-2); }
.cc-recap-list li span:last-child { font-weight: 700; color: var(--cc-brown); text-align: right; }
.cc-devis__estimate { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; }
.cc-devis__estimate .val { font-family: var(--cc-display); font-size: 30px; color: var(--cc-burgundy); }
.cc-devis__done { text-align: center; padding: 30px 10px; }
.cc-devis__done .big { font-size: 54px; }

@media (max-width: 940px) {
  .cc-devis { grid-template-columns: 1fr; gap: 24px; }
  .cc-devis__preview { position: relative; top: 0; order: -1; }
  .cc-devis__stage { height: 300px; }
}

/* ============================================================
   COIN DES CURIEUX — menu dédié + catégories + galerie
   ============================================================ */
.cc-curieux-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto 30px;
}
.cc-curieux-menu__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--cc-brown);
  border-radius: var(--cc-radius-pill);
  background: transparent;
  color: var(--cc-brown);
  padding: 9px 16px;
  font-family: var(--cc-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.cc-curieux-menu__btn .n {
  font-size: 11px;
  background: var(--cc-peach);
  color: var(--cc-brown);
  border-radius: 999px;
  padding: 2px 7px;
  line-height: 1;
}
.cc-curieux-menu__btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.65); }
.cc-curieux-menu__btn.is-active { background: var(--cc-brown); color: var(--cc-cream); }
.cc-curieux-menu__btn.is-active .n { background: var(--cc-peach); }

.cc-curieux-cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--cc-cream);
  border: 2px solid var(--cc-brown);
  color: var(--cc-brown);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  transform: rotate(-3deg);
  box-shadow: var(--cc-shadow-sm);
}
.cc-article-card { position: relative; }
.cc-article-card[hidden] { display: none; }

/* Carte « à la une » du coin des curieux */
.cc-curieux-hero {
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto 34px;
  background: var(--cc-cream);
  border: 3px solid var(--cc-brown);
  border-radius: var(--cc-radius-lg);
  overflow: hidden;
  box-shadow: var(--cc-shadow-md);
}
.cc-curieux-hero__visual { position: relative; min-height: 280px; }
.cc-curieux-hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-curieux-hero__body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.cc-curieux-hero__body h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1; margin: 0; }
.cc-curieux-hero__body p { color: var(--cc-brown-2); font-size: 15px; margin: 0; }
@media (max-width: 860px) {
  .cc-curieux-hero { grid-template-columns: 1fr; }
  .cc-curieux-hero__visual { min-height: 200px; }
  .cc-curieux-hero__body { padding: 22px; }
}

/* ============================================================
   JOURNAL / ARTICLE
   ============================================================ */
.cc-article-single { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.cc-article-single__cover {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--cc-radius-lg); border: 4px solid var(--cc-brown); margin-bottom: 28px; display: block;
}
.cc-article-single__meta { display: flex; gap: 10px; align-items: center; color: var(--cc-brown-2); font-size: 13px; margin-bottom: 10px; }
.cc-article-single h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1; margin: 0 0 22px; }
.cc-prose p { font-size: 16.5px; line-height: 1.75; color: var(--cc-brown); margin: 0 0 18px; }
.cc-prose h2 { font-size: 28px; margin: 34px 0 14px; }
.cc-prose h3 { font-size: 22px; margin: 26px 0 10px; }
.cc-prose ul { margin: 0 0 18px; padding-left: 22px; }
.cc-prose li { margin-bottom: 8px; line-height: 1.6; }
.cc-prose blockquote {
  margin: 22px 0; padding: 16px 22px;
  border-left: 4px solid var(--cc-burgundy);
  background: var(--cc-peach-bg); border-radius: 0 var(--cc-radius-md) var(--cc-radius-md) 0;
  font-family: var(--cc-script); font-size: 30px; line-height: 1.25; color: var(--cc-burgundy);
}

/* ============================================================
   GALERIE
   ============================================================ */
.cc-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.cc-gallery__item {
  border-radius: var(--cc-radius-md);
  overflow: hidden;
  border: 2px solid var(--cc-brown);
  display: block;
  cursor: zoom-in;
  background: var(--cc-cream);
  aspect-ratio: 1;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cc-gallery__item:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--cc-shadow-md); }
.cc-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1000px) { .cc-gallery { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) {
  .cc-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 18px 6px;
  }
  .cc-gallery__item { aspect-ratio: 1; }
  .cc-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
}
.cc-lightbox {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(42, 23, 9, 0.86);
  display: none; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(8px);
}
.cc-lightbox.is-open { display: flex; }
.cc-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--cc-radius-md); border: 4px solid var(--cc-cream); }
.cc-lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(252,250,237,0.16); border: 1px solid rgba(252,250,237,0.3);
  color: var(--cc-cream); font-size: 24px; cursor: pointer;
}
@media (max-width: 600px) { .cc-gallery { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.cc-legal { max-width: 820px; margin: 0 auto; padding: 0 28px; }
.cc-legal h2 { font-size: 26px; margin: 36px 0 12px; color: var(--cc-brown); }
.cc-legal h3 { font-size: 19px; margin: 22px 0 8px; }
.cc-legal p, .cc-legal li { font-size: 15.5px; line-height: 1.7; color: var(--cc-brown); }
.cc-legal ul { padding-left: 22px; margin: 0 0 16px; }
.cc-legal li { margin-bottom: 6px; }
.cc-legal__toc {
  background: var(--cc-cream); border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius-lg); padding: 22px 26px; margin-bottom: 34px;
}
.cc-legal__toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--cc-burgundy); margin: 0 0 12px; }
.cc-legal__toc ol { margin: 0; padding-left: 20px; }
.cc-legal__toc a { color: var(--cc-brown); text-decoration: none; }
.cc-legal__toc a:hover { color: var(--cc-burgundy); }
.cc-legal__note { font-size: 13px; color: var(--cc-brown-2); font-style: italic; margin-top: 8px; }

/* ============================================================
   FORMULAIRE CONTACT (page contact / section)
   ============================================================ */
.cc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; align-items: start; }
.cc-contact-grid > * { min-width: 0; }
.cc-contact-card-info { background: var(--cc-cream); border-radius: var(--cc-radius-lg); padding: 32px; border: 1px solid var(--cc-line); }
.cc-contact-card-info h3 { margin: 0 0 16px; font-size: 24px; }
.cc-contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 15px; color: var(--cc-brown); }
.cc-contact-line svg { width: 20px; height: 20px; stroke: var(--cc-burgundy); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.cc-form-ok { background: var(--cc-matcha); color: var(--cc-cream); padding: 16px 20px; border-radius: var(--cc-radius-md); font-weight: 700; margin-bottom: 16px; }
@media (max-width: 860px) { .cc-contact-grid { grid-template-columns: 1fr; gap: 24px; } }
/* Mobile & tablette : le formulaire de contact devient une carte contenue
   (avec marges) façon pop-up, au lieu d'être collé aux bords. */
@media (max-width: 860px) {
  .cc-contact-grid { padding: 0 16px; }
  .cc-contact-grid > div:first-child {
    background: var(--cc-cream);
    border: 1px solid var(--cc-line);
    border-radius: var(--cc-radius-lg);
    padding: 22px 18px;
    box-shadow: var(--cc-shadow-lg);
  }
}

/* ============================================================
   BLOCS (articles & newsletters) — rendu responsive
   ============================================================ */
.ccb { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 18px; }
.ccb-b { min-width: 0; }
.ccb-b--full { grid-column: span 6; }
.ccb-b--half { grid-column: span 3; }
.ccb-b--third { grid-column: span 2; }
.ccb-b--center { text-align: center; }
/* Tailles de texte (réglables dans l'éditeur) */
.ccb-size-sm .ccb-text p { font-size: 14px; }
.ccb-size-lg .ccb-text p { font-size: 19px; }
.ccb-size-xl .ccb-text p { font-size: 23px; line-height: 1.6; }
.ccb-size-sm .ccb-heading { font-size: clamp(19px, 2.4vw, 24px); }
.ccb-size-lg .ccb-heading { font-size: clamp(30px, 4vw, 46px); }
.ccb-size-xl .ccb-heading { font-size: clamp(38px, 5.4vw, 62px); }
.ccb-heading { font-size: clamp(24px, 3vw, 34px); line-height: 1.05; margin: 10px 0 0; color: var(--cc-brown); }
.ccb-text p { font-size: 16px; line-height: 1.7; color: var(--cc-brown); margin: 0 0 12px; }
.ccb-text p:last-child { margin-bottom: 0; }
.ccb-quote {
  margin: 6px 0; padding: 16px 22px;
  border-left: 4px solid var(--cc-burgundy);
  background: var(--cc-peach-bg); border-radius: 0 var(--cc-radius-md) var(--cc-radius-md) 0;
  font-family: var(--cc-script); font-size: 30px; line-height: 1.25; color: var(--cc-burgundy);
}
.ccb-image { margin: 0; }
.ccb-image img { width: 100%; border-radius: var(--cc-radius-md); border: 3px solid var(--cc-brown); display: block; }
.ccb-image figcaption { font-size: 12.5px; color: var(--cc-brown-2); margin-top: 6px; text-align: center; }
.ccb-divider { border: 0; border-top: 2px dashed var(--cc-line); margin: 8px 0; }
.ccb-missing { color: var(--cc-burgundy); font-size: 13px; font-style: italic; }

.ccb-product { display: flex; text-decoration: none; background: var(--cc-cream); border: 3px solid var(--cc-brown); border-radius: var(--cc-radius-md); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.ccb-product:hover { transform: translateY(-3px); box-shadow: var(--cc-shadow-md); }
.ccb-product--card { flex-direction: column; height: 100%; }
.ccb-product__visual { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--cc-peach-bg); }
.ccb-product__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ccb-product--card .ccb-product__txt { display: flex; flex-direction: column; gap: 4px; padding: 13px 15px 15px; }
.ccb-product--card strong { font-size: 17px; color: var(--cc-brown); line-height: 1.1; }
.ccb-product--card small { font-size: 12.5px; color: var(--cc-brown-2); line-height: 1.4; }
.ccb-product__price { font-family: var(--cc-display); font-weight: 700; color: var(--cc-burgundy); font-size: 15.5px; margin-top: 2px; }
.ccb-product--thumb { align-items: center; gap: 13px; padding: 9px 14px 9px 9px; }
.ccb-product--thumb img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.ccb-product--thumb .ccb-product__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ccb-product--thumb strong { font-size: 15.5px; color: var(--cc-brown); }
.ccb-product--thumb small { font-size: 12px; color: var(--cc-brown-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccb-product--thumb .ccb-product__price { margin: 0; flex-shrink: 0; }

.ccb-pagecard {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--cc-peach-bg); border: 3px solid var(--cc-brown); border-radius: var(--cc-radius-md);
  padding: 16px 20px; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.ccb-pagecard:hover { transform: translateY(-3px); box-shadow: var(--cc-shadow-md); }
.ccb-pagecard strong { display: block; font-size: 17px; color: var(--cc-brown); }
.ccb-pagecard small { display: block; font-size: 12.5px; color: var(--cc-brown-2); margin-top: 2px; }
.ccb-pagecard__arrow { font-size: 22px; color: var(--cc-burgundy); flex-shrink: 0; }

@media (max-width: 640px) {
  .ccb { grid-template-columns: 1fr; }
  .ccb-b--half, .ccb-b--third { grid-column: 1 / -1; }
}

/* ============================================================
   POP-UP NEWSLETTER DU MOMENT
   ============================================================ */
.cc-nlpop {
  position: fixed; inset: 0; z-index: 100000; /* au-dessus de tout, nav comprise */
  background: rgba(42, 23, 9, 0.6);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.cc-nlpop.is-open { display: flex; }
.cc-nlpop__card {
  background: var(--cc-cream);
  border: 4px solid var(--cc-brown);
  border-radius: var(--cc-radius-lg);
  width: 100%; max-width: 560px;
  max-height: min(86vh, 760px);
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
  animation: cc-nlpop-in .35s cubic-bezier(.34,1.4,.64,1);
  overflow: hidden;
}
@keyframes cc-nlpop-in { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.cc-nlpop__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: var(--cc-brown);
}
.cc-nlpop__head .tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--cc-peach) !important; display: block; }
.cc-nlpop__head h3 { color: var(--cc-cream) !important; font-size: 20px; margin: 2px 0 0; line-height: 1.1; }
.cc-nlpop__close {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(252,250,237,0.15); border: 1px solid rgba(252,250,237,0.3);
  color: var(--cc-cream); font-size: 20px; cursor: pointer; line-height: 1;
}
.cc-nlpop__body { padding: 20px 22px; overflow-y: auto; }
.cc-nlpop__foot {
  padding: 13px 22px; border-top: 1px solid var(--cc-line);
  display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: var(--cc-peach-bg);
}
.cc-nlpop__foot p { margin: 0; font-size: 13px; color: var(--cc-brown-2); }

