/*
Theme Name: Croustille
Theme URI: https://airfryer-recettes.fr
Author: JM Digital / Rankcraft
Description: Thème WordPress moderne et coloré dédié aux recettes et au matériel airfryer. Templates produits orientés affiliation avec schema.org Product pour Google. Sans WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: croustille
Tags: food, recipes, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Couleurs */
  --flame:   #FF5722;   /* orange vif — principal */
  --flame-dk:#E8420F;
  --zest:    #FFC400;   /* jaune zest */
  --berry:   #FF2D78;   /* rose framboise — accent jeune */
  --mint:    #00D9A3;   /* menthe fraîche */
  --grape:   #7C4DFF;   /* violet — accent ponctuel */
  --ink:     #15110E;   /* noir chaud */
  --ink-2:   #2B2420;
  --paper:   #FFFCF7;   /* fond chaud */
  --paper-2: #FFF4E6;
  --ash:     #6B6259;
  --line:    #15110E;   /* bordures néo-brutalistes : noires */
  --white:   #FFFFFF;

  /* Type */
  --font-display: 'Clash Display', 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Échelle */
  --fs-hero: clamp(3rem, 8vw, 7rem);
  --fs-h1: clamp(2.4rem, 5vw, 4rem);
  --fs-h2: clamp(1.9rem, 3.5vw, 3rem);
  --fs-h3: 1.5rem;
  --fs-body: 1.06rem;
  --fs-sm: .92rem;
  --fs-xs: .76rem;

  /* Espacement */
  --space-sm: 1rem; --space-md: 2rem; --space-lg: 4.5rem; --space-xl: 7rem;

  /* Divers — bordures épaisses + ombres dures = néo-brutalisme doux */
  --bw: 2.5px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-hard-lg: 8px 8px 0 var(--ink);
  --maxw: 1240px;
  --ease: cubic-bezier(.34,1.3,.5,1); /* léger rebond */
}

/* ============================================================
   BASE
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,svg,video { max-width: 100%; height: auto; display: block; }
a { color: var(--flame); text-decoration: none; transition: color .2s; }
a:hover { color: var(--berry); }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: .98; font-weight: 700; letter-spacing: -.02em; }
ul,ol { padding-left: 1.2em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .18em; font-weight: 700;
  background: var(--ink); color: var(--paper); padding: .35rem .8rem; border-radius: var(--radius-pill);
  margin-bottom: .9rem;
}
.eyebrow-link { text-decoration: none; transition: transform .15s var(--ease), background .15s var(--ease); cursor: pointer; }
.eyebrow-link:hover { background: var(--flame); color: #fff; transform: translateY(-1px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: var(--ink); color: var(--paper); padding: .7rem 1.2rem; border-radius: 10px; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: var(--fs-sm);
  padding: .9rem 1.7rem; border-radius: var(--radius-pill); border: var(--bw) solid var(--ink);
  background: var(--white); color: var(--ink); box-shadow: var(--shadow-hard);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease); letter-spacing: .01em;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-flame { background: var(--flame); color: var(--white); }
.btn-flame:hover { color: var(--white); }
.btn-zest { background: var(--zest); color: var(--ink); }
.btn-berry { background: var(--berry); color: var(--white); }
.btn-berry:hover { color: var(--white); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* ============================================================
   HEADER + MENU
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 220; background: var(--paper); border-bottom: var(--bw) solid var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: .85rem 0; }
.site-brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--flame);
  border: var(--bw) solid var(--ink); display: grid; place-items: center; flex-shrink: 0;
  transform: rotate(-6deg); transition: transform .3s var(--ease);
}
.site-brand:hover .brand-mark { transform: rotate(6deg); }
.brand-mark span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); letter-spacing: -.03em; }

.main-nav .primary-menu { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0; align-items: center; }
.main-nav .primary-menu > li > a {
  display: inline-flex; align-items: center; gap: .3rem; color: var(--ink); font-weight: 600;
  font-size: .96rem; padding: .5rem .9rem; border-radius: var(--radius-pill);
  border: var(--bw) solid transparent; transition: all .15s;
}
.main-nav .primary-menu > li > a:hover,
.main-nav .primary-menu > li.current-menu-item > a { border-color: var(--ink); background: var(--zest); color: var(--ink); }
.main-nav .caret { transition: transform .25s var(--ease); }
.main-nav li.menu-item-has-children:hover .caret { transform: rotate(180deg); }

/* Sous-menus */
.main-nav .primary-menu > li { position: relative; }
.main-nav .sub-menu {
  position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px; list-style: none;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); padding: .5rem; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease); z-index: 120;
}
.main-nav .sub-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.main-nav li.menu-item-has-children:hover > .sub-menu,
.main-nav li.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: .6rem .8rem; border-radius: 11px; color: var(--ink); font-weight: 600; font-size: .92rem; }
.main-nav .sub-menu a:hover { background: var(--paper-2); color: var(--flame); }

