/* =================================================================
   Marmelisse - Systeme de design editorial
   Palette chaude, typographie Newsreader + Manrope.
   ================================================================= */

:root {
  --tomato:   #D95343;
  --tomato-d: #c0432f;
  --espresso: #302722;
  --cream:    #FBF6EC;
  --butter:   #F0E3B9;
  --blush:    #EBCFC5;
  --clay:     #B77D69;
  --sage:     #A6AA8D;
  --white:    #FFFFFF;
  --text:     #302722;
  --muted:    #81776E;
  --border:   #E6DDD0;

  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --gap: clamp(1rem, 3vw, 2.5rem);
  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(48, 39, 34, 0.45);
  --shadow-sm: 0 6px 20px -14px rgba(48, 39, 34, 0.5);
}

/* ---------- Reset leger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tomato); text-decoration: none; }
a:hover { color: var(--tomato-d); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; color: var(--espresso); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.wrap { width: min(var(--maxw), 100% - 2.4rem); margin-inline: auto; }
.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto;
  clip: auto; z-index: 999; background: var(--espresso); color: var(--cream);
  padding: .6rem 1rem; border-radius: var(--radius);
}
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 2px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--clay);
  margin: 0 0 .6rem;
}
.handwritten {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--clay);
  font-size: 1.05rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 40px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--tomato); color: var(--white); }
.btn--primary:hover { background: var(--tomato-d); color: var(--white); }
.btn--ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--cream); }
.btn--light { background: var(--white); color: var(--espresso); border-color: var(--border); }
.btn--light:hover { background: var(--butter); color: var(--espresso); }

/* ---------- Announcement ---------- */
.announcement {
  background: var(--espresso); color: var(--cream);
  text-align: center; font-size: .72rem; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600; padding: .55rem 0;
}
.announcement__text { opacity: .92; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem 0; min-height: 68px;
}
.wordmark { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.wordmark__name {
  font-family: var(--font-head); font-size: 1.65rem; font-weight: 600;
  color: var(--espresso); letter-spacing: -0.02em;
}
.wordmark__tag {
  font-size: .62rem; text-transform: uppercase; letter-spacing: 0.26em;
  color: var(--clay); font-weight: 700; margin-top: 2px;
}
.main-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  color: var(--espresso); font-weight: 600; font-size: .92rem;
  padding: .3rem 0; position: relative;
}
.main-nav a:hover { color: var(--tomato); text-decoration: none; }
.main-nav a.is-active { color: var(--tomato); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--tomato);
}
.site-header__tools { display: flex; align-items: center; gap: .5rem; }
.search-toggle, .nav-toggle {
  background: none; border: 0; cursor: pointer; color: var(--espresso);
  padding: .5rem; display: inline-flex; align-items: center; border-radius: 50%;
}
.search-toggle:hover { background: var(--butter); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--espresso); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.search-panel { border-top: 1px solid var(--border); background: var(--cream); padding: 1rem 0; }
.search-panel form { display: flex; gap: .6rem; }
.search-panel input {
  flex: 1; padding: .85rem 1.1rem; border: 1.5px solid var(--border);
  border-radius: 40px; font-family: var(--font-body); font-size: 1rem; background: var(--white);
}
.search-panel button {
  padding: .85rem 1.6rem; border: 0; border-radius: 40px;
  background: var(--tomato); color: var(--white); font-weight: 700; cursor: pointer;
}

/* ---------- Sections generiques ---------- */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-divider {
  display: flex; align-items: center; gap: 1rem; margin: 0 0 2.5rem;
}
.section-divider::before, .section-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.section-divider .eyebrow { margin: 0; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.hero__content { max-width: 540px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--blush); color: var(--espresso);
  padding: .4rem .9rem; border-radius: 40px; font-weight: 700;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.3rem;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: italic; color: var(--tomato); }
