/* ==========================================================================
   GRAND FESTIVAL — « L'ESPRIT »  v1.0.0
   Magazine bien-être, psychologie & relations. Douceur prune, rose ancien, ambre.
   Fraunces (display) · Nunito (body) · Caveat (notes manuscrites)
   Hérité du système éditorial atelier.css, re-skinné pour grandfestival.fr.
   ========================================================================== */
:root {
  --craie:   #fffcf8;
  --ciel:    #faf1ee;
  --dragee:  #f4dfda;
  --layette: #e3b7ad;
  --jean:    #9c4a56;
  --jean-2:  #7e3945;
  --marine:  #452733;
  --encre:   #463039;
  --encre-mute: #8a7078;
  --pate:    #fbf4ea;
  --sable:   #eee0cf;
  --soleil:  #e9b45c;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Nunito", "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --blob-a: 46% 54% 52% 48% / 55% 46% 54% 45%;
  --blob-b: 58% 42% 46% 54% / 45% 58% 42% 55%;
  --clay: 0 10px 24px rgba(69, 39, 51, 0.10),
          inset 0 -6px 0 rgba(69, 39, 51, 0.07),
          inset 0 2px 0 rgba(255, 255, 255, 0.85);
  --clay-soft: 0 6px 16px rgba(69, 39, 51, 0.08),
               inset 0 -4px 0 rgba(69, 39, 51, 0.05);
  --clay-press: 0 3px 8px rgba(69, 39, 51, 0.12),
                inset 0 -2px 0 rgba(69, 39, 51, 0.08);
  --squish: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   1. BASE + NEUTRALISATION DU CHROME KADENCE
   ========================================================================== */

body #masthead.site-header { display: none !important; }

body {
  background: var(--craie) !important;
  font-family: var(--f-body);
  color: var(--encre);
}

/* farine : semis de points bleu pâle sur le fond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(156, 74, 86, 0.055) 1.5px, transparent 1.6px);
  background-size: 34px 34px;
}

.site, .wp-site-blocks, .site-container { position: relative; z-index: 1; }

.entry-content,
.wp-site-blocks {
  background: transparent !important;
  color: var(--encre) !important;
}

body.content-style-boxed .site,
body .site { background: transparent !important; box-shadow: none !important; }

body.home .site-container,
body.home .content-container,
body.home #primary,
body.home main { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.home .entry-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.home .entry-header { display: none !important; }
body.home article.post,
body.home article.page { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
body.page article > .entry-header h1.entry-title { display: none; }

::selection { background: var(--layette); color: var(--marine); }

h1, h2, h3, h4, h5,
.entry-title, .site-title {
  font-family: var(--f-display) !important;
  color: var(--marine) !important;
  letter-spacing: 0.005em;
}

a { color: var(--jean); }
a:hover { color: var(--jean-2); }

:focus-visible {
  outline: 3px solid var(--jean);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   2. BARRE ATELIER (topbar)
   ========================================================================== */

.gfv-topbar {
  background: var(--marine);
  color: var(--ciel);
  position: relative;
  z-index: 60;
}
.gfv-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.gfv-topbar-note {
  font-family: var(--f-hand);
  font-size: 1.05rem;
  color: var(--layette);
}
.gfv-topbar-recipe { font-weight: 600; }
.gfv-topbar-recipe strong {
  font-family: var(--f-display);
  color: var(--soleil);
  font-weight: 800;
  font-size: 1.05rem;
}
.gfv-topbar-star { color: var(--soleil); flex: 0 0 auto; }

/* ==========================================================================
   3. MASTHEAD
   ========================================================================== */

.gfv-masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 3px dashed var(--dragee);
}
.gfv-mast-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.gfv-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.gfv-logo-shape { width: 40px; height: 40px; flex: 0 0 auto; transition: transform 0.5s var(--squish); }
.gfv-logo-heart { fill: var(--jean); }
.gfv-logo-hole { fill: var(--craie); }
.gfv-logo:hover .gfv-logo-shape { transform: rotate(-10deg) scale(1.1); }
.gfv-logo-word {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--marine);
  line-height: 1;
}
.gfv-logo-dot { color: var(--jean); font-weight: 700; font-size: 1.05rem; }

