/*
Theme Name: Ninja Ice Cream — Glacier
Theme URI: https://ninja-icecream.com
Author: Julien – JM Digital Pro
Description: Thème boutique glacier artisanal pour ninja-icecream.com. Menu animé façon gouttes de glace, ambiance généreuse et colorée.
Version: 2.0.0
Text Domain: nic
Tags: food, recipe, responsive-layout, custom-colors, custom-menu
*/

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Couleurs principales */
  --cream:          #FFF8F0;
  --cream-2:        #FFF0E0;
  --vanilla:        #FFE4A0;
  --strawberry:     #FF4D7D;
  --strawberry-2:   #FF88AA;
  --strawberry-pale:#FFD6E4;
  --mint:           #2ECFA8;
  --mint-2:         #7EECD3;
  --mint-pale:      #D4F7EE;
  --blueberry:      #5B4BFF;
  --blueberry-2:    #8B7EFF;
  --blueberry-pale: #E8E5FF;
  --caramel:        #FF8C42;
  --caramel-pale:   #FFE4CF;
  --choc:           #3B2314;
  --choc-2:         #6B3F2A;

  /* Neutres */
  --text:           #2A1A0E;
  --text-mid:       #6B4C35;
  --text-light:     #A88060;
  --border:         #F0E0D0;
  --white:          #FFFFFF;
  --bg:             #FFF8F0;

  /* Dégradés */
  --grad-strawberry: linear-gradient(135deg,#FF4D7D,#FF88AA);
  --grad-mint:       linear-gradient(135deg,#2ECFA8,#7EECD3);
  --grad-blueberry:  linear-gradient(135deg,#5B4BFF,#8B7EFF);
  --grad-caramel:    linear-gradient(135deg,#FF8C42,#FFB880);
  --grad-rainbow:    linear-gradient(135deg,#FF4D7D 0%,#FF8C42 33%,#2ECFA8 66%,#5B4BFF 100%);
  --grad-header:     linear-gradient(180deg,#3B2314 0%,#6B3F2A 100%);

  /* Ombres */
  --shadow-sm:  0 2px 10px rgba(58,35,20,.08);
  --shadow-md:  0 8px 30px rgba(58,35,20,.12);
  --shadow-lg:  0 20px 60px rgba(58,35,20,.16);
  --shadow-card:0 4px 20px rgba(58,35,20,.10);

  /* Rayons */
  --r-sm:   10px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-xl:   40px;
  --r-full: 999px;

  /* Typo */
  --font-display: 'Nunito', 'Quicksand', sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Transitions */
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --ease-out:    cubic-bezier(.22,1,.36,1);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--strawberry); text-decoration: none; transition: color .2s; }
a:hover { color: var(--choc-2); }
ul  { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

/* ============================================================
   UTILITIES
============================================================ */
.container { max-width:1240px; margin-inline:auto; padding-inline:1.5rem; }
.container--narrow { max-width:860px; margin-inline:auto; padding-inline:1.5rem; }

.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.75rem 1.75rem; border-radius:var(--r-full);
  font-family:var(--font-display); font-weight:800; font-size:.875rem;
  border:none; cursor:pointer; transition:all .3s var(--ease-bounce);
  white-space:nowrap; letter-spacing:.01em;
}
.btn--strawberry { background:var(--grad-strawberry); color:#fff; box-shadow:0 4px 20px rgba(255,77,125,.3); }
.btn--strawberry:hover { color:#fff; transform:translateY(-3px) scale(1.03); box-shadow:0 8px 30px rgba(255,77,125,.4); }
.btn--mint  { background:var(--grad-mint); color:#fff; box-shadow:0 4px 20px rgba(46,207,168,.3); }
.btn--mint:hover { color:#fff; transform:translateY(-3px) scale(1.03); }
.btn--choc  { background:var(--choc); color:#fff; box-shadow:0 4px 20px rgba(58,35,20,.25); }
.btn--choc:hover { color:#fff; background:var(--choc-2); transform:translateY(-3px); }
.btn--outline-choc {
  background:transparent; color:var(--choc);
  border:2.5px solid var(--choc);
}
.btn--outline-choc:hover { background:var(--choc); color:#fff; transform:translateY(-2px); }
.btn--lg { padding:1rem 2.25rem; font-size:1rem; }
.btn--sm { padding:.45rem 1rem; font-size:.8rem; }

.badge {
  display:inline-flex; align-items:center; gap:.3rem;
  padding:.3rem .8rem; border-radius:var(--r-full);
  font-size:.72rem; font-weight:800; font-family:var(--font-display);
  letter-spacing:.06em; text-transform:uppercase;
}
.badge--straw  { background:var(--strawberry-pale); color:var(--strawberry); }
.badge--mint   { background:var(--mint-pale); color:#1a9b7e; }
.badge--blue   { background:var(--blueberry-pale); color:var(--blueberry); }
.badge--caramel{ background:var(--caramel-pale); color:var(--caramel); }
.badge--vanilla{ background:#FFF3CC; color:#9B7700; }

/* ============================================================
   ANNOUNCEMENT BAR
============================================================ */
.announcement-bar {
  background: var(--choc);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: .6rem 1rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.announcement-bar a {
  color: var(--vanilla);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announcement-bar a:hover { color: #fff; }

/* ============================================================
   ============================================================
   HEADER & NAV — CŒUR DU THÈME
   ============================================================
============================================================ */

/* --- Barre marque (logo + actions) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 600;
}

.header-brand-bar {
  background: var(--choc);
  border-bottom: 3px solid rgba(255,255,255,.07);
}

.header-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__img { height: 44px; width: 44px; object-fit: contain; border-radius: 8px; }
/* Logo WordPress custom */
.site-logo .custom-logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; }
/* Footer logo */
.footer-brand-identity { display: flex; align-items: center; gap: .7rem; margin-bottom: .25rem; }
.footer-logo-img { height: 38px; width: 38px; object-fit: contain; border-radius: 6px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1rem; font-weight: 900; color: #fff; }
.footer-brand-desc { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 280px; margin: .85rem 0 1.25rem; }
.logo-text-wrap { display:flex; flex-direction:column; }
.logo-text-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.01em;
}
.logo-text-sub {
  font-size: .62rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Header right actions */
.header-actions { display:flex; align-items:center; gap:.65rem; flex-shrink:0; }
.header-action-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.09);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  color: rgba(255,255,255,.75);
  display: flex; align-items:center; justify-content:center;
  cursor: pointer; transition: all .2s; font-size: .95rem;
}
.header-action-btn:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2.5px;
  background: #fff; border-radius: 2px; transition: all .25s;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -------------------------------------------------------
   BARRE DE NAVIGATION ICE CREAM
------------------------------------------------------- */
.nav-bar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(58,35,20,.08);
  border-bottom: 2px solid var(--border);
  position: relative;
}

.nav-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 56px;
}

/* --- Chaque item de nav principal --- */
.main-nav > ul {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}

/* Lien de niveau 1 */
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 1.1rem;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 800;
  color: var(--text-mid);
  white-space: nowrap;
  position: relative;
  height: 100%;
  transition: color .2s;
  letter-spacing: .01em;
}
.main-nav > ul > li > a .nav-emoji {
  font-size: 1.1rem;
  transition: transform .3s var(--ease-bounce);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-ancestor > a {
  color: var(--strawberry);
}
.main-nav > ul > li > a:hover .nav-emoji {
  transform: rotate(-10deg) scale(1.3);
}

/* ============================================================
   ✦ DRIP EFFECT : la goutte de glace sous chaque item
============================================================ */

/* Barre de soulignement colorée qui monte au hover */
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--grad-strawberry);
  transition: transform .3s var(--ease-bounce);
}
.main-nav > ul > li:nth-child(2) > a::after { background: var(--grad-mint); }
.main-nav > ul > li:nth-child(3) > a::after { background: var(--grad-blueberry); }
.main-nav > ul > li:nth-child(4) > a::after { background: var(--grad-caramel); }
.main-nav > ul > li:nth-child(5) > a::after { background: var(--grad-rainbow); }

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.current-menu-item > a::after,
.main-nav > ul > li.current-menu-ancestor > a::after {
  transform: translateX(-50%) scaleX(1);
}

/* ============================================================
   ✦ GOUTTE DE GLACE ANIMÉE (pseudo-élément drip)
   Apparaît sous l'item actif/hover, tombe puis disparaît
============================================================ */
.main-nav > ul > li::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  width: 14px;
  height: 18px;
  background: var(--strawberry);
  border-radius: 0 0 50% 50%;
  opacity: 0;
  transition: transform .4s var(--ease-bounce), opacity .2s;
  z-index: 1; /* réduit : ne bloque plus les clics sur les sous-menus */
  pointer-events: none;
}
.main-nav > ul > li:nth-child(2)::after { background: var(--mint); }
.main-nav > ul > li:nth-child(3)::after { background: var(--blueberry); }
.main-nav > ul > li:nth-child(4)::after { background: var(--caramel); }
.main-nav > ul > li:nth-child(5)::after { background: linear-gradient(180deg,#FF4D7D,#5B4BFF); }

.main-nav > ul > li:hover::after,
.main-nav > ul > li.current-menu-item::after,
.main-nav > ul > li.current-menu-ancestor::after {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
}

/* ============================================================
   DROPDOWN MEGA-MENU
============================================================ */
.main-nav .sub-menu {
  position: absolute;
  top: 100%; /* pas de gap — le pont ::before maintient le hover */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: .6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .3s var(--ease-out);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}

/* Petite flèche pointant vers le haut */
.main-nav .sub-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 8px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: drop-shadow(0 -1px 0 var(--border));
}

.main-nav li:hover > .sub-menu,
.main-nav li.js-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.main-nav .sub-menu li a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: all .2s;
}
.main-nav .sub-menu li a:hover {
  background: var(--cream);
  color: var(--strawberry);
  padding-left: 1.25rem;
}

/* ============================================================
   BARRE DE RECHERCHE DANS LE NAV (desktop)
============================================================ */
.nav-search-form {
  display: flex;
  align-items: center;
  margin-left: auto;
  height: 100%;
  padding: .85rem 0;
}
.nav-search-inner {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: .35rem .35rem .35rem 1rem;
  gap: .5rem;
  transition: all .25s;
  width: 200px;
}
.nav-search-inner:focus-within {
  border-color: var(--strawberry);
  background: #fff;
  width: 260px;
  box-shadow: 0 0 0 3px rgba(255,77,125,.12);
}
.nav-search-inner input {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .85rem;
  color: var(--text);
  outline: none;
  flex: 1;
  min-width: 0;
}
.nav-search-inner input::placeholder { color: var(--text-light); }
.nav-search-inner button {
  width: 30px; height: 30px;
  background: var(--strawberry);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  display: flex; align-items:center; justify-content:center;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
  font-size: .85rem;
}
.nav-search-inner button:hover { background: var(--choc); transform: scale(1.1); }

/* ============================================================
   MOBILE NAV
============================================================ */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--choc);
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-overlay.open { transform: translateX(0); }

.mobile-nav-overlay > ul {
  list-style: none;
  padding: 1rem 1.5rem 2rem;
  flex: 1;
  overflow-y: auto;
}
.mobile-nav-overlay > ul > li > a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255,255,255,.85);
  border-radius: var(--r-md);
  transition: all .2s;
}
.mobile-nav-overlay > ul > li > a:hover { background: rgba(255,255,255,.08); color: var(--vanilla); }
.mobile-nav-overlay .sub-menu {
  padding-left: 2rem;
  padding-bottom: .5rem;
  display: none;
}
.mobile-nav-overlay .sub-menu.open { display: block; }
.mobile-nav-overlay .sub-menu li a {
  display: block;
  padding: .55rem 1rem;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  border-radius: var(--r-sm);
  transition: all .2s;
}
.mobile-nav-overlay .sub-menu li a:hover { color: var(--vanilla); background: rgba(255,255,255,.06); }

/* ============================================================
   HERO
============================================================ */
.hero {
  background: var(--choc);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 7rem;
  min-height: 78vh;
  display: flex;
  align-items: center;
}

/* Fond texturé - motif de cercles façon paillettes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,77,125,.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(46,207,168,.15) 0%, transparent 40%),
    radial-gradient(circle at 60% 10%, rgba(91,75,255,.12) 0%, transparent 30%);
}

/* Saupoudrage de points */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
}

.hero-content { color: #fff; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.18);
  color: var(--vanilla);
  padding: .45rem 1rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -.025em;
}
.hero-title .word-color-1 { color: var(--strawberry-2); }
.hero-title .word-color-2 { color: var(--mint-2); }
.hero-title .word-color-3 { color: var(--vanilla); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-ctas { display:flex; gap:.85rem; flex-wrap:wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--vanilla);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .25rem;
}

/* Hero visual : cupcake of images */
.hero-visual {
  position: relative;
}

.hero-img-main {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
  border: 4px solid rgba(255,255,255,.08);
  position: relative;
  z-index: 2;
  aspect-ratio: 4/5;
  transition: transform .6s var(--ease-out);
}
.hero-img-main:hover { transform: rotate(-1deg) scale(1.02); }
.hero-img-main img { width:100%; height:100%; object-fit:cover; }

/* Sticker flottants */
.hero-sticker {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
  animation: sticker-float 5s ease-in-out infinite;
  z-index: 5;
}
.hero-sticker .sticker-emoji { font-size: 1.4rem; }
.hero-sticker--1 { top: 10%; right: -1.5rem; animation-delay: 0s; }
.hero-sticker--2 { bottom: 18%; left: -1.5rem; animation-delay: -2.5s; }

@keyframes sticker-float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(1deg); }
}

/* Wave */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; width: 100%;
  line-height: 0; pointer-events: none;
}
.hero-wave svg { display:block; width:100%; }

/* ============================================================
   SECTION MACHINES
============================================================ */
.machines-section { padding: 5rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--strawberry);
  margin-bottom: .75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 3px;
  background: var(--grad-strawberry);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem,3.5vw,2.75rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: .75rem;
}
.section-title--center { text-align:center; }
.section-subtitle { color:var(--text-light); font-size:1.05rem; max-width:560px; }
.section-subtitle--center { text-align:center; margin-inline:auto; }
.section-label--center { justify-content:center; }

/* En-têtes sections centrés */
.machines-section__head,
.tips-section__head { text-align:center; margin-bottom:2.5rem; }

/* CTA centré sous grille recettes */
.section-cta-center { text-align:center; margin-top:2.5rem; }

.machines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Machine Card */
.machine-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: transform .35s var(--ease-bounce), box-shadow .35s;
  group: true;
}
.machine-card:hover { transform: translateY(-8px) rotate(-0.5deg); box-shadow: var(--shadow-lg); }