.hero__lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 1.8rem; max-width: 460px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 6px 6px 60px 6px; box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--espresso); color: var(--cream);
  width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  font-family: var(--font-head); font-style: italic; font-size: 1rem;
  padding: 1rem; line-height: 1.2; box-shadow: var(--shadow-sm);
}
.hero__note {
  position: absolute; top: -16px; right: 8px;
  font-family: var(--font-head); font-style: italic; color: var(--clay);
  transform: rotate(-6deg); font-size: 1.05rem;
}

/* ---------- Carte recette ---------- */
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card a { color: inherit; text-decoration: none; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--cream); color: var(--espresso);
  font-size: .66rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700; padding: .3rem .7rem; border-radius: 40px;
}
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__title { font-size: 1.28rem; margin: 0; }
.card a:hover .card__title { color: var(--tomato); }
.card__excerpt { color: var(--muted); font-size: .95rem; margin: 0; }
.card__meta {
  margin-top: auto; display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .78rem; color: var(--muted); font-weight: 600;
  padding-top: .6rem; border-top: 1px dashed var(--border);
}
.card__meta span { display: inline-flex; align-items: center; gap: .3rem; }

.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

/* ---------- Recette a l'honneur ---------- */
.featured { background: var(--butter); }
.featured__grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.featured__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: 6px; box-shadow: var(--shadow);
}
.featured__content h2 { font-size: clamp(2rem, 4vw, 3rem); }
.featured__content h2 em { font-style: italic; color: var(--tomato); }
.featured__stats {
  display: flex; gap: 1.8rem; margin: 1.3rem 0 1.6rem; flex-wrap: wrap;
}
.featured__stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--espresso); }
.featured__stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--clay); font-weight: 700; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cat-tile {
  position: relative; display: block; border-radius: 6px; overflow: hidden;
  aspect-ratio: 3 / 4; color: var(--white);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(48,39,34,0) 35%, rgba(48,39,34,.78) 100%);
}
.cat-tile__label {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 1;
  padding: 1rem; font-family: var(--font-head); font-size: 1.2rem; color: var(--white);
}
.cat-tile:hover { text-decoration: none; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile img { transition: transform .5s ease; }
.cat-tile--tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Mosaique "cette semaine" ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1.2rem; }
.mosaic .card--big { grid-column: span 2; grid-row: span 2; }
.mosaic .card--wide { grid-column: span 2; }
.mosaic .card { height: 100%; }
.mosaic .card__media { aspect-ratio: auto; flex: 1; }
.mosaic .card--big .card__title { font-size: 1.7rem; }

/* ---------- Saisons ---------- */
.season { background: var(--espresso); color: var(--cream); }
.season h2, .season h3 { color: var(--cream); }
.season .eyebrow { color: var(--butter); }
.season__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.season__lead { color: color-mix(in srgb, var(--cream) 82%, transparent); font-size: 1.1rem; }
.season__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; list-style: none; padding: 0; }
.season__list li {
  background: color-mix(in srgb, var(--cream) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  border-radius: 6px; padding: 1rem 1.1rem;
}
.season__list strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--butter); margin-bottom: .2rem; }
.season__list span { font-size: .9rem; color: color-mix(in srgb, var(--cream) 78%, transparent); }