.gfv-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.gfv-nav a {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--encre);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.35s var(--squish);
}
.gfv-nav a:hover {
  background: var(--ciel);
  color: var(--jean-2);
  transform: scale(1.06, 0.96);
}
.gfv-nav-cta a {
  background: var(--jean);
  color: #fff !important;
  box-shadow: var(--clay-soft);
  margin-left: 0.4rem;
}
.gfv-nav-cta a:hover {
  background: var(--jean-2);
  color: #fff !important;
}

/* ==========================================================================
   4. PRIMITIVES CLAY (boutons, cartes, titres, festons)
   ========================================================================== */

.gfv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  background: var(--jean);
  color: #fff !important;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none !important;
  box-shadow: var(--clay);
  transition: transform 0.4s var(--squish), box-shadow 0.3s, background 0.3s;
}
.gfv-btn:hover {
  background: var(--jean-2);
  transform: scale(1.05, 0.94);
  box-shadow: var(--clay-press);
}
.gfv-btn-ghost {
  background: var(--craie);
  color: var(--jean) !important;
  box-shadow: var(--clay-soft), inset 0 0 0 2.5px var(--dragee);
}
.gfv-btn-ghost:hover { background: var(--ciel); color: var(--jean-2) !important; }

.gfv-card {
  background: var(--craie);
  border-radius: 28px;
  box-shadow: var(--clay);
  position: relative;
}

.gfv-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-hand);
  font-size: 1.25rem;
  color: var(--jean);
}
.gfv-kicker::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--soleil);
  box-shadow: inset 0 -2px 0 rgba(69,39,51,0.15);
}

.gfv-h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--marine);
  line-height: 1.15;
  margin: 0.3rem 0 0;
}
.gfv-h2 em {
  font-style: normal;
  color: var(--jean);
  position: relative;
  white-space: nowrap;
}
/* soulignement vague, tracé comme au doigt */
.gfv-h2 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.18em;
  height: 0.32em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 14" preserveAspectRatio="none"><path d="M2 9 Q 12 3 24 8 T 46 8 T 68 8 T 90 8 T 118 7" fill="none" stroke="%23e3b7ad" stroke-width="5" stroke-linecap="round"/></svg>') center/100% 100% no-repeat;
}

/* feston nuage entre sections */
.gfv-scallop {
  height: 34px;
  background:
    radial-gradient(circle at 50% 0, var(--ciel) 26px, transparent 27px);
  background-size: 52px 34px;
  background-position: center top;
}
.gfv-scallop-flip { transform: scaleY(-1); }

.gfv-section { position: relative; padding: 4.5rem 1.5rem; }
.gfv-section-inner { max-width: 1140px; margin: 0 auto; }
.gfv-section-ciel { background: var(--ciel); }

.gfv-section-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }

/* ==========================================================================
   5. HOME — HERO
   ========================================================================== */

.gfv-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.5rem 5.5rem;
  background: linear-gradient(180deg, var(--craie) 0%, var(--ciel) 100%);
}
.gfv-hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.gfv-hero h1 {
  font-family: var(--f-display) !important;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  line-height: 1.08;
  color: var(--marine) !important;
  margin: 0.6rem 0 1.2rem;
}
.gfv-hero h1 em {
  font-style: normal;
  color: var(--jean);
  position: relative;
}
.gfv-hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.14em;
  height: 0.3em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 14" preserveAspectRatio="none"><path d="M2 9 Q 12 3 24 8 T 46 8 T 68 8 T 90 8 T 118 7" fill="none" stroke="%23e9b45c" stroke-width="5" stroke-linecap="round"/></svg>') center/100% 100% no-repeat;
}
.gfv-hero-lede {
  font-size: 1.22rem;
  line-height: 1.65;
  color: var(--encre);
  max-width: 34rem;
  margin: 0 0 1.8rem;
}
.gfv-hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }

