/* ============================================
   Guide du Smoothie — Design V2
   Inspiré du précédent : tons crème/vert doux
   ============================================ */

:root {
  --green:       #2d8653;
  --green-dark:  #1a5c38;
  --green-light: #52b788;
  --green-pale:  #d8f3dc;
  --green-ultra: #f0faf4;
  --cream:       #fdf9f4;
  --cream-dark:  #f5ede0;
  --orange:      #e8773a;
  --orange-pale: #fff3ec;
  --purple:      #6b4c9a;
  --purple-pale: #f0ebfa;
  --teal:        #1b7f8e;
  --teal-pale:   #e6f4f7;
  --gold:        #c9a227;
  --gold-pale:   #fff9e6;
  --text:        #1c2e22;
  --text-mid:    #3d5545;
  --text-light:  #7a9e8a;
  --white:       #ffffff;
  --border:      rgba(45,134,83,.13);
  --shadow-sm:   0 2px 12px rgba(0,0,0,.06);
  --shadow-md:   0 6px 28px rgba(0,0,0,.09);
  --shadow-lg:   0 16px 56px rgba(0,0,0,.13);
  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --ease:        .28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: 'DM Sans', system-ui, sans-serif; background: var(--cream); color: var(--text); line-height: 1.65; overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
img   { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; color: var(--text); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
.container { max-width: 1260px; margin: 0 auto; padding: 0 1.5rem; }

/* ── NAVIGATION ────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253,249,244,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1260px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.nav-logo-text  { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.nav-logo-sub   { font-size: .58rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .08em; display: block; }
.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-links a {
  font-size: .86rem; font-weight: 500; color: var(--text-mid);
  padding: .45rem .8rem; border-radius: var(--radius-sm); transition: all var(--ease);
}
.nav-links a:hover { background: var(--green-pale); color: var(--green); }
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav-search {
  display: flex; align-items: center; gap: .45rem;
  background: var(--green-ultra); border: 1.5px solid var(--green-pale);
  border-radius: 99px; padding: .45rem 1rem; transition: all var(--ease);
}
.nav-search:focus-within { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(45,134,83,.1); }
.nav-search input { border: none; background: none; outline: none; font-family: inherit; font-size: .85rem; color: var(--text); width: 155px; }
.nav-search input::placeholder { color: var(--text-light); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .45rem; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--ease); }

/* ── HERO ──────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--green-dark) 0%, var(--green) 55%, var(--green-light) 100%);
  padding: 5rem 1.5rem 4.5rem;
  position: relative; overflow: hidden;
}
.hero-dots {
  position: absolute; inset: 0; opacity: .05;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-circle-1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,.04); top: -180px; right: -100px; }
.hero-circle-2 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); bottom: -120px; left: -80px; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1260px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.92); padding: .38rem .95rem; border-radius: 99px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.hero h1 { color: var(--white); font-size: clamp(2rem,4.5vw,3.2rem); font-weight: 900; margin-bottom: 1rem; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,.7); }
.hero-desc { color: rgba(255,255,255,.75); font-size: 1.02rem; max-width: 480px; margin-bottom: 2rem; line-height: 1.75; }
.hero-btns { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; }
.hero-stat .n { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 800; color: var(--white); display: block; line-height: 1; }
.hero-stat .l { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .07em; }
.hero-card {
  background: rgba(255,255,255,.12); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl); overflow: hidden;
  width: 260px; box-shadow: var(--shadow-lg);
}
.hero-card img { width: 100%; height: 200px; object-fit: cover; }
.hero-card-body { padding: 1.1rem 1.2rem; }
.hero-card-body h3 { color: var(--white); font-size: .95rem; margin-bottom: .2rem; }
.hero-card-body p  { color: rgba(255,255,255,.55); font-size: .78rem; }

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: inherit; font-weight: 600; font-size: .9rem;
  border-radius: 99px; padding: .78rem 1.6rem;
  border: none; cursor: pointer; transition: all var(--ease);
  text-decoration: none; line-height: 1;
}
.btn-white  { background: var(--white); color: var(--green-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost  { background: rgba(255,255,255,.12); color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-green  { background: var(--green); color: var(--white); box-shadow: 0 4px 18px rgba(45,134,83,.28); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline{ background: transparent; color: var(--green); border: 2px solid var(--green-pale); }
.btn-outline:hover { border-color: var(--green); background: var(--green-pale); }
.btn-sm { padding: .5rem 1.1rem; font-size: .82rem; }

/* ── TAGS ──────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .75rem; border-radius: 99px;
  font-size: .71rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.tag-plaisirs     { background: var(--orange-pale); color: #b85a22; }
.tag-substituts   { background: var(--purple-pale); color: #5a3a88; }
.tag-regime       { background: var(--green-pale);  color: var(--green-dark); }
.tag-energetiques { background: var(--gold-pale);   color: #8a6800; }
.tag-detente      { background: var(--teal-pale);   color: #145f6a; }
.tag-illustrees   { background: #e6f0fa;            color: #1a4a7e; }

/* ── SECTIONS ──────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: .45rem; }
.section-title { font-size: clamp(1.5rem,2.8vw,2.2rem); font-weight: 800; margin-bottom: .6rem; }
.section-sub   { font-size: .95rem; color: var(--text-mid); line-height: 1.75; max-width: 560px; }
.count-badge   { display: inline-block; background: var(--green-pale); color: var(--green); border-radius: 99px; padding: .18rem .7rem; font-size: .75rem; font-weight: 700; margin-left: .6rem; vertical-align: middle; }

/* ── CAT QUICK LINKS ───────────────────────── */
.cat-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 1rem;
}
.cat-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; padding: 1.2rem .8rem; border-radius: var(--radius);
  background: var(--white); border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all var(--ease);
  cursor: pointer; text-align: center; font-family: inherit;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.cat-tile.active { border-color: var(--green); background: var(--green-ultra); }
.cat-tile .emoji { font-size: 1.7rem; }
.cat-tile .name  { font-size: .78rem; font-weight: 700; color: var(--text); }
.cat-tile .count { font-size: .7rem; color: var(--text-light); }

/* ── SEARCH BAR ────────────────────────────── */
.search-wrap { display: flex; gap: .7rem; max-width: 480px; margin-bottom: 1.5rem; }
.search-input {
  flex: 1; padding: .72rem 1.2rem;
  border: 2px solid var(--green-pale); border-radius: 99px;
  font-family: inherit; font-size: .9rem; background: var(--white); outline: none;
  transition: all var(--ease);
}
.search-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,134,83,.1); }
.search-input::placeholder { color: var(--text-light); }

