/* /assets/pages/recettes/recette.css */

/* ==================================================
 * 1) IMPORTS
 * ================================================== */
@import 'https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap';
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&display=swap");

/* ==================================================
 * 2) VARIABLES & THÈMES
 * ================================================== */
:root{
  --color-brand: #FF6233;
  --color-brand-hover: #e65329;

  /* Light */
  --color-bg: #f5f5f7;
  --color-bg-card: #ffffff;
  --color-bg-alt: #f8f8fb;

  --color-text: #222222;
  --color-text-muted: #555555;
  --color-text-subtle: #888888;

  --color-border: #e2e2e7;
  --color-border-strong: #d1d1d6;

  /* Recette */
  --color-brand-light: #FFF3EE;
  --color-brand-border: #E6B8A5;

  /* Config */
  --font-sans: "Montserrat", sans-serif;
  --font-serif: "Lora", serif;

  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 999px;

  --shadow-subtle: 0 6px 18px rgba(0,0,0,0.08);

  /* Layout */
  --page-max: 1120px;
  --gap-lg: 2rem;
  --gap-md: 1.25rem;
  --gap-sm: .9rem;

  /* Container padding (IMPORTANT: corrige les gouttières mobile) */
  --container-pad: clamp(12px, 3.2vw, 20px);
}

:root[data-theme="dark"], [data-theme="dark"]{
  --color-bg: #121212;
  --color-bg-card: #1e1e1e;
  --color-bg-alt: #252525;

  --color-text: #e0e0e0;
  --color-text-muted: #bbbbbb;
  --color-text-subtle: #999999;

  --color-border: #333333;
  --color-border-strong: #444444;

  --color-brand-light: rgba(255, 98, 51, 0.15);
  --color-brand-border: rgba(255, 98, 51, 0.4);
}

/* ==================================================
 * 3) RESET BASE
 * ================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body{
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  transition: background-color .25s ease, color .25s ease;
}

img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ==================================================
 * 4) HEADER (inchangé dans l’esprit)
 * ================================================== */