.machine-card__body {
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 2;
}

.machine-card--creami   { background: linear-gradient(145deg,#FF4D7D,#FFB3CC); }
.machine-card--deluxe   { background: linear-gradient(145deg,#5B4BFF,#A89EFF); }
.machine-card--slushi   { background: linear-gradient(145deg,#2ECFA8,#A7F3E0); }
.machine-card--healthy  { background: linear-gradient(145deg,#FF8C42,#FFDAB0); }

.machine-card__icon { font-size:2.8rem; margin-bottom:1rem; filter:drop-shadow(0 4px 8px rgba(0,0,0,.15)); }
.machine-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: .4rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.machine-card__desc { font-size:.82rem; color:rgba(255,255,255,.85); line-height:1.5; margin-bottom:1rem; }
.machine-card__cta,
.machine-card__btn {
  display: inline-flex; align-items:center; gap:.4rem;
  background: rgba(255,255,255,.92);
  color: var(--choc); font-size:.82rem; font-weight:800;
  font-family:var(--font-display);
  padding:.55rem 1.2rem; border-radius:var(--r-full);
  margin-top:.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.machine-card:hover .machine-card__cta,
.machine-card:hover .machine-card__btn {
  background: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* Deco circles inside card */
.machine-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   RECIPE CARDS
============================================================ */
.recipes-section { padding: 5rem 0; }
.recipes-section--alt { background: var(--cream); }

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
}
.recipes-grid--3 { grid-template-columns: repeat(3,1fr); }

/* Card */
.recipe-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: transform .3s var(--ease-bounce), box-shadow .3s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.recipe-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}
.recipe-card__thumb img {
  width:100%; height:100%; object-fit:cover;
  transition: transform .45s var(--ease-out);
}
.recipe-card:hover .recipe-card__thumb img { transform: scale(1.07); }

/* Drip color bar at top of thumb */
.recipe-card__drip {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-strawberry);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.recipe-card:hover .recipe-card__drip { transform: scaleX(1); }

.recipe-card__badge { position:absolute; top:.75rem; left:.75rem; }
.recipe-card__fav {
  position: absolute; top:.65rem; right:.65rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.92);
  border-radius: var(--r-full);
  display:flex; align-items:center; justify-content:center;
  font-size:.95rem; cursor:pointer; border:none;
  transition: transform .3s var(--ease-bounce);
  box-shadow: var(--shadow-sm);
}
.recipe-card__fav:hover { transform: scale(1.3); }

.recipe-card__body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.recipe-card__title {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: auto;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  transition: color .2s;
}
.recipe-card__title a { color:inherit; }
.recipe-card:hover .recipe-card__title { color: var(--strawberry); }
.recipe-card__meta {
  display: flex;
  gap: .85rem;
  margin-top: .9rem;
  padding-top: .85rem;
  border-top: 1.5px solid var(--border);
}
.recipe-card__meta-item {
  display:flex; align-items:center; gap:.3rem;
  font-size:.75rem; color:var(--text-light); font-weight:500;
}

/* ============================================================
   FEATURED RECIPE BANNER
============================================================ */
.featured-section {
  padding: 5rem 0;
  background: var(--choc);
  position: relative;
  overflow: hidden;
}
.featured-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,77,125,.2) 0%,transparent 50%),
    radial-gradient(circle at 90% 30%, rgba(46,207,168,.15) 0%,transparent 40%);
  pointer-events: none;
}
.featured-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: center;
}
.featured-text { color:#fff; }
.featured-eyebrow {
  display:inline-flex; align-items:center; gap:.4rem;
  background: rgba(255,77,125,.25);
  border: 1.5px solid rgba(255,77,125,.4);
  color: var(--strawberry-2);
  padding:.4rem .9rem; border-radius:var(--r-full);
  font-family:var(--font-display); font-size:.73rem;
  font-weight:900; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom:1.25rem;
}
.featured-title {
  font-size: clamp(1.8rem,4vw,3.2rem);
  font-weight: 900; color:#fff;
  line-height:1.1; margin-bottom:1.25rem;
  letter-spacing:-.02em;
}
.featured-excerpt { font-size:1.05rem; color:rgba(255,255,255,.7); line-height:1.75; margin-bottom:2rem; }
.featured-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 6px rgba(255,77,125,.15);
  aspect-ratio: 4/5;
}
.featured-img-wrap img { width:100%; height:100%; object-fit:cover; }

/* ============================================================
   TIPS (Conseils)
============================================================ */
.tips-section { padding: 4.5rem 0; background: var(--cream); }
.tips-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
.tip-card {
  background:#fff;
  border-radius:var(--r-lg);
  padding:2rem;
  border:2px solid var(--border);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
  position:relative; overflow:hidden;
}
.tip-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.tip-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:5px;
  border-radius:5px 5px 0 0;
}
.tip-card:nth-child(1)::before { background:var(--grad-strawberry); }
.tip-card:nth-child(2)::before { background:var(--grad-mint); }
.tip-card:nth-child(3)::before { background:var(--grad-blueberry); }
.tip-icon { font-size:2.5rem; margin-bottom:1rem; }
.tip-title { font-size:1.1rem; font-weight:800; color:var(--text); margin-bottom:.6rem; }
.tip-text  { font-size:.88rem; color:var(--text-light); line-height:1.7; }

/* ============================================================
   NEWSLETTER
============================================================ */
.newsletter-section { padding:4rem 0; background:#fff; border-top:2px solid var(--border); }
.newsletter-inner  { display:flex; align-items:center; justify-content:space-between; gap:3rem; flex-wrap:wrap; }
.newsletter-text   { flex:1; }
.newsletter-title  { font-size:1.75rem; font-weight:900; color:var(--text); margin-bottom:.4rem; }
.newsletter-sub    { font-size:.9rem; color:var(--text-light); }
.newsletter-form   { flex:0 0 400px; display:flex; gap:.65rem; }
.newsletter-form input {
  flex:1; padding:.85rem 1.25rem; border-radius:var(--r-full);
  border:2px solid var(--border); font-family:var(--font-body);
  font-size:.9rem; color:var(--text); outline:none; transition:border-color .2s;
  background:var(--cream);
}
.newsletter-form input:focus { border-color:var(--strawberry); background:#fff; }
.newsletter-form input::placeholder { color:var(--text-light); }

/* ============================================================
   ============================================================
   CATEGORY SEARCH BAR — COMPOSANT CLÉ
   ============================================================
============================================================ */
.category-search-bar {
  background: #fff;
  border-radius: var(--r-xl);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  position: sticky;
  top: 125px; /* sous header brand + nav */
  z-index: 50;
  overflow: hidden;
  max-width: 100%;
}

.csb-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  min-width: 0;
}

.csb-field-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: var(--r-full);
  padding: .7rem 1.25rem;
  transition: all .25s;
}
.csb-field-wrap:focus-within {
  border-color: var(--strawberry);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,77,125,.1);
}
.csb-field-wrap svg { flex-shrink:0; opacity:.45; }
.csb-field-wrap input {
  border:none; background:transparent;
  font-family:var(--font-body); font-size:.95rem;
  color:var(--text); outline:none; flex:1;
}
.csb-field-wrap input::placeholder { color:var(--text-light); }

.csb-clear {
  display: none;
  background: var(--strawberry-pale);
  color: var(--strawberry);
  border: none; border-radius: var(--r-full);
  padding: .55rem 1.1rem;
  font-family: var(--font-display); font-size:.8rem; font-weight:800;
  cursor:pointer; transition:all .2s;
  white-space:nowrap;
}
.csb-clear:hover { background:var(--strawberry); color:#fff; }
.csb-clear.visible { display:block; }

/* Filtres par type */
.csb-filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px; /* évite que le box-shadow des chips soit coupé */
}
.csb-filters::-webkit-scrollbar { display: none; }
.csb-filter-label {
  font-size:.72rem; font-weight:900; font-family:var(--font-display);
  text-transform:uppercase; letter-spacing:.08em;
  color:var(--text-light); margin-right:.25rem;
}
.csb-chip, a.csb-chip {
  display:inline-flex; align-items:center; gap:.3rem;
  padding:.38rem .85rem; border-radius:var(--r-full);
  font-family:var(--font-display); font-size:.78rem; font-weight:800;
  border:2px solid var(--border); background:#fff;
  color:var(--text-mid); cursor:pointer; transition:all .2s;
  text-decoration:none;
}
.csb-chip:hover { border-color:var(--strawberry); color:var(--strawberry); }
.csb-chip.active {
  background:var(--strawberry);
  border-color:var(--strawberry);
  color:#fff;
  box-shadow:0 3px 12px rgba(255,77,125,.3);
}
.csb-chip[data-filter="sorbets"].active    { background:var(--mint);       border-color:var(--mint);      box-shadow:0 3px 12px rgba(46,207,168,.3); }
.csb-chip[data-filter="milkshakes"].active { background:var(--blueberry);  border-color:var(--blueberry); box-shadow:0 3px 12px rgba(91,75,255,.3); }
.csb-chip[data-filter="healthy"].active    { background:var(--caramel);    border-color:var(--caramel);   box-shadow:0 3px 12px rgba(255,140,66,.3); }

/* Stats résultats */
.csb-results-count {
  font-size:.8rem; font-family:var(--font-display); font-weight:700;
  color:var(--text-light);
  margin-left:auto;
  white-space:normal;
  word-break:break-word;
  flex-shrink:0;
}
.csb-results-count strong { color:var(--strawberry); }

/* État loading dans la grille */
.recipes-grid.is-loading .recipe-card {
  pointer-events:none;
}
.recipes-grid.is-loading .recipe-card::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(90deg,transparent 25%,rgba(255,255,255,.6) 50%,transparent 75%);
  background-size:200% 100%;
  animation:shimmer 1.2s infinite;
  border-radius:var(--r-lg);
}
@keyframes shimmer {
  0%   { background-position:200% 0; }
  100% { background-position:-200% 0; }
}