/* ── FILTER BAR ────────────────────────────── */
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .46rem 1.05rem; border-radius: 99px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-mid); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all var(--ease); font-family: inherit;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active { border-color: transparent; color: var(--white); }
.filter-btn.active                  { background: var(--green); }
.filter-btn.active.f-plaisirs       { background: var(--orange); }
.filter-btn.active.f-substituts     { background: var(--purple); }
.filter-btn.active.f-regime         { background: var(--green); }
.filter-btn.active.f-energetiques   { background: var(--gold); }
.filter-btn.active.f-detente        { background: var(--teal); }
.filter-btn.active.f-illustrees     { background: #1a4a7e; }
.filter-count { font-size: .69rem; opacity: .75; }

/* ── RECIPE GRID ───────────────────────────── */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px,1fr));
  gap: 1.35rem;
}

/* ── RECIPE CARD ───────────────────────────── */
.recipe-card-wrapper { display: contents; }
.recipe-card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all var(--ease);
  text-decoration: none; color: inherit;
}
.recipe-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-light); }

/* IMAGE */
.rc-img { position: relative; height: 185px; overflow: hidden; background: var(--green-ultra); flex-shrink: 0; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover .rc-img img { transform: scale(1.06); }

/* Composite */
.rc-composite {
  width: 100%; height: 100%; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.rc-composite .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover .rc-composite .bg { transform: scale(1.06); }
.rc-composite .veil {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,92,56,.45) 0%, rgba(45,134,83,.25) 100%);
}
.rc-composite .bubbles {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.rc-composite .bubbles img {
  width: 82px; height: 82px; border-radius: 50%;
  object-fit: cover; background: var(--white);
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: transform .3s ease;
}
.rc-composite .bubbles img + img { margin-left: -22px; }
.recipe-card:hover .rc-composite .bubbles img { transform: scale(1.06); }

.rc-badge { position: absolute; top: .7rem; left: .7rem; z-index: 3; }

/* BODY */
.rc-body { padding: .9rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.rc-title { font-family: 'Playfair Display', serif; font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; line-height: 1.35; }
.rc-desc  { font-size: .8rem; color: var(--text-mid); line-height: 1.55; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-meta  { display: flex; align-items: center; justify-content: space-between; margin-top: .8rem; padding-top: .65rem; border-top: 1px solid var(--green-ultra); }
.rc-meta-item { display: flex; align-items: center; gap: .3rem; font-size: .74rem; color: var(--text-light); font-weight: 500; }

/* ── NO RESULTS ────────────────────────────── */
#no-results { display:none; grid-column:1/-1; text-align:center; padding:4rem 1rem; color:var(--text-light); }
#no-results h3 { margin-bottom:.5rem; color:var(--text-mid); }

/* ── PAGE RECETTE ──────────────────────────── */
.page-hero-photo { position: relative; height: 460px; overflow: hidden; }
.page-hero-photo img { width:100%; height:100%; object-fit:cover; }
.page-hero-photo .veil { position:absolute; inset:0; background:linear-gradient(to top, rgba(26,92,56,.8) 0%, transparent 55%); }

.page-hero-composite {
  height: 400px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--green-dark), var(--green));
  display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.page-hero-composite .bg-smoo { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.3; }
.page-hero-composite .veil    { position:absolute;inset:0;background:linear-gradient(to top,rgba(26,92,56,.75) 0%,rgba(26,92,56,.2) 100%); }
.page-hero-composite .circles { position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:.5rem; }
.page-hero-composite .circles img {
  width:148px; height:148px; border-radius:50%; object-fit:cover; background:var(--white);
  border:5px solid rgba(255,255,255,.85); box-shadow:0 8px 32px rgba(0,0,0,.3);
}

.page-hero-info { position:absolute;bottom:0;left:0;right:0;padding:2rem 1.5rem;z-index:4; }
.page-hero-info .inner { max-width:1260px; margin:0 auto; }
.page-hero-info h1 { color:var(--white); font-size:clamp(1.8rem,4vw,2.8rem); font-weight:900; margin-bottom:.4rem; }
.breadcrumb { font-size:.79rem; color:rgba(255,255,255,.6); margin-bottom:.7rem; }
.breadcrumb a { color:rgba(255,255,255,.7); }
.breadcrumb a:hover { color:var(--white); }
.meta-pills { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:.75rem; }
.meta-pill {
  display:inline-flex; align-items:center; gap:.4rem;
  background:rgba(255,255,255,.15); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.2); color:var(--white);
  padding:.3rem .85rem; border-radius:99px; font-size:.78rem; font-weight:600;
}

.recipe-body   { max-width:1260px; margin:0 auto; padding:2.5rem 1.5rem 4rem; }
.recipe-layout { display:grid; grid-template-columns:1fr 300px; gap:2.5rem; align-items:start; }

.r-section { margin-bottom:2rem; }
.r-section-label {
  font-size:.7rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase;
  color:var(--green); margin-bottom:.85rem;
  display:flex; align-items:center; gap:.5rem;
}
.r-section-label::after { content:''; flex:1; height:1px; background:var(--green-pale); }

.ingr-list { list-style:none; display:flex; flex-direction:column; gap:.4rem; }
.ingr-list li {
  display:flex; align-items:flex-start; gap:.7rem;
  padding:.55rem .8rem; background:var(--cream); border-radius:var(--radius-sm);
  font-size:.9rem; color:var(--text-mid); line-height:1.5; transition:background var(--ease);
}
.ingr-list li:hover { background:var(--green-ultra); }
.ingr-list li::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--green); flex-shrink:0; margin-top:.45rem; }