.gfv-hero-hint {
  margin-top: 1.4rem;
  font-family: var(--f-hand);
  font-size: 1.15rem;
  color: var(--encre-mute);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gfv-hero-hint svg { color: var(--jean); flex: 0 0 auto; }

/* Carte recette magique */
.gfv-recette {
  background: var(--craie);
  border-radius: 34px;
  box-shadow: var(--clay);
  padding: 2rem 2.2rem 2.3rem;
  position: relative;
  transform: rotate(2deg);
  transition: transform 0.5s var(--squish);
}
.gfv-recette:hover { transform: rotate(0deg) scale(1.02); }
.gfv-recette::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 110px; height: 28px;
  background: var(--layette);
  opacity: 0.55;
  border-radius: 4px; /* ruban adhésif */
}
.gfv-recette-title {
  font-family: var(--f-hand);
  font-size: 1.5rem;
  color: var(--jean);
  text-align: center;
  margin: 0 0 1.3rem;
}
.gfv-recette-liste { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.8rem; }
.gfv-recette-liste li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--ciel);
  border-radius: 18px;
  padding: 0.7rem 1.1rem;
  box-shadow: var(--clay-soft);
}
.gfv-verre {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  background: var(--jean);
  border-radius: var(--blob-a);
  box-shadow: var(--clay-soft);
}
.gfv-recette-liste li:nth-child(2) .gfv-verre { background: var(--layette); color: var(--marine); border-radius: var(--blob-b); }
.gfv-recette-liste li:nth-child(3) .gfv-verre { background: var(--marine); border-radius: 50% 50% 46% 54% / 54% 46% 54% 46%; }
.gfv-recette-liste strong { font-size: 1.1rem; color: var(--marine); }
.gfv-recette-liste small { display: block; color: var(--encre-mute); font-size: 0.92rem; }
.gfv-recette-note {
  text-align: center;
  font-family: var(--f-hand);
  font-size: 1.15rem;
  color: var(--encre-mute);
  margin: 0;
}

/* formes emporte-pièce flottantes */
.gfv-float {
  position: absolute;
  z-index: 1;
  opacity: 0.9;
  animation: gfv-float 7s ease-in-out infinite;
}
.gfv-float svg { display: block; }
.gfv-float-star   { top: 9%;  left: 4%;  animation-delay: 0s;   color: var(--soleil); }
.gfv-float-cloud  { top: 16%; right: 6%; animation-delay: 1.2s; color: var(--dragee); }
.gfv-float-flower { bottom: 12%; left: 8%; animation-delay: 2.1s; color: var(--layette); }
.gfv-float-snail  { bottom: 18%; right: 12%; animation-delay: 0.7s; color: var(--jean); opacity: 0.35; }
@keyframes gfv-float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-16px) rotate(5deg); }
}

/* ==========================================================================
   6. HOME — 3 ÉTAPES
   ========================================================================== */

.gfv-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.gfv-step {
  background: var(--craie);
  border-radius: 30px;
  box-shadow: var(--clay);
  padding: 2.1rem 1.8rem;
  text-align: center;
  transition: transform 0.45s var(--squish);
}
.gfv-step:hover { transform: translateY(-6px) scale(1.02, 0.99); }
.gfv-step-num {
  width: 62px; height: 62px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  background: var(--jean);
  border-radius: var(--blob-a);
  box-shadow: var(--clay-soft);
}
.gfv-step:nth-child(2) .gfv-step-num { background: var(--layette); color: var(--marine); border-radius: var(--blob-b); }
.gfv-step:nth-child(3) .gfv-step-num { background: var(--marine); }
.gfv-step h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.gfv-step p { margin: 0; color: var(--encre); line-height: 1.6; }
.gfv-step a { font-weight: 700; }