/* Mega menu */
.main-nav li.has-mega { position: static; }
.main-nav li.has-mega > .sub-menu {
  left: 0; right: 0; width: min(var(--maxw), calc(100vw - 2.5rem)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: .3rem 1.2rem; padding: 1.5rem;
}
.main-nav li.has-mega > .sub-menu > li > a { font-family: var(--font-display); font-size: 1.05rem; color: var(--flame); }

.header-actions { display: flex; align-items: center; gap: .8rem; }

/* ============================================================
   SÉLECTEUR DE LANGUE (multilingue)
   ============================================================ */
.lang-switch { position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem;
  padding: .5rem .8rem; border-radius: var(--radius-pill); border: var(--bw) solid var(--ink);
  background: var(--white); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.lang-current:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.lang-current img { width: 18px; height: auto; border-radius: 2px; }
.lang-current svg { transition: transform .25s var(--ease); }
.lang-switch.open .lang-current svg { transform: rotate(180deg); }
.lang-list {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 160px; list-style: none;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); padding: .4rem; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease); z-index: 130;
}
.lang-switch.open .lang-list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-list a { display: flex; align-items: center; gap: .5rem; padding: .55rem .75rem; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.lang-list a:hover { background: var(--paper-2); color: var(--flame); }
.lang-list a[aria-current="true"] { background: var(--zest); }
.lang-list img { width: 18px; height: auto; border-radius: 2px; }
.nav-toggle { display: none; background: var(--zest); border: var(--bw) solid var(--ink); border-radius: 12px; padding: .5rem .55rem; box-shadow: 3px 3px 0 var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .3s; }

/* ============================================================
   FORMES DÉCORATIVES (blobs)
   ============================================================ */
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .9; z-index: 0; pointer-events: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(3.5rem,8vw,6rem) 0 clamp(4rem,9vw,7rem); overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-badge { margin-bottom: 1.5rem; }
.hero h1 { font-size: var(--fs-hero); max-width: 14ch; margin-bottom: 1.5rem; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .32em; background: var(--zest); z-index: -1; transform: rotate(-1.5deg); }
.hero h1 .berry { color: var(--berry); }
.hero p.lede { font-size: 1.25rem; max-width: 46ch; color: var(--ink-2); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-floats { position: absolute; inset: 0; z-index: 1; }
.float-card {
  position: absolute; background: var(--white); border: var(--bw) solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-hard); padding: .9rem 1.1rem;
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 700;
  display: flex; align-items: center; gap: .5rem; animation: bob 5s ease-in-out infinite;
}
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; }
.float-1 { top: 12%; right: 6%; transform: rotate(5deg); }
.float-2 { top: 44%; right: 16%; transform: rotate(-6deg); animation-delay: .8s; }
.float-3 { bottom: 14%; right: 4%; transform: rotate(3deg); animation-delay: 1.6s; }
@keyframes bob { 0%,100%{ translate: 0 0; } 50%{ translate: 0 -14px; } }

@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--space-xl) 0; position: relative; }
.section-head { max-width: 62ch; margin-bottom: var(--space-lg); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin: 1rem 0 .8rem; }
.section-head p { color: var(--ash); font-size: 1.15rem; }

/* ============================================================
   CARTES (recettes / produits génériques)
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 1.6rem; }
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.6rem; }
.tile {
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-hard); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  display: flex; flex-direction: column;
}
.tile:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-hard-lg); }
.tile-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); border-bottom: var(--bw) solid var(--ink); }
.tile-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tile-tag {
  position: absolute; top: 12px; left: 12px; background: var(--berry); color: #fff;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .35rem .75rem; border-radius: var(--radius-pill); border: var(--bw) solid var(--ink);
}
.tile-dial {
  position: absolute; bottom: 12px; right: 12px; background: var(--ink); color: var(--zest);
  width: 58px; height: 58px; border-radius: 50%; border: var(--bw) solid var(--zest);
  display: grid; place-items: center; text-align: center; font-family: var(--font-mono);
}
.tile-dial .t { font-weight: 700; font-size: .95rem; line-height: 1; }
.tile-dial .u { font-size: .55rem; }
.tile-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tile-body h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.tile-body h3 a { color: var(--ink); }
.tile-body h3 a:hover { color: var(--flame); }
.tile-excerpt { color: var(--ash); font-size: var(--fs-sm); flex: 1; }
.tile-meta { display: flex; gap: 1rem; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ash); text-transform: uppercase; letter-spacing: .06em; padding-top: 1rem; margin-top: 1rem; border-top: 2px dashed var(--line); }
.tile-meta b { color: var(--flame); }

/* ============================================================
   CATÉGORIES (pills colorées)
   ============================================================ */