/* ---------- Idees / chips ---------- */
.ideas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.idea-tile {
  background: var(--white); border: 1px solid var(--border); border-radius: 6px;
  padding: 1.4rem 1.2rem; text-align: center; color: var(--espresso);
  transition: transform .2s ease, background .2s ease;
}
.idea-tile:hover { transform: translateY(-4px); background: var(--blush); text-decoration: none; }
.idea-tile__icon { font-size: 1.7rem; display: block; margin-bottom: .5rem; }
.idea-tile strong { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.idea-tile span { font-size: .82rem; color: var(--muted); }

/* ---------- Carnet / tips ---------- */
.notebook { background: var(--blush); }
.notebook__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.note-card {
  background: var(--cream); border-radius: 6px; padding: 1.6rem;
  border-left: 4px solid var(--tomato);
}
.note-card .eyebrow { color: var(--tomato); }
.note-card h3 { font-size: 1.3rem; }
.note-card p { color: var(--text); margin-bottom: 0; font-size: .96rem; }

/* ---------- Newsletter strip ---------- */
.newsletter-strip { background: var(--tomato); color: var(--white); }
.newsletter-strip__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.newsletter-strip h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.newsletter-strip .eyebrow { color: color-mix(in srgb, var(--white) 85%, transparent); }
.newsletter-strip p { color: color-mix(in srgb, var(--white) 90%, transparent); margin-bottom: 0; }
.newsletter-form__row { display: flex; gap: .6rem; margin-bottom: .8rem; }
.newsletter-form input[type="email"] {
  flex: 1; padding: .9rem 1.1rem; border: 0; border-radius: 40px;
  font-family: var(--font-body); font-size: 1rem;
}
.newsletter-form button {
  padding: .9rem 1.6rem; border: 0; border-radius: 40px; background: var(--espresso);
  color: var(--cream); font-weight: 700; cursor: pointer; white-space: nowrap;
}
.newsletter-form button:hover { background: #241d19; }
.consent { display: flex; gap: .5rem; font-size: .82rem; align-items: flex-start; color: color-mix(in srgb, var(--white) 92%, transparent); }
.consent a { color: var(--white); text-decoration: underline; }
.consent input { margin-top: .25rem; }
.form-note { margin: .8rem 0 0; font-weight: 700; background: rgba(255,255,255,.18); padding: .6rem .9rem; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: color-mix(in srgb, var(--cream) 80%, transparent); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .wordmark__name { color: var(--cream); font-size: 1.5rem; }
.site-footer__brand p { font-size: .92rem; margin-top: .8rem; }
.site-footer__contact a { color: var(--butter); }
.site-footer__col h3 { color: var(--cream); font-size: 1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__col a { color: color-mix(in srgb, var(--cream) 80%, transparent); font-size: .92rem; }
.site-footer__col a:hover { color: var(--butter); }
.site-footer__bottom {
  margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid color-mix(in srgb, var(--cream) 18%, transparent);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: color-mix(in srgb, var(--cream) 62%, transparent);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  width: min(960px, calc(100% - 2rem)); z-index: 120;
  background: var(--espresso); color: var(--cream); border-radius: 10px;
  box-shadow: var(--shadow); padding: 1.1rem 1.3rem;
}
.cookie-banner__inner { display: flex; align-items: center; gap: 1.5rem; }
.cookie-banner__text strong { display: block; margin-bottom: .2rem; color: var(--cream); font-family: var(--font-head); }
.cookie-banner__text p { margin: 0; font-size: .85rem; color: color-mix(in srgb, var(--cream) 82%, transparent); }
.cookie-banner__text a { color: var(--butter); }
.cookie-banner__actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-banner .btn { padding: .6rem 1.1rem; font-size: .85rem; }
.cookie-banner .btn--ghost { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 40%, transparent); }
.cookie-banner .btn--ghost:hover { background: var(--cream); color: var(--espresso); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .82rem; color: var(--muted); padding: 1.2rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb li::after { content: "/"; margin-left: .4rem; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--clay); font-weight: 600; }

/* ---------- Page header ---------- */
.page-head { padding: clamp(2rem, 4vw, 3.2rem) 0 1.5rem; }
.page-head h1 { margin-bottom: .6rem; }
.page-head p { color: var(--muted); font-size: 1.1rem; max-width: 620px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .7rem; border: 1px solid var(--border); border-radius: 40px; background: var(--white);
  color: var(--espresso); font-weight: 600; text-decoration: none;
}
.pagination a:hover { background: var(--butter); }
.pagination .is-current { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

/* ---------- Filtres categorie ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters a {
  padding: .5rem 1rem; border: 1px solid var(--border); border-radius: 40px;
  font-size: .88rem; font-weight: 600; color: var(--espresso); background: var(--white);
}
.filters a:hover { background: var(--butter); text-decoration: none; }
.filters a.is-active { background: var(--tomato); color: var(--white); border-color: var(--tomato); }

/* ---------- Page recette ---------- */
.recipe-hero { padding: 1.5rem 0 0; }
.recipe-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.recipe-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.recipe-hero h1 { margin: .4rem 0 1rem; }
.recipe-hero__intro { font-size: 1.15rem; color: var(--muted); }
.recipe-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
  margin: 1.6rem 0; padding: 1.2rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px;
}
.recipe-stats__item { text-align: center; }
.recipe-stats__item strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--espresso); }
.recipe-stats__item span { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--clay); font-weight: 700; }