.prep-box {
  background:var(--cream); border-left:3px solid var(--green);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:1.4rem 1.5rem; font-size:.93rem; color:var(--text-mid); line-height:1.85;
}
.tip-box {
  background:linear-gradient(135deg,#eef8f2,#e6f5ec);
  border:1px solid rgba(45,134,83,.18); border-radius:var(--radius);
  padding:1.1rem 1.3rem; display:flex; gap:.7rem; align-items:flex-start; margin-top:1.2rem;
}
.tip-box p { font-size:.87rem; color:var(--text-mid); line-height:1.7; }

.side-card { background:var(--white); border-radius:var(--radius); border:1.5px solid var(--border); overflow:hidden; box-shadow:var(--shadow-sm); margin-bottom:1.2rem; }
.side-card-head { background:linear-gradient(135deg,var(--green-dark),var(--green)); padding:.85rem 1.1rem; }
.side-card-head h3 { color:var(--white); font-size:.9rem; margin:0; }
.side-card-body { padding:1.1rem; }
.info-row { display:flex; justify-content:space-between; align-items:center; padding:.5rem .65rem; background:var(--cream); border-radius:var(--radius-sm); margin-bottom:.4rem; font-size:.83rem; }
.info-row .lbl { font-weight:600; color:var(--text-mid); }

/* Galerie */
.recipe-gallery { display:grid; grid-template-columns:1fr 1fr; gap:.7rem; margin-bottom:2rem; }
.recipe-gallery img { border-radius:var(--radius-sm); width:100%; height:170px; object-fit:cover; cursor:zoom-in; transition:opacity var(--ease); }
.recipe-gallery img:hover { opacity:.9; }
.recipe-gallery img:first-child { grid-column:1/-1; height:260px; }

/* Recettes similaires */
.similar-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(195px,1fr)); gap:1.1rem; margin-top:1.3rem; }
.similar-card { background:var(--white); border-radius:var(--radius-sm); overflow:hidden; border:1.5px solid var(--border); transition:all var(--ease); text-decoration:none; display:block; }
.similar-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.similar-card img { width:100%; height:115px; object-fit:cover; }
.similar-card-body { padding:.65rem .8rem; }
.similar-card-title { font-size:.83rem; font-weight:700; color:var(--text); line-height:1.3; }