.cat-strip { display: flex; flex-wrap: wrap; gap: .9rem; }
.cat-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem;
  border: var(--bw) solid var(--ink); border-radius: var(--radius-pill); background: var(--white);
  font-weight: 700; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s var(--ease);
}
.cat-pill:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.cat-pill:nth-child(4n+1):hover { background: var(--zest); }
.cat-pill:nth-child(4n+2):hover { background: var(--mint); }
.cat-pill:nth-child(4n+3):hover { background: var(--berry); color: #fff; }
.cat-pill:nth-child(4n):hover { background: var(--grape); color: #fff; }

/* ============================================================
   PRODUIT (CPT affiliation)
   ============================================================ */
.product-hero { padding: var(--space-lg) 0 var(--space-md); }
.product-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-lg); align-items: start; }
.product-gallery { position: relative; border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hard-lg); background: var(--white); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-award { position: absolute; top: 16px; left: 16px; background: var(--zest); color: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--radius-pill); padding: .5rem 1rem; font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-sm); transform: rotate(-4deg); }

.product-info h1 { font-size: var(--fs-h1); margin: .8rem 0 1rem; }
.product-rating { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: var(--zest); font-size: 1.3rem; -webkit-text-stroke: 1.5px var(--ink); }
.rating-score { font-family: var(--font-mono); font-weight: 700; background: var(--ink); color: var(--paper); padding: .25rem .7rem; border-radius: var(--radius-pill); font-size: var(--fs-sm); }
.rating-count { color: var(--ash); font-size: var(--fs-sm); }

.product-price-box {
  background: var(--paper-2); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg);
  padding: 1.5rem; margin: 1.5rem 0; box-shadow: var(--shadow-hard);
}
.price-now { font-family: var(--font-display); font-size: 2.6rem; color: var(--flame); line-height: 1; }
.price-old { font-family: var(--font-mono); color: var(--ash); text-decoration: line-through; margin-left: .6rem; font-size: 1.1rem; }
.price-save { display: inline-block; background: var(--berry); color: #fff; font-family: var(--font-mono); font-weight: 700; font-size: var(--fs-xs); padding: .25rem .7rem; border-radius: var(--radius-pill); border: 2px solid var(--ink); margin-left: .6rem; }
.price-note { font-size: var(--fs-sm); color: var(--ash); margin-top: .5rem; }

/* Specs */
/* Caractéristiques — section pleine largeur */
.product-specs-section { padding: var(--space-lg) 0 0; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1rem; margin: 0; }
.spec {
  display: flex; align-items: center; gap: 1rem;
  border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; background: var(--white);
  box-shadow: 4px 4px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.spec:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.spec-ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; color: var(--ink);
  background: var(--zest); border: var(--bw) solid var(--ink);
}
.spec:nth-child(4n+2) .spec-ico { background: var(--mint); }
.spec:nth-child(4n+3) .spec-ico { background: var(--berry); color: #fff; }
.spec:nth-child(4n+4) .spec-ico { background: var(--grape); color: #fff; }
.spec-text { display: flex; flex-direction: column; min-width: 0; }
.spec .k { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--ash); }
.spec .v { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin-top: .15rem; line-height: 1.15; }

/* Comparateur marchands (affiliation) */
.merchants { margin: var(--space-md) 0; }
.merchant-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius);
  padding: 1rem 1.3rem; margin-bottom: .9rem; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s var(--ease);
}
.merchant-row:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.merchant-row.best { background: var(--mint); }
.merchant-left { display: flex; align-items: center; gap: 1rem; }
.merchant-name { font-family: var(--font-display); font-size: 1.2rem; }
.merchant-badge { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; background: var(--ink); color: var(--paper); padding: .2rem .6rem; border-radius: var(--radius-pill); }
.merchant-right { display: flex; align-items: center; gap: 1.2rem; }
.merchant-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--flame); }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: var(--space-md) 0; }
.pc-box { border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; }
.pc-box.pros { background: rgba(0,217,163,.14); }
.pc-box.cons { background: rgba(255,45,120,.1); }
.pc-box h3 { font-size: 1.3rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .5rem; }
.pc-box ul { list-style: none; padding: 0; }
.pc-box li { padding: .4rem 0 .4rem 1.7rem; position: relative; }
.pc-box.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--mint); font-weight: 700; -webkit-text-stroke: 1px var(--ink); }
.pc-box.cons li::before { content: '✕'; position: absolute; left: 0; color: var(--berry); font-weight: 700; }

/* ============================================================
   FAQ (home) + schema
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: var(--bw) solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-hard); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 1.3rem 1.5rem;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); display: flex;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--zest); border: var(--bw) solid var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); font-weight: 700; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--berry); color: #fff; }
.faq-a { padding: 0 1.5rem 1.4rem; color: var(--ink-2); }
.faq-a p { margin-top: 0; }
details.faq-item summary { list-style: none; cursor: pointer; }
details.faq-item summary::-webkit-details-marker { display: none; }

/* ============================================================
   NEWSLETTER / CTA bandeau
   ============================================================ */