/* Message aucun résultat */
.csb-empty {
  text-align:center;
  padding:4rem 1rem;
  grid-column:1/-1;
  display:none;
}
.csb-empty.visible { display:block; }
.csb-empty-emoji { font-size:4rem; margin-bottom:1rem; }
.csb-empty-text  { font-size:1.2rem; font-weight:800; font-family:var(--font-display); color:var(--text); }
.csb-empty-sub   { font-size:.9rem; color:var(--text-light); margin-top:.5rem; }

/* ============================================================
   SINGLE POST
============================================================ */
.recipe-hero-bar {
  background: var(--choc);
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.recipe-hero-bar::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 50% 120%, rgba(255,77,125,.25),transparent 60%);
  pointer-events:none;
}
.recipe-hero-bar-inner { position:relative;z-index:2; max-width:760px; margin:0 auto; }
.recipe-hero-cats { display:flex; gap:.5rem; justify-content:center; margin-bottom:1.1rem; flex-wrap:wrap; }
.recipe-hero-title { font-size:clamp(1.8rem,5vw,3rem); font-weight:900; color:#fff; margin-bottom:1rem; }
.recipe-hero-meta  { display:flex; gap:2rem; justify-content:center; flex-wrap:wrap; }
.recipe-hero-meta-item { display:flex; align-items:center; gap:.45rem; font-size:.85rem; color:rgba(255,255,255,.65); font-weight:500; }
.recipe-hero-bar .wave { position:absolute; bottom:-1px; left:0; width:100%; line-height:0; }
.recipe-hero-bar .wave svg { display:block; }

.single-layout {
  display:grid;
  grid-template-columns:1fr 360px;
  gap:2.5rem;
  padding:2.5rem 0 5rem;
  align-items:start;
}

.recipe-content-card {
  background:#fff;
  border-radius:var(--r-xl);
  border:2px solid var(--border);
  box-shadow:var(--shadow-card);
  overflow:hidden;
}
.recipe-content-thumb { width:100%; aspect-ratio:16/9; object-fit:cover; }
.recipe-content-body { padding:2.5rem; }
.recipe-content-body h2 { font-size:1.35rem; margin:2rem 0 .85rem; color:var(--text); display:flex; align-items:center; gap:.6rem; }
.recipe-content-body h2::before { content:''; width:4px; height:1.3em; background:var(--grad-strawberry); border-radius:2px; flex-shrink:0; }
.recipe-content-body h3 { font-size:1.1rem; margin:1.5rem 0 .65rem; }
.recipe-content-body p { color:var(--text-mid); line-height:1.8; margin-bottom:1rem; }
.recipe-content-body ul { padding-left:1.5rem; margin-bottom:1rem; }
.recipe-content-body li { list-style:disc; color:var(--text-mid); line-height:1.7; margin-bottom:.35rem; }
.recipe-content-body ol li { list-style:decimal; }
.recipe-content-body a { color:var(--strawberry); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.recipe-content-body img { border-radius:var(--r-md); margin:1.5rem 0; }

/* Ingredients box */
.ingredients-card {
  background:linear-gradient(135deg,var(--cream) 0%,var(--cream-2) 100%);
  border:2px solid var(--border);
  border-radius:var(--r-lg);
  padding:1.75rem;
  margin:1.75rem 0;
}
.ingredients-card h3 { font-size:1.1rem; margin-bottom:1rem; display:flex; align-items:center; gap:.5rem; }
.ingredients-card ul { list-style:none; padding:0; }
.ingredients-card li {
  display:flex; align-items:baseline; gap:.65rem;
  padding:.55rem 0; border-bottom:1.5px solid rgba(255,77,125,.08);
  font-size:.9rem; color:var(--text);
}
.ingredients-card li::before { content:'●'; color:var(--strawberry); font-size:.45rem; margin-top:.4rem; flex-shrink:0; }
.ingredients-card li:last-child { border-bottom:none; }

/* Steps */
.recipe-steps { counter-reset:steps; }
.recipe-step {
  display:grid; grid-template-columns:44px 1fr; gap:1rem;
  margin-bottom:1.25rem; padding:1.25rem;
  background:var(--cream); border-radius:var(--r-md);
  border:1.5px solid var(--border); counter-increment:steps;
}
.recipe-step::before {
  content:counter(steps);
  width:44px; height:44px;
  background:var(--grad-strawberry);
  color:#fff; border-radius:var(--r-full);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:1.15rem; font-weight:900;
  box-shadow:0 4px 12px rgba(255,77,125,.3);
}

/* Recipe sidebar */
.recipe-sidebar { position:sticky; top:135px; }

.recipe-info-box {
  background:#fff;
  border-radius:var(--r-xl);
  border:2px solid var(--border);
  box-shadow:var(--shadow-card);
  overflow:hidden;
  margin-bottom:1.25rem;
}
.recipe-info-box__head {
  background:var(--choc);
  padding:1.25rem;
  text-align:center;
}
.recipe-info-box__head-title { font-size:1rem; font-weight:800; color:#fff; }
.recipe-info-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--border); }
.recipe-info-item { background:#fff; padding:1.1rem; text-align:center; }
.recipe-info-item__lbl { font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-light); font-weight:700; margin-bottom:.3rem; }
.recipe-info-item__val { font-family:var(--font-display); font-size:1.1rem; font-weight:900; color:var(--strawberry); }

/* ============================================================
   ARCHIVE HEADER
============================================================ */
.archive-bar {
  padding: 4rem 0 5rem;
  background: var(--choc);
  text-align:center;
  position:relative; overflow:hidden;
}
.archive-bar::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 50% 100%,rgba(255,77,125,.2),transparent 60%);
}
.archive-bar-inner { position:relative; z-index:2; }
.archive-bar-icon  { font-size:4rem; margin-bottom:.85rem; filter:drop-shadow(0 6px 16px rgba(0,0,0,.25)); }
.archive-bar-title { font-size:clamp(2rem,5vw,3.5rem); font-weight:900; color:#fff; margin-bottom:.75rem; }
.archive-bar-desc  { font-size:1.05rem; color:rgba(255,255,255,.7); max-width:560px; margin:0 auto; line-height:1.7; }
.archive-bar .wave { position:absolute; bottom:-1px; left:0; width:100%; line-height:0; }
.archive-bar .wave svg { display:block; }

/* ============================================================
   PAGINATION
============================================================ */
.pagination { display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; margin-top:3rem; }
.pagination .page-numbers {
  width:42px; height:42px;
  display:flex; align-items:center; justify-content:center;
  border-radius:var(--r-sm); border:2px solid var(--border);
  background:#fff; font-family:var(--font-display); font-weight:800;
  font-size:.88rem; color:var(--text-mid); transition:all .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background:var(--strawberry); border-color:var(--strawberry);
  color:#fff; box-shadow:0 4px 14px rgba(255,77,125,.3);
}
.pagination .dots { border:none; background:transparent; }

/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb { padding:.9rem 0; }
.breadcrumb ol { display:flex; gap:.4rem; flex-wrap:wrap; align-items:center; }
.breadcrumb li { display:flex; align-items:center; gap:.4rem; font-size:.78rem; color:var(--text-light); }
.breadcrumb li+li::before { content:'›'; opacity:.4; font-size:.9rem; }
.breadcrumb a { color:var(--text-light); font-weight:600; }
.breadcrumb a:hover { color:var(--strawberry); }
.breadcrumb li:last-child { color:var(--text); font-weight:700; }

/* ============================================================
   SIDEBAR WIDGETS
============================================================ */
.sidebar { position:sticky; top:135px; }
.widget { background:#fff; border-radius:var(--r-lg); border:2px solid var(--border); margin-bottom:1.25rem; overflow:hidden; }
.widget-head { padding:1.1rem 1.4rem; background:var(--cream); border-bottom:1.5px solid var(--border); }
.widget-head h3 { font-family:var(--font-display); font-size:.9rem; font-weight:900; color:var(--text); display:flex; align-items:center; gap:.45rem; }
.widget-body { padding:1.4rem; }
.widget-recent-posts li { display:flex; gap:.85rem; padding:.7rem 0; border-bottom:1.5px solid var(--border); }
.widget-recent-posts li:last-child { border-bottom:none; padding-bottom:0; }
.widget-rp-thumb { flex-shrink:0; width:60px; height:60px; border-radius:var(--r-sm); overflow:hidden; }
.widget-rp-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.widget-rp-thumb:hover img { transform:scale(1.1); }
.widget-rp-title a { font-family:var(--font-display); font-size:.85rem; font-weight:700; color:var(--text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.35; }
.widget-rp-title a:hover { color:var(--strawberry); }
.widget-cats ul li { padding:.55rem 0; border-bottom:1.5px solid var(--border); }
.widget-cats ul li:last-child { border-bottom:none; }
.widget-cats a { display:flex; justify-content:space-between; font-size:.88rem; font-weight:700; color:var(--text-mid); }
.widget-cats a:hover { color:var(--strawberry); }
.widget-cats .count { background:var(--cream); color:var(--text-light); padding:.12rem .55rem; border-radius:var(--r-full); font-size:.72rem; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background:var(--choc); color:rgba(255,255,255,.65); padding:5rem 0 2rem; position:relative; overflow:hidden; }
.site-footer::before { display: none; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; margin-bottom:3rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand-name-link { text-decoration:none; display:inline-block; margin-bottom:.25rem; }
.footer-brand-name { font-family:var(--font-display); font-size:1.15rem; font-weight:900; color:#fff; letter-spacing:-.01em; }
.footer-brand-desc { font-size:.88rem; color:rgba(255,255,255,.5); line-height:1.7; max-width:280px; margin:.85rem 0 1.25rem; }
.social-links { display:flex; gap:.6rem; }
.social-link { width:36px; height:36px; border-radius:var(--r-sm); background:rgba(255,255,255,.07); border:1.5px solid rgba(255,255,255,.1); color:rgba(255,255,255,.55); display:flex; align-items:center; justify-content:center; font-size:.9rem; transition:all .2s; }
.social-link:hover { background:var(--strawberry); border-color:var(--strawberry); color:#fff; transform:translateY(-2px); }
.footer-col-title { font-family:var(--font-display); font-size:.78rem; font-weight:900; color:#fff; text-transform:uppercase; letter-spacing:.1em; margin-bottom:1.1rem; }
.footer-links { display:flex; flex-direction:column; gap:.45rem; }
.footer-links a { font-size:.88rem; color:rgba(255,255,255,.48); transition:all .2s; display:flex; align-items:center; gap:.3rem; }
.footer-links a::before { content:'→'; font-size:.7rem; opacity:0; transform:translateX(-5px); transition:all .2s; }
.footer-links a:hover { color:rgba(255,255,255,.85); gap:.55rem; }
.footer-links a:hover::before { opacity:1; transform:translateX(0); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.75rem; }
.footer-copy { font-size:.75rem; color:rgba(255,255,255,.3); }
.footer-copy a { color:rgba(255,255,255,.45); font-weight:600; }
.footer-copy a:hover { color:rgba(255,255,255,.75); }
.footer-legal { display:flex; gap:1.25rem; }
.footer-legal a { font-size:.75rem; color:rgba(255,255,255,.3); }
.footer-legal a:hover { color:rgba(255,255,255,.6); }

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position:fixed; bottom:2rem; right:2rem;
  width:46px; height:46px;
  background:var(--grad-strawberry);
  color:#fff; border-radius:var(--r-full);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; border:none; font-size:1.15rem;
  box-shadow:0 4px 20px rgba(255,77,125,.4);
  opacity:0; visibility:hidden; transform:translateY(20px);
  transition:all .3s var(--ease-bounce); z-index:400;
}
.back-to-top.show { opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover { transform:translateY(-4px); box-shadow:0 8px 28px rgba(255,77,125,.5); }

/* ============================================================
   SEARCH OVERLAY
============================================================ */
.search-overlay {
  position:fixed; inset:0;
  background:rgba(58,35,20,.96);
  backdrop-filter:blur(16px);
  z-index:1200;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:all .25s;
}
.search-overlay.open { opacity:1; visibility:visible; }
.search-overlay-box { width:100%; max-width:680px; padding:2rem; }
.search-overlay-box label { display:block; font-family:var(--font-display); font-size:.75rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.5); text-align:center; margin-bottom:1.5rem; }
.search-overlay form { display:flex; gap:.75rem; }
.search-overlay input {
  flex:1; background:rgba(255,255,255,.1); border:2px solid rgba(255,255,255,.2);
  color:#fff; padding:1.1rem 1.5rem; border-radius:var(--r-full);
  font-size:1.2rem; outline:none; transition:all .2s;
}
.search-overlay input:focus { border-color:var(--strawberry); background:rgba(255,77,125,.1); }
.search-overlay input::placeholder { color:rgba(255,255,255,.35); }
.search-overlay-close {
  position:absolute; top:1.75rem; right:1.75rem;
  background:rgba(255,255,255,.08); border:1.5px solid rgba(255,255,255,.15);
  color:#fff; width:42px; height:42px; border-radius:var(--r-full);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  font-size:1.1rem; transition:all .2s;
}
.search-overlay-close:hover { background:rgba(255,255,255,.16); }

/* ============================================================
   404 & SEARCH RESULTS
============================================================ */
.page-404-wrap { min-height:65vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:4rem 1.5rem; }
.page-404-num { font-size:9rem; font-weight:900; font-family:var(--font-display); background:var(--grad-strawberry); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; line-height:1; margin-bottom:1rem; }

/* ============================================================
   ACCESSIBILITÉ & FOCUS
============================================================ */
:focus-visible { outline:3px solid var(--strawberry); outline-offset:3px; border-radius:3px; }
::-webkit-scrollbar { width:7px; }
::-webkit-scrollbar-track { background:var(--cream); }
::-webkit-scrollbar-thumb { background:var(--strawberry-2); border-radius:var(--r-full); }

/* ============================================================
   ANIMATIONS — désactivées pour les performances
============================================================ */
/* anim-up et anim-d* supprimés */

/* ============================================================
   RESPONSIVE — COMPLET
============================================================ */

/* ── 1200px ─────────────────────────────────────────────── */
/* ============================================================
   RESPONSIVE — bloc unique canonique
   Ordre : 1200 → 1024 → 768 → 480 → 360
============================================================ */

/* ── 1200px ────────────────────────────────────────────────── */
@media (max-width:1200px) {
  .machines-grid { grid-template-columns:repeat(2,1fr); }
  .recipes-grid  { grid-template-columns:repeat(3,1fr); }
  .footer-grid   { grid-template-columns:2fr 1fr 1fr; }
}

/* ── 1024px : bascule mobile ─────────────────────────────── */
@media (max-width:1024px) {
  /* Barres desktop cachées, burger affiché */
  .nav-bar             { display:none; }
  /* TRP : géré nativement via Apparence → Menus */
  .mobile-toggle       { display:flex; }

  /* Layouts */
  .hero-inner          { grid-template-columns:1fr; text-align:center; }
  .hero-visual         { display:none; }
  .hero-ctas,
  .hero-stats          { justify-content:center; }
  .hero-desc           { margin-inline:auto; }
  .featured-inner      { grid-template-columns:1fr; gap:2rem; }
  .featured-img-wrap   { max-width:480px; margin:0 auto; }
  .single-layout       { grid-template-columns:1fr; }
  .recipe-sidebar,
  .sidebar             { position:static; top:auto; }

  /* Recherche */
  .category-search-bar { position:static; top:auto; }
  .csb-top             { flex-wrap:wrap; gap:.75rem; }

  /* Partage */
  .recipe-hero-actions { flex-direction:row; flex-wrap:wrap; justify-content:center; }
  .share-btns          { flex-wrap:wrap; justify-content:center; }

  /* About */
  .about-mission-block { flex-direction:column; gap:1.5rem; }
  .about-mission-icon  { font-size:3rem; }
  .about-hero__stats   { flex-wrap:wrap; gap:1.5rem; }
}

/* ── 768px ────────────────────────────────────────────────── */
@media (max-width:768px) {
  /* Container */
  .container,
  .container--narrow   { padding-inline:1.25rem; }

  /* Grilles */
  .recipes-grid,
  .recipes-grid--3,
  .recipes-grid--4     { grid-template-columns:repeat(2,1fr); }

  /* related-grid → carousel scroll horizontal sur mobile */
  .related-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .5rem;
    /* Déborde légèrement du container pour l'effet peek */
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
  }
  .related-grid::-webkit-scrollbar { display: none; }
  .related-grid .recipe-card {
    flex: 0 0 72vw;
    max-width: 280px;
    scroll-snap-align: start;
  }
  /* Indicateur visuel : fade sur le bord droit */
  .related-recipes {
    position: relative;
    overflow: hidden;
  }
  .related-recipes::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 3rem; height: 100%;
    background: linear-gradient(to right, transparent, var(--bg));
    pointer-events: none;
    z-index: 2;
  }
  .machines-grid       { grid-template-columns:repeat(2,1fr); }
  .tips-grid           { grid-template-columns:1fr; }
  /* team responsive → voir bloc dédié après .team-card__bio */

  /* related + post-nav → masqués dans le bloc après la base CSS */

  /* Header */
  .header-brand-inner  { height:auto; min-height:56px; padding-block:.6rem; }
  .logo-text-sub       { display:none; }

  /* Newsletter */
  .newsletter-inner    { flex-direction:column; gap:1.5rem; text-align:center; }
  .newsletter-form     { flex:none; width:100%; flex-direction:column; max-width:420px; margin:0 auto; }

  /* Footer */
  .footer-grid         { grid-template-columns:1fr 1fr; }
  .footer-brand        { grid-column:1/-1; }

  /* Barres titre */
  .archive-bar         { padding:2.5rem 0 4.5rem; }
  .archive-bar-icon    { font-size:2.8rem; }
  .archive-bar-title   { font-size:clamp(1.4rem,6vw,2.2rem); word-break:break-word; }
  .archive-bar-desc    { font-size:.9rem; }
  .page-title-bar      { padding:2rem 0 3.5rem; }
  .page-title-bar__h1  { font-size:clamp(1.35rem,5vw,2rem); word-break:break-word; }

  /* Recipe hero */
  .recipe-hero-bar     { padding:2.5rem 0 4.5rem; }
  .recipe-hero-title   { font-size:clamp(1.3rem,5vw,1.75rem); word-break:break-word; }
  .recipe-hero-meta    { gap:.75rem; }

  /* Hero home */
  .hero                { padding:3.5rem 0 5rem; min-height:auto; }
  .hero-title          { font-size:clamp(1.8rem,7vw,2.8rem); word-break:break-word; }
  .hero-stats          { gap:1.5rem; }
  .hero-ctas, .hero-ctas--center { flex-direction:column; align-items:center; gap:.75rem; }
  .hero-ctas .btn, .hero-ctas--center .btn { width:100%; max-width:320px; justify-content:center; }
  .hero--centered .hero-stats--center { gap:1.5rem; margin-top:2rem; padding-top:1.5rem; flex-wrap:wrap; justify-content:center; }

  /* Section header row → empile titre + bouton sur mobile */
  .section-header-row  { flex-direction:column; align-items:flex-start; gap:.75rem; }
  .section-header-row > a { align-self:flex-start; }

  /* Filtres */
  .category-search-bar { padding:1rem 1.25rem; border-radius:var(--r-lg); margin-bottom:1.5rem; }
  .csb-filters         { flex-wrap:nowrap; overflow-x:auto; gap:.4rem; }
  .csb-chip            { font-size:.72rem; padding:.3rem .65rem; flex-shrink:0; }
  .csb-filter-label    { display:none; }

  /* About */
  .about-team-grid     { grid-template-columns:1fr; max-width:380px; }

  /* Favoris */
  .fav-header-inner    { flex-direction:column; align-items:flex-start; gap:.75rem; }

  /* Mobile nav accordéon */
  .mobile-nav-overlay .menu-item-has-children { flex-wrap:wrap; }

  /* Single / commentaires */
  .recipe-content-body { padding:1.5rem 1.25rem; }
  .single-full         { padding-inline:1rem; }
  .nic-comments        { padding:1.5rem; }
  .nic-form-row        { grid-template-columns:1fr; }
  .recipe-post-nav     { flex-direction:column; gap:.6rem; padding:1rem; }
  .recipe-post-nav__item { max-width:100%; width:100%; }
  .recipe-post-nav__item--next { margin-left:0; text-align:left; flex-direction:row; }

  /* Cat SEO */
  .cat-seo-block       { padding:2.5rem 0 2rem; }

  /* Load more */
  .load-more-wrap      { padding:1.5rem 0 .5rem; }

  /* Announcement bar */
  .announcement-bar    { font-size:.75rem; padding:.5rem .75rem; }
}

/* ── 480px ────────────────────────────────────────────────── */
@media (max-width:480px) {
  .container,
  .container--narrow   { padding-inline:1rem; }

  /* Grilles */
  .recipes-grid,
  .recipes-grid--3,
  .recipes-grid--4     { grid-template-columns:1fr; }
  .related-grid .recipe-card { flex: 0 0 80vw; }

  /* related + post-nav → masqués dans le bloc après la base CSS */
  .footer-grid         { grid-template-columns:1fr; }
  .machines-grid       { grid-template-columns:1fr; }

  .footer-bottom       { flex-direction:column; text-align:center; gap:.5rem; }
  .hero-title          { font-size:1.65rem; }
  .hero                { padding:2.5rem 0 4rem; }
  .hero-ctas .btn, .hero-ctas--center .btn { max-width:none; }

  /* Search bar — colonne sur très petit écran */
  .category-search-bar { padding:.9rem 1rem; }
  .csb-top             { flex-direction:column; align-items:stretch; gap:.6rem; }
  .csb-field-wrap      { width:100%; }
  .csb-clear           { width:100%; text-align:center; }
  .csb-results-count   { text-align:center; margin-left:0; }

  /* Breadcrumb */
  .breadcrumb          { font-size:.72rem; flex-wrap:wrap; }

  /* Recipe hero méta */
  .recipe-hero-meta    { flex-direction:column; gap:.4rem; align-items:center; }

  /* Share */
  .share-btns          { flex-direction:column; align-items:stretch; width:100%; }
  .share-btn           { justify-content:center; }

  /* About */
  .about-hero__stats   { flex-direction:column; align-items:center; gap:1rem; }
  .about-hero__stat strong { font-size:1.5rem; }
  .about-mission-block { flex-direction:column; gap:1.5rem; }
  .about-mission-icon  { font-size:2.75rem; }
  .about-social-btn    { min-width:0; width:100%; max-width:320px; }
  .about-social-btns   { flex-direction:column; align-items:center; }

  /* Page générique */
  .recipe-content-card { padding:1.25rem 1rem; }
}

/* ── 360px : très petits écrans ─────────────────────────── */
@media (max-width:360px) {
  .header-action-btn   { width:32px; height:32px; font-size:.8rem; }
  .mobile-toggle       { padding:6px; }
  .recipe-hero-title   { font-size:1.2rem; }
  .hero-title          { font-size:1.45rem; }
}

/* ── Sécurité overflow global ────────────────────────────── */
img, video, iframe, svg { max-width:100%; height:auto; }
table { max-width:100%; overflow-x:auto; display:block; }

/* ============================================================
   FAVORIS — badge header + bouton ghost
============================================================ */
.header-fav-btn { position:relative; }
.fav-count-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  background: var(--strawberry);
  color: #fff;
  font-size: .65rem; font-weight: 900;
  border-radius: var(--r-full);
  display: flex; align-items:center; justify-content:center;
  padding: 0 4px;
  pointer-events: none;
  border: 2px solid #fff;
}
.btn--ghost-light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.28); }

/* featured-ctas */
.featured-ctas { display:flex; gap:.85rem; flex-wrap:wrap; margin-top:2rem; }

/* ============================================================
   SINGLE — Layout pleine largeur (sans sidebar)
============================================================ */
.single-full {
  max-width: 860px;
  margin-inline: auto;
  padding-top: 1.5rem;
  padding-bottom: 5rem;
}

/* Supprime le layout grille 2 colonnes sur single */
.single-layout { display: block; }

/* Bouton favori dans le hero — réglé dans le bloc PARTAGE ci-dessous */

.recipe-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  position: static;      /* annule position:absolute de .recipe-card__fav */
  width: auto;           /* annule width:32px */
  height: auto;          /* annule height:32px */
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  padding: .65rem 1.5rem;
  border-radius: var(--r-full);
  cursor: pointer;
  box-shadow: none;
  transition: background .2s, border-color .2s, transform .25s var(--ease-bounce);
  -webkit-appearance: none;
  appearance: none;
}
.recipe-fav-btn:hover { background: rgba(255,255,255,.28); transform: scale(1.04); }
.recipe-fav-btn.is-fav {
  background: var(--strawberry);
  border-color: var(--strawberry);
  color: #fff;
}
.recipe-fav-btn.is-fav:hover { background: #e63668; border-color: #e63668; }
.fav-btn-icon { font-size: 1.1rem; line-height: 1; }
.fav-btn-label { letter-spacing: .01em; }

/* Image miniature sur la fiche article */
.recipe-thumb-wrap { overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.recipe-content-thumb { width: 100%; max-height: 480px; object-fit: cover; display: block; }

/* Tags */
.recipe-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1.25rem 2.5rem;
  border-top: 2px solid var(--border);
}
.recipe-tags-label {
  font-size: .72rem; font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* Navigation prev / next */
.recipe-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-top: 2px solid var(--border);
  flex-wrap: wrap;
}
.recipe-post-nav__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 700;
  font-size: .85rem;
  max-width: 46%;
  line-height: 1.4;
  transition: color .2s;
  min-width: 0;
}
.recipe-post-nav__item:hover { color: var(--strawberry); }
.recipe-post-nav__item--next { margin-left: auto; text-align: right; flex-direction: row-reverse; }
.recipe-post-nav__arrow { font-size: 1.1rem; flex-shrink: 0; }

