:root {
    --ink: #F4EFE6;
    --charcoal: #F4EFE6;
    --terracotta: #3DCFC0;
    --terracotta-dark: #2BB3A5;
    --yellow: #F4D35E;
    --on-yellow: #14181F;
    --green: #3DCFC0;
    --paper: #12161C;
    --surface: #1C222B;
    --surface-2: #262D38;
    --white: #1C222B;
    --muted: #B8C0C8;
    --line: #3A4350;
    --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
    --sans: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
    --radius: 18px;
    --shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
    --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; color-scheme: dark; }
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 1.05rem;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--charcoal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4, .ocb-h1, .ocb-h2 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--charcoal);
    margin: 0 0 0.6em;
}
.ocb-h1, h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.ocb-h2, h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font-family: inherit; }
:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.ocb-skip {
    position: absolute; left: 1rem; top: -40px;
    background: var(--yellow); color: var(--on-yellow); padding: .5rem 1rem; z-index: 100;
}
.ocb-skip:focus { top: 1rem; color: #fff; }

.ocb-wrap,
.ocb-shell,
.ocb-header__bar {
    width: 92%;
    max-width: 1240px;
    width: min(1240px, calc(100% - 3rem));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    float: none;
}
main#contenu {
    display: block;
    width: 100%;
}
.ocb-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ocb-main > .ocb-shell {
    width: 92%;
    max-width: 1240px;
    width: min(1240px, calc(100% - 3rem));
    margin-left: auto;
    margin-right: auto;
}
.ocb-kicker {
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--terracotta);
    margin: 0 0 .6rem;
}

.ocb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 0;
    cursor: pointer;
    padding: .9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.ocb-btn:hover { transform: translateY(-1px); color: inherit; }
.ocb-btn--terracotta { background: var(--terracotta); color: #fff; }
.ocb-btn--terracotta:hover { background: var(--terracotta-dark); color: #fff; }
.ocb-btn--yellow { background: var(--yellow); color: var(--on-yellow); }
.ocb-btn--ghost { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.ocb-btn--text { background: none; color: var(--ink); padding-inline: .4rem; text-decoration: underline; }

.ocb-chip {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    text-decoration: none;
    margin-bottom: .5rem;
}

/* Header */
.ocb-header {
    position: sticky; top: 0; z-index: 40;
    width: 100%;
    background: rgba(18, 22, 28, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.ocb-header__bar {
    min-height: var(--header);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.ocb-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--charcoal); }
.ocb-logo__mark {
    width: 38px; height: 38px;
    background: var(--yellow); color: var(--on-yellow);
    font-family: var(--serif); font-size: 1.4rem;
    display: grid; place-items: center; border-radius: 10px 10px 4px 10px;
}
.ocb-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.ocb-logo__text strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.ocb-logo__text em { font-style: normal; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); }
.ocb-nav { display: flex; gap: 1.3rem; margin-left: auto; }
.ocb-nav__link {
    text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--charcoal);
    position: relative; padding: .3rem 0;
}
.ocb-nav__link.is-active::after,
.ocb-nav__link:hover::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 3px; background: var(--yellow); border-radius: 2px;
}
.ocb-header__actions { display: flex; align-items: center; gap: .4rem; }
.ocb-icon-btn {
    width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
    border-radius: 50%; color: var(--charcoal); font-size: 1.05rem;
}
.ocb-icon-btn:hover { background: var(--surface-2); }
.ocb-burger { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; }
.ocb-burger span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; }

.ocb-search {
    position: fixed; inset: 0; background: rgba(8,10,14,.72); z-index: 50;
    display: grid; place-items: start center; padding-top: 12vh;
}
.ocb-search__panel {
    width: min(640px, calc(100% - 2rem));
    background: var(--surface); color: var(--ink); border-radius: 22px; padding: 1.5rem;
    box-shadow: var(--shadow); border: 1px solid var(--line);
}
.ocb-search__head { display: flex; justify-content: space-between; align-items: center; }
.ocb-search__form { display: flex; gap: .6rem; margin: 1rem 0 .5rem; }
.ocb-search__form input {
    flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .9rem 1.1rem; font-size: 1rem;
    background: var(--surface-2); color: var(--ink);
}
.ocb-search__hint { color: var(--muted); font-size: .9rem; }