.cta-band { background: var(--ink); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-hard-lg); padding: clamp(2.5rem,5vw,4rem); color: var(--paper); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); font-size: var(--fs-h2); margin-bottom: 1rem; }
.cta-band p { max-width: 50ch; margin: 0 auto 1.8rem; font-size: 1.15rem; color: rgba(255,252,247,.75); }

/* Formulaire newsletter */
.nl-form { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.nl-group { display: flex; width: 100%; max-width: 520px; border: 2px solid rgba(255,252,247,.25); border-radius: var(--radius-pill); overflow: hidden; background: rgba(255,252,247,.07); }
.nl-input { flex: 1; min-width: 0; background: transparent; border: none; padding: .85rem 1.4rem; font-size: 1rem; color: var(--paper); font-family: var(--font-body); outline: none; }
.nl-input::placeholder { color: rgba(255,252,247,.38); }
.nl-input:focus { background: rgba(255,252,247,.05); }
.nl-group .nl-btn { border-radius: 0 var(--radius-pill) var(--radius-pill) 0 !important; flex-shrink: 0; border: none !important; border-left: 2px solid rgba(255,252,247,.15) !important; }
.nl-feedback { font-size: .95rem; min-height: 1.3em; }
.nl-feedback.is-success { color: var(--mint); font-weight: 700; }
.nl-feedback.is-error { color: #ff8a7a; font-weight: 700; }
.nl-legal { font-family: var(--font-mono); font-size: var(--fs-xs); color: rgba(255,252,247,.3); margin-top: -.2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   SINGLE RECETTE
   ============================================================ */
.entry-content { max-width: 70ch; }
.entry-content > * + * { margin-top: 1.2rem; }
.entry-content h2 { font-size: var(--fs-h2); margin-top: 2.5rem; }
.entry-content h3 { font-size: var(--fs-h3); margin-top: 1.8rem; }
.entry-content img { border-radius: var(--radius); border: var(--bw) solid var(--ink); margin: 1.8rem 0; }
.entry-content blockquote { border-left: var(--bw) solid var(--flame); padding-left: 1.4rem; font-family: var(--font-display); font-size: 1.3rem; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

/* Description (test complet) centrée sur la fiche produit */
.single-produit .entry-content { margin-inline: auto; }
.single-produit .product-test-head { text-align: center; margin-bottom: var(--space-md); }

.recipe-block { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); padding: 1.6rem 1.8rem; margin: 2rem 0; box-shadow: var(--shadow-hard); }
.recipe-block h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.ing-group-title { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--berry); margin: 1.1rem 0 .3rem; }
.ing-group-title:first-child { margin-top: 0; }
.recipe-block ul { list-style: none; padding: 0; }
.recipe-block ul li { padding: .5rem 0; border-bottom: 2px dashed var(--line); display: flex; gap: .6rem; }
.recipe-block ul li::before { content: '▸'; color: var(--flame); font-weight: 700; }
.recipe-steps { list-style: none; padding: 0; }
.recipe-steps > li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 2px dashed var(--line); align-items: flex-start; }
.recipe-steps > li::before { content: none; }
.recipe-steps .step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--flame); color: #fff; border: var(--bw) solid var(--ink); font-family: var(--font-display); display: grid; place-items: center; font-size: 1.15rem; }
.recipe-steps .step-body { flex: 1; }
.recipe-steps .step-body p { margin: 0; padding-top: .4rem; }
.recipe-steps .step-body img { margin-top: .8rem; }

.single-meta-bar { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 1.6rem 0; padding: 1.3rem 1.5rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); font-family: var(--font-mono); }
.single-meta-bar .item .k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; opacity: .6; }
.single-meta-bar .item .v { font-size: 1.25rem; color: var(--zest); font-weight: 700; }

/* ============================================================
   PAGE HERO / ARCHIVE
   ============================================================ */