.recipe-body { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-top: 1rem; }
.ingredients-panel {
  position: sticky; top: 90px; background: var(--white);
  border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem;
}
.ingredients-panel h2 { font-size: 1.4rem; }
.servings-control { display: flex; align-items: center; gap: .8rem; margin: 1rem 0 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px dashed var(--border); }
.servings-control span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.servings-control__buttons { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.servings-control button {
  width: 34px; height: 34px; border: 1.5px solid var(--border); background: var(--cream);
  border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--espresso); line-height: 1;
}
.servings-control button:hover { background: var(--butter); }
.servings-control output { font-weight: 700; min-width: 2.2rem; text-align: center; font-size: 1.1rem; }
.ingredients-list { list-style: none; padding: 0; margin: 0; }
.ingredients-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.ingredients-list li:last-child { border-bottom: 0; }
.ingredients-list input { margin-top: .35rem; accent-color: var(--tomato); width: 16px; height: 16px; }
.ingredients-list label { cursor: pointer; }
.ingredients-list .qty { font-weight: 700; color: var(--tomato); }
.ingredients-list input:checked + label { text-decoration: line-through; color: var(--muted); }

.steps { counter-reset: step; }
.steps h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.step { display: flex; gap: 1.1rem; margin-bottom: 1.4rem; }
.step__num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--tomato); color: var(--white); display: grid; place-content: center;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600;
}
.step__text { margin: 0; padding-top: .4rem; }

.recipe-aside { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
.info-block { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 1.4rem 1.6rem; }
.info-block h3 { font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.info-block ul { margin: 0; padding-left: 1.1rem; }
.info-block li { margin-bottom: .4rem; }
.info-block p:last-child { margin-bottom: 0; }

.recipe-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.4rem 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.tag-row a { font-size: .78rem; background: var(--butter); color: var(--espresso); padding: .25rem .7rem; border-radius: 40px; font-weight: 600; }

/* ---------- Prose (pages texte) ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose a { text-decoration: underline; }
.prose .lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Formulaire contact ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; margin-bottom: .4rem; font-size: .92rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border);
  border-radius: 6px; font-family: var(--font-body); font-size: 1rem; background: var(--cream);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--tomato); background: var(--white); }
.field--check { display: flex; gap: .6rem; align-items: flex-start; }
.field--check input { width: auto; margin-top: .3rem; }
.field--check label { font-weight: 500; font-size: .9rem; }
.form-error { color: var(--tomato-d); font-weight: 600; font-size: .85rem; margin-top: .3rem; }
.alert { padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1.5rem; font-weight: 600; }
.alert--ok { background: color-mix(in srgb, var(--sage) 30%, var(--cream)); color: #3f4a2e; border: 1px solid var(--sage); }
.alert--error { background: color-mix(in srgb, var(--blush) 55%, var(--cream)); color: var(--tomato-d); border: 1px solid var(--blush); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Info cards (contact) ---------- */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.info-cards .note-card { background: var(--white); border-left-color: var(--sage); }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state h2 { color: var(--espresso); }

/* ---------- Ad slot (optionnel, reserve) ---------- */
.ad-slot { margin: 2rem auto; max-width: 970px; min-height: 90px; display: none; }
.ad-slot.is-active { display: block; }

/* ---------- Print ---------- */
@media print {
  .announcement, .site-header, .newsletter-strip, .site-footer,
  .cookie-banner, .recipe-actions, .recipe-aside .info-block--related,
  .ad-slot, .breadcrumb, .related-section { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .recipe-body { grid-template-columns: 1fr; }
  .ingredients-panel { position: static; box-shadow: none; }
  a { color: #000; text-decoration: none; }
  .step__num { background: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