/* ==========================================================================
   7. HOME — CARTES GUIDES
   ========================================================================== */

.gfv-guides-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
}
.gfv-guide-card {
  grid-column: span 2;
  background: var(--craie);
  border-radius: 30px;
  box-shadow: var(--clay);
  padding: 1.9rem 1.7rem 1.7rem;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--squish), box-shadow 0.3s;
}
.gfv-guide-card:nth-child(4) { grid-column: 2 / span 2; }
.gfv-guide-card:hover { transform: translateY(-6px) rotate(-0.6deg); }
.gfv-guide-card:nth-child(even):hover { transform: translateY(-6px) rotate(0.6deg); }

.gfv-guide-icon {
  width: 74px; height: 74px;
  display: grid;
  place-items: center;
  border-radius: var(--blob-a);
  background: var(--ciel);
  box-shadow: var(--clay-soft);
  margin-bottom: 0.4rem;
  transition: transform 0.5s var(--squish);
}
.gfv-guide-card:hover .gfv-guide-icon { transform: rotate(-8deg) scale(1.12); }
.gfv-guide-icon svg { width: 42px; height: 42px; }

.gfv-guide-tag {
  font-family: var(--f-hand);
  font-size: 1.05rem;
  color: var(--jean);
}
.gfv-guide-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--marine);
}
.gfv-guide-card p {
  margin: 0;
  color: var(--encre);
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
}
.gfv-guide-go {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--jean);
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.3s;
}
.gfv-guide-card:hover .gfv-guide-go { gap: 0.7rem; color: var(--jean-2); }

/* empreinte fourchette en coin de carte */
.gfv-guide-card::after {
  content: "";
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 26px; height: 8px;
  background-image: radial-gradient(var(--dragee) 3px, transparent 3.5px);
  background-size: 9px 8px;
}

/* ==========================================================================
   8. HOME — ATELIER DE SAISON
   ========================================================================== */

.gfv-saison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}
.gfv-saison-note {
  background: var(--pate);
  border-radius: 8px 26px 12px 30px;
  box-shadow: var(--clay-soft);
  padding: 1.8rem 1.6rem 1.6rem;
  position: relative;
  transform: rotate(-1.2deg);
  transition: transform 0.45s var(--squish);
}
.gfv-saison-note:nth-child(2) { transform: rotate(1deg); background: var(--craie); }
.gfv-saison-note:nth-child(3) { transform: rotate(-0.6deg); }
.gfv-saison-note:hover { transform: rotate(0) scale(1.03); }
.gfv-saison-note::before {
  content: "";
  position: absolute;
  top: -10px; left: 24px;
  width: 72px; height: 22px;
  background: var(--layette);
  opacity: 0.5;
  border-radius: 3px;
  transform: rotate(-2deg);
}
.gfv-saison-note h3 {
  font-family: var(--f-hand) !important;
  font-size: 1.45rem;
  color: var(--jean) !important;
  margin: 0 0 0.5rem;
}
.gfv-saison-note p { margin: 0; line-height: 1.6; }
.gfv-saison-note a { font-weight: 700; }

/* ==========================================================================
   9. HOME — RÈGLES DE LA MAISON
   ========================================================================== */

.gfv-regles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.gfv-regle {
  text-align: center;
  padding: 1.9rem 1.3rem;
  background: var(--craie);
  border-radius: 26px;
  box-shadow: var(--clay-soft), inset 0 0 0 2.5px var(--dragee);
}
.gfv-regle-badge {
  width: 58px; height: 58px;
  margin: 0 auto 0.9rem;
  display: grid;
  place-items: center;
  background: var(--ciel);
  border-radius: var(--blob-b);
}
.gfv-regle-badge svg { width: 30px; height: 30px; color: var(--jean); }
.gfv-regle h3 { font-size: 1.12rem; margin: 0 0 0.4rem; }
.gfv-regle p { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--encre); }

/* ==========================================================================
   10. HOME — HISTOIRE (section marine) + CTA BLOG
   ========================================================================== */