.page-hero { background: var(--paper-2); border-bottom: var(--bw) solid var(--ink); padding: var(--space-lg) 0; position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero p { color: var(--ash); margin-top: .8rem; max-width: 55ch; font-size: 1.1rem; }

/* ============================================================
   FILTRES (archives recettes / produits)
   ============================================================ */
/* ============================================================
   FILTRES (archives recettes / produits)
   ============================================================ */
.filters-bar { margin-bottom: var(--space-lg); }
.filters-form {
  display: flex; flex-wrap: wrap; gap: 1.8rem; align-items: flex-start;
  padding: 1.6rem 1.8rem; background: var(--white);
  border: var(--bw) solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
}
.filters-group { display: flex; flex-direction: column; gap: .65rem; min-width: 0; }
.filters-group-sort { margin-left: auto; }
.filters-label {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ash);
}
.filters-label svg { width: 14px; height: 14px; flex-shrink: 0; stroke: var(--flame); }
.filters-chips { display: flex; gap: .55rem; flex-wrap: wrap; max-width: 100%; }
.filter-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem; border-radius: var(--radius-pill);
  border: 2px solid var(--ink); background: var(--paper);
  font-family: var(--font-body); font-weight: 700; font-size: .88rem; color: var(--ink);
  white-space: nowrap; box-shadow: 2px 2px 0 var(--ink);
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.filter-chip:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); background: var(--zest); color: var(--ink); }
.filter-chip.active { background: var(--flame); color: #fff; border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.filter-chip.active:hover { background: var(--flame); transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); }
.filter-chip .count { font-family: var(--font-mono); font-size: .75rem; opacity: .65; }

.filters-select-wrap { position: relative; display: inline-flex; }
.filters-select {
  font-family: var(--font-body); font-size: .92rem; font-weight: 700; color: var(--ink);
  padding: .6rem 2.4rem .6rem 1.1rem; border: 2px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--paper) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2315110E" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 1rem center;
  background-size: 13px; appearance: none; cursor: pointer; box-shadow: 2px 2px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.filters-select:hover { transform: translate(-1px,-1px); box-shadow: 3px 3px 0 var(--ink); }
.filters-divider { width: 2px; align-self: stretch; background: var(--line); border-radius: 2px; }

.pagination { margin-top: var(--space-lg); }
.pagination .nav-links { display: flex; gap: .6rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .9rem;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: 12px;
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem; color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
.pagination .page-numbers.current { background: var(--flame); color: #fff; }
.pagination a.page-numbers:hover { background: var(--zest); color: var(--ink); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.pagination .page-numbers.dots { background: transparent; border: none; box-shadow: none; color: var(--ash); font-weight: 700; }
.pagination .prev.page-numbers, .pagination .next.page-numbers { background: var(--ink); color: var(--paper); font-size: 1.1rem; }
.pagination .prev.page-numbers:hover, .pagination .next.page-numbers:hover { background: var(--flame); color: #fff; }

/* ============================================================
   CONTENU SEO EN PIED DE CATÉGORIE (volet déroulant)
   ============================================================ */
/* ============================================================
   RECETTE À LA UNE (home)
   ============================================================ */
.featured-card {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  background: var(--white); border: var(--bw) solid var(--ink);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hard-lg);
}
.featured-media { position: relative; overflow: hidden; min-height: 340px; border-right: var(--bw) solid var(--ink); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-tag {
  position: absolute; top: 16px; left: 16px; background: var(--berry); color: #fff;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: .4rem .85rem; border-radius: var(--radius-pill); border: var(--bw) solid var(--ink);
}
.featured-body { padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.featured-eyebrow { background: var(--zest); color: var(--ink); align-self: flex-start; margin-bottom: 1rem; }
.featured-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.02; margin-bottom: .9rem; }
.featured-title a { color: var(--ink); }
.featured-title a:hover { color: var(--flame); }
.featured-excerpt { color: var(--ash); font-size: 1.08rem; margin-bottom: 1.5rem; }
.featured-stats { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.8rem; }
.featured-stats .fstat { display: flex; flex-direction: column; }
.featured-stats .fk { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ash); }
.featured-stats .fv { font-family: var(--font-display); font-size: 1.35rem; color: var(--flame); line-height: 1.1; }
.featured-body .btn { align-self: flex-start; }

/* ============================================================
   FIL D'ARIANE
   ============================================================ */
.breadcrumb { border-bottom: 1px solid var(--line); background: var(--paper); font-size: var(--fs-sm); margin-bottom: .5rem; }
.breadcrumb .container { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; padding-top: .8rem; padding-bottom: .8rem; }
.breadcrumb a { color: var(--ash); font-weight: 600; }
.breadcrumb a:hover { color: var(--flame); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 700; }
.breadcrumb .bc-sep { color: var(--line); flex-shrink: 0; }

/* ============================================================
   ENCADRÉ AUTEUR
   ============================================================ */
.author-box {
  display: flex; gap: 1.4rem; align-items: flex-start;
  background: var(--paper-2); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem; margin: var(--space-md) 0; box-shadow: var(--shadow-hard);
}
.author-box-avatar { flex-shrink: 0; }
.author-box-avatar .author-avatar { width: 84px; height: 84px; border-radius: 50%; border: var(--bw) solid var(--ink); display: block; }
.author-box-eyebrow { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--ash); }
.author-box-name { font-size: 1.5rem; margin: .15rem 0 .5rem; }
.author-box-name a { color: var(--ink); }
.author-box-name a:hover { color: var(--flame); }
.author-box-bio { color: var(--ink-2); margin-bottom: 1rem; font-size: .98rem; }
.author-box-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* Page auteur */
.author-hero { display: flex; align-items: center; gap: 1.6rem; }
.author-hero-avatar { width: 100px; height: 100px; border-radius: 50%; border: var(--bw) solid var(--ink); flex-shrink: 0; }
.author-hero h1 { margin: .2rem 0 .4rem; }
.author-hero p { color: var(--ash); max-width: 60ch; }

/* ============================================================
   BLOG (single + liste)
   ============================================================ */
.post-byline { color: var(--ash); font-family: var(--font-mono); font-size: var(--fs-sm); }
.post-byline a { color: var(--flame); font-weight: 700; }
.post-layout, .blog-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: var(--space-lg); align-items: start; }
.post-hero-img { border-radius: var(--radius-lg); border: var(--bw) solid var(--ink); margin-bottom: var(--space-md); width: 100%; }
.post-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: var(--space-md) 0; }
.post-tag { display: inline-block; padding: .4rem .9rem; border: var(--bw) solid var(--ink); border-radius: var(--radius-pill); background: var(--white); font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.post-tag:hover { background: var(--zest); color: var(--ink); }
.post-sidebar .widget { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 1.3rem; box-shadow: 3px 3px 0 var(--ink); }

/* ============================================================
   COMPARATIF (classement + tableau)
   ============================================================ */
/* Sommaire en chips */
.comp-toc { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: var(--space-lg); }
.comp-toc-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem .55rem .55rem;
  background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius-pill);
  font-weight: 700; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s var(--ease);
}
.comp-toc-chip:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.comp-toc-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--flame); color: #fff; font-family: var(--font-mono); font-size: .85rem; }