/* Recettes similaires */
.related-recipes { margin-top: 3.5rem; padding-bottom: 1rem; }
.related-recipes__title {
  font-size: clamp(1.2rem,4vw,1.5rem); font-weight: 900;
  margin-bottom: 1.5rem;
}
.recipes-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Grille related-grid — 4 col desktop, carousel mobile ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Masquer sur mobile/tablette — déclaré après la base pour éviter la cascade */
@media (max-width: 768px) {
  .related-recipes { display: none; }
  .recipe-post-nav { display: none; }
}

/* ============================================================
   COMMENTAIRES — Design Glacier
============================================================ */
.comments-section { margin-top: 3rem; }

.nic-comments {
  background: #fff;
  border-radius: var(--r-xl);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 2.5rem;
}

.nic-comments__head { margin-bottom: 2.5rem; }
.nic-comments__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nic-comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem; height: 2rem;
  background: var(--grad-strawberry);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 1rem;
  padding: 0 .5rem;
}
.nic-comments__sub { color: var(--text-light); margin-top: .4rem; font-size: .9rem; }

/* Liste commentaires */
.nic-comments__list { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.nic-comment { }
.nic-comment .children { list-style: none; padding: 0; margin: 1.25rem 0 0 3.5rem; display: flex; flex-direction: column; gap: 1rem; }

.nic-comment__wrap {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.nic-comment__avatar-img {
  width: 48px; height: 48px;
  border-radius: var(--r-full);
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.nic-comment__body {
  flex: 1;
  background: var(--cream);
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  padding: 1.1rem 1.25rem;
  border: 1.5px solid var(--border);
}
.nic-comment__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}
.nic-comment__author {
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.nic-comment__badge {
  font-size: .65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--grad-strawberry);
  color: #fff;
  padding: .15rem .55rem;
  border-radius: var(--r-full);
}
.nic-comment__date {
  font-size: .75rem;
  color: var(--text-light);
  margin-left: auto;
}
.nic-comment__text p { color: var(--text-mid); line-height: 1.7; font-size: .9rem; margin: 0; }
.nic-comment__pending { font-size: .82rem; color: var(--caramel); font-style: italic; margin-bottom: .5rem; }
.nic-comment__footer { margin-top: .65rem; }
.nic-comment__reply {
  font-size: .78rem;
  font-weight: 700;
  color: var(--strawberry);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-display);
}
.nic-comment__reply:hover { text-decoration: underline; }

.nic-comments__closed { color: var(--text-light); font-style: italic; font-size: .9rem; }

/* Formulaire */
.comment-respond { margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--border); }
.comment-respond .comment-reply-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text);
  display: flex; align-items: center; gap: .5rem;
}
.comment-respond .comment-reply-title::before { content: '✍️'; }
.comment-respond .comment-reply-title small { font-size: .75rem; font-weight: 600; margin-left: .5rem; }
.comment-respond .comment-reply-title small a { color: var(--strawberry); text-decoration: none; }