/* ── ALIMENT PAGE ──────────────────────────── */
.aliment-hero { background:linear-gradient(140deg,var(--green-dark),var(--green)); padding:4rem 1.5rem; }
.aliment-hero-inner { max-width:1260px; margin:0 auto; display:grid; grid-template-columns:1fr 340px; gap:3rem; align-items:center; }
.aliment-hero h1 { color:var(--white); margin-bottom:.7rem; }
.aliment-hero p  { color:rgba(255,255,255,.7); font-size:.97rem; line-height:1.75; }
.aliment-hero-img { border-radius:var(--radius-xl); overflow:hidden; aspect-ratio:4/3; box-shadow:var(--shadow-lg); }
.aliment-hero-img img { width:100%; height:100%; object-fit:cover; }
.aliment-body { max-width:1260px; margin:0 auto; padding:2.5rem 1.5rem; }
.aliment-sections { display:grid; grid-template-columns:1fr 1fr; gap:1.3rem; margin-bottom:2.5rem; }
.aliment-card-s { background:var(--white); border-radius:var(--radius); padding:1.4rem; border:1.5px solid var(--border); box-shadow:var(--shadow-sm); }
.aliment-card-s h3 { font-size:.95rem; margin-bottom:.65rem; display:flex; align-items:center; gap:.45rem; }
.aliment-card-s p  { font-size:.88rem; color:var(--text-mid); line-height:1.75; }