/* Tableau comparatif */
.comp-table-wrap { margin-bottom: var(--space-lg); }
.comp-table-title { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.comp-table-scroll { overflow-x: auto; border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-hard); -webkit-overflow-scrolling: touch; }
.comp-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
.comp-table th, .comp-table td { padding: .9rem 1rem; text-align: center; border-bottom: 2px solid var(--line); }
.comp-table thead th { background: var(--ink); color: var(--paper); vertical-align: bottom; position: sticky; top: 0; }
.comp-table-rowhead { text-align: left !important; font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--ash); background: var(--paper-2); position: sticky; left: 0; z-index: 1; white-space: nowrap; }
.comp-table thead .comp-table-rowhead { background: var(--ink); }
.comp-th-product { display: flex; flex-direction: column; align-items: center; gap: .4rem; color: var(--paper); min-width: 130px; }
.comp-th-product:hover { color: var(--zest); }
.comp-th-rank { font-family: var(--font-mono); font-weight: 700; background: var(--flame); color: #fff; padding: .1rem .5rem; border-radius: var(--radius-pill); font-size: .8rem; }
.comp-th-product img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; border: 2px solid var(--paper); }
.comp-th-name { font-family: var(--font-display); font-size: .95rem; line-height: 1.1; }
.comp-table tbody tr:nth-child(even) td { background: rgba(255,244,230,.5); }
.comp-table-cta td { padding-top: 1.1rem; padding-bottom: 1.1rem; }

/* Classement vertical */
.comp-ranking { display: flex; flex-direction: column; gap: var(--space-md); }
.comp-card { position: relative; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-hard-lg); padding-top: .5rem; scroll-margin-top: 90px; }
.comp-rank-badge {
  position: absolute; top: -18px; left: -10px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; background: var(--zest); color: var(--ink);
  border: var(--bw) solid var(--ink); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; transform: rotate(-6deg); box-shadow: 3px 3px 0 var(--ink);
}
.comp-card:first-child .comp-rank-badge { background: var(--flame); color: #fff; }
.comp-card-grid { display: grid; grid-template-columns: 240px 1fr; gap: 0; }
.comp-card-media { border-right: var(--bw) solid var(--ink); overflow: hidden; border-radius: 0 0 0 var(--radius-lg); }
.comp-card-media img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.comp-card-body { padding: 1.6rem 1.8rem; }
.comp-award { display: inline-block; background: var(--berry); color: #fff; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .8rem; border-radius: var(--radius-pill); border: 2px solid var(--ink); margin-bottom: .6rem; }
.comp-brand { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--ash); }
.comp-card-title { font-size: 1.6rem; margin: .2rem 0 .7rem; }
.comp-card-title a { color: var(--ink); }
.comp-card-title a:hover { color: var(--flame); }
.comp-card-meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: .9rem; }
.comp-rating { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); }
.comp-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--flame); }
.comp-summary { color: var(--ink-2); margin-bottom: 1rem; }
.comp-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.comp-pros, .comp-cons { list-style: none; padding: 0; margin: 0; }
.comp-pros li, .comp-cons li { padding: .25rem 0 .25rem 1.6rem; position: relative; font-size: .95rem; }
.comp-pros li::before { content: '✓'; position: absolute; left: 0; color: var(--mint); font-weight: 700; -webkit-text-stroke: 1px var(--ink); }
.comp-cons li::before { content: '✕'; position: absolute; left: 0; color: var(--berry); font-weight: 700; }
.comp-card-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ============================================================
   BLOCS SEO de la home (Customizer)
   ============================================================ */