.gfv-histoire {
  background: var(--marine);
  color: var(--ciel);
  border-radius: 40px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.gfv-histoire::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: var(--jean);
  opacity: 0.35;
  border-radius: var(--blob-a);
}
.gfv-histoire::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -40px;
  width: 190px; height: 190px;
  background: var(--layette);
  opacity: 0.16;
  border-radius: var(--blob-b);
}
.gfv-histoire-inner { position: relative; z-index: 2; max-width: 720px; }
.gfv-histoire .gfv-kicker { color: var(--layette); }
.gfv-histoire h2 {
  color: #fff !important;
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin: 0.4rem 0 1rem;
}
.gfv-histoire h2 em { font-style: normal; color: var(--soleil); }
.gfv-histoire p { line-height: 1.7; margin: 0 0 1.6rem; color: var(--dragee); }
.gfv-histoire .gfv-btn { background: var(--craie); color: var(--marine) !important; }
.gfv-histoire .gfv-btn:hover { background: var(--ciel); }

.gfv-blogcta { text-align: center; }
.gfv-blogcta p {
  font-family: var(--f-hand);
  font-size: 1.3rem;
  color: var(--encre-mute);
  margin: 0 0 1.2rem;
}

/* ==========================================================================
   11. PAGES & ARTICLES (site-wide hors home)
   ========================================================================== */

body:not(.home) .content-container { padding-top: 1.5rem; }

body:not(.home) .entry-content {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.13rem;
  line-height: 1.75;
}

body:not(.home) article.post,
body:not(.home) article.page {
  background: var(--craie) !important;
  border-radius: 32px;
  box-shadow: var(--clay);
  padding: 2.5rem clamp(1.2rem, 4vw, 3.5rem) 3rem !important;
  max-width: 900px;
  margin: 1rem auto 3rem !important;
}

body:not(.home) h1.entry-title {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem) !important;
  line-height: 1.15 !important;
  margin-bottom: 0.4rem;
}

.entry-content h2 {
  font-size: 1.7rem !important;
  margin-top: 2.4rem;
  padding-bottom: 0.35rem;
  position: relative;
}
.entry-content h2::after {
  content: "";
  display: block;
  width: 130px;
  height: 8px;
  margin-top: 0.35rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 14" preserveAspectRatio="none"><path d="M2 9 Q 12 3 24 8 T 46 8 T 68 8 T 90 8 T 118 7" fill="none" stroke="%23e3b7ad" stroke-width="5" stroke-linecap="round"/></svg>') left center/100% 100% no-repeat;
}
.entry-content h3 { font-size: 1.32rem !important; margin-top: 1.9rem; }

.entry-content a { font-weight: 700; text-decoration-color: var(--layette); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--jean); }

.entry-content ul:not([class]) { list-style: none; padding-left: 0.4rem; }
.entry-content ul:not([class]) > li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.55rem;
}
.entry-content ul:not([class]) > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.44em;
  width: 13px; height: 13px;
  background: var(--layette);
  border-radius: var(--blob-a);
  box-shadow: inset 0 -2px 0 rgba(69,39,51,0.18);
}
.entry-content ol:not([class]) > li { margin-bottom: 0.55rem; }
.entry-content ol:not([class]) > li::marker {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--jean);
}

.entry-content blockquote {
  background: var(--ciel);
  border: none !important;
  border-radius: 24px;
  box-shadow: var(--clay-soft);
  padding: 1.4rem 1.7rem !important;
  font-style: normal;
}

.entry-content strong { color: var(--marine); }

.entry-content img {
  border-radius: 24px;
  box-shadow: var(--clay-soft);
}

.entry-content table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--clay-soft);
}
.entry-content table th {
  background: var(--jean);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border: none;
}
.entry-content table td {
  padding: 0.65rem 1rem;
  border: none;
  border-top: 2px dashed var(--dragee);
}
.entry-content table tr:nth-child(even) td { background: var(--ciel); }