/* Hero */
.ocb-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3.2rem 0 2rem;
}
.ocb-hero__copy h1 { margin-bottom: .7rem; }
.ocb-hero__copy p { font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.ocb-hero__visual { position: relative; }
.ocb-hero__visual img {
    width: 100%; height: min(520px, 62vw); object-fit: cover;
    border-radius: 8px 48px 8px 48px;
}
.ocb-sticker {
    position: absolute; left: 16px; top: 28px;
    background: var(--yellow); color: var(--on-yellow);
    font-weight: 800; font-size: .72rem; letter-spacing: .14em;
    text-transform: uppercase; padding: .55rem .8rem;
    transform: rotate(-6deg);
    box-shadow: 0 8px 20px rgba(31,41,51,.12);
}
.ocb-hero__rule {
    width: 72px; height: 6px; background: var(--terracotta); margin: 1.2rem 0 1.4rem; border: 0;
}

/* Featured */
.ocb-featured {
    display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
    background: var(--surface); border-radius: 28px; overflow: hidden;
    box-shadow: var(--shadow); margin: 1rem 0 3.5rem; border: 1px solid var(--line);
}
.ocb-featured img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.ocb-featured__info { padding: 2.4rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.ocb-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; color: var(--muted); font-size: .92rem; margin: 1rem 0 1.4rem; }
.ocb-meta i { color: var(--terracotta); margin-right: .35rem; }

/* Magazine grid */
.ocb-section { padding: 1.2rem 0 3rem; }
.ocb-section__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.ocb-magazine {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.1rem;
    width: 100%;
}
.ocb-card { background: var(--surface); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.ocb-card__media { display: block; overflow: hidden; }
.ocb-card__media img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.ocb-card:hover .ocb-card__media img { transform: scale(1.04); }
.ocb-card__body { padding: 1.1rem 1.15rem 1.3rem; }
.ocb-card__title { font-size: 1.35rem; margin: 0 0 .35rem; }
.ocb-card__title a { text-decoration: none; }
.ocb-card__excerpt { color: var(--muted); font-size: .95rem; }
.ocb-card__meta { color: var(--muted); font-size: .85rem; margin: .4rem 0 0; }
.ocb-card--hero { grid-column: 1; grid-row: 1 / span 2; }
.ocb-card--hero .ocb-card__media img { height: 100%; min-height: 420px; }
.ocb-card--hero .ocb-card__title { font-size: 2rem; }
.ocb-card--horizontal { grid-column: 2 / span 2; flex-direction: row; }
.ocb-card--horizontal .ocb-card__media { flex: 0 0 46%; }
.ocb-card--horizontal .ocb-card__media img { height: 100%; min-height: 180px; }
.ocb-card--compact .ocb-card__media img { height: 150px; }
.ocb-card--compact .ocb-card__title { font-size: 1.15rem; }

.ocb-rail,
.ocb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    width: 100%;
}
.ocb-collection { margin: 0 0 3.2rem; }
.ocb-collection .ocb-h2,
.ocb-collection h2,
.ocb-collection__intro {
    text-align: left;
}
.ocb-collection__intro { max-width: 48ch; color: var(--muted); margin-top: -.4rem; }

/* Recipe page */
.ocb-crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: .9rem; color: var(--muted); padding: 1.4rem 0 .4rem; }
.ocb-crumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: #6d7682; }
.ocb-crumbs a { text-decoration: none; }

.ocb-recipe-hero { padding-bottom: 1.5rem; }
.ocb-recipe-hero__img {
    width: 100%; max-height: 520px; object-fit: cover;
    border-radius: 6px 40px 6px 40px; margin: 1rem 0 1.4rem;
}
.ocb-stats {
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
}
.ocb-stats div { padding: 1rem; text-align: center; border-right: 1px solid var(--line); }
.ocb-stats div:last-child { border: 0; }
.ocb-stats span { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ocb-stats strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }

.ocb-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 2rem; }
.ocb-actions .ocb-btn { padding: .7rem 1rem; font-size: .88rem; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.ocb-recipe-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 2.2rem; align-items: start; }
.ocb-box { background: var(--surface); border-radius: 22px; padding: 1.5rem; border: 1px solid var(--line); }
.ocb-ings { list-style: none; }
.ocb-ings li { border-bottom: 1px dashed var(--line); }
.ocb-ings label { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; cursor: pointer; }
.ocb-ings input { margin-top: .35rem; accent-color: var(--green); }
.ocb-ings label:has(input:checked) { color: var(--muted); text-decoration: line-through; }