/* ── ALIMENT INDEX ─────────────────────────── */
.aliments-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:1.1rem; }
.al-card { background:var(--white); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; border:1.5px solid var(--border); box-shadow:var(--shadow-sm); transition:all var(--ease); text-align:center; }
.al-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--green-light); }
.al-card img { width:100%; height:120px; object-fit:cover; }
.al-card .al-name { padding:.65rem .5rem; font-size:.87rem; font-weight:700; color:var(--text); }

/* ── EQUIPEMENT / CONSEIL ──────────────────── */
.page-header { background:linear-gradient(140deg,var(--green-dark),var(--green)); padding:4rem 1.5rem; text-align:center; }
.page-header h1 { color:var(--white); margin-bottom:.7rem; }
.page-header p  { color:rgba(255,255,255,.7); max-width:520px; margin:0 auto; font-size:1rem; }
.page-body { max-width:960px; margin:0 auto; padding:2.5rem 1.5rem; }
.content-block { background:var(--white); border-radius:var(--radius); padding:1.7rem; border:1.5px solid var(--border); box-shadow:var(--shadow-sm); margin-bottom:1.3rem; }
.content-block h2 { font-size:1.1rem; margin-bottom:.8rem; display:flex; align-items:center; gap:.5rem; }
.content-block h2::before { content:''; width:4px; height:1em; background:var(--green); border-radius:2px; }
.content-block p, .content-block ul { font-size:.92rem; color:var(--text-mid); line-height:1.8; }
.content-block ul { padding-left:1.2rem; margin-top:.4rem; }

/* ── INDEX EQUIP / CONSEIL ─────────────────── */
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:1.3rem; }
.info-card { background:var(--white); border-radius:var(--radius); padding:1.8rem; border:1.5px solid var(--border); box-shadow:var(--shadow-sm); transition:all var(--ease); text-decoration:none; display:block; color:inherit; }
.info-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--green-light); }
.info-card .icon { font-size:2.2rem; margin-bottom:.9rem; }
.info-card h3 { margin-bottom:.55rem; }
.info-card p  { font-size:.86rem; color:var(--text-mid); line-height:1.65; }
.info-card .arrow { display:inline-block; margin-top:.9rem; font-size:.85rem; font-weight:700; color:var(--green); }

