/* ==========================================================================
   CuisineVelours — Système de design
   Palette chaleureuse · glassmorphism léger · animations douces
   ========================================================================== */

:root {
    --primary: #D35400;
    --primary-dark: #A8420A;
    --primary-soft: #fbe7d8;
    --secondary: #F4A261;
    --accent: #2A9D8F;
    --accent-dark: #1f776c;
    --dark: #2D3436;
    --muted: #6b6560;
    --light: #FFFDF8;
    --cream: #FBF4EA;
    --white: #ffffff;
    --border: #efe6d8;
    --shadow-sm: 0 4px 14px rgba(45, 52, 54, .06);
    --shadow-md: 0 14px 40px rgba(45, 52, 54, .10);
    --shadow-lg: 0 28px 60px rgba(45, 52, 54, .14);
    --radius: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Poppins', system-ui, sans-serif;
    --container: 1200px;
    --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------- Base --- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display, .navbar-brand {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.18;
    color: var(--dark);
    letter-spacing: -0.01em;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: var(--container); }

::selection { background: var(--secondary); color: #fff; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--primary); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }

/* ----------------------------------------------------------- Boutons --- */
.btn { font-weight: 600; border-radius: var(--radius-pill); padding: .7rem 1.6rem; transition: var(--transition); border: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 10px 24px rgba(211, 84, 0, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(211, 84, 0, .38); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-light-2 { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn-outline-light-2:hover { background: #fff; color: var(--primary); }
.btn-ghost { background: var(--white); color: var(--dark); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: .95rem 2.1rem; font-size: 1.05rem; }

/* ------------------------------------------------------- Section titres --- */
.section-head { max-width: 680px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--primary); font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; font-size: .8rem; margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--secondary); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin-bottom: .8rem; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ------------------------------------------------------------ Navbar --- */
.site-header { position: sticky; top: 0; z-index: 1030; }
.navbar {
    background: rgba(255, 253, 248, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    padding-top: .7rem; padding-bottom: .7rem;
}
.site-header.scrolled .navbar { box-shadow: var(--shadow-sm); background: rgba(255,253,248,.95); }
.navbar-brand { display: flex; align-items: center; gap: .6rem; font-size: 1.4rem; }
.brand-mark {
    width: 42px; height: 42px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; border-radius: 13px; font-size: 1.1rem;
    box-shadow: 0 8px 18px rgba(211,84,0,.3);
}
.brand-text { color: var(--dark); font-weight: 800; }
.brand-text span { color: var(--primary); }
.navbar .nav-link { color: var(--dark); font-weight: 600; padding: .5rem 1rem; border-radius: var(--radius-pill); position: relative; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); }
.navbar .nav-link.active::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .15rem; height: 2px;
    background: var(--secondary); border-radius: 2px;
}
.dropdown-menu {
    border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md);
    padding: .5rem; margin-top: .6rem;
}
.dropdown-item { border-radius: 10px; font-weight: 500; padding: .55rem .9rem; }
.dropdown-item:hover { background: var(--primary-soft); color: var(--primary-dark); }
.btn-search {
    width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft);
    color: var(--primary); display: inline-grid; place-items: center; transition: var(--transition);
}
.btn-search:hover { background: var(--primary); color: #fff; }
@media (max-width: 991.98px) {
    .btn-search { width: auto; border-radius: var(--radius-pill); padding: .5rem 1rem; }
    .navbar-collapse { background: var(--white); margin-top: .8rem; padding: 1rem; border-radius: 16px; box-shadow: var(--shadow-md); }
}

/* ---------------------------------------------------- Panneau recherche --- */
.search-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(255,253,248,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    padding: 1.4rem 0; animation: slideDown .3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.search-panel__form { display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .55rem .9rem .55rem 1.2rem; box-shadow: var(--shadow-sm); }
.search-panel__form > i { color: var(--primary); }
.search-panel__input { flex: 1; border: none; outline: none; font-size: 1.05rem; background: transparent; }
.search-panel__close { border: none; background: transparent; color: var(--muted); font-size: 1.2rem; }
.search-panel__results { margin-top: 1rem; display: grid; gap: .4rem; }
.search-result {
    display: flex; gap: .9rem; align-items: center; padding: .6rem; border-radius: 14px;
    background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.search-result:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.search-result img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; }
.search-result h4 { font-size: 1rem; margin: 0 0 .1rem; }
.search-result span { font-size: .82rem; color: var(--muted); }
.search-empty { color: var(--muted); padding: .5rem; }

/* ------------------------------------------------------------- Hero --- */
.hero {
    position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 9vw, 8rem);
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(244,162,97,.28), transparent 60%),
        radial-gradient(900px 500px at 0% 20%, rgba(42,157,143,.12), transparent 55%),
        var(--cream);
    overflow: hidden;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: .55rem; background: #fff;
    padding: .5rem 1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
    font-weight: 600; font-size: .9rem; color: var(--dark); margin-bottom: 1.4rem;
}
.hero__badge i { color: var(--secondary); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--primary); position: relative; }
.hero__lead { font-size: 1.18rem; color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.hero__search {
    display: flex; gap: .6rem; background: #fff; border-radius: var(--radius-pill);
    padding: .5rem .55rem .5rem 1.4rem; box-shadow: var(--shadow-md); max-width: 540px; align-items: center;
}
.hero__search i { color: var(--primary); }
.hero__search input { flex: 1; border: none; outline: none; font-size: 1.02rem; background: transparent; }
.hero__stats { display: flex; gap: 2.2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--primary); }
.hero__stats span { color: var(--muted); font-size: .9rem; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }
.hero__media .img-main { aspect-ratio: 4/5; width: 100%; }
.hero__float {
    position: absolute; background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
    border-radius: 18px; padding: .8rem 1.1rem; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: .7rem; font-weight: 600;
}
.hero__float i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff; }
.hero__float.f1 { top: 12%; left: -6%; }
.hero__float.f1 i { background: var(--accent); }
.hero__float.f2 { bottom: 10%; right: -4%; }
.hero__float.f2 i { background: var(--primary); }
.hero__float small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
@media (max-width: 991.98px) { .hero__float { display: none; } }