:root[data-theme="light"] .internal-header-wrapper .internal-header{
  background: radial-gradient(1200px 420px at 50% -120px,
                              color-mix(in oklab, var(--color-brand) 12%, transparent), transparent),
                              linear-gradient(180deg, #f2f3f5, #e7eaee);
                              color: var(--color-text);
                              padding: .6rem 0 1.1rem;
                              box-shadow: 0 10px 30px rgb(0 0 0 / 5%);
}

:root[data-theme="dark"] .internal-header-wrapper .internal-header{
  background: #1e1e1e;
  color: var(--color-text);
  padding: .6rem 0 1.1rem;
  box-shadow: 0 10px 30px rgb(0 0 0 / 50%);
  border-bottom: 1px solid var(--color-border);
}

.internal-header .ih-title { color: var(--color-text); }
.internal-header .ih-sub { color: var(--color-text-muted); }
.internal-header .ih-breadcrumb { color: var(--color-text-subtle); }
.internal-header .ih-breadcrumb a { color: var(--color-text-muted); }
.internal-header .ih-breadcrumb .current { color: var(--color-text); font-weight: 600; }
.internal-header .ih-theme { color: var(--color-text); }

/* ==================================================
 * 5) LAYOUT & STRUCTURE (CORRECTION GOUTTIÈRES)
 * ================================================== */
/* IMPORTANT:
 *   Ton markup = <div class="chronique-layout container">
 *   Donc .container DOIT être fluide et .chronique-layout ne doit pas rajouter de padding.
 */
.container{
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.chronique-layout{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--gap-lg);
  margin: 1.6rem auto 3.5rem;
  padding: 0; /* IMPORTANT: supprime le double padding */
}

.chronique-main{ min-width: 0; }

/* ==================================================
 * 6) SIDEBAR
 * ================================================== */
.chronique-sidebar{
  font-size: .92rem;
  position: sticky;
  top: 120px;
  height: max-content;
}

.article-meta{
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.article-avatar{
  border-radius: 50%;
  object-fit: cover;
  width: 52px;
  height: 52px;
  border: 2px solid var(--color-border);
}

.signature-nom{ font-weight: 800; color: var(--color-text); }
.article-author-role{ font-size: .85rem; color: var(--color-text-muted); }

/* Infos Clés */
.recette-sidebar-infos{
  background: var(--color-bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.sidebar-title{
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-brand);
  margin-bottom: .9rem;
  border-bottom: 2px solid var(--color-brand-light);
  padding-bottom: .5rem;
}

.infos-list{ list-style: none; }
.infos-list li{ margin-bottom: .9rem; }
.infos-list span{ font-size: 1.05rem; color: var(--color-text); font-weight: 600; }

/* Actions */
.recette-actions{ margin-top: 1.25rem; }
.print-box{
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.btn-print{
  width: 100%;
  background: var(--color-text);
  color: var(--color-bg-card);
  border: none;
  padding: .85rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color .18s ease, transform .18s ease;
}

.btn-print:hover{
  background: var(--color-brand);
  color: #fff;
  transform: translateY(-1px);
}

.toggle-print{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: .85rem;
  cursor: pointer;
  justify-content: center;
  color: var(--color-text-muted);
}

.toggle-print input{ margin-right: 5px; }

.share-box h4{
  font-size: .9rem;
  margin-bottom: .75rem;
  color: var(--color-text-muted);
}

.share-buttons-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.share-btn{
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}

.share-btn:hover{
  transform: translateY(-2px);
  color: #fff;
  border-color: transparent;
}

.sb-whatsapp:hover{ background: #25D366; }
.sb-facebook:hover{ background: #1877F2; }
.sb-email:hover{ background: #777; }
.sb-copy:hover{ background: #333; }

/* ==================================================
 * 7) CONTENU PRINCIPAL
 * ================================================== */
.article-header{ margin-bottom: 1.6rem; text-align: left; }
.tags{ margin-bottom: .9rem; }

.tags span{
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 4px 12px;
  font-size: .85rem;
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-full);
  background: var(--color-brand-light);
  color: var(--color-brand);
  font-weight: 700;
}

.article-title{
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  margin-bottom: .65rem;
  line-height: 1.18;
  font-weight: 900;
  color: var(--color-text);
}

.article-intro{
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: .75rem;
}

.article-intro a, .cta-fin a{
  color: var(--color-brand);
  text-decoration: underline;
  font-weight: 700;
}

/* Hero + médias */
.chronique-hero{ margin-bottom: 1.6rem; }

.chronique-hero-media, .media{
  margin: 1.5rem auto;
  text-align: center;
  width: 100%;
}

.chronique-hero-img, .media img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.media video{
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  display: block;
  margin: 0 auto;
}

.chronique-hero-img{
  height: auto;
  max-height: 520px;
}

.chronique-hero figcaption, .media figcaption{
  margin-top: 10px;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: .9rem;
  text-align: center;
}

/* Card principale */
.chronique-classique{
  background: var(--color-bg-card);
  padding: clamp(1.1rem, 2.4vw, 2.4rem);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--color-border);
}

/* Blocs */
.recette-bloc{ margin-bottom: 2.4rem; }

.ingredients-bloc{
  background: var(--color-brand-light);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-brand-border);
}

.bloc-titre{
  color: var(--color-brand);
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--color-brand);
  display: inline-block;
  padding-bottom: 5px;
  font-weight: 900;
}

.ing-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.ing-column h3{
  font-size: 1.05rem;
  margin-bottom: .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid color-mix(in oklab, var(--color-text) 12%, transparent);
  color: var(--color-text);
  font-weight: 900;
}

.ing-column ul{ list-style: none; }
.ing-column li{ margin-bottom: .55rem; display: flex; align-items: flex-start; color: var(--color-text); }
.ing-check{ cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }

/* Étapes */
.steps-list{ display: flex; flex-direction: column; gap: 1.5rem; }

.step-item{
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.step-item:last-child{ border-bottom: none; padding-bottom: 0; }

.step-img{ flex: 0 0 160px; }
.step-img img{ width: 160px; height: 120px; object-fit: cover; border-radius: 12px; }

.step-content{ flex: 1; min-width: 0; }

.step-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: .55rem;
}

.step-text h3{
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  color: var(--color-brand);
  font-weight: 900;
}

.step-text p{ color: var(--color-text); }

/* Conclusion */
.conclusion{
  background: var(--color-bg-alt);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.6rem;
  text-align: center;
  font-style: italic;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* Conseils/Variations */
.conseils-box{
  background: color-mix(in oklab, var(--color-bg-card) 90%, var(--color-bg-alt));
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-brand);
  color: var(--color-text);
  padding: 1.25rem;
  border-radius: 12px;
}

.conseils-box h3{
  color: var(--color-brand);
  margin-top: 0;
  margin-bottom: .9rem;
  font-size: 1.15rem;
  font-weight: 900;
}

.conseils-box ul{ margin: 0; padding-left: 1.1rem; }
.conseils-box li{ margin-bottom: .5rem; }

:root[data-theme="dark"] .conseils-box{
  background: color-mix(in oklab, var(--color-bg-card) 80%, #000);
}

/* ==================================================
 * 8) ENCAdrÉS & CTA (CORRECTION TRANSPARENCE)
 * ================================================== */
/* CTA FIN: doit être opaque */
.encadre.cta-fin{
  background: var(--color-bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-brand);
  margin-top: 1.6rem;
  box-shadow: var(--shadow-subtle);
}

.encadre.cta-fin h4{
  color: var(--color-brand);
  margin-bottom: .5rem;
  font-size: 1.15rem;
  font-weight: 900;
}

/* Encadré "source" / CTA libre */
.encadre-style-source{
  background: var(--color-bg-card);
  border-left: 5px solid var(--color-brand);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.6rem 0;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.encadre-style-source .cta-title{
  color: var(--color-brand);
  font-weight: 900;
  margin-top: 0;
  margin-bottom: .8rem;
  font-size: 1.15rem;
}

.encadre-style-source .cta-content{
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.65;
}

.encadre-style-source ul{ list-style: none; padding-left: 0; margin: .9rem 0; }

.encadre-style-source li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.encadre-style-source li::before{
  content: '✔';
  color: var(--color-brand);
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.05em;
}

.cta-btn-wrapper{ margin-top: 1.1rem; }

/* ==================================================
 * 9) SIGNATURE + SOCIALS (FOOTER)
 * ================================================== */
.chronique-signature-section{
  margin-top: 2.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.signature-chronique{
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-muted);
}

.signature-photo{
  width: 60px;
  height: 60px;
  min-width: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.btn-retour{
  padding: .6rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  font-size: .92rem;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  background: var(--color-bg-card);
  white-space: nowrap;
}

.btn-retour:hover{
  background: var(--color-bg-alt);
  border-color: var(--color-border-strong);
  transform: translateY(-1px);
}

.author-socials{
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-alt);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
}

.author-socials span{
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.social-icons{ display: flex; gap: 8px; }

.social-link{
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: .9rem;
  transition: transform .15s ease, opacity .15s ease;
}

.social-link:hover{ transform: translateY(-2px); opacity: .92; }

.sl-instagram{ background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.sl-facebook{ background: #1877F2; }
.sl-tiktok{ background: #000; }
.sl-site{ background: var(--color-brand); }

/* ==================================================
 * 10) NUTRITION (conserve ton design, ajuste la cohérence)
 * ================================================== */
.recette-nutrition-banner{
  margin: 2.2rem 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.nutri-banner-inner{ display: flex; align-items: stretch; }

.nutri-score-side{
  background: var(--color-bg-card);
  padding: 1.25rem;
  border-right: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}

.nutri-score-side img{ height: 60px; width: auto; }

.nutri-data-side{
  flex: 1;
  display: flex;
  justify-content: space-around;
  padding: 1rem 1.5rem;
  gap: 1rem;
  align-items: center;
}

.nutri-data-item{ text-align: center; }

.nd-label{
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-subtle);
  margin-bottom: 4px;
}

.nd-val{
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-text);
}

.nd-val small{
  font-size: .8rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nutri-data-item.highlight{
  border-right: 2px solid var(--color-border);
  padding-right: 1.25rem;
  margin-right: .5rem;
}

/* ==================================================
 * 11) VOTES & COMMENTAIRES (CORRECTION CLASSES + CARDS OPAQUES)
 * ================================================== */
/* Ton markup = .recette-votes + .chronique-comments */
.recette-votes,
.chronique-comments{
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  padding: 1.25rem;
  margin-top: 1.2rem;
}

/* Titres */
.recette-votes .section-title,
.chronique-comments .section-title{
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: .9rem;
  color: var(--color-text);
}

/* Votes */
.star-rating{
  font-size: 2rem;
  cursor: pointer;
  margin: .25rem 0 .6rem;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.star-rating i{
  color: #cfcfd6;
  transition: transform .15s ease, color .15s ease;
}

.star-rating i.fa-solid,
.star-rating i.active{
  color: #FFB800 !important;
}

.star-rating i:hover{
  transform: scale(1.08);
}

#vote-stats,
#vote-message{
font-size: .9rem;
color: var(--color-text-muted);
text-align: center;
}

/* Liste commentaires (ton markup réel) */
#chronique-comments-list{
display: flex;
flex-direction: column;
gap: .9rem; /* IMPORTANT: gère les espacements “entre cases” */
}

.chronique-comments__item{
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
}

.chronique-comments__meta{
  display: flex;
  align-items: baseline;
  gap: .6rem;
  margin-bottom: .45rem;
}

.chronique-comments__pseudo{
  color: var(--color-brand);
  font-weight: 900;
  font-size: .95rem;
}

.chronique-comments__date{
  color: var(--color-text-muted);
  font-size: .8rem;
}

.chronique-comments__message{
  color: var(--color-text);
  line-height: 1.55;
}

/* Bouton répondre */
.btn-reply-trigger{
  margin-top: .6rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 6px 12px;
  font-size: .75rem;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.btn-reply-trigger:hover{
  background: var(--color-brand-light);
  color: var(--color-brand);
  border-color: var(--color-brand-border);
  transform: translateY(-1px);
}

/* Replies */
.chronique-comments__replies{
  margin-top: .85rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.chronique-comments__reply-item{
  background: color-mix(in oklab, var(--color-bg-card) 70%, var(--color-bg-alt));
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: .75rem .9rem;
}

.chronique-comments__reply-item strong{
  color: var(--color-brand);
  font-weight: 900;
}

/* Load more */
#chronique-btn-load-more{
margin: 1rem auto 0;
display: block;
background: var(--color-bg-card);
border: 1px solid var(--color-border);
padding: .65rem 1rem;
border-radius: 999px;
cursor: pointer;
color: var(--color-text);
font-weight: 800;
transition: background-color .15s ease, transform .15s ease;
}

#chronique-btn-load-more:hover{
background: var(--color-bg-alt);
transform: translateY(-1px);
}

/* Form */
.comment-form{
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.comment-form input[type="text"],
.comment-form textarea{
  width: 100%;
  padding: .85rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-card);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: .95rem;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.comment-form textarea{ resize: vertical; }

.comment-form input:focus,
.comment-form textarea:focus{
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-light);
}

#chronique-reply-info{
display: flex;
align-items: center;
justify-content: space-between;
gap: .8rem;
background: var(--color-brand-light);
border: 1px solid var(--color-brand-border);
border-radius: 12px;
padding: .75rem .9rem;
color: var(--color-brand);
margin: .75rem 0;
font-weight: 800;
}

#chronique-btn-cancel-reply{
background: transparent;
border: none;
color: var(--color-brand);
font-weight: 900;
cursor: pointer;
text-decoration: underline;
}

/* ==================================================
 * 12) RESPONSIVE (corrige largeur & gouttières)
 * ================================================== */
@media (max-width: 900px){
  .chronique-layout{
    grid-template-columns: 1fr;
    gap: var(--gap-md);
    margin: 1.2rem auto 2.8rem;
  }

  .chronique-sidebar{
    position: static;
    top: auto;
    order: -1;
  }

  .recette-sidebar-infos ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem;
  }

  .ing-grid{ grid-template-columns: 1fr; }

  .step-item{ flex-direction: column; }
  .step-img{ width: 100%; }
  .step-img img{ width: 100%; height: auto; }
}

@media (max-width: 600px){
  /* footer stack */
  .chronique-signature-section{
    flex-direction: column;
    align-items: stretch;
  }

  .author-socials{
    width: 100%;
    justify-content: center;
  }

  .actions-buttons{
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* ==================================================
 * 13) STICKY VIDEO BTN (reprend ton style, ajusté)
 * ================================================== */
.sticky-video-btn{
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-card);
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border: 1px solid var(--color-border);

  opacity: 0;
  transform: translateY(20px) scale(.95);
  visibility: hidden;
  transition: all .35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-video-btn.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.sticky-icon{
  background: var(--color-brand);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 98, 51, 0.3);
  animation: pulse-orange 2s infinite;
}

.sticky-text{
  font-weight: 900;
  font-size: .95rem;
  color: var(--color-text);
  padding-right: 5px;
}

.sticky-video-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.sticky-video-btn:hover .sticky-icon{
  transform: scale(1.08);
  animation: none;
}

@keyframes pulse-orange{
  0%{ box-shadow: 0 0 0 0 rgba(255, 98, 51, 0.4); }
  70%{ box-shadow: 0 0 0 10px rgba(255, 98, 51, 0); }
  100%{ box-shadow: 0 0 0 0 rgba(255, 98, 51, 0); }
}

@media (max-width: 600px){
  .sticky-video-btn{
    bottom: 18px;
    right: 50%;
    transform: translateX(50%) translateY(20px);
  }
  .sticky-video-btn.is-visible{
    transform: translateX(50%) translateY(0);
  }
}

/* ==================================================
 * 14) PRINT (reprend ton print, conservé fonctionnel)
 * ================================================== */
@media print{
  :root{
    --color-bg: #ffffff !important;
    --color-bg-card: #ffffff !important;
    --color-bg-alt: #f9f9f9 !important;
    --color-text: #000000 !important;
    --color-text-muted: #444444 !important;
    --color-border: #cccccc !important;
    --color-brand: #FF6233 !important;
    --color-brand-light: #FFF3EE !important;
    --color-brand-border: #E6B8A5 !important;
  }

  body{
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .internal-header, .internal-header-wrapper, .site-footer, .internal-footer,
  .no-print, .actions-buttons, .btn-retour, .breadcrumb-wrapper, .recette-actions,
  .chronique-sidebar, .recette-votes, .chronique-comments, .sticky-video-btn{
    display: none !important;
  }

  .container, .chronique-layout, .chronique-main, .chronique-classique{
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    box-shadow: none;
    border: none;
    background: transparent !important;
  }

  .article-header{
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
  }

  .article-title{ font-size: 22pt; color: #000 !important; margin-bottom: 5px; }
  .article-intro{ font-size: 12pt; font-style: italic; color: #333 !important; }

  body:not(.print-with-images) .chronique-hero{ display: none !important; }
  .chronique-hero-img{ max-height: 200px; object-fit: cover; margin-bottom: 15px; }

  .ingredients-bloc{
    float: left;
    width: 40% !important;
    margin-right: 20px !important;
    margin-bottom: 20px !important;
    background-color: var(--color-brand-light) !important;
    border: 1px solid #ccc;
    padding: 10px;
    page-break-inside: avoid;
  }

  .bloc-titre{ font-size: 14pt; margin-bottom: 10px; color: var(--color-brand) !important; border-bottom: 1px solid #000; }
  .ing-grid{ display: block; column-count: 1; }

  .ing-column h3{ color: #000 !important; font-weight: bold; margin: 10px 0 5px; break-after: avoid; }
  .ing-check input{ display: none; }
  .ing-check span::before{ content: "• "; font-weight: bold; }

  .steps-bloc{ display: block !important; margin-top: 0 !important; }

  .step-item{
    display: block !important;
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
    border: none !important;
    page-break-inside: avoid !important;
    overflow: visible !important;
  }

  .step-img{ display: none; float: left; margin-right: 15px !important; margin-bottom: 5px !important; width: 120px !important; }
  body.print-with-images .step-img{ display: block !important; }
  body.print-with-images .step-img img{ width: 120px !important; height: auto !important; border: 1px solid #ddd; border-radius: 4px; }

  .step-content{ display: block; }
  .step-text h3{ font-size: 11pt; margin-top: 0; color: var(--color-brand) !important; }
  .step-text p{ font-size: 10pt; line-height: 1.4; margin-bottom: 5px; color: #000 !important; }
  .step-number{ display: none; }

  .bloc-conseils, .conseils-box, .conclusion{
    clear: both !important;
    display: block !important;
    width: 100%;
    margin-top: 20px;
    page-break-inside: avoid;
  }

  .conseils-box, .conclusion{
    background: none !important;
    border: 1px solid #ccc !important;
    padding: 10px !important;
  }

  body:not(.print-with-images) .media{ display: none !important; }
  body.print-with-images .media{
    clear: both;
    display: block;
    margin: 20px auto;
    text-align: center;
    page-break-inside: avoid;
  }
  body.print-with-images .media img{
    max-height: 200px;
    width: auto;
    border: 1px solid #eee;
  }
}