/* TOC (easy-table-of-contents) en carte clay */
#ez-toc-container {
  background: var(--ciel) !important;
  border: none !important;
  border-radius: 24px !important;
  box-shadow: var(--clay-soft) !important;
  padding: 1.3rem 1.5rem !important;
}
#ez-toc-container .ez-toc-title {
  font-family: var(--f-hand) !important;
  font-size: 1.3rem !important;
  color: var(--jean) !important;
}
#ez-toc-container a { color: var(--encre) !important; font-weight: 600; }
#ez-toc-container a:hover { color: var(--jean) !important; }

/* meta d'article */
.entry-meta, .entry-meta a { color: var(--encre-mute) !important; font-size: 0.95rem; }

/* ==========================================================================
   12. ARCHIVES / CATÉGORIES / BLOG
   ========================================================================== */

.archive .entry-header.archive-header,
.blog .entry-header.archive-header { text-align: center; }

.archive .content-bg.loop-entry,
.blog .content-bg.loop-entry,
.loop-entry .entry-content-wrap {
  border-radius: 26px;
}
.loop-entry {
  background: var(--craie) !important;
  border-radius: 26px !important;
  box-shadow: var(--clay-soft) !important;
  overflow: hidden;
  transition: transform 0.4s var(--squish), box-shadow 0.3s;
}
.loop-entry:hover { transform: translateY(-6px); box-shadow: var(--clay); }
.loop-entry h2.entry-title { font-size: 1.35rem !important; line-height: 1.3 !important; }
.loop-entry .entry-taxonomies a,
.loop-entry .entry-taxonomies .category-links {
  font-family: var(--f-hand);
  color: var(--jean) !important;
  font-size: 1.05rem;
}

.archive-title, h1.page-title { font-size: clamp(1.8rem, 4vw, 2.6rem) !important; }

/* pagination */
.pagination .page-numbers {
  border-radius: 999px !important;
  font-family: var(--f-display);
  font-weight: 700;
  background: var(--craie);
  box-shadow: var(--clay-soft);
  border: none !important;
  color: var(--encre) !important;
}
.pagination .page-numbers.current {
  background: var(--jean) !important;
  color: #fff !important;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

/* cacher le footer Kadence natif */
body .site-footer { display: none !important; }

.gfv-footer {
  position: relative;
  background: var(--marine);
  color: var(--dragee);
  margin-top: 4.5rem;
}
.gfv-foot-scallop {
  position: absolute;
  top: -33px; left: 0; right: 0;
  height: 34px;
  background: radial-gradient(circle at 50% 100%, var(--marine) 26px, transparent 27px);
  background-size: 52px 34px;
  background-position: center bottom;
}
.gfv-foot-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}
.gfv-foot-mast { text-align: center; margin-bottom: 2.6rem; }
.gfv-foot-logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
}
.gfv-foot-logo span { color: var(--layette); font-size: 1.3rem; }
.gfv-foot-tag {
  max-width: 460px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
  color: var(--layette);
}

.gfv-foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.6rem;
}
.gfv-foot-col h4 {
  font-family: var(--f-hand) !important;
  font-size: 1.35rem;
  color: var(--soleil) !important;
  margin: 0 0 0.8rem;
}
.gfv-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.gfv-foot-col a {
  color: var(--dragee);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s, padding-left 0.3s;
}
.gfv-foot-col a:hover { color: #fff; padding-left: 0.3rem; }

.gfv-foot-base {
  border-top: 2px dashed rgba(169, 210, 244, 0.3);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--layette);
}
.gfv-foot-note { font-family: var(--f-hand); font-size: 1.1rem; }

/* ==========================================================================
   14. REVEAL + MOTION
   ========================================================================== */