/* ------------------------------------------------------ Chips catégorie --- */
.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill);
    padding: .5rem 1.05rem; font-weight: 600; font-size: .9rem; color: var(--dark); box-shadow: var(--shadow-sm);
    transition: var(--transition); display: inline-flex; align-items: center; gap: .5rem;
}
.chip:hover, .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.chip i { color: var(--secondary); }
.chip:hover i, .chip.active i { color: #fff; }

/* ---------------------------------------------------- Cartes recettes --- */
.recipe-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--transition); display: flex; flex-direction: column; border: 1px solid var(--border);
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.recipe-card__media { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.recipe-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.recipe-card:hover .recipe-card__media img { transform: scale(1.07); }
.recipe-card__badge {
    position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--primary-dark);
    font-weight: 700; font-size: .74rem; padding: .35rem .75rem; border-radius: var(--radius-pill);
    text-transform: uppercase; letter-spacing: .04em;
}
.recipe-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.recipe-card__meta { display: flex; flex-wrap: wrap; gap: .9rem; color: var(--muted); font-size: .82rem; font-weight: 500; }
.recipe-card__meta i { color: var(--secondary); margin-right: .2rem; }
.recipe-card__title { font-size: 1.22rem; margin: 0; }
.recipe-card__title a { color: var(--dark); }
.recipe-card__title a:hover { color: var(--primary); }
.recipe-card__desc { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.recipe-card__link { font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.recipe-card__link i { transition: transform var(--transition); }
.recipe-card__link:hover i { transform: translateX(5px); }

/* ---------------------------------------------------- Cartes catégorie --- */
.category-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block;
    aspect-ratio: 3/4; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card__overlay {
    position: absolute; inset: 0; padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(to top, rgba(45,52,54,.82) 12%, rgba(45,52,54,.05) 62%); color: #fff;
}
.category-card__overlay h3 { color: #fff; font-size: 1.25rem; margin: 0 0 .1rem; }
.category-card__overlay span { font-size: .85rem; opacity: .9; }

/* --------------------------------------------------- Pourquoi nous choisir --- */
.feature {
    background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
    height: 100%; transition: var(--transition); border: 1px solid var(--border);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature__icon {
    width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
    font-size: 1.5rem; color: #fff; margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.feature:nth-child(2) .feature__icon { background: linear-gradient(135deg, var(--accent), #52b7aa); }
.feature:nth-child(3) .feature__icon { background: linear-gradient(135deg, #e76f51, var(--secondary)); }
.feature:nth-child(4) .feature__icon { background: linear-gradient(135deg, #6c5ce7, #a29bfe); }
.feature h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* -------------------------------------------------------- Témoignages --- */
.testimonial {
    background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm);
    height: 100%; border: 1px solid var(--border);
}
.testimonial__stars { color: #f1c40f; margin-bottom: 1rem; }
.testimonial__text { font-size: 1.02rem; color: var(--dark); margin-bottom: 1.4rem; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: .8rem; }
.testimonial__author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial__author strong { display: block; }
.testimonial__author span { color: var(--muted); font-size: .85rem; }

/* --------------------------------------------------------------- FAQ --- */
.accordion-flush { border-radius: var(--radius); overflow: hidden; }
.faq-item {
    background: #fff; border: 1px solid var(--border); border-radius: 16px !important;
    margin-bottom: .85rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item .accordion-button {
    font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--dark);
    background: #fff; padding: 1.15rem 1.4rem; border-radius: 16px;
}
.faq-item .accordion-button:not(.collapsed) { color: var(--primary); background: var(--primary-soft); box-shadow: none; }
.faq-item .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-item .accordion-button::after {
    background-image: none; content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    width: auto; height: auto; color: var(--primary); transition: var(--transition);
}
.faq-item .accordion-button:not(.collapsed)::after { content: "\f068"; transform: none; }
.faq-item .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; }

/* -------------------------------------------------------- Newsletter footer --- */
.footer-cta { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.footer-cta__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: clamp(2rem, 4vw, 3rem) 0; color: #fff;
}
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.footer-cta p { margin: 0; opacity: .95; max-width: 420px; }
.footer-newsletter { display: flex; gap: .5rem; background: #fff; border-radius: var(--radius-pill); padding: .45rem .5rem .45rem 1.3rem; align-items: center; box-shadow: var(--shadow-md); position: relative; min-width: min(420px, 100%); }
.footer-newsletter input { border: none; outline: none; flex: 1; background: transparent; }
.footer-newsletter__msg { position: absolute; bottom: -1.9rem; left: 1rem; margin: 0; font-size: .85rem; color: #fff; font-weight: 600; }

/* ------------------------------------------------------------ Footer --- */
.site-footer { background: var(--dark); color: #cfd3d4; }
.footer-main { padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 1rem; }
.footer-brand .brand-text { color: #fff; font-weight: 800; }
.footer-brand .brand-text span { color: var(--secondary); }
.footer-about { color: #a9adae; font-size: .92rem; margin-bottom: 1.3rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
    display: grid; place-items: center; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); color: #fff; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: #a9adae; font-size: .92rem; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.3rem 0; font-size: .88rem; color: #8b9092; }

/* --------------------------------------------------- Bannière cookies --- */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1080; max-width: 760px; margin: 0 auto;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border: 1px solid var(--border);
    border-radius: 20px; box-shadow: var(--shadow-lg); padding: 1.2rem 1.4rem;
    animation: slideUp .4s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cookie-banner__content { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.cookie-banner p { margin: 0; font-size: .9rem; color: var(--dark); flex: 1; min-width: 240px; }
.cookie-banner__actions { display: flex; gap: .6rem; }

/* ------------------------------------------------------- Back to top --- */
.back-to-top {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1050; width: 48px; height: 48px; border: none;
    border-radius: 50%; background: var(--primary); color: #fff; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary-dark); }

/* ------------------------------------------------- Fil d'Ariane & pages --- */
.breadcrumb-bar { background: var(--cream); padding: 1rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb { margin: 0; font-size: .9rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .active { color: var(--dark); font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--secondary); }

.page-hero { background:
        radial-gradient(900px 400px at 90% -20%, rgba(244,162,97,.25), transparent 60%), var(--cream);
    padding: clamp(2.5rem, 5vw, 4rem) 0; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }

/* --------------------------------------------------- Page recette single --- */
.recipe-hero__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.recipe-title { font-size: clamp(1.9rem, 4vw, 3rem); margin: .6rem 0 1rem; }
.recipe-lead { font-size: 1.12rem; color: var(--muted); }
.recipe-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1rem; margin: 1.8rem 0; }
.recipe-stat { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.1rem; text-align: center; box-shadow: var(--shadow-sm); }
.recipe-stat i { font-size: 1.3rem; color: var(--primary); margin-bottom: .4rem; }
.recipe-stat strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.recipe-stat span { color: var(--muted); font-size: .8rem; }
.recipe-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); margin-bottom: 1.8rem; }
.recipe-panel h2 { font-size: 1.5rem; margin-bottom: 1.3rem; display: flex; align-items: center; gap: .6rem; }
.recipe-panel h2 i { color: var(--primary); }
.ingredient-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ingredient-list li { display: flex; align-items: flex-start; gap: .8rem; padding: .7rem .9rem; background: var(--cream); border-radius: 12px; }
.ingredient-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); margin-top: .15rem; }
.steps-timeline { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps-timeline li { position: relative; padding: 0 0 1.6rem 3.5rem; }
.steps-timeline li::before {
    counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
    width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.steps-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: -4px; width: 2px; background: var(--border); }
.steps-timeline li p { margin: 0; padding-top: .35rem; }
.tips-box { background: linear-gradient(135deg, rgba(42,157,143,.09), rgba(42,157,143,.02)); border: 1px solid rgba(42,157,143,.25); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.tips-box h3 { color: var(--accent-dark); display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; }
.nutrition-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .8rem; }
.nutrition-item { background: var(--cream); border-radius: 14px; padding: 1rem; text-align: center; }
.nutrition-item strong { display: block; font-size: 1.25rem; color: var(--primary); font-family: var(--font-head); }
.nutrition-item span { font-size: .8rem; color: var(--muted); }
.recipe-sidebar { position: sticky; top: 90px; }
.share-buttons { display: flex; gap: .6rem; flex-wrap: wrap; }
.share-buttons a, .share-buttons button {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: none; transition: var(--transition);
}
.share-buttons a:hover, .share-buttons button:hover { transform: translateY(-3px); color: #fff; }
.share-fb { background: #1877f2; } .share-x { background: #111; } .share-pin { background: #e60023; } .share-wa { background: #25d366; } .share-print { background: var(--muted); }

/* ------------------------------------------------------------ Filtres --- */
.filter-bar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 2rem; }
.form-control, .form-select { border-radius: 12px; border: 1px solid var(--border); padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--secondary); box-shadow: 0 0 0 .2rem rgba(244,162,97,.2); }

/* ---------------------------------------------------------- Pagination --- */
.pagination { gap: .35rem; }
.page-link { border: 1px solid var(--border); color: var(--dark); border-radius: 12px !important; font-weight: 600; padding: .55rem .95rem; }
.page-link:hover { background: var(--primary-soft); color: var(--primary-dark); border-color: var(--secondary); }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }

/* -------------------------------------------------------- Formulaires --- */
.contact-card, .info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0; }
.info-list strong { display: block; }
.info-list span { color: var(--muted); font-size: .92rem; }
.alert-soft { border-radius: 14px; border: none; }
.form-msg { border-radius: 14px; padding: 1rem 1.2rem; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: rgba(42,157,143,.12); color: var(--accent-dark); }
.form-msg.err { display: block; background: rgba(211,84,0,.1); color: var(--primary-dark); }

/* --------------------------------------------------------- Contenu légal --- */
.legal-content { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3.2rem); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 .9rem; padding-top: .5rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #4a4643; }
.legal-content ul { padding-left: 1.3rem; }
.legal-content li { margin-bottom: .5rem; }
.legal-toc { background: var(--cream); border-radius: var(--radius); padding: 1.4rem 1.6rem; position: sticky; top: 90px; }
.legal-toc h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.legal-toc a { color: var(--muted); font-size: .9rem; display: block; padding: .3rem 0; }
.legal-toc a:hover { color: var(--primary); }

/* ------------------------------------------------------------- 404 --- */
.error-hero { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--cream); }
.error-hero .code { font-size: clamp(6rem, 18vw, 12rem); font-family: var(--font-head); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* --------------------------------------------------------- Utilities --- */
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-md) !important; }
.divider { height: 1px; background: var(--border); border: 0; }
.badge-soft { background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; padding: .4rem .8rem; border-radius: var(--radius-pill); font-size: .8rem; }
.list-plain { list-style: none; padding: 0; margin: 0; }
[hidden] { display: none !important; }

@media (max-width: 767.98px) {
    .hero__stats { gap: 1.4rem; }
    .footer-cta__inner { flex-direction: column; align-items: flex-start; }
    .recipe-sidebar { position: static; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Impression d'une recette */
@media print {
    .site-header, .site-footer, .footer-cta, .cookie-banner, .back-to-top, .recipe-sidebar, .breadcrumb-bar, .related-section, .search-panel { display: none !important; }
    body { background: #fff; }
    .recipe-panel { box-shadow: none; border: 1px solid #ddd; }
}