.nic-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.nic-form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.nic-form-field--full { grid-column: 1/-1; }
.nic-form-field label {
  font-size: .78rem; font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase; letter-spacing: .06em;
}
.nic-form-field input,
.nic-form-field textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.comment-respond input[type="text"],
.comment-respond input[type="email"] {
  margin-bottom: 1rem;
}
.comment-respond textarea { margin-bottom: 1rem; min-height: 130px; resize: vertical; }
.nic-form-field input:focus,
.nic-form-field textarea:focus,
.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--strawberry);
  box-shadow: 0 0 0 4px rgba(255,77,125,.12);
  background: #fff;
}
.nic-form-cookies { font-size: .8rem; color: var(--text-light); margin: .5rem 0 1.25rem; }
.nic-form-cookies label { display: flex; align-items: flex-start; gap: .5rem; cursor: pointer; }
.form-submit { margin-top: .5rem; }
.form-submit .btn--strawberry, .form-submit input[type="submit"] {
  background: var(--grad-strawberry);
  color: #fff;
  border: none;
  padding: .75rem 2rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(255,77,125,.3);
}
.form-submit input[type="submit"]:hover { opacity: .9; transform: scale(1.02); }

/* ============================================================
   MASQUER "Meet Tasty" + publicités plugin recette
============================================================ */
.tasty-recipes-plug,
.tasty-recipes-entry-footer,
.wprm-recipe-block-container-columns .wprm-recipe-rating,
.tasty-recipes-rating-stars ~ p,
[class*="tasty-recipes-plug"],
[class*="tasty-plug"],
.meet-tasty,
.tasty-recipes-footer-text { display: none !important; }