.ocb-steps { list-style: none; display: grid; gap: 1.4rem; }
.ocb-steps li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; align-items: start; }
.ocb-steps .num {
    font-family: var(--serif); font-size: 2.4rem; color: var(--terracotta); line-height: 1;
}
.ocb-tips { background: #2A2618; border-left: 5px solid var(--yellow); padding: 1.2rem 1.3rem; border-radius: 0 16px 16px 0; margin: 1.5rem 0; color: var(--ink); }
.ocb-nutrition { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 2rem; }
.ocb-nutrition span {
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; font-size: .88rem;
}

.ocb-prose { max-width: 68ch; }
.ocb-prose h2 { margin-top: 1.6em; }
.ocb-page { padding: 1rem 0 4rem; }

/* Listing */
.ocb-filters { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0 1.6rem; }
.ocb-filters input, .ocb-filters select {
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .7rem 1rem;
}
.ocb-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.ocb-cat {
    background: var(--surface); padding: 1.4rem; border-radius: 18px; text-decoration: none; display: block;
    border: 1px solid var(--line); color: var(--ink);
}
.ocb-cat:hover { border-color: var(--terracotta); color: var(--ink); }
.ocb-cat strong { font-family: var(--serif); font-size: 1.5rem; display: block; }
.ocb-cat span { color: var(--muted); font-size: .9rem; }

/* FAQ / contact / legal */
.ocb-faq details {
    background: var(--surface); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: .7rem; border: 1px solid var(--line);
}
.ocb-faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.ocb-faq details p { margin: .8rem 0 0; color: var(--muted); }
.ocb-form { display: grid; gap: .8rem; max-width: 560px; }
.ocb-form label span, .ocb-form > span { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .92rem; }
.ocb-form input, .ocb-form textarea, .ocb-form select {
    width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem; background: var(--surface); color: var(--ink);
}
.ocb-form textarea { min-height: 140px; resize: vertical; }
.ocb-form-msg { margin-top: .6rem; font-weight: 600; }
.ocb-form-msg.is-ok { color: var(--green); }
.ocb-form-msg.is-err { color: #ff8a80; }
.ocb-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.ocb-check input { margin-top: .25rem; }

.ocb-404 { text-align: center; padding: 4rem 0 5rem; }
.ocb-404 h1 { max-width: 16ch; margin-inline: auto; }

/* Footer */
.ocb-footer { background: #0C1016; color: #d7d2c8; margin-top: 2rem; padding-top: 3rem; }
.ocb-footer a { color: #f3eee6; text-decoration: none; }
.ocb-footer a:hover { color: var(--yellow); }
.ocb-footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.1fr; gap: 2rem; padding-bottom: 2.4rem; }
.ocb-footer__logo { font-family: var(--serif); font-size: 1.8rem; color: #fff; margin-bottom: .4rem; }
.ocb-footer__logo em { font-style: italic; color: var(--yellow); }
.ocb-footer__title { color: var(--yellow); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.ocb-footer ul { list-style: none; }
.ocb-footer li { margin: .35rem 0; }
.ocb-news { display: grid; gap: .55rem; }
.ocb-news input { border: 0; border-radius: 999px; padding: .75rem 1rem; background: var(--surface-2); color: var(--ink); }
.ocb-social { display: flex; gap: .5rem; margin-top: 1rem; }
.ocb-social a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid #3d4853; border-radius: 50%; color: #fff;
}
.ocb-footer__bottom { border-top: 1px solid #3d4853; padding: 1rem 0 1.3rem; font-size: .88rem; }
.ocb-footer__bottom .ocb-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Cookies */
.ocb-cookies {
    position: fixed;
    left: 50%;
    bottom: 1.2rem;
    z-index: 80;
    width: min(520px, calc(100% - 2rem));
    transform: translateX(-50%);
}
.ocb-cookies__inner {
    background: var(--surface); color: var(--ink); border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.ocb-cookies__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.ocb-modal { position: fixed; inset: 0; background: rgba(8,10,14,.72); z-index: 70; display: grid; place-items: center; }
.ocb-modal__panel { background: var(--surface); color: var(--ink); width: min(440px, calc(100% - 2rem)); border-radius: 18px; padding: 1.4rem; border: 1px solid var(--line); }
.ocb-switch { display: flex; gap: .7rem; margin: .8rem 0; align-items: flex-start; }

.print-only { display: none; }

@media print {
    .ocb-header, .ocb-footer, .ocb-actions, .ocb-cookies, .ocb-search, .ocb-skip { display: none !important; }
    .print-only { display: block; }
    body { background: #fff; color: #17202A; }
    .ocb-recipe-grid { display: block; }
}