.gfv-io {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.7s var(--squish);
}
.gfv-io.in { opacity: 1; transform: none; }
.gfv-io:nth-child(2) { transition-delay: 0.08s; }
.gfv-io:nth-child(3) { transition-delay: 0.16s; }
.gfv-io:nth-child(4) { transition-delay: 0.24s; }
.gfv-io:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .gfv-io { opacity: 1; transform: none; transition: none; }
  .gfv-float { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .gfv-guides-grid { grid-template-columns: repeat(2, 1fr); }
  .gfv-guide-card, .gfv-guide-card:nth-child(4) { grid-column: span 1; }
  .gfv-regles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .gfv-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .gfv-recette { transform: rotate(0); max-width: 460px; margin: 0 auto; }
  .gfv-steps { grid-template-columns: 1fr; }
  .gfv-saison-grid { grid-template-columns: 1fr; }
  .gfv-float { display: none; }
  .gfv-histoire { padding: 2.5rem 1.6rem; border-radius: 30px; }
}

@media (max-width: 640px) {
  /* Topbar recette : une seule ligne compacte */
  .gfv-topbar-inner { padding: 0.3rem 0.6rem; gap: 0.3rem; flex-wrap: nowrap; font-size: 0.82rem; }
  .gfv-topbar-note, .gfv-topbar-star { display: none; }
  .gfv-topbar-recipe { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .gfv-topbar-recipe strong { font-size: 0.92rem; }

  /* Masthead : compact, fond opaque (le fond translucide + blur laisse
     transparaître les cartes derrière la nav au scroll) */
  .gfv-masthead { background: #fff; backdrop-filter: none; }
  .gfv-mast-inner { justify-content: center; padding: 0.45rem 0.8rem; gap: 0.3rem; }
  .gfv-logo-shape { width: 30px; height: 30px; }
  .gfv-logo-word { font-size: 1.3rem; }

  /* Nav : une seule ligne qui défile horizontalement au lieu de wrapper */
  .gfv-nav { max-width: 100%; }
  .gfv-nav ul { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .gfv-nav ul::-webkit-scrollbar { display: none; }
  .gfv-nav a { padding: 0.38rem 0.62rem; font-size: 0.9rem; white-space: nowrap; }
  .gfv-guides-grid { grid-template-columns: 1fr; }
  .gfv-regles-grid { grid-template-columns: 1fr; }
  .gfv-foot-cols { grid-template-columns: 1fr; gap: 1.8rem; }
  .gfv-foot-base { justify-content: center; text-align: center; }
  .gfv-section { padding: 3.2rem 1.2rem; }
  body:not(.home) article.post,
  body:not(.home) article.page { padding: 1.6rem 1.1rem 2rem !important; border-radius: 22px; }
}

/* ==========================================================================
   16. FIGURES & VIDÉOS DANS LES ARTICLES (enrichissement 2026-08-11)
   ========================================================================== */
.gfv-figure { margin: 2rem 0; }
.gfv-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(31, 68, 133, 0.16), 0 2px 6px rgba(31, 68, 133, 0.08);
}
.gfv-figure figcaption, .gfv-video figcaption {
  font-family: var(--f-hand);
  font-size: 1rem;
  color: var(--jean-2);
  text-align: center;
  margin-top: 0.65rem;
}
.gfv-video { margin: 2.2rem 0; }
.gfv-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(31, 68, 133, 0.16), 0 2px 6px rgba(31, 68, 133, 0.08);
  background: var(--marine);
}
.gfv-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   17. FAQ (details/summary) DANS LES ARTICLES — auto-FAQPage schema
   ========================================================================== */
article details {
  background: var(--ciel);
  border-radius: 18px;
  margin: 0.8rem 0;
  box-shadow: var(--clay-soft);
  overflow: hidden;
}
article details summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.3rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--marine);
  position: relative;
  padding-right: 3rem;
  transition: background 0.25s;
}
article details summary::-webkit-details-marker { display: none; }
article details summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--jean);
  transition: transform 0.35s var(--squish);
}
article details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
article details summary:hover { background: var(--dragee); }
article details > p { padding: 0 1.3rem 1.1rem; margin: 0; }