/* ============================================================
   RESPONSIVE SINGLE
============================================================ */



/* ============================================================
   PAGE MES FAVORIS
============================================================ */
.favs-page-container { padding: 2rem 0 5rem; min-height: 40vh; }

.favs-state {
  text-align: center;
  padding: 5rem 1rem;
}
.favs-state__icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1;
}
.favs-state__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: .85rem;
}
.favs-state__text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
}
.favs-state__sub {
  color: var(--text-light);
  max-width: 420px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

/* ============================================================
   MOBILE NAV — header + backdrop + bouton toggle amélioré
============================================================ */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1.5px solid rgba(255,255,255,.1);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background: var(--choc);
  z-index: 2;
}
.mobile-nav-logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 900; color: #fff;
}
.mobile-nav-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1); border: none;
  border-radius: var(--r-full); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,.2); }

.mobile-nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1099;
  backdrop-filter: blur(2px);
}
.mobile-nav-backdrop.open { display: block; }

/* Ligne parent = flex pour aligner lien + bouton accordion (.mobile-sub-btn créé par JS) */
.mobile-nav-overlay .menu-item-has-children {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.mobile-nav-overlay .menu-item-has-children > a {
  flex: 1;
}
.mobile-nav-overlay .menu-item-has-children > .sub-menu {
  width: 100%;
  flex-basis: 100%;
}

/* Sélecteur de langue mobile */
.mobile-lang-switcher {
  display: flex;
  gap: .5rem;
  padding: 1.25rem 1.5rem;
  border-top: 1.5px solid rgba(255,255,255,.08);
  margin-top: .5rem;
}
.mobile-lang-item {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem;
  background: rgba(255,255,255,.07);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 700;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: all .2s;
}
.mobile-lang-item.active,
.mobile-lang-item:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* ============================================================
   BOUTON VOIR PLUS (load-more)
============================================================ */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 2.5rem 0 1rem;
}
.btn--load-more {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 2.5rem;
  background: var(--white);
  border: 2.5px solid var(--border);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 800;
  color: var(--text);
  cursor: pointer;
  transition: all .25s var(--ease-bounce);
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.btn--load-more:hover {
  border-color: var(--strawberry);
  color: var(--strawberry);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,77,125,.2);
}
.btn--load-more.loading {
  pointer-events: none;
  opacity: .7;
}
.load-more-spin {
  display: none;
  width: 16px; height: 16px;
  border: 2.5px solid rgba(255,77,125,.25);
  border-top-color: var(--strawberry);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn--load-more.loading .load-more-spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   BLOC TEXTE SEO CATÉGORIE (pied de page, au-dessus newsletter)
============================================================ */
.cat-seo-block {
  background: var(--cream);
  border-top: 1.5px solid var(--border);
  padding: 4rem 0 3.5rem;
}
.cat-seo-inner {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.cat-seo-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: var(--text);
  margin: 2rem 0 .75rem;
}
.cat-seo-inner h2:first-child { margin-top: 0; }
.cat-seo-inner h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
  color: var(--text); margin: 1.5rem 0 .5rem;
}
.cat-seo-inner p { margin-bottom: 1rem; }
.cat-seo-inner ul, .cat-seo-inner ol {
  padding-left: 1.4rem; margin-bottom: 1rem;
}
.cat-seo-inner li { margin-bottom: .4rem; }
.cat-seo-inner strong { color: var(--text); font-weight: 800; }
.cat-seo-inner a { color: var(--strawberry); font-weight: 700; }
.cat-seo-inner a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE COMPLÉMENTS
============================================================ */