.seo-block-inner { max-width: 820px; margin: 0 auto; }
.seo-block-title { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.seo-block-content { color: var(--ink-2); font-size: 1.08rem; }
.seo-block-content > * + * { margin-top: 1rem; }
.seo-block-content h2 { font-size: var(--fs-h3); margin: 1.8rem 0 .6rem; }
.seo-block-content h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.seo-block-content h4 { font-size: 1.1rem; margin: 1.3rem 0 .4rem; }
.seo-block-content ul, .seo-block-content ol { margin: 1rem 0; padding-left: 1.4em; }
.seo-block-content li { padding: .25rem 0; }
.seo-block-content a { text-decoration: underline; text-underline-offset: 2px; }
.seo-block--seo_bottom { border-top: var(--bw) solid var(--ink); background: var(--paper-2); padding: var(--space-lg) 0; }

/* ============================================================
   CONTENU SEO catégorie (pied d'archive)
   ============================================================ */
.term-seo { padding: var(--space-lg) 0; border-top: var(--bw) solid var(--ink); background: var(--paper-2); }
.term-seo-inner { position: relative; max-width: 760px; margin: 0 auto; }
.term-seo-content { color: var(--ink-2); }
.term-seo-content h2 { font-size: var(--fs-h3); margin: 1.6rem 0 .6rem; }
.term-seo-content h3 { font-size: 1.25rem; margin: 1.4rem 0 .5rem; }
.term-seo-content h4 { font-size: 1.1rem; margin: 1.2rem 0 .4rem; }
.term-seo-content h5 { font-size: 1rem; margin: 1.1rem 0 .4rem; text-transform: uppercase; letter-spacing: .03em; }
.term-seo-content h6 { font-family: var(--font-mono); font-size: .85rem; margin: 1rem 0 .4rem; text-transform: uppercase; letter-spacing: .12em; color: var(--flame); }
.term-seo-content h2:first-child, .term-seo-content h3:first-child { margin-top: 0; }
.term-seo-content p { margin-bottom: 1rem; }
.term-seo-content a { text-decoration: underline; text-underline-offset: 2px; }
.term-seo-content ul, .term-seo-content ol { margin: 1rem 0; }

/* État replié */
.term-seo.is-collapsible .term-seo-content {
  max-height: 220px; overflow: hidden; transition: max-height .4s var(--ease);
}
.term-seo.is-collapsible.open .term-seo-content { max-height: 6000px; }
.term-seo-fade {
  position: absolute; left: 0; right: 0; bottom: 56px; height: 120px; pointer-events: none;
  background: linear-gradient(transparent, var(--paper-2)); transition: opacity .3s;
}
.term-seo.open .term-seo-fade { opacity: 0; }
.term-seo-toggle { margin-top: 1.4rem; }
.term-seo-toggle .less-label { display: none; }
.term-seo.open .term-seo-toggle .more-label { display: none; }
.term-seo.open .term-seo-toggle .less-label { display: inline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--paper); padding: var(--space-xl) 0 var(--space-md); margin-top: var(--space-xl); border-top: var(--bw) solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-lg); }
.footer-brand .brand-name { color: var(--paper); }
.footer-brand p { color: rgba(255,252,247,.6); margin-top: 1rem; max-width: 32ch; font-size: var(--fs-sm); }
.footer-col h4 { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .16em; color: var(--zest); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col a { color: rgba(255,252,247,.72); font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--zest); }
.footer-bottom { padding-top: var(--space-md); border-top: 1px solid rgba(255,252,247,.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--font-mono); font-size: var(--fs-xs); color: rgba(255,252,247,.5); }
.footer-legal-menu { display: flex; flex-wrap: wrap; gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.footer-legal-menu a { color: rgba(255,252,247,.5); }
.footer-legal-menu a:hover { color: var(--zest); }

/* ============================================================
   COMMENTAIRES
   ============================================================ */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1rem; }
.comment-author { font-family: var(--font-display); }
.comment-form input, .comment-form textarea, .comment-form-rating select { width: 100%; padding: .8rem 1rem; border: var(--bw) solid var(--ink); border-radius: 12px; font-family: inherit; background: var(--white); }
.comment-form-rating select { width: auto; color: var(--zest); -webkit-text-stroke: .5px var(--ink); }
.widget { margin-bottom: var(--space-md); }
.widget-title { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .16em; color: var(--flame); margin-bottom: 1rem; }

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

/* Anti-débordement global : rien ne crée de scroll horizontal */
html, body { overflow-x: hidden; max-width: 100%; }
.hero, .section, .page-hero, .cta-band, .product-hero { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }

/* ---- Tablette large ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Tablette ---- */
@media (max-width: 960px) {
  .product-layout { grid-template-columns: 1fr; gap: var(--space-md); }
  .pros-cons { grid-template-columns: 1fr; }
  .hero-floats { display: none; }
  .blob { opacity: .25 !important; }
}

/* ---- Bascule menu mobile ---- */
@media (max-width: 860px) {
  /* Le bouton "Le matériel" du header est redondant avec le menu : on le masque */
  .header-actions .btn { display: none; }

  .nav-toggle { display: block; z-index: 201; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw,340px); background: var(--paper);
    border-left: var(--bw) solid var(--ink); flex-direction: column; padding: 5rem 1.5rem 2rem;
    transform: translateX(105%); transition: transform .3s var(--ease); z-index: 200; overflow-y: auto;
    box-shadow: -8px 0 0 rgba(21,17,14,.08); }
  .main-nav.open { transform: translateX(0); }
  .main-nav .primary-menu { flex-direction: column; align-items: stretch; gap: .4rem; width: 100%; }
  .main-nav .primary-menu > li > a { justify-content: space-between; font-size: 1.05rem; padding: .7rem .9rem; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: none; border-left: var(--bw) solid var(--line); border-radius: 0; margin: .4rem 0 .4rem .8rem;
    padding-left: .6rem; display: none; min-width: 0; width: auto; }
  .main-nav li.menu-item-has-children.open > .sub-menu { display: block; }
  .main-nav li.has-mega > .sub-menu { grid-template-columns: 1fr; }

  /* Overlay sombre derrière le menu ouvert */
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(21,17,14,.45); z-index: 150; }
}

/* ---- Mobile ---- */
@media (max-width: 680px) {
  :root { --space-xl: 4.5rem; --space-lg: 3rem; }

  /* Le titre hero respire mieux et ne casse pas les mots à l'arrache */
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero h1 { max-width: 100%; }
  .hero h1 .hl { white-space: normal; }
  .hero p.lede { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* Cartes : une seule colonne, pleine largeur */
  .card-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Recette à la une en colonne */
  .featured-card { grid-template-columns: 1fr; }
  .featured-media { min-height: 220px; border-right: none; border-bottom: var(--bw) solid var(--ink); }
  .featured-stats { gap: 1rem 1.4rem; }

  /* Comparatif : carte en colonne */
  .comp-card-grid { grid-template-columns: 1fr; }
  .comp-card-media { border-right: none; border-bottom: var(--bw) solid var(--ink); border-radius: 0; }
  .comp-card-media img { min-height: 200px; }
  .comp-proscons { grid-template-columns: 1fr; gap: .4rem; }
  .comp-rank-badge { width: 46px; height: 46px; font-size: 1.2rem; top: -14px; left: -6px; }
  .comp-card-actions .btn { flex: 1; justify-content: center; }

  /* Auteur + blog en colonne */
  .post-layout, .blog-layout { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; }
  .author-hero { flex-direction: column; text-align: center; align-items: center; }
  .author-box-actions .btn { flex: 1; justify-content: center; }

  /* Filtres en colonne pleine largeur */
  .filters-form { flex-direction: column; gap: 1rem; padding: 1rem; }
  .filters-group-sort { margin-left: 0; width: 100%; }
  .filters-select { width: 100%; }

  /* Sections + titres */
  .section-head { margin-bottom: var(--space-md); }

  /* Specs produit en 2 colonnes serrées */
  .spec-grid { grid-template-columns: 1fr 1fr; }

  /* Bloc prix : tout passe en colonne */
  .product-price-box { padding: 1.2rem; }
  .price-now { font-size: 2.1rem; }

  /* Comparateur marchands : empilé proprement */
  .merchant-row { flex-direction: column; align-items: stretch; gap: .8rem; }
  .merchant-left { justify-content: space-between; }
  .merchant-right { justify-content: space-between; }
  .merchant-right .btn { flex: 1; justify-content: center; }

  /* Barre meta recette */
  .single-meta-bar { gap: 1rem 1.4rem; padding: 1.1rem 1.2rem; }

  /* Étapes recette */
  .recipe-steps .step-num { width: 34px; height: 34px; font-size: 1rem; }
  .recipe-block { padding: 1.2rem 1.3rem; }

  /* FAQ */
  .faq-q { font-size: 1.05rem; padding: 1.1rem 1.2rem; }

  /* CTA */
  .cta-band { padding: 2.2rem 1.4rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md) 1rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; text-align: center; }

  /* Pied SEO catégorie */
  .term-seo .term-seo-content { font-size: 1rem; }
}

/* ---- Petit mobile ---- */
@media (max-width: 420px) {
  .brand-name { font-size: 1.25rem; }
  .spec-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .eyebrow { font-size: .7rem; }
  .container { width: min(100% - 2rem, var(--maxw)); }
}