/* ── FOOTER ────────────────────────────────── */
.site-footer { background:var(--green-dark); padding:3.5rem 1.5rem 2rem; margin-top:5rem; }
.footer-inner { max-width:1260px; margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; padding-bottom:2.5rem; border-bottom:1px solid rgba(255,255,255,.08); margin-bottom:1.8rem; }
.footer-brand h3 { color:var(--white); font-size:1.2rem; margin-bottom:.65rem; }
.footer-brand p  { color:rgba(255,255,255,.45); font-size:.84rem; line-height:1.7; max-width:260px; }
.footer-col h4 { color:rgba(255,255,255,.7); font-family:'DM Sans',sans-serif; font-size:.73rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:.9rem; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:.5rem; }
.footer-col a  { color:rgba(255,255,255,.42); font-size:.84rem; transition:color var(--ease); }
.footer-col a:hover { color:var(--white); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-copy { color:rgba(255,255,255,.28); font-size:.78rem; }

/* ── TOAST ─────────────────────────────────── */
.toast { position:fixed; bottom:1.5rem; right:1.5rem; z-index:9999; background:var(--text); color:var(--white); padding:.8rem 1.3rem; border-radius:var(--radius); font-size:.86rem; font-weight:600; box-shadow:var(--shadow-lg); transform:translateY(10px); opacity:0; pointer-events:none; transition:all var(--ease); }
.toast.show { transform:translateY(0); opacity:1; }

/* ── LIGHTBOX ──────────────────────────────── */
.lb { position:fixed; inset:0; background:rgba(0,0,0,.88); z-index:9999; display:flex; align-items:center; justify-content:center; cursor:zoom-out; }
.lb img { max-width:90vw; max-height:90vh; border-radius:var(--radius); box-shadow:var(--shadow-lg); }

/* ── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:var(--cream); }
::-webkit-scrollbar-thumb { background:var(--green-light); border-radius:3px; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-card  { display:none; }
  .hero-stats { justify-content:flex-start; }
  .recipe-layout { grid-template-columns:1fr; }
  .aliment-hero-inner { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; }
  .cat-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:768px) {
  .nav-links  { display:none; flex-direction:column; position:absolute; top:66px; left:0; right:0; background:var(--cream); padding:1rem 1.5rem; border-bottom:1px solid var(--border); z-index:200; box-shadow:var(--shadow-md); gap:.2rem; }
  .nav-links.open { display:flex; }
  .nav-search { display:none; }
  .nav-burger { display:flex; }
  .recipes-grid { grid-template-columns:repeat(2,1fr); gap:1rem; }
  .rc-img { height:155px; }
  .aliment-sections { grid-template-columns:1fr; }
  .recipe-gallery { grid-template-columns:1fr; }
  .recipe-gallery img:first-child { height:220px; }
  .footer-grid { grid-template-columns:1fr; gap:1.5rem; }
  .similar-grid { grid-template-columns:1fr 1fr; }
  .cat-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:480px) {
  .recipes-grid { grid-template-columns:1fr 1fr; gap:.75rem; }
  .aliments-grid { grid-template-columns:repeat(3,1fr); }
  .cat-grid { grid-template-columns:repeat(2,1fr); }
}


/* ── PUBLICITÉS IPR — centrage horizontal ────────── */
.pub-banner-top,
.pub-banner-bot,
.pub-square-330,
.pub-side-160,
.ad-wrap,
.ad-wrap-top,
.ad-wrap-bot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1.4rem auto;
  overflow: hidden;
  text-align: center;
}
/* Desktop : 728x90 visible, 250x250 masqué */
.pub-728    { display: flex; justify-content: center; }
.pub-250    { display: none; }
.pub-160    { display: flex; justify-content: center; }
.pub-250-side { display: none; }
.ad-desktop { display: flex; justify-content: center; }
.ad-mobile  { display: none; }
.ad-skyscraper { display: flex; justify-content: center; }
/* Mobile/tablette ≤768px : 250x250 remplace 728x90 et 160x600 */
@media (max-width: 768px) {
  .pub-728     { display: none; }
  .pub-250     { display: flex; justify-content: center; }
  .pub-160     { display: none; }
  .pub-250-side{ display: flex; justify-content: center; }
  .ad-desktop  { display: none; }
  .ad-mobile   { display: flex; justify-content: center; }
  .ad-skyscraper { display: none; }
}
/* ins = balise Revive Adserver — s'assurer qu'elle est inline-block */
ins[data-revive-zoneid] {
  display: inline-block;
  margin: 0 auto;
}