/* ============================================================
   HERO — VARIANTE CENTRÉE (front-page)
   .hero--centered : supprime la grille 2 colonnes, tout est centré
============================================================ */
.hero--centered .hero-inner,
.hero--centered .hero-center-wrap {
  display:  block;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero--centered .hero-kicker {
  display: inline-flex;
}
.hero--centered .hero-desc {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero--centered .hero-ctas--center {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero--centered .hero-stats--center {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  justify-content: center;
}

/* ============================================================
   TRANSLATEPRESS — intégration native thème
   Objectif : le switcher ressemble aux .header-action-btn existants.
   Structure TRP rendue :
     .trp-language-switcher-shortcode-container
       ul
         li.trp-ls-shortcode-current-language   ← langue active
           a.trp-ls-shortcode-language
             img.trp-flag-image
             span (nom langue)
         li.trp-ls-shortcode-dropdown           ← li masqué par défaut
           a.trp-ls-shortcode-language
             img.trp-flag-image
             span (nom langue)
============================================================ */

/* ── Language switcher TRP dans le menu WP ─────────────────
   TRP ajoute ses items via Apparence → Menus
   Styling minimal pour les drapeaux dans la nav                */
.main-nav .trp-flag-image,
.mobile-nav-overlay .trp-flag-image {
  width: 20px; height: 20px;
  border-radius: 3px;
  object-fit: cover;
  vertical-align: middle;
}
/* Masquer le texte si TRP est configuré en "drapeau + texte" */
.main-nav .trp-ls-shortcode-current-language > a > span:not(.trp-flag-image),
.main-nav .trp-ls-shortcode-dropdown > li > a > span:not(.trp-flag-image) {
  display: none;
}


/* ============================================================
   MENU DESKTOP — sous-menus au survol (pure CSS + hover bridge)
   Suppression du bouton toggle dans le DOM.
   Le gap est réduit à 0 + un pseudo-élément pont comble l'espace
   entre l'item et le sous-menu pour éviter le "flicker".
============================================================ */
.main-nav .sub-menu {
  /* Remonte le sous-menu pour coller au nav-bar */
  top: 100%;
  /* Pont invisible : padding-top crée la zone de survol continue */
  padding-top: 6px;
}
/* Pont invisible entre nav-item et sous-menu */
.main-nav > ul > li::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 99;
  /* transparent — juste pour maintenir le hover */
}
/* Assure que le hover sur le pont maintient le sous-menu ouvert */
.main-nav > ul > li:hover > .sub-menu,
.main-nav > ul > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   BOUTON ACCORDION MOBILE (créé par JS, classe .mobile-sub-btn)
============================================================ */
.mobile-sub-btn {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.55);
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  margin-left: .4rem;
}
.mobile-sub-btn:hover,
.mobile-sub-btn.active {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.mobile-sub-btn.active svg {
  transform: rotate(180deg);
}
.mobile-sub-btn svg {
  transition: transform .25s;
}

/* ============================================================
   ÉQUIPE — "Nos apprentis glaciers"
============================================================ */
.team-section {
  background: var(--cream);
  padding: 6rem 0;
}
.team-section__head {
  margin-bottom: 3.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}
.team-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 2px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.team-card__avatar {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--strawberry);
  background: var(--cream);
}
.team-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: .2rem;
}
.team-card__role {
  font-size: .8rem;
  font-weight: 800;
  color: var(--strawberry);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .75rem;
}
.team-card__bio {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── Équipe responsive — déclaré ICI après les règles de base
   pour ne pas être écrasé par la cascade ─────────────────── */
@media (max-width: 768px) {
  .team-section      { padding: 3.5rem 0; }
  .team-section__head { margin-bottom: 2rem; }
  .team-grid         { grid-template-columns: 1fr; gap: 1.25rem; }
  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
  }
  .team-card__avatar { width: 72px; height: 72px; }
  .team-card__body   { width: 100%; }
  .team-card__bio    { font-size: .85rem; }

}


/* ============================================================
   FEATURED SECTION — "recette du mois"
   Correction : hero-wave interfère pas, eyebrow visible
============================================================ */
.featured-section {
  background: var(--choc);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.featured-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(255,77,125,.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(46,207,168,.12) 0%, transparent 40%);
  pointer-events: none;
}
.featured-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.featured-text { color: #fff; }
.featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.18);
  color: var(--vanilla);
  padding: .4rem 1rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.featured-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.featured-excerpt {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.featured-ctas {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}
.featured-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  border: 3px solid rgba(255,255,255,.08);
  aspect-ratio: 4/3;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive featured — après la base pour gagner la cascade */
@media (max-width: 768px) {
  .featured-inner    { grid-template-columns: 1fr; gap: 2rem; }
  .featured-img-wrap { max-width: 420px; margin: 0 auto; aspect-ratio: 16/9; }
}
@media (max-width: 480px) {
  .featured-img-wrap { max-width: 100%; aspect-ratio: 16/9; }
}

/* ============================================================
   PARTAGE RÉSEAUX SOCIAUX (single.php)
============================================================ */
.recipe-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  width: 100%;
}
.share-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}
.share-btns__label {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem 1rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s;
  line-height: 1;
}
.share-btn--fb {
  background: rgba(24,119,242,.15);
  border-color: rgba(24,119,242,.35);
  color: #60a5fa;
}
.share-btn--fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}
.share-btn--insta {
  background: rgba(225,48,108,.15);
  border-color: rgba(225,48,108,.35);
  color: #f472b6;
}
.share-btn--insta:hover {
  background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  border-color: transparent;
  color: #fff;
}
.share-btn--copy {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
}
.share-btn--copy:hover,
.share-btn--copy.copied {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.share-btn--copy.copied {
  border-color: var(--mint);
  color: var(--mint-2);
}

/* ============================================================
   PAGE À PROPOS — v2 (design propre)
============================================================ */

/* Hero */
.about-hero {
  background: var(--choc);
  padding: 5rem 0 7rem;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 60%, rgba(255,77,125,.14) 0%, transparent 50%),
    radial-gradient(circle at 85% 25%, rgba(46,207,168,.11) 0%, transparent 45%);
  pointer-events: none;
}
.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.025em;
  margin: .5rem 0 1.25rem;
  line-height: 1.1;
}
.about-hero__lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.about-hero__stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.about-hero__stat {
  text-align: center;
}
.about-hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--vanilla);
  line-height: 1;
}
.about-hero__stat span {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .3rem;
  display: block;
}


/* Mission */
.about-mission-block {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
}
.about-mission-icon {
  font-size: 4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: .25rem;
}
.about-h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
  margin: .4rem 0 1rem;
}
.about-p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: .9rem;
}
.about-p strong { color: var(--text); }


/* Équipe */
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 780px;
  margin: 0 auto;
}
.about-team-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform .25s var(--ease-bounce), box-shadow .25s;
}
.about-team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.about-team-img-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--strawberry);
  background: var(--cream);
}
.about-team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-team-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: .3rem;
}
.about-team-role {
  font-size: .8rem;
  font-weight: 800;
  color: var(--strawberry);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}
.about-team-bio {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.75;
}


/* Boutons sociaux — corrigés */
.about-social-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.about-social-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2rem;
  border-radius: var(--r-xl);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s var(--ease-bounce), box-shadow .25s, background .2s;
  min-width: 240px;
}
.about-social-btn div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
}
.about-social-btn strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  display: block;
}
.about-social-btn em {
  font-style: normal;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}
.about-social-btn svg { flex-shrink: 0; }

.about-social-btn--insta {
  background: rgba(225,48,108,.18);
  border-color: rgba(225,48,108,.3);
}
.about-social-btn--insta svg { color: #f472b6; }
.about-social-btn--insta:hover {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(220,39,67,.35);
}
.about-social-btn--fb {
  background: rgba(24,119,242,.16);
  border-color: rgba(24,119,242,.3);
}
.about-social-btn--fb svg { color: #60a5fa; }
.about-social-btn--fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(24,119,242,.35);
}


/* ── Page title bar (page.php, templates basiques) ────────── */
.page-title-bar {
  background: var(--choc);
  padding: 3.5rem 0 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-title-bar__h1 {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin: 0;
}


/* ── Corrections overflow mobile ─────────────────────────── */