/* ── RECETTES SIMILAIRES ────────────────────────── */
.similar-section {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.similar-title {
  display: flex; align-items: center; gap: .7rem;
  font-size: 1.2rem; font-weight: 800; color: var(--green-dark);
  margin-bottom: 1.4rem;
}
.similar-bar {
  width: 4px; height: 1.2em; border-radius: 2px;
  display: inline-block; flex-shrink: 0;
}
.similar-cat-badge {
  font-size: .72rem; font-weight: 700; padding: .22rem .7rem;
  border-radius: 99px; text-transform: uppercase; letter-spacing: .05em;
}
.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.sim-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  transition: all var(--ease);
}
.sim-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.sim-img {
  position: relative; height: 110px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.sim-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.sim-card:hover .sim-bg { transform: scale(1.08); }
.sim-veil {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,37,24,.45), rgba(45,134,83,.22));
}
.sim-bubbles {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.sim-bubbles img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; background: #fff;
  border: 2.5px solid rgba(255,255,255,.9);
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.sim-body {
  padding: .6rem .75rem;
  display: flex; flex-direction: column; gap: .25rem;
  background: var(--white); flex: 1;
}
.sim-titre {
  font-size: .82rem; font-weight: 700; color: var(--text);
  line-height: 1.3; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sim-cat {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
@media (max-width: 768px) {
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .similar-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .sim-img { height: 90px; }
  .sim-bubbles img { width: 44px; height: 44px; }
}

/* ── BREADCRUMB VISIBLE ─────────────────────────── */
.bc {
  display: flex; align-items: center; flex-wrap: wrap; gap: .3rem;
  padding: .7rem 0; margin-bottom: .5rem;
  font-size: .8rem; color: rgba(255,255,255,.6);
  list-style: none;
}
.bc li { display: flex; align-items: center; gap: .3rem; }
.bc li + li::before { content: '/'; opacity: .5; }
.bc a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.bc a:hover { color: #fff; }
.bc li:last-child { color: rgba(255,255,255,.9); font-weight: 600; }
/* Breadcrumb hors hero (pages sans fond vert) */
.bc-light { color: var(--text-light); }
.bc-light li:last-child { color: var(--text); }
.bc-light a { color: var(--green); }
.bc-light li + li::before { color: var(--text-light); }

/* ── BOUTON RETOUR EN HAUT ──────────────────────── */
#back-top {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(45,134,83,.45);
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  font-size: 1.1rem;
}
#back-top.show {
  opacity: 1; transform: translateY(0);
}
#back-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(45,134,83,.5);
}
@media (max-width: 480px) {
  #back-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
}

/* ── NAVIGATION PREV / NEXT ─────────────────────── */
.prevnext {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2rem;
}
.prevnext a {
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1.1rem; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: var(--white);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: all var(--ease);
  min-width: 0;
}
.prevnext a:hover {
  border-color: var(--green); background: var(--green-ultra);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.prevnext a.pn-next { justify-content: flex-end; text-align: right; }
.pn-arrow { font-size: 1.1rem; flex-shrink: 0; color: var(--green); }
.pn-meta  { min-width: 0; }
.pn-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-light); display: block;
  margin-bottom: .15rem;
}
.pn-title {
  font-size: .86rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block;
}
@media (max-width: 480px) {
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a.pn-next { justify-content: flex-start; text-align: left; }
}

/* ── CARTE HERO COMPOSITE ───────────────────────── */
.hero-card-composite {
  position: relative;
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.hero-card:hover .hero-card-bg { transform: scale(1.06); }
.hero-card-veil {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,37,24,.5), rgba(45,134,83,.28));
}
.hero-card-bubbles {
  position: relative; z-index: 2;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  min-height: 64px;
}
.hero-card-bubbles img {
  display: block;
  width: 64px; height: 64px;
  border-radius: 50%; object-fit: cover;
  background: #fff;
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: 0 4px 18px rgba(0,0,0,.28);
  transition: transform .28s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
}
.hero-card:hover .hero-card-bubbles img { transform: scale(1.06); }
.hero-card-bubbles img + img { margin-left: -26px; }

/* ── NAV DROPDOWN ───────────────────────────── */
.nav-drop-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem 1rem; text-decoration: none;
  color: var(--text); border-bottom: 1px solid var(--green-ultra);
  transition: background .15s;
}
.nav-drop-item:hover { background: var(--green-ultra); }
